Commit Graph

72 Commits

Author SHA1 Message Date
ByteHamster
4a92a5e019
Make sync service interface more standard (#7479) 2024-10-30 21:30:29 +01:00
Piotr Idzik
a0b751e64d
Remove imports only used in JavaDoc (#7468) 2024-10-27 21:11:24 +01:00
Vishnu Sanal T
7f45f2f9b9
Fix sorting episodes by file name (#7456) 2024-10-19 22:46:35 +02:00
ByteHamster
d3ec4139da
Fix random episodes section not being random (#7416)
We used "GROUP BY" without specifying which item in the group to take.
Apparently, SQLite then takes a deterministic item
instead of the first (randomly sorted) item.
2024-09-21 13:32:27 +02:00
ByteHamster
6b189a0d47
Delete non-subscribed, non-interacted feeds earlier (#7399) 2024-09-14 11:46:39 +02:00
ByteHamster
2ad713772d
Show subscribe nag only after interacting with episode (#7378) 2024-09-03 19:41:48 +02:00
ByteHamster
6b63c6b9bb
Fix feed counters including non-subscribed podcasts (#7334) 2024-08-24 10:54:08 +02:00
ByteHamster
251b17c7df
Ignore new episodes action for non-subscribed feeds (#7335) 2024-08-24 09:37:47 +02:00
Taco
c51656f8e7
Spotbugs cleanup part 2 (#7204) 2024-06-09 20:47:49 +02:00
ByteHamster
0a768e6286 Merge branch 'master' into develop 2024-05-29 18:27:53 +02:00
ByteHamster
155d769fca
Fix marking as played when there is no media (#7192) 2024-05-24 10:00:28 +02:00
Tony Tam
e856a9f118 Display transcript text and follow along the audio (#7103) 2024-05-18 18:58:36 +02:00
Tony Tam
27e9bf36b1 Download and store transcript text (#6797) 2024-05-18 18:58:01 +02:00
Tony Tam
8adbad9b66 Parse podcast:transcript url and store in SQLite (#6739) 2024-05-18 18:57:57 +02:00
ByteHamster
084723ad76
Add episodes without subscribing (#7098) 2024-05-09 11:44:26 +02:00
ByteHamster
1505c50b1b
Fix sometimes not resetting media position (#7147)
Before 5218e06904, deleting an item
loaded its state from the database again. Now it stores the state
of that object. markItemPlayed() did not reset the object's playback
position, so when auto-delete was enabled, the position was overwritten again.
2024-04-28 23:56:23 +02:00
ByteHamster
8037bd2239
Fix default per-feed skip silence setting (#7101) 2024-04-15 19:22:07 +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