Commit Graph

2671 Commits

Author SHA1 Message Date
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
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