Commit Graph

54 Commits

Author SHA1 Message Date
Bart De Vries
a15e2dbe5d Make storage path configurable
This adds a new setting to the Settings page.
Existing enclosures and images will be moved to the new location
(first copied, then deleted in the original location).  If any of
the copy actions fail, the operation is aborted and the original
path is restored.
The StorageMoveJob is set up in such a way that it's easy to add other
files or subfolders in the future.

Solves #15
2021-07-24 20:43:11 +02:00
Bart De Vries
df07359c07 Change subscription page icon to bookmarks 2021-07-15 13:46:46 +02:00
Swapnil Tripathi
95ee97aefe Expanded the model with more roles and designed frontend. 2021-07-07 12:57:45 +02:00
Tobias Fella
fa1c308c2d Add model for searching for podcasts 2021-07-07 12:57:45 +02:00
Bart De Vries
d0bc5b2b26 Add capability to check whether network connection is metered
For now this only works with NetworkManager.  The related settings are
greyed out on systems not using NetworkManager.

Some details of the implementation:
- Implement settings in the settings menu to enable/disable feed
  updates, episode downloads and/ or image downloads on metered
  connections.  If the option(s) is disabled, an overlay dialog is shown
  with options to "not allow", "allow once", or "allow always".
- If the network is down, no attempt is made to download images and the
  fallback image will be used until the network is up again.
  This also solves an issue where the application hangs when the network
  is down and feed images have not been cached yet.
- Next to this, part of the cachedImage implementation in Entry and Feed
  has been refactored to re-use code as part of the image() method in
  Fetcher.
- In case something unexpected happens, an error will be logged.
2021-07-03 20:20:27 +02:00
Bart De Vries
d7debaaf30 Rework Download list page
This page now has section headers, and show Downloading, Partially
Downloaded and Downloaded enclosures with relevant actions for each.
2021-06-24 11:49:24 +02:00
Bart De Vries
69a87b1afc Add icons needed for OverlaySheet on android 2021-06-23 17:17:28 +02:00
Bart De Vries
e86111ed55 Move error list to settings page (as overlaysheet) 2021-06-22 16:26:43 +02:00
Bart De Vries
49977adc38 Refactor Error implementation and add Error::Type
- This refactoring also includes a cleanup of a lot of header includes to
  avoid circular dependencies.
- The error message will now be shown below the info message.
- Add database migration (for Errors)
2021-06-19 17:09:44 +02:00
Bart De Vries
4d6d8ae940 Add basic logging capabilities on android.
This implements debug logging which can be checked through logcat.
2021-06-19 00:26:24 +02:00
Bart De Vries
2ed33aa750 Add debugging logging categories 2021-06-05 22:03:22 +02:00
Bart De Vries
05859cdca0 Add missing icon for android build 2021-06-04 09:05:44 +02:00
Bart De Vries
3983e09634 Use qCDebug in AudioManager 2021-05-28 22:55:18 +02:00
Bart De Vries
370b023a3b Change CMake targets from Qt5::x to Qt::x 2021-05-27 22:46:24 +02:00
Tobias Fella
9cbfde6d7c Add more license information 2021-05-12 13:43:49 +02:00
Bart De Vries
1c44e717ae Renaming alligator to kasts everywhere 2021-05-03 22:31:45 +02:00
Bart De Vries
0846dd9d9b Disable DBus as dependency for Android 2021-05-03 12:59:06 +02:00
Bart De Vries
5a9aa35748 Generate dbus sleep inhbit interfaces from XML 2021-04-30 23:12:22 +02:00
Bart De Vries
8ce5ee0e88 Add dialog-close to icons for Android 2021-04-30 14:46:48 +02:00
Bart De Vries
16a5cfbcf9 Add OverlaySheet with actions on FeedList 2021-04-29 22:48:43 +02:00
Bart De Vries
0d275b8400 Don't show clear error button when there are no errors
Also add the icon to the icons to be packed for android.
2021-04-26 10:57:55 +02:00
Bart De Vries
5a0972372b Add ErrorModel, just a placholder GUI for now 2021-04-24 23:32:10 +02:00
Bart De Vries
a50c8bf001 Add capability to monitor ongoing downloads 2021-04-21 23:09:19 +02:00
Bart De Vries
98bc7ffa61 Add icons to make sure they are available on Android 2021-04-21 14:53:03 +02:00
Bart De Vries
130b10aefb Add first version of EpisodeListPage 2021-04-21 14:53:03 +02:00
Bart De Vries
593934bc4f Initial copy and adaptation of MPRIS2 from elisa (WIP)
This MPRIS2 implementation compiles without errors, but is not yet
instantiated within the application itself.
To be continued...
2021-04-21 14:53:02 +02:00
Bart De Vries
7d94792872 Add audiomanager and powermanagementinterface
Both classes are based on classes taken from Elisa.

The audiomanager class will be adapted to add functionality like saving
and restoring play positions and interfacing with MPRIS2.
2021-04-21 14:53:02 +02:00
Bart De Vries
65ef16017b Rename AlligatorSettings to SettingsManager 2021-04-21 14:53:02 +02:00
Bart De Vries
8035f0fd60 First work on datamanager 2021-04-21 14:52:33 +02:00
Bart De Vries
f75c29dda6 First work on queuemodel 2021-04-21 14:52:33 +02:00
Tobias Fella
e5837425d3
Support podcasts 2021-03-22 23:33:44 +01:00
Nicolas Fella
76c61c60bb CMake stuff 2020-10-22 14:41:30 +02:00
Tobias Fella
7647edcdc2 Refactor models 2020-10-09 13:48:41 +02:00
Tobias Fella
c320d90c13 Package missing icons for android 2020-09-19 16:57:29 +02:00
Tobias Fella
b412325219 Use material style on android 2020-08-17 20:21:56 +02:00
Tobias Fella
c8dea42485 Add default feed icon 2020-07-29 22:10:39 +02:00
Tobias Fella
1065e3cdd9 Show network errors when entryList is empty 2020-07-04 22:42:19 +02:00
Tobias Fella
17b4e39eb2 Revert to using a Label for Entry Rendering :( 2020-06-03 17:39:56 +02:00
Tobias Fella
8163a4cd6d Improve Entry rendering 2020-06-01 23:58:58 +02:00
Tobias Fella
6fd81f52e9 package missing icons for android 2020-05-31 21:49:30 +02:00
Tobias Fella
3e07ce824b Package alligator icon on android 2020-05-31 18:50:16 +02:00
Tobias Fella
8269cb960f Refactor models 2020-05-26 16:32:32 +02:00
Tobias Fella
7350ac3951 Use help-about-symbolic instead of help-about 2020-05-10 16:24:32 +02:00
Tobias Fella
804cf33fc2 Package missing Icon for Android 2020-04-28 22:02:31 +02:00
Tobias Fella
1ab02966d5 Android build fixes 2020-04-28 21:32:37 +02:00
Tobias Fella
aba24a171d Add Icon to Contextmenu in FeedListPage 2020-04-23 23:03:47 +02:00
Tobias Fella
26c57d45d7 Port to Android 2020-04-21 23:27:15 +02:00
Laurent Montel
42ab8a676a Remove executable attribute 2020-04-21 13:23:25 +02:00
Tobias Fella
eb8d24e28a port models to QSqlTableModel 2020-04-18 21:07:49 +02:00
Tobias Fella
7dbcb4ccaf prepare for i18n 2020-04-15 21:21:08 +02:00