aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_parser.cpp
Commit message (Collapse)AuthorAge
* Move APAttachmentFields to fields.hConfuSomu2023-07-18
| | | | | Finish consolidating every AP…Field in one file to avoid circular include dependencies which are very hard/impossible to work with.
* 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.
* 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
|
* 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.
* 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
|
* 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.
* Implement "copy status" buttonConfuSomu2023-01-11
|
* 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
|
* 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.
* Rename ViewTootTypes to ViewStatusTypesConfuSomu2022-12-26
|
* Strip HTML from statuses in listConfuSomu2022-12-26
|
* Implement initial list of statusesConfuSomu2022-12-26
|
* Implement initial archive parsingConfuSomu2022-12-26