Commit Graph

7015 Commits

Author SHA1 Message Date
H. Lehmann
3a888a2d3b
Merge pull request #4481 from ByteHamster/lint-core
Lint core
2020-10-01 12:57:57 +02:00
H. Lehmann
d4e5a55d5b
Merge pull request #4480 from ByteHamster/podcastindex-api-key
Updated podcastindex api key
2020-10-01 12:57:28 +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
ByteHamster
62100596b3 Use podcastindex api key that I have access to 2020-10-01 09:50:41 +02:00
Mats Wahlberg
468acab8f4 Removed comment about automatically choosing Conscrypt version
There are drawbacks to using conscryptVersion = "latest.release",
hopefully the version will be kept up to date manually instead.
2020-09-30 13:52:31 +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
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