Commit Graph

77 Commits

Author SHA1 Message Date
Taco b6a4049ff4
Spotbugs cleanup (#6968)
Remove unused SpotBugs rules.
Fix URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD, ICAST_INTEGER_MULTIPLY_CAST_TO_LONG, NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION, OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE
2024-04-05 19:28:36 +02:00
ByteHamster 92ab575b15
Delete core module (#7060) 2024-04-05 19:20:27 +02:00
ByteHamster 2143ab1351
Move some tests from core module to their respective module (#7059) 2024-04-04 22:26:53 +02:00
ByteHamster 0288d4e51e
Small database efficiency tweaks (#7058)
- When checking whether there is a subscription, there is no need to create feed objects (plus counters etc). Just the number of episodes is enough.
- Downloads section only needs to load the items it actually displays.
- No need to load FeedMedia, just to load FeedItem including the same FeedMedia afterwards.
- No need to convert columns to Strings and back to Longs.
- No need to join favorites when we are only interested in the list of IDs anyway.
2024-04-04 21:58:36 +02:00
ByteHamster e894ff1ccb
Remove methods from DbReader that just call a private method (#7057) 2024-04-04 21:25:57 +02:00
ByteHamster 613a9896e9
Remember column indices between different list items (#7051)
This is way faster than searching for the column index again for every item.
2024-04-03 22:21:42 +02:00
ByteHamster a846e417b0
Fix playback state not being updated (#7050) 2024-04-01 09:55:30 +02:00
ByteHamster edb440a5a9
Restructure related UI classes together (#7044) 2024-03-31 18:40:15 +02:00
ByteHamster 2fd73b148d
Move download service to module (#7041) 2024-03-29 19:27:53 +01:00
ByteHamster 6f3a9b1676
Create module for sync service and move DBWriter to database module (#7040) 2024-03-29 17:45:14 +01:00
ByteHamster f9dd837362
Remove ClientConfig class (#7038) 2024-03-29 13:39:19 +01:00
ByteHamster 5ede21d676
Remove dependency of :net:discovery and :ui:echo on :core (#7036)
Moves the common icon files to :ui:common
2024-03-29 11:23:33 +01:00
ByteHamster 1dbda2fb8a
Split up DBTasks which has unclear responsibilities (#7032) 2024-03-27 21:01:45 +01:00
ByteHamster 69b24699a3
Move DBReader to :storage:database (#7027) 2024-03-25 21:45:43 +01:00
ByteHamster 5c6000155c
Let the database do the sorting (#7025) 2024-03-24 21:27:30 +01:00
ByteHamster 4078b3475e
Simplify playback preferences and move to :storage:preferences (#7024) 2024-03-24 21:08:06 +01:00
ByteHamster 084b9c2317
Store last refresh attempt for feeds (#7022) 2024-03-24 17:57:00 +01:00
ByteHamster 5218e06904
Faster feed deletion (#7019) 2024-03-24 12:25:32 +01:00
ByteHamster f6b45e7162
Rename FeedMedia methods to no longer have underscores (#7017) 2024-03-23 11:27:55 +01:00
ByteHamster bd17373c18
Playback speed fixes (#7013)
- Remove video-specific playback speed (no longer needed now that we have per-podcast speed)
- Respect changed speed setting on settings page even if the service is not running
- Do not change global speed when feed setting is updated
2024-03-22 19:44:14 +01:00
ByteHamster 542d50cba7
Create automatic backups only every 3 days, update summary (#7005) 2024-03-20 18:45:39 +01:00
ByteHamster 4bc90897b6
Only consider backup files with the exact same filename pattern for deletion (#7004) 2024-03-20 00:08:17 +01:00
ByteHamster 55845c46a1
Optional automatic daily database backup (#6994) 2024-03-18 07:36:37 +01:00
ByteHamster 2d77b1f118
Remove dependency from :ui:glide to :core module (#6998) 2024-03-17 20:25:44 +01:00
ByteHamster 2f3f1fd186
Move import/export to its own module (#6986)
Also clean up ImportExportPreferencesFragment a bit.
2024-03-11 23:10:09 +01:00
ByteHamster cae848b505 Fix indentation in last 8 files 2024-03-04 23:09:59 +01:00
quails4Eva 60f3d77eb2
Skip silence setting per feed (#6910) 2024-03-03 20:17:22 +01:00
ByteHamster ee99ef934c
Remove FeedComponent and FeedFile class (#6949)
We want to be more flexible in what we store for each type of item. Also rename misleading function (lastUpdate to lastModified)
2024-03-02 09:50:24 +01:00
mueller-ma 9cfbae183c
Toggle sleep timer from notification (#6913) 2024-02-25 15:02:44 +01:00
Matej Drobnič 0f5600932d
Add next chapter button to notification (#6276) 2024-02-04 19:54:46 +01:00
ByteHamster 9db26b7bab
Remove unnecessary autodownload code (#6832)
This should not change any behavior.
The retry count and timing are managed by WorkManager, so this code is irrelevant.
2023-12-29 19:25:39 +01:00
ByteHamster ae4205c6d3 Merge branch 'master' into develop 2023-12-06 21:02:53 +01:00
ByteHamster ee554d0306
AntennaPod Echo (#6780) 2023-11-28 20:26:29 +01:00
Tony Tam c7d6cd358c
Honor sort in episode list view in Android Auto (#6756) 2023-11-17 22:33:16 +01:00
Matej Drobnič 346365b8d0
Delete local feed episodes (#6400) 2023-10-22 16:53:41 +02:00
Taco e9d190da1b
Bump AGP and Gradle (#6489) 2023-10-17 20:52:21 +02:00
Rahmat Ramadhan 922395a448
Sort downloads by size (#6659) 2023-09-27 21:59:58 +02:00
ByteHamster 37c29a6372
Remove auto-download notification setting (#6625)
Also, add episode notifications to multi select options
2023-09-12 19:19:28 +02:00
ByteHamster 6d7bfef8a5
Download Service Rewrite (#6420) 2023-05-05 23:09:03 +02:00
ByteHamster f8be7d596d Merge branch 'master' into develop 2023-05-05 19:43:45 +02:00
ByteHamster a877809bad
Fix queue section not loading (#6447)
Apparently some devices do not support the SQLite IIF function.
2023-04-21 22:19:20 +02:00
Taco 78f65349d5
Update AGP to 7.4.0 (#5655) 2023-04-01 23:16:53 +02:00
ByteHamster 8c9b61e599
Remove 'set lockscreen background' setting (#6385)
Users disable the setting and then wonder why other apps (like Android
Auto) do not display the cover image, even though it says so in the
setting summary.
2023-03-31 22:18:37 +02:00
Andrzej Węgłowski 548f9e021e
Random enqueue location (#6403) 2023-03-31 22:16:59 +02:00
ByteHamster ee69e8c66b
Remove from queue section some time after resetting playback position (#6402) 2023-03-31 22:07:41 +02:00
ByteHamster 4f7f49e1e7
Move feed download to worker (#6375)
Feed downloads are now independent from episode downloads.
This makes it easier to use WorkManager for refreshing.
Also, it will make it easier to add different refresh intervals
in the future.
2023-03-14 21:03:45 +01:00
ByteHamster 86c11584b5
Automatically clear old download log entries on upgrade (#6370) 2023-03-11 17:44:21 +01:00
ByteHamster 835f007b67
Make statistics filter start at 00:00 (#6371) 2023-03-11 17:44:01 +01:00
ByteHamster 6b6753ad84
Hide 'reconnect' settings (#6367)
Android 12+ doesn't let us start the foreground service from an event
like "headset reconnected". Hide the corresponding settings and avoid
crashing.
2023-03-06 22:08:49 +01:00
ByteHamster 24d1a06662
Instead of specialized methods, use the global 'getEpisodes' method with a filter (#6358) 2023-03-01 20:52:23 +01:00