aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Implement Question object type supportConfuSomu2023-07-18
| | | | | | | This commit adds support for dealing with ActivityPub Questions, which are polls. They are like Notes (posts) but contain a few more keys that record information about the poll options, number of votes and poll closure date.
* Account for "@context" in outbox.json being arrayConfuSomu2023-07-15
| | | | | | | "@context" in the outbox.json file is not always a string and sometimes might be an array with multiple elements. This patch implements a json_check_item method which checks for the existence of "https://www.w3.org/ns/activitystreams" in both cases.
* Rename variables in Archive::get_html_status_infoConfuSomu2023-07-10
| | | | This fixes misleading variable names.
* Return error in Archive::init() in additional caseConfuSomu2023-07-10
|
* Implement basic multithreading supportConfuSomu2023-07-10
| | | | | | A few CPU heavy operations, which are opening an archive and displaying a selected Activity, have been moved to another thread to avoid having long-running operations on the main thread.
* Move implementation detail functions into ArchiveConfuSomu2023-07-06
| | | | | | | These functions were in archive_parser.cpp's compilation unit which has only functions related to the Archive class but it is better to make them private members of Archive as they are implementation details of this class to make the link more clear.
* Implement a small library of ActivityPub objectsConfuSomu2023-07-05
| | | | | | | | | | | | These objects allow, and will allow us, to move HTML rendering out of the archive parser and into separate classes. Each of the derived classes specialise HTML rendering for their specific requirements. Furthermore, these ActivityPub objects will be able to be expanded upon and have support to be written to disk, in a database, for instance. Separating ActivityPub object retrieving from rendering allows us to implement other retrieving sources and methods, such as downloading posts from a configured remote instance.
* Create QActions for Random & Copy buttonsConfuSomu2023-06-26
|
* Fix crash when copying status when non is selectedConfuSomu2023-06-18
| | | | | This was an overlooked crash that only happens when done on purpose, as you generally don't press the copy button when nothing is selected.
* Display ellipsis when list item is too longConfuSomu2023-06-16
| | | | | This removes the horizontal scrollbar and makes all items have a height of one line.
* Consolidate getting html templates into 1 functionConfuSomu2023-06-16
| | | | | This avoids redundant code and allows easy extension to more templates. I use a QHash instead of QMap as the former is a little faster.
* Clarify with comment Archive::find_attachment_dirConfuSomu2023-06-16
|
* Remove unneeded & duplicate includesConfuSomu2023-06-14
|
* Return early for buttons when no archive openConfuSomu2023-06-14
| | | | This avoids crashes.
* Search for attachment directory rootConfuSomu2023-06-14
| | | | | | | Implement a method that finds the attachment directory root as it is possible that the attachment url referenced in the outbox.json file isn't relative to its location but present instead inside a subdirectory that is next to the outbox.json file.
* Exit with exit codes depending on command lineConfuSomu2023-06-10
|
* Remove outbox_filename member from MainWindowConfuSomu2023-06-10
| | | | | | We don't need to store the outbox filename in MainWindow as all processing of the current archive is done by the data_archive member and requires us to only initially pass the archive filename.
* Implement command line optionsConfuSomu2023-06-10
| | | | | | | | | Implementing a command line argument specifying the data export to open allows iterating faster as the file to open can be specified without navigating through a GUI. In the future, more command line options could be specified to specify the view filters for instance.
* Rename ListItem class to StatusListItemConfuSomu2023-04-06
| | | | The new class name is more descriptive about how it is used.
* Move call to get status HTML info into ListItemConfuSomu2023-04-06
| | | | | This makes the code less of a mess and will allow moving more of the code that renders HTML status info into the ListItem class.
* Display Activity publish date following localeConfuSomu2023-04-04
| | | | | This is an improved user experience over displaying the raw ISO 8601 date stored in the ActivityStream JSON-LD.
* Display content language in status infoConfuSomu2023-03-30
|
* Carry over state of include reblogs view toggleConfuSomu2023-03-23
| | | | | | | | Correctly carry over the internal state of the "include reblogs" view toggle when enabling the "All toots" view toggle in the interface. There was a mismatch between the checkbox state of "include reblogs" in the UI and the internal state of view_filters when enabling the "All toots" view option after switching to another filter.
* Implement Announce activity supportConfuSomu2023-02-25
| | | | | | This commit adds support for listing Announce activities/reblogs in the status list. These can be hidden using the new "Show reblogs" action in the "View" menu.
* Fix commentsConfuSomu2023-01-23
| | | | and remove misleading comment.
* Remove debug statementConfuSomu2023-01-21
|
* Display number of search results in status barConfuSomu2023-01-21
|
* Display selected search result in detailed viewConfuSomu2023-01-21
|
* Specify project licenseConfuSomu2023-01-21
|
* Fix out of range errors in on_buttonSearch_clickedConfuSomu2023-01-21
|
* Implement basic search functionalityConfuSomu2023-01-21
|
* Implement "copy status" buttonConfuSomu2023-01-11
|
* Implement "random status" buttonConfuSomu2023-01-09
|
* Add additional widgets for new featuresConfuSomu2023-01-06
| | | | | | | | This is done in a batch as it makes more sense to do multiple changes in Qt Designer in one go, instead of fighting with that software a few times and possibly breaking the layout unnecessarily (not that it has happened yet, as Qt Designer seems to always produce really deterministic XML output.
* Dynamically resize image depending on widget sizeConfuSomu2023-01-06
|
* Show hyperlink with attachment filenameConfuSomu2023-01-06
| | | | | Only the hyperlink with filename is displayed for non-image attachment file types.
* Display image attachments in status infoConfuSomu2023-01-05
|
* Allow only listing statuses which have attachmentsConfuSomu2023-01-05
|
* Display status info when list item activatedConfuSomu2023-01-05
|
* Determine status typeConfuSomu2022-12-28
|
* Only initialize each QIcon onceConfuSomu2022-12-28
|
* Store metadata of items that are in status listConfuSomu2022-12-27
| | | | | | | There is more control and customizability of elements added to the status list, which allows us to set the icon used and also to store additional information about the status that has been selected, useful when we have to display it with more detail.
* Use pragma once in all headersConfuSomu2022-12-26
|
* Rename ViewTootTypes to ViewStatusTypesConfuSomu2022-12-26
|
* Relist statuses when changing view filtersConfuSomu2022-12-26
|
* Clear list when opening a new fileConfuSomu2022-12-26
|
* Strip HTML from statuses in listConfuSomu2022-12-26
|
* Implement initial list of statusesConfuSomu2022-12-26
|
* Implement initial archive parsingConfuSomu2022-12-26
|
* Work on basic guiConfuSomu2022-12-26
|