Commit Graph

2749 Commits

Author SHA1 Message Date
Tony Tam aebc62d136 only show the play button for non-car mode, since that is taken care of already 2020-11-22 18:20:10 -08:00
ByteHamster 41cdeec30c
Merge pull request #4698 from ByteHamster/notification-icon-resolution
Increased resolution of notification icon
2020-11-22 16:09:48 +01:00
Tony Tam 69670e2153
higher contrast color for search bar (#4704) 2020-11-22 15:57:47 +01:00
Tony Tam d9151351b0 pause button for autos 2020-11-21 18:20:17 -08:00
ByteHamster 9bd0babed5 Partially revert "Performance improvements"
Some problems with wrong dates might be caused by the
static date parser no longer being thread safe.

This partially reverts commit 77ef239336.
2020-11-21 23:08:39 +01:00
ByteHamster 9989bbff9b Increased resolution of notification icon
The expanded media style notification has a higher resolution than
normal large icons
2020-11-19 11:27:40 +01:00
ByteHamster 4b252250c0 Merge branch 'master' into develop 2020-11-19 11:24:31 +01:00
Herbert Reiter d68b45fd30 Refactoring: Remove callback functions with constant value 2020-11-15 14:26:07 +01:00
ByteHamster 34f9f01ba1 Updated translations 2020-11-15 12:37:00 +01:00
ByteHamster 8a82b3709d
Merge pull request #4690 from ByteHamster/fix-wording
Fixed wording of counter>0 filter
2020-11-15 12:31:41 +01:00
ByteHamster 02def17f93
Merge pull request #4689 from ByteHamster/stop-foreground-before-stop
Stop foreground in DownloadService before calling stop
2020-11-15 12:28:12 +01:00
ByteHamster 97b557a3b6
Merge pull request #4684 from ByteHamster/fix-null-pubdate-crash
Fixed comparator method contract when date is null
2020-11-15 12:26:52 +01:00
ByteHamster 2d24213171 Fixed wording of counter>0 filter 2020-11-15 12:18:44 +01:00
ByteHamster f5bbdf1666 Stop foreground in DownloadService before calling stop 2020-11-14 18:08:52 +01:00
Herbert Reiter 3aa6b37834 Refactoring: Remove interface DBTasksCallbacks and class DBTasksCallbacksImpl 2020-11-14 11:32:49 +01:00
ByteHamster cabe1a0f66 Fixed comparator method contract when date is null 2020-11-11 22:43:27 +01:00
ByteHamster 4decd1d9fe
Merge pull request #4680 from ByteHamster/fix-file-size-stats
Fixed file size statistics
2020-11-11 22:21:00 +01:00
ByteHamster 0e84f5d90c
Merge pull request #4666 from ByteHamster/db-corruption
Use lazy singleton instead of Bill Pugh singleton
2020-11-11 22:04:54 +01:00
ByteHamster eea503e3e0
Merge pull request #4672 from ByteHamster/fix-update-without-pubdate
Fixed updating feeds where some items do not have a pubdate
2020-11-11 21:56:59 +01:00
ByteHamster 24c15cfc61 Fixed file size statistics 2020-11-09 23:27:05 +01:00
ByteHamster 2249e91578 Update local folder properties on refresh
Fixes updated translations
2020-11-09 23:10:50 +01:00
ByteHamster fe3a44d5fa Fixed updating feeds where some items do not have a pubdate 2020-11-09 12:37:33 +01:00
ByteHamster 8f25f5830a Use lazy singleton instead of Bill Pugh singleton 2020-11-08 09:36:13 +01:00
ByteHamster 0ae6ca8d04 Added support for showing feed item images on Android Auto 2020-11-07 09:29:11 +01:00
ByteHamster 8d2df1afa1 Merge branch 'master' into develop 2020-11-06 23:17:33 +01:00
ByteHamster 29f46d97c0
Merge pull request #4659 from ByteHamster/fix-playback
Fix using wrong playable object
2020-11-06 22:57:57 +01:00
ByteHamster 8686edb67e
Merge pull request #4662 from ByteHamster/add-recommended
Add 'recommended' text to ExoPlayer setting
2020-11-06 22:56:57 +01:00
ByteHamster 6127197314 Add 'recommended' text to ExoPlayer setting 2020-11-06 22:12:27 +01:00
ByteHamster 688f1b370c Fix using wrong playable object 2020-11-06 21:58:04 +01:00
ByteHamster d6c00574b4
Merge pull request #4615 from ByteHamster/notification-channels-consistency
Use system notification settings on supported devices instead of our own
2020-11-06 14:37:43 +01:00
ByteHamster dfd2ad49d1 Add error message when system file manager is not available 2020-11-06 14:32:40 +01:00
Sebastian Zeller 85b897c7d7 Filter the All Episodes tab via SQL Query
Fixes #4414
2020-11-06 02:03:20 +01:00
Anderson Mesquita a3a5a936a2 Remove IF NOT EXISTS from index create statements
`onCreate()` should only ever be called once, where the tables and
indices are created. Any other changes need to happen via `onUpgrade()`,
so we can safely remove `IF NOT EXISTS`.

When importing any database into the app (e.g. if it gets corrupted and
is recreated with `sqlite3 old-database.db ".dump"`), it first needs to
be set back to the correct version. This can be done in sqlite with:

    $ sqlite3 old-database.db "PRAGMA user_version"
    <old-db-version>
    $ sqlite3 new-database.db "PRAGMA user_version = <old-db-version>"

For more context, see this PR:
https://github.com/AntennaPod/AntennaPod/pull/4585
2020-11-02 18:01:32 -05:00
ByteHamster ec9d631d8d Fixed crash when playing from preferences 2020-11-02 17:10:20 +01:00
ByteHamster 23763eb87f
Merge pull request #4628 from ByteHamster/local-feeds-metadata
Fixed local feed metadata, show directly
2020-11-01 17:00:27 +01:00
ByteHamster 8713d25b1a Fixed local feed metadata, show directly 2020-11-01 16:24:13 +01:00
ByteHamster dc98c445c1
Merge pull request #4623 from ByteHamster/cancel-future
Cancel notification updater future before shutting down executor
2020-11-01 09:47:32 +01:00
ByteHamster ec7f639982
Merge pull request #4617 from ByteHamster/duplicate-share-dialog
Do not display duplicate share menu
2020-11-01 09:47:13 +01:00
ByteHamster f095ca8474 Cancel notification updater future before shutting down executor 2020-10-31 12:23:47 +01:00
ByteHamster 96e68f69de Do not display duplicate share menu 2020-10-29 21:07:29 +01:00
ByteHamster 7ac4f18561 Migrate notification channel settings 2020-10-29 20:44:24 +01:00
ByteHamster 151cccce66 Use system's notification settings on supported devices 2020-10-29 20:21:43 +01:00
ByteHamster 26071dc3cf Make notification channels consistent between app settings and system settings 2020-10-29 20:10:05 +01:00
ByteHamster 19697e3aa5 Be consistent about podcast vs episode 2020-10-29 19:48:16 +01:00
avirajrsingh 4a4392e797
Add podcast specific statistics to podcast info screen (#4601) 2020-10-29 19:41:41 +01:00
moralesg 3a87982628
Local feeds, add successful download log entry (#4608)
Co-authored-by: moralesg
2020-10-28 16:12:08 +01:00
moralesg 370df3a26c
Local feeds: honor file creation date (#4607) 2020-10-28 16:07:17 +01:00
ByteHamster 8ad4682aa4 Merge branch 'master' into develop 2020-10-28 10:56:22 +01:00
ByteHamster fa6e054212 Updated translations 2020-10-28 10:37:18 +01:00
Tony Tam 3a9829bd5e
When doing Auto Skip to End, do the right thing (#4594) 2020-10-28 09:06:42 +01:00
ByteHamster 2da36919b3 Only accept media control buttons while actually playing 2020-10-26 11:13:52 +01:00
ByteHamster 679e482999 Merge branch 'develop' into add-local-feeds 2020-10-25 19:33:21 +01:00
ByteHamster 71b6c57773
Merge pull request #4590 from ByteHamster/merge-chapters
Merge chapter lists if specified in both feed and media file
2020-10-25 19:20:05 +01:00
asdoi d732e6a5c1
Show date from which statistics are counting (#4517) 2020-10-25 19:14:59 +01:00
ByteHamster c378b1828b Merge chapter lists if specified in both feed and media file 2020-10-25 19:03:26 +01:00
ByteHamster a0c604dc86
Merge pull request #4591 from ByteHamster/ensure-background-thread
Ensure that first DB query is executed in background thread
2020-10-25 19:00:55 +01:00
ByteHamster 058885ac09 Prevent play/pause button not doing anything in some cases 2020-10-25 18:59:02 +01:00
ByteHamster aa3a350e38
Merge pull request #4592 from ByteHamster/audiofocus-reuse
Reuse audiofocus request object
2020-10-25 18:57:57 +01:00
ByteHamster 2ae11e1d18
Merge pull request #4589 from Niffler/resolve-issue-4320
Edit streaming confirmation dialog labels
2020-10-25 18:56:40 +01:00
ByteHamster caaf2c72db Upgrade roboelectric for API 30 compatibility 2020-10-25 18:45:30 +01:00
ByteHamster e767282bff Fail gracefully when trying to cast local feed 2020-10-25 18:15:37 +01:00
ByteHamster 361db64a07 Allow to re-connect SAF document tree 2020-10-25 17:58:57 +01:00
ByteHamster c8a2f20000 Merge branch 'develop' into add-local-feeds 2020-10-25 17:31:47 +01:00
Herbert Reiter 28ebbedbdf
Local feeds: Unit tests for LocalFeedUpdater (#4551) 2020-10-25 17:22:36 +01:00
ByteHamster f536774f2e Reuse audiofocus request object 2020-10-24 23:59:21 +02:00
ByteHamster 3f80a5fdb8 Ensure that first DB query is executed in background thread
This prevents crashes when the service is the first entry point after an
update that needs a database upgrade.
2020-10-24 23:24:43 +02:00
ByteHamster 3e4e6381bd
Merge pull request #4588 from ByteHamster/recent-pubdate-performance
Improve performance and memory usage of 'recent pubdate' feed sort option
2020-10-24 20:03:38 +02:00
Niffler aeabc7c4ef Edit streaming confirmation dialog labels 2020-10-24 19:45:00 +02:00
ByteHamster cd100aae15 Improve performance and memory usage of 'recent pubdate' feed sort option 2020-10-24 11:49:55 +02:00
avirajrsingh 69a3c56d24
[Statistics]Add count of episodes stocked on device (#4581) 2020-10-24 10:26:56 +02:00
zawad hossain 75b7b41fa0
Share exported logs added (#4582) 2020-10-24 09:32:22 +02:00
Niffler 469a1615db
Update view after episode deletion when downloaded filter is enabled (#4560) 2020-10-22 23:04:00 +02:00
Ezequiel 91f9c19bae
Remove episode from queue when gpodder notifies as played (#4562) 2020-10-22 13:37:03 +02:00
chrk2205 6098058a32
Move notification settings to their own screen (#4526)
added a new fragment named "notification manager"
replaced all settings related into this fragment
2020-10-20 21:04:03 +02:00
Keunes 00fd1d30ab
Clarify 'downloads' statistic (#4558)
"Total size of downloaded podcasts" might be interpreted as the total cumulative size of all episodes ever downloaded. This is to improve the string so it's clear that it's about the episodes currently on the device.
2020-10-19 23:45:04 +02:00
ByteHamster 8f6c560f01 Merge branch 'master' into develop 2020-10-17 23:35:24 +02:00
DAMLA YILDIZ 4971bb5287
New channel for synchronization errors (#4545) 2020-10-17 22:54:34 +02:00
Tony Tam 2ef464ad93
Discovery filter by country & hide discovery on first subscribe screen (#4515) 2020-10-17 22:50:08 +02:00
Jake Douglas 4df751a018
Add error message when database export does not have enough space (#4451) 2020-10-17 22:47:20 +02:00
asdoi e334b9cad6
Extended subscriptions filter (#4502) 2020-10-16 13:56:43 +02:00
H. Lehmann 545ac4eda0
Merge pull request #4529 from ByteHamster/fix-queue-loader-thread
Load queue in background thread
2020-10-16 09:27:10 +02:00
H. Lehmann 66c85df9ca
Merge pull request #4539 from Xeitor/import_tittle
Style 'Import successful' dialog
2020-10-16 09:15:42 +02:00
xeitor 4e49a73536 style import succesfull dialog 2020-10-15 19:55:56 -03:00
ByteHamster dc7e2bebbb Load queue in background thread 2020-10-15 22:24:10 +02:00
asdoi e9285fba2f
Clarified wording of compact notification setting (#4384) 2020-10-15 22:22:37 +02:00
ByteHamster 2c5372eb31 Updated translations 2020-10-14 20:12:24 +02:00
ByteHamster 983c0a464e Set cache-control to no-cache
The previous value, no-store, did not allow CDNs to do their work.
2020-10-14 16:56:18 +02:00
Chetan Pawar 9833bd753b
Replacing deprecated default constructor of handler with constructor that accepts Looper (#4513) 2020-10-09 09:05:07 +02:00
H. Lehmann e46a1547ca
Merge pull request #4499 from panoreak/remove-navigate-upwards-label-string
Removed navigate_upwards_label from strings.xml
2020-10-06 09:29:19 +02:00
Panorea cac2934c12 Removed navigate_upwards_label from strings.xml 2020-10-05 17:39:23 -04:00
ByteHamster 2e0a191d5c Ship our own CA certificates for old devices 2020-10-05 12:57:42 +02:00
Patrick Kennedy 449880287b
Add plural default resource for download_report_content string. (#4492) 2020-10-04 20:18:45 +02:00
H. Lehmann e1ff4c8763
Merge pull request #4077 from Slinger/conscrypt_bundle
Bundle a modern Security Provider (Conscrypt) in the Free builds.
2020-10-04 15:21:18 +02:00
Herbert Reiter 41580b57cc
Local feeds: Do not display streaming confirmation (#4468) 2020-10-02 23:03:30 +02:00
Marc Schwede abfa1dab4e
Clarified 'OPML Import' action (#4491)
refers to AntennaPod#4479 and adapts the suggestions of the discussion.
2020-10-02 18:24:16 +02:00
Mats Wahlberg 06d212b911 Use freeImplementation for including conscrypt in Free builds.
This removes the need for the -PfreeBuild flag to gradle, and makes
assemblePlay and assembleDebug build all flavours without errors again.
Changed circleci config back accordingly and removed comment about
-PfreeBuild. Based on #4457.
2020-10-02 14:39:02 +02:00
Darrell 31ac0a5322
Added Style for TextViews in Add Podcast screen (#4483) 2020-10-01 23:55:32 +02:00
Bo Jacobs 923be5bfdd
Improve search feature by using keywords instead of full match (#4478) 2020-10-01 23:49:34 +02:00
Connectety 5a10728aa9
Delete private constructor in FeedPreferences which is only used by other consturctor (#4477) 2020-10-01 12:59:03 +02:00
ByteHamster 65a25fd663 Enabled core lint check on CircleCI 2020-10-01 11:17:21 +02:00
ByteHamster 0c2720625c Enabled Lint for core module 2020-10-01 11:17:15 +02:00
ByteHamster 74d18b747a Cancel ChapterLoader correctly 2020-10-01 11:17:15 +02:00
ByteHamster 7513c6e1ad Work around a Lint crash
https://issuetracker.google.com/issues/124861181
2020-10-01 11:17:15 +02:00
Mats Wahlberg 30268d73d1 Cleaned up string to println in core/build.gradle
Variable can be used and gets replaced directly in the string without
using '+' to concatenate strings.
2020-09-30 13:52:31 +02:00
Mats Wahlberg 3271d7628f Fixed circle static-analysis error
No code changes, but formatting with comments around else statements
needed to be clearer, also some whitespaces should have been avoided...
2020-09-30 13:52:31 +02:00
Mats Wahlberg 4f86047a24 Enable TLSv1.3 and harden protocols and cipher suites for Free builds
The Free build bundles a modern Conscrypt which means TLSv1.3 is always
guaranteed no matter android version. So it can always be enabled. Since
it also provides modern cipher suites, there is no need to enable older
protocols than TLSv1.2 (that is: SSLv3, TLSv1.0 and TLSv1.1 which are
all now deprecated).

And the support for modern cipher suites also means there is no need to
explicitly enable the following (obsolete+unsafe) ciphers suites:
 * TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
 * TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
on Android API < 21 (Android < 5.0).

No changes are made to the Play builds (since the available security
provider can't be guaranteed to support modern protocols and cipher
suites).
2020-09-30 13:52:31 +02:00
Mats Wahlberg 3f0420544a Updated circleci debug and release jobs to explicitly build Play flavors
Changed the gradlew build targets assembleRelease to assemblePlayRelease
and assembleDebug to assemblePlayDebug, because the old targets causes
files for the free builds to get compiled when not needed. It's
unnecessary and also done without -PfreeBuild which gives build errors.

These are also the targets used in makeRelease.sh, so the workflow
should better match the expected.
2020-09-30 13:52:31 +02:00
Mats Wahlberg 4c24d1c29a Bundle Conscrypt security provider for Free builds
This fixes protocol and cipher errors on older versions of android
without requiring Google API/Services (which are non-free) to replace
the security provider from the OS. No changes are made to Play builds.

The value of conscryptVersion in build.gradle should be updated
regularly to keep the bundled version of conscrypt up to date (or
changed to "latest.release", which will cause issues with verifying
reproducible builds).

Fixes: #2814 (for users of free builds)
2020-09-30 13:52:31 +02:00
ByteHamster e9fa84af58 Merge branch 'master' into develop 2020-09-30 10:50:25 +02:00
ByteHamster 4a877f24b8 Updated translations 2020-09-30 10:11:52 +02:00
H. Lehmann bba5f224e6
Merge pull request #4443 from ByteHamster/network-metered-detection
Detect network cellular instead of network metered
2020-09-29 13:34:26 +02:00
ByteHamster f54076ca58 Swallow undeliverable RxJava exceptions
AntennaPod threads might throw NPEs after disposing because we set controllers to null.
2020-09-29 12:23:13 +02:00
Taco 314cc59792
Fix a few more deprecations, tiny cleanup (#4388) 2020-09-29 12:15:40 +02:00
Edwin J P 61ed58074e
Added podcastindex.org search (#4435) 2020-09-29 09:46:15 +02:00
H. Lehmann e31a833361
Merge pull request #3871 from tonytamsf/android-auto-rewind
add custom rewind for android auto
2020-09-28 09:02:23 +02:00
Tony Tam 3bb2e2ae17 Add custom rewind and fast forward for Android Auto 2020-09-27 19:42:40 -07:00
ByteHamster 41efff3382 Merge branch 'master' into develop 2020-09-27 22:10:03 +02:00
ByteHamster c339e27813 Detect network cellular instead of network metered
Cellular networks may be unmetered, or Wi-Fi networks may be metered
2020-09-21 20:41:53 +02:00
ByteHamster c1810a7e49 Updated translations 2020-09-21 10:52:38 +02:00
H. Lehmann a0097abc34
Merge pull request #4441 from ByteHamster/new-logo
New logo
2020-09-21 10:45:05 +02:00
ByteHamster 727f38cf63 New splash screen 2020-09-21 09:50:33 +02:00
ByteHamster e82702655e Updated widget icon 2020-09-21 09:32:07 +02:00
ByteHamster 56256285c2 New teaser images 2020-09-20 23:34:43 +02:00
ByteHamster eb3993f776 New notification icon 2020-09-20 23:13:28 +02:00
ByteHamster cab277bb85 New app icon 2020-09-20 22:45:23 +02:00
H. Lehmann fe2bfc0626
Merge pull request #4440 from ByteHamster/fix-item-pubdate-updating
Fixed items without pubdate getting assigned the current date on every single refresh
2020-09-20 15:26:35 +02:00
H. Lehmann 746190106f
Merge pull request #4439 from ByteHamster/item-without-feed-hotfix
Fixed crash when item has no feed
2020-09-20 12:32:39 +02:00
ByteHamster ff116ccd8c Fixed items without pubdate getting assigned the current date on every single refresh 2020-09-20 12:29:49 +02:00
ByteHamster 43d36c7560 Fixed crash when item has no feed
Apparently, there are ways to end up with items that have no feed.
This hotfix prevents the app from crashing but it does not solve the
reason for items without feeds.
2020-09-20 11:52:11 +02:00
H. Lehmann 4a339ff532
Merge pull request #4386 from ByteHamster/special-thanks
Added 'special thanks' screen
2020-09-20 08:57:05 +02:00
andrewc1 a6dfd27a15 Convert color state lists to state list drawables for filter background colors.
This eliminates an incompatibility on earlier Android OS versions
(https://stackoverflow.com/questions/3953606/how-to-specify-background-color-in-color-state-list-resources)
2020-09-20 08:39:44 +02:00
ByteHamster d38c7a442a Added 'special thanks' screen 2020-09-20 08:35:20 +02:00
ByteHamster 806b1f48ec Make ProviderInstaller synchronous again
See #4077 for details: It is fast and the old method sometimes does not install the provider early enough

Reverts #3946 and #4285
2020-09-19 21:27:01 +02:00
H. Lehmann 410ebfe98c
Merge pull request #4256 from Slinger/fix_hardware_buttons
Fix hardware buttons registered as lockscreen/notification taps
2020-09-14 17:24:19 +02:00
ByteHamster bce1fb9513 Initialize auto-download disabled for local feeds 2020-09-13 23:40:16 +02:00
ByteHamster 5d96effbd5 Merge branch 'develop' into add-local-feeds 2020-09-12 21:59:01 +02:00
H. Lehmann 410dfabeb5
Merge pull request #4400 from asdoi/sort_subscriptions
Add 'sort' to subscriptions view
2020-09-07 22:55:16 +02:00
H. Lehmann 57baf2e45c
Merge pull request #4382 from TacoTheDank/androidx_preference
Move remaining preference to AndroidX preference
2020-09-07 22:31:51 +02:00
asdoi 75be61ff6d fix FeedSortDialog 2020-09-03 14:07:57 +02:00
asdoi bd0d0b5008 add feed sort menu item 2020-09-03 13:16:48 +02:00
ByteHamster 5d57dbe39d Renamed 'add podcast via url' to mention RSS 2020-09-02 14:48:35 +02:00
H. Lehmann a5cacffaf5
Merge pull request #4369 from ByteHamster/powered-by
Showing "powered by" for search and suggestions
2020-08-30 09:34:55 +02:00
ByteHamster d6b473302f Added "powered by" text to search and suggestions 2020-08-30 08:56:10 +02:00
TacoTheDank acb4832df6 Move remaining preference to AndroidX preference 2020-08-29 00:10:50 -04:00
TacoTheDank 1039aad89e Update ExoPlayer to 2.11.8 2020-08-28 23:23:18 -04:00
ByteHamster bf55fde9ac Removed legacy import folder
Was previously used for OPML import
2020-08-15 20:46:57 +02:00
ByteHamster b25e0933ab Merge branch 'develop' into add-local-feeds 2020-08-15 19:56:34 +02:00
ByteHamster d8674e8050 Merge branch 'master' into develop 2020-08-15 19:48:23 +02:00
asdoi 5a4cb23877
Dynamical navigation drawer size 2020-08-09 11:36:11 +02:00
asdoi 23792f4067
Add subscriptions filter 2020-08-09 11:20:10 +02:00