Commit Graph

2444 Commits

Author SHA1 Message Date
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
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
ByteHamster 1fc7352702 Load queue in background 2020-05-29 09:32:15 +02:00
ByteHamster 31404f72cf Made notification IDs unique 2020-05-27 11:11:31 +02:00
ByteHamster 84b9cf9dbb Cleaned up unused IDs 2020-05-27 11:06:30 +02:00
ByteHamster 018a91d66c Made PendingIntent request codes unique 2020-05-27 11:02:41 +02:00
H. Lehmann 4b2aa3e8b0
Merge pull request #4192 from ByteHamster/fix-new-label
Fixed new label
2020-05-25 16:46:52 +02:00
ByteHamster 6b89671b18 Fixed new label 2020-05-25 10:28:14 +02:00
H. Lehmann e0d1f5d529
Merge pull request #4106 from malockin/export-favorites
Export favourites
2020-05-24 22:42:29 +02:00
malockin cc98447af9 Use replace instread of replaceAll & fix typo 2020-05-24 08:13:27 +03:00
malockin 35dde1fadb Cleaner CSS, item templates
Moved favorite item CSS to main template file.
Added template files for feed information and favorite episode
information, reducing in-line HTML usage in Java code.
2020-05-23 22:16:19 +03:00
ByteHamster d2ac8c4856 Fixed wrong translation 2020-05-22 21:02:16 +02:00
ByteHamster 04a32dfdc8 Make transifex happy by providing two plural forms 2020-05-21 19:44:25 +02:00
H. Lehmann 6798eaa469
Merge pull request #4177 from ByteHamster/stop-button-onlinefeedview
Added button to stop previewed episode
2020-05-21 19:41:07 +02:00
H. Lehmann 8556945427
Merge pull request #4179 from ByteHamster/upper-case-url-scheme
URL schemes are case insensitive
2020-05-21 19:40:40 +02:00
ByteHamster a02db6e705 URL schemes are case insensitive 2020-05-21 18:57:48 +02:00
ByteHamster 82188995e5 Added button to stop previewed episode 2020-05-21 18:32:56 +02:00
ByteHamster 1b05c12670 Do not resize seekbar to make it easier to grab 2020-05-20 17:06:22 +02:00
H. Lehmann 44f35cb1f1
Merge pull request #4173 from ByteHamster/retry-gpodder
Retry gpodder sync before notifying
2020-05-20 14:57:54 +02:00
H. Lehmann dd02b4b5cf
Merge pull request #4172 from ByteHamster/fix-wrong-enqueue
Fixed enqueueing wrong items on playback
2020-05-20 14:57:20 +02:00