Commit Graph

4149 Commits

Author SHA1 Message Date
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 edb440a5a9
Restructure related UI classes together (#7044) 2024-03-31 18:40:15 +02:00
ByteHamster 4e47691e70
Remove gpodder search (#7047)
The search results are usually broken anyway
or the server just returns an error 500
2024-03-31 09:15:53 +02:00
ByteHamster 86ff7f540b
Remove unneeded module dependencies (#7046) 2024-03-31 09:15:03 +02:00
ByteHamster d76b6f63ee
Fix search button not working on some screens (#7043) 2024-03-29 21:49:53 +01:00
ByteHamster 8accb54685
Move playback service to module (#7042) 2024-03-29 21:05:02 +01: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 0c8c9a89a3
Move about screen to :ui:preferences (#7039) 2024-03-29 13:39:45 +01:00
ByteHamster f9dd837362
Remove ClientConfig class (#7038) 2024-03-29 13:39:19 +01:00
ByteHamster 8f553f08f0
Add :ui:discovery module (#7037) 2024-03-29 13:38:31 +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 13a985ca1e
Restructure Echo to be more flexible (#7035)
Each screen is its own file, which makes it easier to add interactive elements.
2024-03-29 08:55:13 +01:00
ByteHamster 1dbda2fb8a
Split up DBTasks which has unclear responsibilities (#7032) 2024-03-27 21:01:45 +01:00
ByteHamster 130da46f5d
Move widget setup code to widget module (#6996) 2024-03-25 23:45:09 +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 701b1ce339 Bump version to 3.3.2 2024-03-24 17:58:24 +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 79856b7931
Launch splash activity after restoring backup (#7020) 2024-03-24 01:38:10 +01:00
ByteHamster f6b45e7162
Rename FeedMedia methods to no longer have underscores (#7017) 2024-03-23 11:27:55 +01:00
ByteHamster f20ce1fc69
Move first batch of preferences code to :ui:preferences (#7010) 2024-03-23 09:40:40 +01:00
ByteHamster 69f0daa2e8
Fix android:pathPattern not starting with a slash (#7014) 2024-03-22 20:10:33 +01:00
ByteHamster ab64807f64
Remove AutoDownloadTest (#7015)
This test regularly fails our CI.

The test checked that auto-download kicks in after the currently playing episode
and that it considers the correct item in the queue to enqueue after.

However, because we now use WorkManager, the download can be delayed based
on decisions by the Android system. We cannot assume that downloading already
starts just seconds after playback completes.

I do not know an easy fix for this, and the test is quite complex anyway, testing
multiple different modules at once. So I am removing the test for now.
2024-03-22 20:10:15 +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 0a6b7ed699
Nicer rating dialog (#7011) 2024-03-22 18:18:30 +01:00
ByteHamster c71e86f427 Bump version to 3.3.1 2024-03-20 20:34:22 +01:00
ByteHamster 53f68ca260
Make swipe gestures less slippery (#7003)
The sine function made the item move faster than the finger.
2024-03-20 00:08:04 +01:00
ByteHamster 55845c46a1
Optional automatic daily database backup (#6994) 2024-03-18 07:36:37 +01:00
ByteHamster d40b9ef59b
Decouple media button starter and receiver (#6999) 2024-03-18 07:28:17 +01:00
ByteHamster 2d77b1f118
Remove dependency from :ui:glide to :core module (#6998) 2024-03-17 20:25:44 +01:00
ByteHamster 0cbd97b5cb
Move theme to :ui:common module (#6997)
This enables creating Activities outside the app and core modules
2024-03-17 18:43:55 +01:00
Taco 48c0ccb4a2
Fix "add podcast" FAB still visible under SpeedDial main FAB (#6950) 2024-03-17 11:49:56 +01:00
ByteHamster 7d89b18afb Merge branch 'master' into develop 2024-03-13 21:59:49 +01:00
Taco 030226f288
Replace SwitchCompat with MaterialSwitch (#6989) 2024-03-13 20:14:07 +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 0848364810 Bump version to 3.3.0 2024-03-10 21:14:59 +01:00
ByteHamster 44e123105c Backport: Remove tab characters from last 6 files 2024-03-10 20:57:32 +01:00
ByteHamster 2e9fcc044f Update release notes 2024-03-10 20:32:14 +01:00
ByteHamster baa58ac17f
Remove wearable support library (#6978)
The library is the last one requiring Jetifier
and we only use 3 string constants in that whole library anyway.
2024-03-10 10:16:13 +01:00
ByteHamster 095a6b3e9d
Remove stream library that is just used in 3 locations (#6976)
Especially on the SwipeActionsDialog, this is even a bit easier to understand.
2024-03-10 10:14:17 +01:00
ByteHamster 393a8cebd3
Remove last few usages of Iconify (#6977) 2024-03-10 08:02:34 +01:00
Taco f1fe1b573f
Fix OkHttp deprecations (#6979) 2024-03-10 07:55:35 +01:00
ByteHamster aaf225c7af
Remove okio library (#6972) 2024-03-09 17:55:07 +01:00
ByteHamster 39e2d6e230
Move Google Play Metadata to its own repo (#6970)
This avoids having hundreds of megabytes of screenshot data in the main repo every single time we re-generate them. Then developers do not have to clone a huge repo (at least if they clone without submodules). It also enables rewriting the screenshot git history to be smaller without rewriting the code git history (which would be quite a bad idea).
2024-03-09 11:02:23 +01:00
Taco e1ef2a643a
Update AndroidX libraries (#6940) 2024-03-09 10:56:58 +01:00
Taco b2718a9a12
Delete unused TriangleLabelView license (#6965) 2024-03-07 19:03:48 +01:00
ByteHamster 7c14534179
Remove TriangleLabelView (#6963)
Since we redesigned the subscriptions page, this class is unused.
2024-03-06 21:53:40 +01:00
ByteHamster 68ec4e2527
Merge pull request #6958 from TacoTheDank/bumpSpotBugs
Update and fix SpotBugs
2024-03-06 17:46:05 +01:00
TacoTheDank 522288260c Clean up some old SpotBugs rules 2024-03-06 02:55:01 -05:00
TacoTheDank c2ccc28b95 Update SpotBugs 2024-03-06 02:52:14 -05:00
ByteHamster 5e8960f4bc
Merge pull request #6955 from ByteHamster/checkstyle
Move some Checkstyle rules from new-code file to main file
2024-03-06 07:32:24 +01:00
ByteHamster cae848b505 Fix indentation in last 8 files 2024-03-04 23:09:59 +01:00
ByteHamster 6c0f9eec62 Remove tab characters from last 6 files 2024-03-04 23:09:55 +01:00
Taco 40da13e014
Clean up some dead code (#6952) 2024-03-04 23:07:28 +01:00
Taco c06a3a6d27
Update AGP and Gradle (#6954) 2024-03-04 22:17: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
Matej Drobnič 7332c04631
Add option to add new episodes to queue (#6855) 2024-02-25 16:11:30 +01:00
ByteHamster a7068cc24a
String tweaks reported on Transifex (#6942) 2024-02-25 15:31:59 +01:00
mueller-ma 9cfbae183c
Toggle sleep timer from notification (#6913) 2024-02-25 15:02:44 +01:00
Taco ef4af0d29d
Fix Gradle deprecations (#6939) 2024-02-25 13:39:44 +01:00
ByteHamster 3b2e7420cd
Remove some deprecated methods (#6932) 2024-02-20 21:15:55 +01:00
ByteHamster 22f36bc9c0 Bump version to 3.3.0-beta2 2024-02-19 00:00:45 +01:00
ByteHamster 7a40a505f3 Merge branch 'develop' 2024-02-18 23:59:46 +01:00
ByteHamster dc63386e89 Bump version to 3.3.0-beta1 2024-02-18 21:15:41 +01:00
ByteHamster e5f564be94 Update contributors 2024-02-18 19:31:20 +01:00
ByteHamster 0d29e44de5 Merge branch 'master' into develop 2024-02-18 19:05:13 +01:00
ByteHamster c7c5ab567b
Use proper plurals when showing number of episodes (#6922) 2024-02-16 23:50:12 +01:00
ByteHamster c07ae17962
Tweak OPML import (#6906)
- Only request storage permission when ContentResolver fails
- Easier to read error message
2024-02-04 22:10:12 +01:00
Matej Drobnič 0f5600932d
Add next chapter button to notification (#6276) 2024-02-04 19:54:46 +01:00
ByteHamster f0e96a2692
Remove unused test class (#6907) 2024-01-31 21:48:39 +01:00
ueen 34fb2050b2
Hide refresh from toolbar (#6850) 2024-01-20 17:31:16 +01:00
ByteHamster 6e2a8b86a7
Merge pull request #6859 from ByteHamster/echo-tweaks 2024-01-10 17:12:31 -05:00
ueen b1e6da935b
Always show share in player toolbar (#6849) 2024-01-04 19:10:58 +01:00
ByteHamster 0361e05ca8 Permanently hide Echo section if it has too few hours 2024-01-04 18:59:06 +01:00
ByteHamster bf67218422
Print duration as number of days only on Echo (#6842)
Reverts an accidental change to the queue time display
2024-01-03 20:32:56 +01:00
ByteHamster 4a782e457c
Update queue list when toggling 'keep sorted' (#6853) 2024-01-02 20:18:20 +01:00
quails4Eva c5093c9ff9
Move 'skip silence' checkbox to playback speed dialog (#6834) 2024-01-02 20:17:29 +01:00
ueen f1e91f9d8b
Migrate subscriptions filter dialog to DialogFragment (#6846)
Co-authored-by: ByteHamster <info@bytehamster.com>
2024-01-02 19:56:57 +01:00
satish-vanjara de8bc4ad30
Add scrollbar to Nextcloud login dialog (#6838) 2024-01-01 12:40:43 +01:00
ueen c81157f0e6
Add reset button to episodes filter (#6825) 2023-12-31 11:32:02 +01:00
ByteHamster 8c7d567a0c
If feed url was typed manually, show edit url button on error (#6833) 2023-12-31 11:09:12 +01:00
Matej Drobnič f476086114
Check if volume boost effect is supported on the device (#6808) 2023-12-29 17:15:21 +01:00
ByteHamster 4e4b6062ac
Better center number in 'new' pill (#6831) 2023-12-29 00:07:21 +01:00
ByteHamster b066c6e23c
Update preference search library (#6821) 2023-12-23 20:58:12 +01:00
ByteHamster db88dc10e6
Make it easier to migrate Echo to a new year (#6803)
Also, add a new screen background
2023-12-13 22:40:51 +01:00
ByteHamster 3852d50f92
Fix 'played' state on TalkBack when cover is hidden (#6796) 2023-12-06 21:26:49 +01:00
ByteHamster ae4205c6d3 Merge branch 'master' into develop 2023-12-06 21:02:53 +01:00
ByteHamster 2e76dc8d0c
New sort dialog (#6789) 2023-12-03 16:36:28 +01:00
ByteHamster 1caffa70f7
Remove audio player license (#6783) 2023-12-02 10:44:44 +01:00
ByteHamster 58081fe5bf Bump version to 3.2.0 2023-11-29 08:35:43 +01:00
ByteHamster ee554d0306
AntennaPod Echo (#6780) 2023-11-28 20:26:29 +01:00
caoilTe O'Connor 95f431fec9
Remove Iconify from FeedInfoFragment (#6655) 2023-11-22 20:29:58 +01:00
peking_ling 45480f4e2c
Add ScrollView to sleep timer dialog 2023-11-17 22:51:42 +01:00
Tony Tam c7d6cd358c
Honor sort in episode list view in Android Auto (#6756) 2023-11-17 22:33:16 +01:00
ByteHamster 10672f8086 Bump version to 3.2.0-beta2 2023-11-13 22:53:58 +01:00
ByteHamster 1e3761984a Update contributors list 2023-11-13 22:53:42 +01:00
ByteHamster 8af06a9f25
Fix deeplink/search?query=xy intent (#6754) 2023-11-11 10:52:16 +01:00
ByteHamster 47761bf98f Bump version to 3.2.0-beta1 2023-11-05 16:14:41 +01:00
ByteHamster 0a6a3d6854
Add button to share exported database export (#6746)
Also hide path, is not accessible on recent Android versions anyway.
2023-11-05 16:06:20 +01:00
ByteHamster 34c7fd576f
Show 'copied to clipboard' message on Android 12L (#6745) 2023-11-05 15:48:35 +01:00
ByteHamster 1d415c9f7f
Announce played/unplayed in TalkBack (#6744) 2023-11-05 15:31:07 +01:00
ByteHamster f7a13065a9 Merge branch 'master' into develop 2023-11-05 08:27:34 +01:00
Vinod Patil 691ed73910
Fix adding new playback speed preset when service is not running (#6734) 2023-11-01 14:39:10 +01:00
Bhaskar Kaura 01f1927770
Add more spacing to OnlineFeedViewActivity, use MD3 styles (#6670) 2023-10-29 16:13:51 +01:00
ByteHamster 4931734d94
Allow hiding notification permission nag (#6730)
- Support showing most error messages as a snackbar
- Ask for notification permission when enabling episode notifications
- Clarify what we use notifications for
2023-10-29 16:10:38 +01:00
Matej Drobnič 346365b8d0
Delete local feed episodes (#6400) 2023-10-22 16:53:41 +02:00
ByteHamster fa75317bce
Do not try to sync local feeds (#6722) 2023-10-22 16:51:16 +02:00
ByteHamster 69be89881a
Make 'change times' button a settings icon (#6721)
Users didn't scroll down to find the button. Now it is next to the checkbox,
so it is harder to overlook.
2023-10-22 15:09:07 +02:00
ByteHamster 0b7403e1dd
Some more accessibility tweaks (#6713) 2023-10-22 13:14:36 +02:00
Vinod Patil 61669d32fa
Multi-select actions on search results (#6719) 2023-10-22 13:07:12 +02:00
ByteHamster 8d4270ab87 Bump version to 3.1.2 2023-10-22 12:52:25 +02:00
Taco e9d190da1b
Bump AGP and Gradle (#6489) 2023-10-17 20:52:21 +02:00
ByteHamster 0efa91a0b1
Add error icon on subscriptions screen (#6679) 2023-10-15 10:26:13 +02:00
ByteHamster 475e0f5128
Remove ProgressBar background (#6703)
Might lead to bad contrast in dark theme when applying dynamic colors
2023-10-13 17:31:39 +02:00
ByteHamster 58484d5790
Add 'Search online' button if local search has no results (#6681) 2023-10-13 17:31:09 +02:00
ByteHamster c732ecba8b
User material3 dialog in 'mobile updates' setting (#6682) 2023-10-12 18:13:55 +02:00
ByteHamster c38b263458
Better content descriptions for TalkBack (#6684) 2023-10-06 18:24:13 +02:00
ByteHamster 3fae29b375
Show playback speed in dialog even when not playing (#6685) 2023-10-06 08:18:17 +02:00
ByteHamster 4dc1196c39
Apply username and password when subscribing (#6675) 2023-10-01 18:08:54 +02:00
ByteHamster 7cb0ba8156
Switch to colorBackground instead of windowBackground (#6674) 2023-10-01 18:07:47 +02:00
Rahmat Ramadhan 922395a448
Sort downloads by size (#6659) 2023-09-27 21:59:58 +02:00
caoilTe O'Connor 574ec1434c
Remove Iconify from SubscriptionFragment (#6645) 2023-09-24 13:10:28 +02:00
ByteHamster 0e52f08aa5
Fix file deletion and queueing after download (#6652)
WorkManager does not tell us whether it was cancelled by
the user (not retried) or by the system (retried later).
So we need to delete the file and remove from queue when
we know that it was actually the user. Also make sure
to always delete the file when the download fails.

Also, don't show "will retry" message on last retry attempt.
2023-09-24 10:03:50 +02:00
caoilTe O'Connor 705aae44ba
Remove Iconify from NavListAdapter (#6578) 2023-09-16 12:34:30 +02:00
ByteHamster 8073de55af Bump version to 3.1.1 2023-09-12 20:09:34 +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 1e7c347cd2 No longer use 'metered' work-around for VPNs
WorkManager doesn't do the workaround either.
So we would launch a download that then never starts.
2023-09-12 19:18:12 +02:00
Matej Drobnič 8ebf153970
Add volume boost (#6573) 2023-09-08 13:28:20 +01:00
ByteHamster 9ed5485ae3
Restore Nextcloud login state when recreated (#6600) 2023-08-28 17:27:53 +02:00
ByteHamster 087770026f Update release notes 2023-08-24 21:05:05 +02:00
ByteHamster 91d5238f08 Bump version to 3.1.0 2023-08-19 11:47:52 +02:00
ByteHamster 4c9db040fe Update contributors 2023-08-19 11:24:06 +02:00
ByteHamster 3ce3219a3b Do not crash if item is not loaded yet 2023-08-19 11:21:52 +02:00
ByteHamster 056d262ab5 Fix ClassCastException when showing error message on video player 2023-08-19 11:21:52 +02:00
ByteHamster 4182f83367
Sync on app start (#6589) 2023-08-19 10:59:12 +02:00
ByteHamster 49ac7a83b8
Relayout NoRelayoutTextView if text gets longer (#6587) 2023-08-19 10:46:17 +02:00
ByteHamster ca9358234f Bump version to 3.1.0-beta3 2023-07-18 17:58:28 +02:00
ByteHamster 5ae766b1a1 Bump version to 3.1.0-beta2 2023-07-16 22:23:25 +02:00
ByteHamster 196ff13442
Upgrade preferences before using them (#6546) 2023-07-16 22:22:25 +02:00
ByteHamster 1a0134d5f2 Bump version to 3.1.0-beta1 2023-07-16 10:40:03 +02:00
ByteHamster fa12968ae5
Fix crash in item pager (#6542)
There should be no code path for feedItemPos to still be -1, but the
crash reports indicate that it does. So this is now the dirty fix to
avoid app crashes.
2023-07-15 22:04:11 +02:00
ByteHamster 8d1eb62f0b
Delete partially downloaded file when giving up to retry (#6530) 2023-07-15 16:27:12 +02:00
ByteHamster 6999a944bb
Fix 'allow once' for feed update on mobile networks (#6528) 2023-07-04 22:31:47 +02:00
ByteHamster 23d4cf5632
Merge pull request #6490 from TacoTheDank/minSdk21removals
Remove no longer needed Compat stuff
2023-06-24 14:45:07 +02:00
Manjeet Yadav 192d71c7ab
Fix mini player in landscape mode missing the Play button (#6521) 2023-06-20 23:31:55 +02:00
Jonathan Zopf 7b5d366536
Don't request rating by F-Droid users (#6495) 2023-06-03 16:08:29 +02:00