| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This removes the horizontal scrollbar and makes all items have a height
of one line.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
This avoids crashes.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The new class name is more descriptive about how it is used.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is an improved user experience over displaying the raw ISO 8601
date stored in the ActivityStream JSON-LD.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
and remove misleading comment.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Only the hyperlink with filename is displayed for non-image attachment
file types.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
This project can also serve as a base for other Qt projects, as
necessary.
|