Commit Graph

56 Commits

Author SHA1 Message Date
ByteHamster 084723ad76
Add episodes without subscribing (#7098) 2024-05-09 11:44:26 +02:00
ByteHamster f3bca9d9e4
Add lazy loading to feed item list (#7091) 2024-04-13 19:18:13 +02:00
ByteHamster 04fab47072
Store download date in database (#7090) 2024-04-13 17:28:56 +02:00
ByteHamster e578f4ca93
CI tweaks (#7069)
- Run Checkstyle with gradle to make it easier for users
  - No longer needs different configuration for new code
  - Exclude current violations
  - Fix some violations that somehow couldn't be specified in the exclusion file
- Print SpotBugs/Lint/Checkstly violations in GitHub format
  - Then the CI run gets annotated on the web UI
2024-04-07 23:28:14 +02:00
ByteHamster 687db0f5ed
Merge :net:sync:model and :net:sync:service-interface (#7063) 2024-04-05 20:08:25 +02:00
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 edb440a5a9
Restructure related UI classes together (#7044) 2024-03-31 18:40:15 +02:00
ByteHamster 6f3a9b1676
Create module for sync service and move DBWriter to database module (#7040) 2024-03-29 17:45:14 +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 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 2d77b1f118
Remove dependency from :ui:glide to :core module (#6998) 2024-03-17 20:25:44 +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
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 ee554d0306
AntennaPod Echo (#6780) 2023-11-28 20:26:29 +01: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 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 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 24d1a06662
Instead of specialized methods, use the global 'getEpisodes' method with a filter (#6358) 2023-03-01 20:52:23 +01:00
GitStart 581e71b306
Add option to switch a- & descending sort order for Inbox (#6266) 2023-02-28 21:41:15 +01:00
Erik Johnson 9fed944392
Add "New Episodes Action" preference (#6095) 2023-02-22 21:34:43 +01:00
GitStart 25ddd73f24
Add sort option to episodes screen (#6286) 2023-02-22 20:04:04 +01:00
Jared234 7a2f4771ec
Add sorting options to downloads screen (#6210) 2023-02-12 21:12:04 +01:00
ByteHamster 46d27a86e1 Hide started episodes from 'random episodes' screen 2022-12-03 11:29:15 +01:00
ByteHamster d5e80b089b Fix search for subscriptions 2022-11-30 19:55:45 +01:00
ByteHamster b0b95f0a05 Reorder queue section when pressing play, not when pausing 2022-10-04 19:48:47 +02:00
ByteHamster b605901c52 Hide episodes from 'queue' home section if played less than 1 sec 2022-09-30 17:25:52 +02:00
ByteHamster 097a491504
Rewrite include/exclude filter dialog (#6057) 2022-09-18 22:25:06 +02:00
Erik Johnson fcce8e9e0e
Implement "Downloaded and unplayed" subscription counter option (#6073) 2022-09-18 18:03:10 +02:00
Erik Johnson 539d0c928d
Remove "inbox and unplayed" feed counter option (#6033) 2022-09-10 12:06:32 +02:00
ByteHamster 1207660787 Make queue loading more efficient 2022-08-30 19:46:59 +02:00
ByteHamster 836e2199bc Load only favorite IDs instead of whole FeedItems 2022-08-30 19:23:11 +02:00
ByteHamster 77104c9038
Home Screen (#5864)
Co-authored-by: ueen <ueli.sarnighausen@online.de>
2022-08-27 11:19:34 +02:00
ByteHamster 28a397c897 Make statistics loading more efficient 2022-08-26 20:26:28 +02:00