aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAge
* Present a shorter path to user in recent file listConfuSomu2024-06-01
|
* Implement Recent files list and menuConfuSomu2024-06-01
|
* Implement basic Welcome tab for greeting userConfuSomu2024-05-29
|
* Hide Open URL… action if built without mastodonppConfuSomu2024-05-15
| | | | | This option doesn't work without mastodonpp, so I think that it might be better to hide it.
* Disable remote instance settings if no mastodonppConfuSomu2024-05-11
| | | | Also fix a small bug in the request token flow.
* Use correct path for mastodonpp headersConfuSomu2024-05-11
|
* Use shared pointer in APAttachment::get_pixmap()ConfuSomu2024-03-24
| | | | | Necessary as the pixmap may be deleted at any moment if another caller requests a differently sized pixmap.
* Recreate QPixmap in get_pixmap() if size differsConfuSomu2024-03-24
| | | | | | The pixmap should have the size requested and not the original size. Note that it may be better to do resizing on the callee/method user side as recreating a pixmap instead of scaling an existing one is expensive.
* Scale header image to nicely fill username labelConfuSomu2024-03-24
| | | | | | | This is similar to what the Mastodon web interface (and other clients, such as SubwayTooter) does with header images, only in an empty zone above the display name label. We could evidently change this with ease in the future.
* Draw Actor header image centeredConfuSomu2024-03-20
| | | | | This looks visually more attractive and is way better than squishing the image to fit in the display name text boundaries.
* Use smart pointers with AP classes and InstanceConfuSomu2024-03-20
|
* Fix harmless missing return for non-void functionConfuSomu2024-02-06
| | | | | | choose_icon's switch statement was missing a return statement for the default case, which would be unreachable anyways (unless in the case of a bug) as all enum values are already covered.
* Display header image in actor info tabConfuSomu2024-01-26
|
* Use QStringLiteral in some placesConfuSomu2024-01-26
| | | | | | This should provide a light performance improvement as the QString is built at compile time, with the generated data being stored in the read-only segment of the built object file.
* Clear Activity list when invalid archive openedConfuSomu2024-01-26
|
* Show error message in actor info tab when no actorConfuSomu2024-01-24
|
* Implemement Actor information tabConfuSomu2024-01-20
| | | | | This class still has improvements to be made, but it works and I am satisfied with it!
* Show status list item tooltip regardless of NDEBUGConfuSomu2024-01-08
| | | | This shows the tooltip even when making a release build.
* Make status list item tooltip translatableConfuSomu2024-01-08
|
* Make mastodonpp support configurableConfuSomu2024-01-08
|
* Use configure_file instead of setting compile defsConfuSomu2024-01-07
| | | | | This should avoid unnecessary recompiles of the whole project when the git hash changes and the project is reconfigured.
* Make hyperlinks clickable in StatusInfoWidgetConfuSomu2024-01-06
| | | | | I had to make the widget a QTextBrowser as QTextEdit does not allow easy opening of hyperlinks.
* Display human-readable verison info if availableConfuSomu2024-01-05
| | | | Displayed in about dialog.
* Display commit hash in about dialogConfuSomu2024-01-05
|
* Implement about dialogConfuSomu2024-01-05
|
* Rerun search if new archive is openedConfuSomu2024-01-05
|
* Remove useless codeConfuSomu2024-01-04
|
* Move activity list to a tab widgetConfuSomu2024-01-03
| | | | | | | | This allows us to have more tabs in the future with additional information, such as information about the Actor or even other activity views. This commit was quite a lot of work and refactoring!
* Fix Qt 6 compilationConfuSomu2023-11-27
| | | | | | Compilation would fail due to QtConcurrent changes in Qt 6. See the following on Qt's website: https://doc.qt.io/qt-6/concurrent-changes-qt6.html#qtconcurrent-run
* Remove variants from QtConcurrent in main windowConfuSomu2023-11-27
| | | | | | The std::variants weren't used and were making the code more complex to no advantage. All code that would have benefited from variants has already been moved to QThreads elsewhere
* Fix extraneous margin around status info widgetConfuSomu2023-11-18
|
* Remove duplicate status info widgetConfuSomu2023-11-18
|
* Move status info widget to its own widgetConfuSomu2023-11-12
| | | | | | | It is responsable of processing list items which are given to it, via signals, and then displaying them on the interface. Making this widget separate and modular will allow creating more advanced status views that aren't only HTML-based and that are more intuitive to use.
* Define archive item ref type for Archive classesConfuSomu2023-09-12
| | | | | | This type allows extension and the implementation of a more complete archive item reference system in the future as it allows going beyond ints.
* Implement archive method for getting APActivityConfuSomu2023-09-12
| | | | | | This replaces the existing method that returns HTML with a method that gives us an APActivity object, which is more precise and allows more extension in the future.
* Implement basic Mastodon API supportConfuSomu2023-08-24
| | | | | | | Implement support for OAuth 2.0 code entry, which is then used to retrieve a token that is stored in the application's settings. Authentification allowed the implementation of a basic "get post from URL" feature mostly made for testing.
* Display status type icons in status listConfuSomu2023-08-16
| | | | | | | | These icons allow users to identify the type of status with ease. I had to make — hand draw — custom icons as I didn't find any suitable icons in the Free Desktop Icon Theme Specification. Note that these icons are currently suitable only for a light theme. Support for a dark theme shouldn't be too hard to add.
* Make quick_read_setting() a templated methodConfuSomu2023-08-16
| | | | | This allows terser usage and removes the need for manually invoking QVariant's .value<T>() method.
* Implement localtime/UTC time display settingConfuSomu2023-08-16
|
* Remove the commented-out AppSettings structConfuSomu2023-08-15
| | | | It was only used for reference and doesn't serve anything now.
* Create convinence method for reading settingsConfuSomu2023-08-15
| | | | | | | | | | This method avoids having to create a SettingsInterface object that will be only used to read a small number of settings before being destroyed. It creates a static object that persists between invocations. Through the use of QSettings for reading a value, we are assured of always reading the most up to date version of settings as this class guaranties that changes done to one QSettings object will be immediately visible in other QSettings objects.
* Implement "fill address" in instance settingsConfuSomu2023-08-15
| | | | | Implement the "fill address" action in the instance login settings frame that is in the network tab.
* Implement settings dialogConfuSomu2023-08-15
|
* Free last_search when destroying FindDialogConfuSomu2023-08-08
|
* Remove unnecessary include in finddialog.cppConfuSomu2023-08-08
|
* Create an Archive base classConfuSomu2023-08-03
| | | | | | | This class is inherited by MastodonArchive to provide Mastodon (and compatible) archive reading support. A base Archive class allows implementing reading support of other archive formats that are from other services.
* Fix ellipsis being outside of viewport in listConfuSomu2023-08-02
| | | | | | | | | | Some list widget items have lines which where horizontally extending outside of the viewport, creating a horizontal scrollbar and placing ellipsis outside of the visible area. This commit fixes this problem by making sure that ellipsis are placed at the end of the visible lines, made possible by forbidding horizontal scroll bars which forbids horizontal scrolling (hopefully this is not a bug as I don't see any similar property that can be adjusted).
* Initialize find dialog with text from main windowConfuSomu2023-08-02
| | | | | | Properly emit the text that was entered in the search bar before the find dialog was opened. This makes sure that it is queried as expected by the user.
* Make a QAction from the Search buttonConfuSomu2023-08-02
| | | | | This allows us to have an action in the menu bar and a keyboard shortcut.
* Implement find dialogConfuSomu2023-08-02
| | | | | This dialog consolidates options for searching through textual elements in lists which simplifies the logic present in the MainWindow class.