Commit Graph

7057 Commits

Author SHA1 Message Date
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 af1a6a7ef9 Bumped version to 2.0.1 2020-09-30 10:43:00 +02:00
ByteHamster ccf72e5a81 Updated contributors 2020-09-30 10:14:17 +02:00
ByteHamster 4a877f24b8 Updated translations 2020-09-30 10:11:52 +02:00
ByteHamster 1d77ad472b Fixed test 2020-09-29 18:00:14 +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
H. Lehmann e771c2753f
Merge pull request #4456 from ByteHamster/target-30
Target API30
2020-09-29 13:33:03 +02:00
H. Lehmann 07324b4e5e
Merge pull request #4462 from ByteHamster/fix-cropped-covers
Fix cropped covers on API <20
2020-09-29 13:31:04 +02:00
H. Lehmann 68e2f198c3
Merge pull request #4463 from ByteHamster/buffering-indicator
Fix buffering indicator sometimes sticking
2020-09-29 13:30:41 +02:00
H. Lehmann 342a082287
Merge pull request #4464 from ByteHamster/swallow-undeliverable-exception
Swallow undeliverable RxJava exceptions
2020-09-29 13:29:23 +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
ByteHamster c2b0a356ac Fix buffering indicator sometimes sticking
We currently have no method to actively query the buffering state.
Remove indicator if we can no longer receive updates.
2020-09-29 11:21:01 +02:00
ByteHamster 9c74b78b56 Fix cropped covers on API <20 2020-09-29 10:59:39 +02:00
Edwin J P 61ed58074e
Added podcastindex.org search (#4435) 2020-09-29 09:46:15 +02:00
ByteHamster bd737145c8 Target API30 2020-09-28 11:08:41 +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
H. Lehmann 7c874b4d27
Merge pull request #4454 from asdoi/refresh_discovery
Show retry button if QuickFeedDiscovery failed
2020-09-27 21:57:03 +02:00
ByteHamster 94f8c6012d Checkstyle fix 2020-09-27 21:52:12 +02:00
Herbert Reiter cf8d4c42f9
Local feeds: Hide "Share..." menu item (#4444) 2020-09-27 21:48:35 +02:00
asdoi eb1ae6e71e add retry button if QuickFeedDiscovery failed 2020-09-27 19:52:53 +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 6b173d0c1a Bumped version to 2.0.0 2020-09-21 10:58:34 +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 a515940541 Updated screenshots 2020-09-20 23:21:35 +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
H. Lehmann 490ae5ec1f
Merge pull request #4438 from ByteHamster/description-crash-hotfix
Fixed crash (fromCallable rethrows instead of calling onError)
2020-09-20 11:56:50 +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 f2870b98c5
Merge pull request #4434 from andrewc1/fix-filter-background-colors
Fix error inflating class RadioButton when opening Subscriptions filter dialog
2020-09-20 09:15:09 +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
ByteHamster 3671188b0f Fixed crash (fromCallable rethrows instead of calling onError) 2020-09-20 08:52:25 +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
H. Lehmann 694ba65dd0
Merge pull request #4437 from ByteHamster/providerinstaller-synchronous
Make ProviderInstaller synchronous again
2020-09-20 08:27:37 +02:00
H. Lehmann ae04b1d88f
Merge pull request #4436 from ByteHamster/remove-artwork
Removed artwork folder
2020-09-20 08:22:16 +02:00