Commit Graph

2462 Commits

Author SHA1 Message Date
ByteHamster
2da36919b3 Only accept media control buttons while actually playing 2020-10-26 11:13:52 +01:00
ByteHamster
058885ac09 Prevent play/pause button not doing anything in some cases 2020-10-25 18:59:02 +01: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
ByteHamster
2e0a191d5c Ship our own CA certificates for old devices 2020-10-05 12:57:42 +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
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
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
4a877f24b8 Updated translations 2020-09-30 10:11:52 +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
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
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
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
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
ByteHamster
dd5b3cac0e Be more verbose about invalid type errors 2020-08-03 13:10:08 +02:00
ByteHamster
7e0dc71265 Revert "Added new icon poll"
This reverts commit cc04e08e74.
2020-07-29 00:31:23 +02:00
ByteHamster
fe67b6501b Updated translations 2020-07-25 10:32:54 +02:00
ByteHamster
cc04e08e74 Added new icon poll 2020-07-25 10:15:00 +02:00
H. Lehmann
03190dfa20
Merge pull request #4306 from ByteHamster/mime-type-media-content
Fixed mime type in media:content
2020-07-22 17:55:04 +02:00
ByteHamster
51bbf1a5f9 Fixed mime type of media:content tags 2020-07-21 11:56:42 +02:00
ByteHamster
ecbcafd209 Reformatted NSMedia 2020-07-21 11:56:30 +02:00
H. Lehmann
a3a5a58ae6
Merge pull request #4285 from ByteHamster/install-provider
Install provider in any case
2020-07-21 10:45:34 +02:00
ByteHamster
9d23279f47 Accept more malformed subscribtion URIs 2020-07-21 09:45:12 +02:00
ByteHamster
663b08fc44 Install provider in any case 2020-07-12 09:55:28 +02:00
H. Lehmann
8d1cc82258
Merge pull request #4269 from ByteHamster/fix-filenotfound
Fixed file not found exception after database import
2020-07-06 22:56:15 +02:00
H. Lehmann
50178771dd
Merge pull request #4271 from ByteHamster/disable-cache
Do not cache feeds
2020-07-06 22:53:02 +02:00
ByteHamster
b0d73c8985 Set user-agent for chapter loading 2020-07-01 16:03:18 +02:00
ByteHamster
dbbe614c33 Set user-agent for file playback 2020-07-01 15:57:52 +02:00
ByteHamster
e52517722d Do not cache feeds
This speeds up feed refresh but it is confusing to users if new episodes do not appear instantly.
2020-07-01 10:17:07 +02:00
ByteHamster
fecc65c803 Fixed file not found exception after database import 2020-07-01 09:51:34 +02:00
ByteHamster
64b9fcd18a Trimming Atom content (except GUID) 2020-06-24 22:37:41 +02:00
ByteHamster
4a43f52090 Better parser errors 2020-06-16 12:44:11 +02:00
H. Lehmann
51e17214f8
Merge pull request #4232 from ByteHamster/fix-crash-loading-chapters
Fixed crash when loading chapters fails
2020-06-14 19:49:11 +02:00
ByteHamster
58f931b575 Send play intent if service state is unknown 2020-06-11 23:17:06 +02:00
ByteHamster
d2526dd439 Fixed crash when loading chapters fails 2020-06-09 22:19:34 +02:00
ByteHamster
1c1780a26f Added auto skip feed settings icon 2020-05-29 18:37:56 +02:00
ByteHamster
52eba1fa3a Updated translations 2020-05-29 10:22:08 +02:00
ByteHamster
0b60a8acee Do not show service running notification on onCreate
Sometimes (Bluetooth/Android Auto), the service is created and then just bound to.
That means that onStartCommand is never called. This causes a persistent notification.
Just in case the notification is somehow still shown to users, modified the message to
tell them how to hide it.
2020-05-29 09:32:46 +02:00