Commit Graph

2649 Commits

Author SHA1 Message Date
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
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
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
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
H. Lehmann 410ebfe98c
Merge pull request #4256 from Slinger/fix_hardware_buttons
Fix hardware buttons registered as lockscreen/notification taps
2020-09-14 17:24:19 +02:00
ByteHamster bce1fb9513 Initialize auto-download disabled for local feeds 2020-09-13 23:40:16 +02:00
ByteHamster 5d96effbd5 Merge branch 'develop' into add-local-feeds 2020-09-12 21:59:01 +02:00
H. Lehmann 410dfabeb5
Merge pull request #4400 from asdoi/sort_subscriptions
Add 'sort' to subscriptions view
2020-09-07 22:55:16 +02:00
H. Lehmann 57baf2e45c
Merge pull request #4382 from TacoTheDank/androidx_preference
Move remaining preference to AndroidX preference
2020-09-07 22:31:51 +02:00
asdoi 75be61ff6d fix FeedSortDialog 2020-09-03 14:07:57 +02:00
asdoi bd0d0b5008 add feed sort menu item 2020-09-03 13:16:48 +02:00
ByteHamster 5d57dbe39d Renamed 'add podcast via url' to mention RSS 2020-09-02 14:48:35 +02:00
H. Lehmann a5cacffaf5
Merge pull request #4369 from ByteHamster/powered-by
Showing "powered by" for search and suggestions
2020-08-30 09:34:55 +02:00
ByteHamster d6b473302f Added "powered by" text to search and suggestions 2020-08-30 08:56:10 +02:00
TacoTheDank acb4832df6 Move remaining preference to AndroidX preference 2020-08-29 00:10:50 -04:00
TacoTheDank 1039aad89e Update ExoPlayer to 2.11.8 2020-08-28 23:23:18 -04:00
ByteHamster bf55fde9ac Removed legacy import folder
Was previously used for OPML import
2020-08-15 20:46:57 +02:00
ByteHamster b25e0933ab Merge branch 'develop' into add-local-feeds 2020-08-15 19:56:34 +02:00
ByteHamster d8674e8050 Merge branch 'master' into develop 2020-08-15 19:48:23 +02:00
asdoi 5a4cb23877
Dynamical navigation drawer size 2020-08-09 11:36:11 +02:00
asdoi 23792f4067
Add subscriptions filter 2020-08-09 11:20:10 +02:00
Herbert Reiter 3c5e1138ca
Local feeds: Use default cover image if source folder doesn't contain a file like folder.png 2020-08-08 14:37:51 +02:00
ByteHamster dd5b3cac0e Be more verbose about invalid type errors 2020-08-03 13:10:08 +02:00
Lucas Olivoto 9a178726a3
Smoothier sleep timer (#4314) 2020-07-31 23:42:17 +02:00
ByteHamster 7e0dc71265 Revert "Added new icon poll"
This reverts commit cc04e08e74.
2020-07-29 00:31:23 +02:00
Tobias Preuss 15248a6dab Add missing @NonNull and @Nullable annotations. 2020-07-26 19:35:17 +02:00
Tobias Preuss 10db0f3d11 Replace deprecated "Html#fromHtml" with "HtmlCompat#fromHtml". 2020-07-26 16:52:32 +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
olivoto 8c0c5b972e
Enabling swiping actions on locked queue list 2020-07-22 17:45:44 +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 93d6ccb6fe
Merge pull request #4305 from ByteHamster/rename-string
Made string name more clear
2020-07-21 11:09:16 +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 2ef555082a Made string name more clear 2020-07-21 09:58:22 +02:00
Herbert Reiter 9d76676421
Do not warn that all files are deleted when removing a local feed 2020-07-21 09:50:20 +02:00
ByteHamster 9d23279f47 Accept more malformed subscribtion URIs 2020-07-21 09:45:12 +02:00
ByteHamster 17b9579dfe New playback speed dialog 2020-07-16 17:01:53 +02:00
ByteHamster 663c715e3f Merge branch 'master' into develop 2020-07-16 16:59:45 +02:00
H. Lehmann 5a0192f3c8
Merge branch 'develop' into develop 2020-07-16 10:54:47 +02:00
ByteHamster 364444e4d6 Reverted unrelated changes 2020-07-13 12:14:23 +02:00
ByteHamster 03f2198ed5 Fixed colors in dark theme 2020-07-13 12:06:34 +02:00
TacoTheDank 24656936c7 Fix a bunch of deprecations 2020-07-13 00:49:35 -04:00
ByteHamster 9cd1c94906 Load embedded covers of local feed items 2020-07-13 00:21:33 +02:00
ByteHamster d90b2b37bc Fixed crash when local file was deleted 2020-07-12 23:30:43 +02:00
ByteHamster 2488d93225 Make checkstyle happy 2020-07-12 22:40:45 +02:00
ByteHamster 663b08fc44 Install provider in any case 2020-07-12 09:55:28 +02:00
TacoTheDank 03f3c10bf9 Remove unneeded return statement 2020-07-11 20:06:43 -04:00
TacoTheDank cfac6a3631 Fix manual math calculations 2020-07-11 20:06:36 -04:00
TacoTheDank 37f9c08fd9 Fix duplicate branches 2020-07-11 20:06:19 -04:00
TacoTheDank a17f24912f Remove unnecessary conditions 2020-07-11 20:06:03 -04:00
TacoTheDank 24f734f1b6 Fix redundant initializers 2020-07-11 20:05:47 -04:00
TacoTheDank 71373d055d Replace addAlls with parametrized constructor calls 2020-07-11 20:05:35 -04:00
TacoTheDank 62ca1dfccc Simplify Arrays.asList with too few arguments 2020-07-11 20:04:48 -04:00
TacoTheDank 14064cbe6f Use Long.compare in ChapterStartTimeComparator 2020-07-11 20:02:35 -04:00
TacoTheDank 002ba1753d Fix lambdas 2020-07-11 20:01:57 -04:00
TacoTheDank fa30bc5447 Convert try finally into try with resources 2020-07-11 19:51:07 -04:00
TacoTheDank e0e27d442c Simplify junit assertions 2020-07-11 19:49:35 -04:00
TacoTheDank 4857892b05 Convert wrapper types to primitives 2020-07-11 19:16:07 -04:00
TacoTheDank cbea326846 Extract common parts 2020-07-11 19:11:18 -04:00
bws9000 051714dff8 Redesign filter dialog 2020-07-11 17:09:50 -04:00
bws9000 722bc2616e Redesign filter dialog 2020-07-11 12:07:39 -04:00
Burt Snyder d90ca124c0
Merge pull request #9 from AntennaPod/develop
update me
2020-07-11 12:01:41 -04:00
H. Lehmann d110b1818b
Merge pull request #4260 from gerardolgvr/replace-share-menu-by-dialog
fixes #1215 replacing share menu by dialog
2020-07-11 17:50:00 +02:00
Marlin Sööse 14b93bb8bf
Add seekbar to Android 10 notifications
Adds a seekbar which is scrubbable for the media player notification in Android 10
2020-07-11 08:41:08 -06:00
Gerardo Vázquez df19ca2741 updates for share dialog and implementing new instance pattern 2020-07-10 00:57:18 -05:00
Herbert Reiter 984233d1d0
Delete removed files in local feeds 2020-07-08 21:07:51 +02:00
bws9000 2ce23f6868 Redesign filter dialog 2020-07-07 10:55:56 -04:00
Burt Snyder 06f36d12d8
Merge pull request #8 from AntennaPod/develop
update me
2020-07-07 10:44:29 -04: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
H. Lehmann 54db709fd6
Merge pull request #4274 from ByteHamster/filename-accents
Stripping accents before generating file name
2020-07-06 22:52:04 +02:00
Mats Wahlberg c6edf77fc2 Fix #1560 for some remaining platforms still affected
Added extra check in onStartCommand() for PlaybackService to check if
eventTime or downTime are positive (which seems to indicate the intent
was generated by a hardware button press instead of a touchscreen tap,
like the lockscreen playback controls).
2020-07-04 21:50:25 +02:00
ByteHamster fb992ce6d1 Stripping accents before generating file name 2020-07-03 18:16:59 +02:00
bws9000 e221602f8f Redesign filter dialog 2020-07-02 21:02:04 -04:00
bws9000 70aa6b1f6d Redesign filter dialog 2020-07-02 20:50:11 -04:00
bws9000 f4677c0d9a Redesign filter dialog 2020-07-02 20:34:11 -04:00
Burt Snyder ecf4b60fce
Merge pull request #7 from AntennaPod/develop
update me
2020-07-02 20:25:15 -04:00
Gerardo Vázquez 0cb17304e7 updating strings xml for share dialog and share podcast 2020-07-01 16:59:20 -05: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
H. Lehmann ea28400fc7
Merge pull request #4266 from ramzan/develop
Rename "Headphones Disconnect" option
2020-07-01 09:39:07 +02:00
Gerardo Vázquez 61df26aacd updating ShareDialog according to code review 2020-06-28 16:49:49 -05:00
Ramzan d484857f89 Change string pref_pauseOnHeadsetDisconnect_title to 'Headphones or Bluetooth disconnect' 2020-06-27 16:18:07 -04:00
bws9000 a4ce162491 Redesign filter dialog 2020-06-27 10:24:26 -04:00
Gerardo Vázquez 5363b09f00 fixing test and ShareEpisodeDialog 2020-06-26 18:52:48 -05:00
Gerardo Vázquez b36078b8f1 adding shared preferences to ShareEpisodeDialog 2020-06-26 16:38:08 -05:00
Gerardo Vázquez 1b57b00fb3 updating share episode dialog 2020-06-26 10:58:37 -05:00
ByteHamster 64b9fcd18a Trimming Atom content (except GUID) 2020-06-24 22:37:41 +02:00
ByteHamster 7de9e0d4c1 Using state lists for colors 2020-06-21 13:17:36 +02:00
bws9000 f243bcd4cc Redesign filter dialog 2020-06-21 12:59:05 +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
ByteHamster b1ef9f424f Fixed chapters of non-content uris 2020-05-26 12:02:56 +02:00
ByteHamster 1800704ec2 Added DocumentFile dependency 2020-05-25 22:30:14 +02:00
ByteHamster 122bed841b Load chapters of local feed items 2020-05-25 22:28:42 +02:00
ByteHamster 643e970a27 Metadata improvements for local feeds 2020-05-25 22:16:18 +02:00
ByteHamster 05cc4244e6 Added image support for local feeds 2020-05-25 22:16:03 +02:00
ByteHamster ac87f204ec Removed unnecessary buttons for local episodes 2020-05-25 21:30:12 +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 382a540280 Basic local feeds support
Co-authored-by: Igor Almeida <igor.contato@gmail.com>
2020-05-25 11:34:03 +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