Commit Graph

3134 Commits

Author SHA1 Message Date
ByteHamster fcb75fc382
Merge pull request #5161 from ByteHamster/reduce-playback-controller
Remove some unnecessary code from playback controller
2021-05-14 21:22:22 +02:00
ueen 292c9bf151
New media player screen (#5075)
Co-authored-by: jonasburian <jonas.burian@protonmail.com>
Co-authored-by: ByteHamster <info@bytehamster.com>
2021-05-14 21:06:04 +02:00
ByteHamster f56ce1ea52 Just assume we can always set the playback speed
Our default ExoPlayer can always set the speed. All Android versions >23
also support it. So of the 2% of users with old devices, this only
affects the ones who manually selected another player.
2021-05-14 21:03:35 +02:00
ByteHamster 74dcf09b3b Removed method that is just used in one place 2021-05-14 20:38:46 +02:00
ByteHamster 390fb1a15b Use EventBus instead of broadcast for service shutdown 2021-05-14 20:26:57 +02:00
ByteHamster fb6bd0cbaa
Merge pull request #5160 from ByteHamster/disable-id3
Disable ExoPlayer id3 extraction
2021-05-13 19:11:21 +02:00
ByteHamster 93b2a07811 Disable ExoPlayer id3 extraction
Malformed audio files can cause a crash in ExoPlayer. We have our own
id3 extractor and don't use the data of ExoPlayer, so we can just
disable parsing in ExoPlayer. This reduces the number locations where
something can go wrong that prevents playback.
2021-05-13 18:17:23 +02:00
ByteHamster c72fd81886 Move common gradle setup to a single file
Original idea by @TacoTheDank
2021-05-11 22:38:46 +02:00
ByteHamster 65bf8bf70c
Merge pull request #5151 from ByteHamster/fix-proxy
Fixed proxy support
2021-05-10 23:11:59 +02:00
ByteHamster e521b85070 Fixed proxy support 2021-05-10 22:10:50 +02:00
ByteHamster be25ae7c67 Updated translations 2021-05-08 12:10:26 +02:00
ByteHamster 3c808c1393
Merge pull request #5146 from ByteHamster/future-date
Refuse to show future dates
2021-05-08 11:40:10 +02:00
ByteHamster 27d86cfb26 Refuse to show future dates
Some shows start to specify dates from the future to appear on top
of episode lists. If we find one of those episodes, just ignore that
it is there. We then use the date when we first found the item.
2021-05-06 21:31:05 +02:00
ByteHamster 78db02d7a7 Don't mark episodes as played when removing from queue
Was introduced in 67d2287323 but I
am not sure why. It is not really logical to do - removing from the
queue just means that one is no longer interested in the episode - not
that it was actually played.
2021-05-01 16:23:03 +02:00
ByteHamster 7bacb85367 Fix miniplayer sometimes showing old media file
Happens when pressing play on another episode without pausing the
previous one.
2021-05-01 11:00:31 +02:00
ByteHamster d08a9c423e
Merge download log+running lists (#5134) 2021-04-29 21:40:41 +02:00
ByteHamster e30533a810 Moved synchronization to its own module 2021-04-24 17:05:59 +02:00
peakvalleytech 04ff51bd67 New feed update interval or time dialog
Co-authored-by: Fivel Rangel <fivel10@hotmail.com>
Co-authored-by: ByteHamster <info@bytehamster.com>
2021-04-23 20:10:39 +02:00
ByteHamster ba66ae7633 Moved model to its own module 2021-04-22 23:17:11 +02:00
ByteHamster 2a47f49fde Remove dependency of FeedMedia to DbWriter 2021-04-22 22:27:39 +02:00
ByteHamster 09d402a945 Removed PlaybackPreferences dependency from FeedMedia 2021-04-22 22:19:02 +02:00
ByteHamster c04f36bb9f Decouple FeedMedia and PlaybackService 2021-04-22 22:08:05 +02:00
ByteHamster 762140bccd
Decouple FeedMedia and sync service (#5128) 2021-04-22 22:06:11 +02:00
ByteHamster 0081d232d0
Moved cursor related code out of model (#5126) 2021-04-22 22:04:20 +02:00
ByteHamster 0d49f39ea0 Reduce dependencies of model to UserPreferences 2021-04-22 21:17:52 +02:00
ByteHamster 74c8dc9c14 Moved notification icons to their own module, so they don't crash old Android versions 2021-04-21 23:05:47 +02:00
ByteHamster bd7793ffd4 Deleted duplicate resources 2021-04-21 23:05:42 +02:00
ByteHamster d51e9c7625 Use VectorDrawable compat library 2021-04-18 17:05:04 +02:00
ByteHamster 8d3e547a7b Fixed unused resources Lint errors
In the future, CI will complain when a PR leads to unused resources.
2021-04-17 17:59:03 +02:00
ByteHamster fcf918f304 Enabled Lint with dependency checking 2021-04-17 17:30:43 +02:00
ByteHamster 8768144c91 Don't handle play image resource in PlaybackController 2021-04-14 22:35:01 +02:00
ByteHamster 4caa5ebfb6 Updated translations 2021-04-13 21:54:10 +02:00
tamizh143 b8276d2fb3
Add filtering subscriptions based on new episodes notification setting (#5098) 2021-04-10 10:35:39 +02:00
tamizh143 d8ca965e0c
Add link to relevant settings screen in 'Episode cache full' dialog (#5088) 2021-04-06 22:52:39 +02:00
Tony Tam 79c79efce5
Parsing podcast:funding tag, showing payment, funding links on the show info screen (#4933) 2021-04-06 18:15:14 +02:00
ByteHamster ef41704166 Merge branch 'master' into develop 2021-04-04 19:31:59 +02:00
ByteHamster 3acdc83c66 Backport: Add missing synchronized keyword 2021-04-03 15:47:15 +02:00
peakvalleytech bb51e9ebd9
Add Contribute entry to settings screen under 'Project' (#5028) 2021-04-02 18:18:33 +02:00
ByteHamster 1d8d3203d4 Update play icon when service is stopped 2021-04-02 18:14:03 +02:00
ByteHamster d6e0799a21 Updated translations 2021-04-02 17:49:08 +02:00
ByteHamster 2df3cf9fe7 Rename audio player tabs 2021-04-02 17:14:01 +02:00
Tony Tam 843892e34f
Safer remain time - default to zero when the media duration is wrong (#5043) 2021-04-02 14:30:21 +02:00
ByteHamster ea4488c181 Fixed new SpotBugs violations after merging to develop 2021-03-28 22:57:48 +02:00
ByteHamster 7465b747f3
Merge pull request #5055 from ByteHamster/spotbugs
Add SpotBugs CI check
2021-03-28 22:46:37 +02:00
ByteHamster 998535515b Make AntennaPod pass the medium SpotBugs findings 2021-03-28 22:32:40 +02:00
ByteHamster b1e15e8704 Removed unused methods that caused SpotBugs violations 2021-03-27 21:52:11 +01:00
ByteHamster 71184ee5d4 Fixed SpotBugs violations, so that at least the most severe checks pass 2021-03-27 20:44:35 +01:00
ByteHamster 6b9821a1f9
Merge pull request #5052 from ByteHamster/stop-service-properly
Stop service properly when playback ends
2021-03-27 12:20:31 +01:00
ByteHamster 4f5d076cb9 Stop service properly when playback ends 2021-03-26 18:59:14 +01:00
ByteHamster 68e70d1b6b Show cover and shownotes for previewed episodes 2021-03-26 18:56:38 +01:00
Joschua Gandert 241935c601
Fixed certain file types not being recognized in local feeds (Closes #4802) (#5039) 2021-03-22 10:16:51 +01:00
datavizard b276c34942
Adds a visual cue to the podcast header view whenever updates are disabled (#5014) 2021-03-10 13:30:45 +01:00
ByteHamster 2cbcdb97d1 Fixed getting next page of feed 2021-03-10 12:18:01 +01:00
ByteHamster b05d877954 Fixed animation when hiding drawer items 2021-03-09 17:55:57 +01:00
ByteHamster 962edc6778 Updated translations 2021-03-08 10:36:13 +01:00
ByteHamster a49b4477a9
Merge pull request #5010 from ByteHamster/crash-fix
Various crash fixes reported in the beta
2021-03-08 10:15:20 +01:00
ByteHamster 0172a5db13 Nullability checks in ExoPlayerWrapper 2021-03-07 20:00:09 +01:00
ByteHamster 7a3bb825ed Fixed calling bindService if service is not running 2021-03-07 19:57:35 +01:00
ByteHamster 14c81265dc
Merge pull request #5006 from ByteHamster/podcast-specific-speed
Clear temporary playback speed when switching to another episode
2021-03-07 12:18:31 +01:00
ByteHamster 1646ba4088 Clear temporary playback speed when switching to another episode 2021-03-07 11:35:50 +01:00
ByteHamster db70129537 Stop playback of deleted podcast even if it is just streaming 2021-03-07 11:11:31 +01:00
ByteHamster d3bf107363 Fixed download service notification not being updated to 'Stopping service' 2021-03-06 21:00:26 +01:00
ByteHamster ef24f6d1f4 Fixed local folders ending up in DownloadService 2021-03-06 20:59:16 +01:00
peakvalleytech f90656d213
Show podcast-specific settings in preferences search (#4990) 2021-03-06 20:44:15 +01:00
ByteHamster bc073ff38f Removed metadata loader from model 2021-03-05 17:44:33 +01:00
ByteHamster d54ce2f8b1 Code cleanup 2021-03-05 16:55:55 +01:00
ByteHamster 3f21ef50d3 Added basic tag editor UI 2021-03-05 14:12:07 +01:00
ByteHamster e86905e4c8 Sort folders to the end 2021-03-05 12:56:23 +01:00
ByteHamster 627bd35500 Fixed folder ID generation 2021-03-05 10:56:54 +01:00
ByteHamster f76d3ad09e Merge branch 'develop' into folders 2021-03-05 10:12:35 +01:00
ByteHamster cfa873af6d Removed ShownotesProvider interface 2021-03-04 22:58:13 +01:00
ByteHamster f62a6b808e Only store content_encoded or description 2021-03-04 19:47:48 +01:00
ByteHamster 9dbe5f6de5 Merge branch 'master' into develop 2021-03-04 19:23:03 +01:00
ByteHamster 8426971161 Updated translations to avoid Lint error 2021-03-04 12:37:29 +01:00
ByteHamster 2e750effa1 Make errors on 'add feed' page more pretty 2021-03-04 12:10:01 +01:00
ByteHamster 6020f481c5 Mention ad blockers in certificate error message 2021-03-04 11:49:36 +01:00
ByteHamster 4872ea76f4 Show the name of failing downloads in the notification 2021-03-04 11:23:08 +01:00
ByteHamster d4141d19a0 Described download errors in more detail 2021-03-04 11:15:44 +01:00
ByteHamster 352df348cb Show dedicated error message when an app messes with the network 2021-03-04 10:45:19 +01:00
ByteHamster 878da84666 Formatted with spaces 2021-03-04 10:23:05 +01:00
ByteHamster dd8341a858 Replace Java-based feed filtering with SQL-based 2021-03-03 18:23:29 +01:00
ByteHamster bb12f6b04c Removed unused helper class 2021-03-03 14:33:20 +01:00
ByteHamster 8f1b91c733 Merge branch 'master' into develop 2021-03-03 14:32:28 +01:00
ByteHamster 931941f4a3 Updated translations 2021-03-03 11:37:23 +01:00
ByteHamster 213099fec6
Merge pull request #4981 from ByteHamster/remove-optional
Removed our re-implementation of 'Optimal' and used the RxJava equivalent instead
2021-03-03 11:23:50 +01:00
ByteHamster 3dadbbf249
Merge pull request #4983 from ByteHamster/fix-error-message-wrong-size
Fixed wrong error message
2021-03-01 23:03:20 +01:00
ByteHamster 3bfe69219f Fixed wrong error message 2021-03-01 20:54:24 +01:00
ByteHamster e59767890e Removed our re-implementation of 'Optimal' and used the RxJava equivalent instead 2021-03-01 20:47:05 +01:00
ByteHamster 3ebbacdf60 Removed ExternalMedia
It was used for "open with" actions, which are no longer supported.
We have the local folders feature for that now.
2021-03-01 20:21:25 +01:00
ByteHamster d444e8d23e
Merge pull request #4978 from ByteHamster/remove-chapter-loader-from-model
Removed chapter loader from model
2021-03-01 20:13:39 +01:00
ByteHamster 3f6cb57ffe
Merge pull request #4976 from ByteHamster/net-ssl
Moved SSL providers to new module
2021-03-01 20:07:36 +01:00
ByteHamster 91f613b4de Fixed crash when notification updater is null 2021-03-01 19:53:41 +01:00
ByteHamster b7d34e0514 Removed chapter loader from model 2021-03-01 16:54:39 +01:00
ByteHamster 0e94aa5d9d Moved SSL providers to new module 2021-03-01 16:21:39 +01:00
ByteHamster a6702bbcb5
Merge pull request #4972 from ByteHamster/chapter-demo-file
Added chapter parser test files from Hindenburg Journalist Pro
2021-03-01 11:26:05 +01:00
ByteHamster ddd6a12354 Merge branch 'master' into develop 2021-03-01 11:24:39 +01:00
ByteHamster c4f036c06c
Merge pull request #4963 from a1291762/develop
Avoid the stuck download notification
2021-03-01 10:09:28 +01:00
Lincoln Ramsay 8755a54e99 Change the message that appears when downloads are finished
In the event that the notification hangs around, this is a more
accurate description of what is happening.
2021-03-01 07:13:33 +10:00
ByteHamster 5431026adf Added chapter parser test files from Hindenburg Journalist Pro
Thanks to the Sendegate community!
https://sendegate.de/t/gesucht-beispieldateien-mit-kapitelmarken/13228
2021-02-28 21:49:13 +01:00
Herbert Reiter 47a0336c3e
Refactoring: Remove Cursor related code from Feed class (#4968) 2021-02-28 14:16:07 +01:00
Lincoln Ramsay fcbbaa4060 Avoid stuck download notifications
Cancel the periodic updater before calling stopForeground so
that the notification can't come back after it has been closed.

Remove the workaround for API 30 slow notification closing because
it can cause a stuck notification. However, in order to avoid misleading
text being left on the notification if it closes slowly, ensure that
the "0 downloads" text is written to the notification when shutting down.

Fixes #4556
2021-02-28 09:34:25 +10:00
ByteHamster cc3e0c38d2 Removed DbWriter dependency from model 2021-02-26 11:10:00 +01:00
Herbert Reiter 39f9796656
Refactoring: Move inner classes PlayableUtils and PlayableException out of Playable (#4962) 2021-02-25 23:17:34 +01:00
MStrecke 519d6ce9d6
use full URL for custom gpodder server (#4932) 2021-02-25 23:08:00 +01:00
Herbert Reiter 1cd680a2af
Remove interface ImageResource (#4911) 2021-02-24 15:44:40 +01:00
ByteHamster 2c70db7074 Remove free build hack 2021-02-23 17:11:32 +01:00
ByteHamster 82dc41d813
Merge pull request #4950 from ByteHamster/fix-file-not-found
Fixed rare 'file not found' errors when starting playback
2021-02-23 10:07:38 +01:00
ByteHamster 353aeb5d8d
Merge pull request #4954 from damoasda/FeedItem-description
Improve FeedItem class documentation
2021-02-23 10:01:24 +01:00
ByteHamster 6add59819a Added auphonic files to chapter marks tests
We currently don't have a parser for the m4a file but I just committed
the file for later.
2021-02-22 17:11:40 +01:00
Herbert Reiter 8bffe2beda Improve FeedItem class documentation 2021-02-21 16:00:21 +01:00
ByteHamster 949260658b Fixed rare 'file not found' errors when starting playback
The `getPlayLastPlayedMediaIntent` method was originally added in 2013
to avoid starting the service without a media file. The bind method
should actually never need to start the service in the first place,
though.
2021-02-19 21:22:19 +01:00
ByteHamster 8fdd034e9e Added a real file to test chapters with
Thanks to the Sendegate community
https://sendegate.de/t/gesucht-beispieldateien-mit-kapitelmarken/13228
2021-02-19 14:21:44 +01:00
Yaron Shahrabani 7b39ef8953
Fixed typo
Epsiodes->Episodes
2021-02-18 00:57:48 +02:00
ByteHamster 12e22849e6 Added more id3 parser tests 2021-02-17 14:48:31 +01:00
ByteHamster 28d6551dbc Removed plural form because Transifex only allows 2 forms in English 2021-02-17 11:39:30 +01:00
ByteHamster 9e68b8b0a3 Fixed NPE when loading ogg chapters 2021-02-16 16:09:18 +01:00
ByteHamster 3f1c1c4bf5 Rewrite chapter parser for testability 2021-02-16 14:39:49 +01:00
ByteHamster 0f692be2d4
Merge pull request #4940 from ByteHamster/more-reliable-chapters
More reliable chapter loading
2021-02-16 09:39:23 +01:00
ByteHamster 4f2dcc189c Fix parsing chapters with multiple null bytes
Previously, we relied on the string to fill the complete frame.
Some podcasts terminate the string early and leave some garbage in
the frame data. Skip that garbage, so that the reader is at a valid
frame header position when starting the next iteration.
2021-02-15 23:13:29 +01:00
ByteHamster 57587c928e Removed method that does the same as loadMediaInfo anyway 2021-02-15 22:02:55 +01:00
ByteHamster 339aa936bf Removed return parameter of loadMediaInfo
We return true anyways. The call for actually loading is asynchronous,
so returning anything here does not make sense.

Reduces likelihood of loader being interrupted to just load the same
item again when the state changes.
2021-02-15 21:56:06 +01:00
Geist5000 aaeea78b37
changed the "Use Episode Cover" setting to only apply to list items. (#4908) 2021-02-15 16:04:03 +01:00
ByteHamster 42ce907aaf
Merge pull request #4936 from ByteHamster/chapter-reader
Simplified chapter reader
2021-02-15 15:21:49 +01:00
ByteHamster b1bf77d4e3 New workaround for hiding the notification directly 2021-02-15 11:44:02 +01:00
ByteHamster 4aa5443529 Refresh all feeds at once instead of sending tons of lists with 1 feed each 2021-02-15 11:43:57 +01:00
ByteHamster 52421d81f7 Removed some unnecessary calls to startForeground 2021-02-15 11:28:03 +01:00
ByteHamster 5a234a367d Simplified chapter reader
No longer uses code duplication for opening local and remote streams.
Also, switched to OkHttp to handle redirects.
2021-02-15 11:08:00 +01:00
ByteHamster 66ae028719 Merge branch 'master' into develop 2021-02-14 22:44:08 +01:00
Tony Tam f57cf0c317
New preference to show the remaining time in the 'queue' and podcast episode view (#4880) 2021-02-14 12:18:27 +01:00
ByteHamster 010ed376cd Move basic views to new module 2021-02-12 21:00:39 +01:00
ByteHamster 24ea4708ea Remove PlaybackServiceCallbacks 2021-02-12 18:08:58 +01:00
Herbert Reiter 60968089ae
Refactoring: Remove ClientConfig.automaticDownloadAlgorithm (#4924) 2021-02-07 17:57:09 +01:00
Jonas Kalderstam ae8759869d Fixed default number of items to clean up
Not sure why this worked before TBH - but default value should
naturally be to reduce to desired cache size.

Probably makes no difference in actual use - but it is how the tests
are constructed.
2021-02-06 21:43:34 +01:00
Jonas Kalderstam 3a9e1fc2dd
Applied code review suggestions
Co-authored-by: ByteHamster <ByteHamster@users.noreply.github.com>
2021-02-06 15:54:25 +01:00
Jonas Kalderstam 08edd151f9 Added new cleanup option: when not favorited
This is another way of solving #2077.

The root issue is that queued episodes are never auto-deleted
currently which means that if you automatically add episodes to the
queue you will eventually end up with AntennaPod refusing to auto
download more episodes because the cache is full and it can't make
space.

This option will only refuse to delete favorited items. Otherwise it
will simply delete the oldest episodes.
2021-02-05 11:15:22 +01:00
ByteHamster aa64ae132f Updated translations 2021-02-04 13:05:40 +01:00
ByteHamster 9924952e2f
Merge pull request #4900 from ByteHamster/decouple-widget
Reduce coupling between widget and playback service
2021-02-03 23:56:33 +01:00
ByteHamster b6f72f8847 Reduce coupling between widget and playback service
Instead of binding to the service, pass the required data. This also
ensures that the widget is updated instantly when calling from
PlaybackService. JobService had the problem that the OS sometimes
took some seconds before actually executing the job.
2021-02-03 23:37:51 +01:00
Tim Schumacher 1297a16850
Allow remapping hardware buttons (#4881) 2021-02-03 12:50:01 +01:00
Tony Tam 4ff6ff4fb7
Fix Android Auto next episode (#4895) 2021-01-31 23:17:33 +01:00
ByteHamster 4af0f98d2f Fixed update event sending incomplete item 2021-01-26 18:58:26 +01:00
Christopher Lorenz df45f60cf3 Bugfix: Read feed when updating item in database 2021-01-26 18:47:33 +01:00
Tony Tam f3bf708e26
Show publish date for podcasts and file creation date for local feeds (#4862) 2021-01-25 14:17:30 +01:00
Margaret Borowiec cd23eccf95
Google Assistant App Actions for AntennaPod (#4417) 2021-01-24 15:41:55 +01:00
Tony Tam c32239be0e
Android auto skip button (#4865) 2021-01-24 12:27:37 +01:00
ByteHamster a36d66bf35
Merge pull request #4893 from damoasda/robolectric-feed-parser2
Run AtomParserTest and RssParserTest with Robolectric
2021-01-24 12:20:09 +01:00
ByteHamster 72ab17f153
Merge pull request #4894 from damoasda/robolectric-DbReaderTest
Run DbReaderTest etc. with Robolectric
2021-01-24 12:01:10 +01:00
Herbert Reiter a87c505380 Run DbReaderTest etc. with Robolectric 2021-01-23 23:12:01 +01:00
Herbert Reiter ce48b186ed Run AtomParserTest and RssParserTest with Robolectric 2021-01-23 21:21:36 +01:00
ByteHamster b5f547bd9f
Merge pull request #4892 from ByteHamster/every-hours
Added new string for 'every x hours'
2021-01-23 19:44:08 +01:00
ByteHamster 37b5becd59 Added new string for 'every x hours' 2021-01-23 14:24:30 +01:00
Jonas Burian 35d010caa2
Use podcast image as fallback when episode image returns 404 (#4861) 2021-01-23 13:03:53 +01:00
Connectety-T b84b202629
add setGroupAlertBehavior to episode notifications. 2021-01-23 02:46:34 +01:00
Connectety 03c71ee6c5
Add Notifications for episodes (#4646)
Co-authored-by: ByteHamster <info@bytehamster.com>
2021-01-22 17:27:46 +01:00
ByteHamster 7bd20ae406
Merge pull request #4563 from SebiderSushi/fix_episodes_list_item_loading_b
Keep loading on the All Episodes tab even if items are filtered out
2021-01-22 15:46:21 +01:00
ByteHamster f610ceffc2 Split up filter model and database handling 2021-01-22 15:09:43 +01:00
ByteHamster 0399052866 Added show button to authentication dialog 2021-01-22 12:26:35 +01:00
Tony Tam e89a805bbd
Added indication for unsupported players (#4869) 2021-01-22 11:36:11 +01:00
ByteHamster cdf59a1c8e Merge branch 'develop' into fix_episodes_list_item_loading_b 2021-01-22 11:07:40 +01:00
asdoi 2a8abb02f6
Add scrubbing time overlay (#4786) 2021-01-21 18:37:04 +01:00
ByteHamster 86bf6a50f3
Merge pull request #4888 from ByteHamster/fix-extended-widget-actions
Fix extended widget buttons
2021-01-21 18:34:38 +01:00
Jonas Burian 44989b815a
HTML entities not processed in the authors field (#4887) 2021-01-21 18:33:59 +01:00
ByteHamster 9e1bd149b8 Fix extended widget buttons 2021-01-21 18:16:43 +01:00
Herbert Reiter e56f203c6d Refactoring: Split test methods to remove anonymous blocks 2021-01-13 21:20:16 +01:00
Herbert Reiter 5d1ef31a4a Refactor method: Use early return instead of late return to make the code more readable 2021-01-13 21:11:17 +01:00
Herbert Reiter 1f329cdde0 Avoid assertTrue() for better error messages 2021-01-13 20:51:49 +01:00
Herbert Reiter fd3b07cafb Use any image for local folders 2021-01-13 20:51:49 +01:00
Tony Tam 5be6f5feba
Send Authorization header to be able to stream password protected media (#4843) 2021-01-13 18:51:58 +01:00
Tony Tam 08d1400951
Add rewind, ff, skip button and layout for extra info in Widget (#4746) 2021-01-13 18:38:16 +01:00
Tony Tam 7659fd25d8
Do not retry autodownload after SSL errors (#4821) 2021-01-13 10:56:34 +01:00
Thom Merrilin ffc12060be Added share icon to feed_info menu, moved the Website Address and Podcast Feed URL into a submenu of this icon.
Will resolve #4734

Details:
        Website Address and Podcast Feed URL menu options were previously always in the overflow menu, which is inconsistent with over menus such as the FeedList menu where these options are under a "Share..." submenu.
	Two new vector drawables were added for the black and white options of a "Share" icon, these are used to create a submenu for Website Address and Podcast Feed URL if there's room, otherwise the submenu text "Share..." is used in the overflow menu.
2021-01-03 13:17:01 +00:00
ByteHamster 5a8bfc0ea4 Fix checkstyle 2021-01-02 21:25:15 +01:00
ByteHamster f4bbc5535c Added basic UI for editing tags 2021-01-02 21:17:40 +01:00
ByteHamster 19e427b524 Store tags in the database 2021-01-02 21:03:21 +01:00
ByteHamster 1eb47a2d6b Build tags based on feed properties 2021-01-02 20:45:05 +01:00
ByteHamster 3104232e5d Calculate layer in makeFlatDrawerData 2021-01-02 20:17:17 +01:00
Herbert Reiter 542dbd190c
Run more util tests with Robolectric (#4815) 2021-01-02 17:49:30 +01:00
Herbert Reiter 486de46b8f
Run DbWriterTest with Robolectric (#4814) 2021-01-02 17:46:10 +01:00
ByteHamster c4db0ffb1f Added support for folder counter 2021-01-02 17:25:53 +01:00
ByteHamster b107e6da95 Fixed crash when opening subscriptions screen 2021-01-02 17:16:57 +01:00
ByteHamster 3ed3379432 Merge branch 'develop' into folders 2021-01-02 16:58:43 +01:00
Herbert Reiter a52beda1f1
Run FeedFilterTest and FeedItemTest without Android emulator (#4807) 2021-01-02 16:53:39 +01:00
Herbert Reiter 0b715d5494
Run DateUtilsTest as Unit Test (#4805) 2021-01-02 12:59:26 +01:00
ByteHamster 34e9c31899 Revert back to device selection instead of linking
Until this is fixed upstream on the gpodder.net server.
2021-01-02 11:53:58 +01:00
ByteHamster 7b8208a2a7 Simplified gpodder login process 2021-01-02 11:53:58 +01:00
ByteHamster e96affe3c7 Tear down database after db cleanup test 2021-01-02 11:47:59 +01:00
ByteHamster 3411fcd10d Merge branch 'master' into develop 2021-01-01 20:04:08 +01:00
ByteHamster 773f98fafc Updated translations 2021-01-01 19:33:51 +01:00
ByteHamster f3c76e7677
Merge pull request #4822 from ByteHamster/update-export-design
Adapted design of html export
2021-01-01 18:31:38 +01:00
binarytoto f4a6b45627
Added content description for download cancel button (#4818) 2021-01-01 17:36:33 +01:00
ByteHamster dba736383b Adapted design of html export 2021-01-01 17:33:16 +01:00
ByteHamster dd541ced44
Merge pull request #4819 from damoasda/robolectric-DbTasksTest
Run DbTasksTest with Robolectric
2021-01-01 14:40:14 +01:00
ByteHamster 19e3159162
Merge pull request #4820 from damoasda/robolectric-DbNullCleanupAlgorithmTest
Run DbNullCleanupAlgorithmTest with Robolectric
2021-01-01 14:38:44 +01:00
Max Wittig 054a4f42a3
feat: add five, ten and twenty minutes sleep timer extend buttons (#4803) 2021-01-01 13:18:53 +01:00
Herbert Reiter 43c747d983 Run DbNullCleanupAlgorithmTest with Robolectric 2020-12-31 22:00:12 +01:00
Herbert Reiter 41119f6aed Run DbTasksTest with Robolectric 2020-12-31 21:14:52 +01:00
s3lph f2942033e6 Fix #4772: custom host not working on gpodnet sync 2020-12-30 16:01:24 +01:00
ByteHamster 5998e28497
Merge pull request #4811 from damoasda/robolectric-ExternalMediaTest
Run ExternalMediaTest with Robolectric
2020-12-30 15:53:42 +01:00
ByteHamster 8d50af58ac
Merge pull request #4797 from PtilopsisLeucotis/fix_translations
Fix translations
2020-12-30 15:19:09 +01:00
Herbert Reiter 994ee0e0a2
Fix #4775: Illegal connection pointer in Robolectric tests (awaitTermination) (#4794) 2020-12-30 15:15:23 +01:00
Herbert Reiter 90b8655ee9 Run ExternalMediaTest with Robolectric 2020-12-30 10:59:43 +01:00
PtilopsisLeucotis 0d4dc82496 Fixed wrong attribute translate to translatable in strings.xml 2020-12-22 19:20:18 +03:00
Herbert Reiter 20db2c2f5c Fix #4765: Disable autoDownload for local feeds 2020-12-20 21:51:49 +01:00
ByteHamster dcd40d4cac
Merge pull request #4774 from damoasda/robolectric-DownloadRequestTest
Run DownloadRequestTest with Robolectric
2020-12-20 18:51:46 +01:00
Herbert Reiter 72f4296150
Run AtomTextTest with Robolectric (#4771) 2020-12-20 16:06:14 +01:00
Herbert Reiter f6c39ad0fe Run DownloadRequestTest with Robolectric 2020-12-19 15:29:54 +01:00
Herbert Reiter c10d1a1d79
Refactoring: Remove class LangUtils (#4763) 2020-12-16 21:06:50 +01:00
ByteHamster e8351ffdc5
Merge pull request #4760 from damoasda/cleanup-imports
Refactoring: Remove unused import statements
2020-12-15 22:48:42 +01:00
ByteHamster 540656f61c
Merge pull request #4762 from ByteHamster/parallel-downloads
Added number to parallel downloads string
2020-12-15 22:46:08 +01:00
ByteHamster 6ef80bd69e Added number to parallel downloads string 2020-12-15 16:51:53 +01:00
Herbert Reiter 1d008317aa Remove unused import statements to reduce dependencies 2020-12-13 22:55:11 +01:00
ByteHamster e712a0eca9 Updated translations 2020-12-13 10:53:37 +01:00
Keunes f2c26b11c6
Correct website links (#4740)
With our new website, some of the links have changed. Also, the FAQ is no more.
2020-12-10 23:15:28 +01:00
ByteHamster b42e5e6eb5
Merge pull request #4733 from ByteHamster/fix-filter-dialog-api21
Fix filter dialog on old Android versions
2020-12-08 14:11:46 +01:00
Mats Wahlberg aeeb6eef37 Add the Let's Encrypt (ISRG Root X1) Root Certificate
This adds the ISRG Root X1 certificate to the backported certificates
introduced in #4497. This should solve the issue when DST Root X3
expires in 2021 (https://letsencrypt.org/2020/11/06/own-two-feet.html).
2020-12-05 14:53:28 +01:00
markamaze e4eacefeb1
added readonly message for feed items w/o media (#4711) 2020-12-03 22:57:58 +01:00
ByteHamster a510cb00fd Fix filter dialog on old Android versions 2020-12-03 22:33:53 +01:00
ByteHamster 779b1715e8 Fixed talkback description missing on chapters screen 2020-12-03 09:47:34 +01:00
ByteHamster b5047c9ead Updated translations 2020-12-02 11:45:28 +01:00
ByteHamster 8c7e209f0b
Merge pull request #4728 from ByteHamster/delete-feed-task
Use RxJava for deleting feeds
2020-12-02 11:39:05 +01:00
ByteHamster 101f4e34ed Use RxJava for deleting feeds 2020-12-02 11:11:13 +01:00
ByteHamster 4d1a7773d0 Catch errors when local feeds fail to update 2020-12-02 10:30:54 +01:00
ByteHamster d20557c1b0
Merge pull request #4721 from tonytamsf/share-by-timecode
share by timecode
2020-11-30 20:00:18 +01:00
ByteHamster 28064ffa19
Merge pull request #4707 from tonytamsf/pause-button-android-auto
pause button for autos
2020-11-30 19:57:48 +01:00
Tony Tam 5661a85eab
Show replay button on the current chapter. (#4706) 2020-11-30 19:56:19 +01:00
Tony Tam 4112a65c20 indent with spaces 2020-11-30 06:17:10 -08:00
Tony Tam 3f104f7e5a
fix bug with how we count downloaded media, show a meaningful messages (#4714) 2020-11-30 11:29:16 +01:00
markamaze c1482fe5b8
Moved export log function to menu and added confirm dialog (#4712) 2020-11-30 11:20:02 +01:00
Tony Tam afb151eb3f share by timecode 2020-11-27 11:32:56 -08:00
ByteHamster 66ee677ebe
Merge pull request #4718 from tonytamsf/queue-image-button
add an icon to the Android Auto queue
2020-11-26 18:24:56 +01:00
Tony Tam 28f72aa586
Fix timing issue with speed settings per podcast (#4713)
when moving to the next episode when phone is locked
2020-11-26 17:48:16 +01:00
Tony Tam 8f0cbb2a88 show number in queue 2020-11-25 17:10:47 -08:00
Tony Tam a8fbb97cfe add an icon to the Android Auto queue 2020-11-25 16:52:20 -08:00
Tony Tam ed47e27baa line > 120 2020-11-22 18:25:33 -08:00
Tony Tam aebc62d136 only show the play button for non-car mode, since that is taken care of already 2020-11-22 18:20:10 -08:00
ByteHamster 41cdeec30c
Merge pull request #4698 from ByteHamster/notification-icon-resolution
Increased resolution of notification icon
2020-11-22 16:09:48 +01:00
Tony Tam 69670e2153
higher contrast color for search bar (#4704) 2020-11-22 15:57:47 +01:00
Tony Tam d9151351b0 pause button for autos 2020-11-21 18:20:17 -08:00
ByteHamster 9bd0babed5 Partially revert "Performance improvements"
Some problems with wrong dates might be caused by the
static date parser no longer being thread safe.

This partially reverts commit 77ef239336.
2020-11-21 23:08:39 +01:00
ByteHamster 9989bbff9b Increased resolution of notification icon
The expanded media style notification has a higher resolution than
normal large icons
2020-11-19 11:27:40 +01:00
ByteHamster 4b252250c0 Merge branch 'master' into develop 2020-11-19 11:24:31 +01:00
Herbert Reiter d68b45fd30 Refactoring: Remove callback functions with constant value 2020-11-15 14:26:07 +01:00
ByteHamster 34f9f01ba1 Updated translations 2020-11-15 12:37:00 +01:00
ByteHamster 8a82b3709d
Merge pull request #4690 from ByteHamster/fix-wording
Fixed wording of counter>0 filter
2020-11-15 12:31:41 +01:00
ByteHamster 02def17f93
Merge pull request #4689 from ByteHamster/stop-foreground-before-stop
Stop foreground in DownloadService before calling stop
2020-11-15 12:28:12 +01:00
ByteHamster 97b557a3b6
Merge pull request #4684 from ByteHamster/fix-null-pubdate-crash
Fixed comparator method contract when date is null
2020-11-15 12:26:52 +01:00
ByteHamster 2d24213171 Fixed wording of counter>0 filter 2020-11-15 12:18:44 +01:00
ByteHamster f5bbdf1666 Stop foreground in DownloadService before calling stop 2020-11-14 18:08:52 +01:00
Herbert Reiter 3aa6b37834 Refactoring: Remove interface DBTasksCallbacks and class DBTasksCallbacksImpl 2020-11-14 11:32:49 +01:00
ByteHamster cabe1a0f66 Fixed comparator method contract when date is null 2020-11-11 22:43:27 +01:00
ByteHamster 4decd1d9fe
Merge pull request #4680 from ByteHamster/fix-file-size-stats
Fixed file size statistics
2020-11-11 22:21:00 +01:00
ByteHamster 0e84f5d90c
Merge pull request #4666 from ByteHamster/db-corruption
Use lazy singleton instead of Bill Pugh singleton
2020-11-11 22:04:54 +01:00
ByteHamster eea503e3e0
Merge pull request #4672 from ByteHamster/fix-update-without-pubdate
Fixed updating feeds where some items do not have a pubdate
2020-11-11 21:56:59 +01:00
ByteHamster 24c15cfc61 Fixed file size statistics 2020-11-09 23:27:05 +01:00
ByteHamster 2249e91578 Update local folder properties on refresh
Fixes updated translations
2020-11-09 23:10:50 +01:00
ByteHamster fe3a44d5fa Fixed updating feeds where some items do not have a pubdate 2020-11-09 12:37:33 +01:00
ByteHamster 8f25f5830a Use lazy singleton instead of Bill Pugh singleton 2020-11-08 09:36:13 +01:00
ByteHamster 0ae6ca8d04 Added support for showing feed item images on Android Auto 2020-11-07 09:29:11 +01:00
ByteHamster 8d2df1afa1 Merge branch 'master' into develop 2020-11-06 23:17:33 +01:00
ByteHamster 29f46d97c0
Merge pull request #4659 from ByteHamster/fix-playback
Fix using wrong playable object
2020-11-06 22:57:57 +01:00
ByteHamster 8686edb67e
Merge pull request #4662 from ByteHamster/add-recommended
Add 'recommended' text to ExoPlayer setting
2020-11-06 22:56:57 +01:00
ByteHamster 6127197314 Add 'recommended' text to ExoPlayer setting 2020-11-06 22:12:27 +01:00
ByteHamster 688f1b370c Fix using wrong playable object 2020-11-06 21:58:04 +01:00
ByteHamster d6c00574b4
Merge pull request #4615 from ByteHamster/notification-channels-consistency
Use system notification settings on supported devices instead of our own
2020-11-06 14:37:43 +01:00
ByteHamster dfd2ad49d1 Add error message when system file manager is not available 2020-11-06 14:32:40 +01:00
Sebastian Zeller 85b897c7d7 Filter the All Episodes tab via SQL Query
Fixes #4414
2020-11-06 02:03:20 +01:00
Anderson Mesquita a3a5a936a2 Remove IF NOT EXISTS from index create statements
`onCreate()` should only ever be called once, where the tables and
indices are created. Any other changes need to happen via `onUpgrade()`,
so we can safely remove `IF NOT EXISTS`.

When importing any database into the app (e.g. if it gets corrupted and
is recreated with `sqlite3 old-database.db ".dump"`), it first needs to
be set back to the correct version. This can be done in sqlite with:

    $ sqlite3 old-database.db "PRAGMA user_version"
    <old-db-version>
    $ sqlite3 new-database.db "PRAGMA user_version = <old-db-version>"

For more context, see this PR:
https://github.com/AntennaPod/AntennaPod/pull/4585
2020-11-02 18:01:32 -05:00
ByteHamster 2a2c495835 Added basic proof of concept for displaying folders 2020-11-02 19:56:26 +01:00
ByteHamster ec9d631d8d Fixed crash when playing from preferences 2020-11-02 17:10:20 +01:00
ByteHamster 23763eb87f
Merge pull request #4628 from ByteHamster/local-feeds-metadata
Fixed local feed metadata, show directly
2020-11-01 17:00:27 +01:00
ByteHamster 8713d25b1a Fixed local feed metadata, show directly 2020-11-01 16:24:13 +01:00
ByteHamster dc98c445c1
Merge pull request #4623 from ByteHamster/cancel-future
Cancel notification updater future before shutting down executor
2020-11-01 09:47:32 +01:00
ByteHamster ec7f639982
Merge pull request #4617 from ByteHamster/duplicate-share-dialog
Do not display duplicate share menu
2020-11-01 09:47:13 +01:00
ByteHamster f095ca8474 Cancel notification updater future before shutting down executor 2020-10-31 12:23:47 +01:00
ByteHamster 96e68f69de Do not display duplicate share menu 2020-10-29 21:07:29 +01:00
ByteHamster 7ac4f18561 Migrate notification channel settings 2020-10-29 20:44:24 +01:00
ByteHamster 151cccce66 Use system's notification settings on supported devices 2020-10-29 20:21:43 +01:00
ByteHamster 26071dc3cf Make notification channels consistent between app settings and system settings 2020-10-29 20:10:05 +01:00
ByteHamster 19697e3aa5 Be consistent about podcast vs episode 2020-10-29 19:48:16 +01:00
avirajrsingh 4a4392e797
Add podcast specific statistics to podcast info screen (#4601) 2020-10-29 19:41:41 +01:00
moralesg 3a87982628
Local feeds, add successful download log entry (#4608)
Co-authored-by: moralesg
2020-10-28 16:12:08 +01:00
moralesg 370df3a26c
Local feeds: honor file creation date (#4607) 2020-10-28 16:07:17 +01:00
ByteHamster 8ad4682aa4 Merge branch 'master' into develop 2020-10-28 10:56:22 +01:00
ByteHamster fa6e054212 Updated translations 2020-10-28 10:37:18 +01:00
Tony Tam 3a9829bd5e
When doing Auto Skip to End, do the right thing (#4594) 2020-10-28 09:06:42 +01:00
ByteHamster 2da36919b3 Only accept media control buttons while actually playing 2020-10-26 11:13:52 +01:00
ByteHamster 679e482999 Merge branch 'develop' into add-local-feeds 2020-10-25 19:33:21 +01:00
ByteHamster 71b6c57773
Merge pull request #4590 from ByteHamster/merge-chapters
Merge chapter lists if specified in both feed and media file
2020-10-25 19:20:05 +01:00
asdoi d732e6a5c1
Show date from which statistics are counting (#4517) 2020-10-25 19:14:59 +01:00
ByteHamster c378b1828b Merge chapter lists if specified in both feed and media file 2020-10-25 19:03:26 +01:00
ByteHamster a0c604dc86
Merge pull request #4591 from ByteHamster/ensure-background-thread
Ensure that first DB query is executed in background thread
2020-10-25 19:00:55 +01:00
ByteHamster 058885ac09 Prevent play/pause button not doing anything in some cases 2020-10-25 18:59:02 +01:00
ByteHamster aa3a350e38
Merge pull request #4592 from ByteHamster/audiofocus-reuse
Reuse audiofocus request object
2020-10-25 18:57:57 +01:00
ByteHamster 2ae11e1d18
Merge pull request #4589 from Niffler/resolve-issue-4320
Edit streaming confirmation dialog labels
2020-10-25 18:56:40 +01:00
ByteHamster caaf2c72db Upgrade roboelectric for API 30 compatibility 2020-10-25 18:45:30 +01:00
ByteHamster e767282bff Fail gracefully when trying to cast local feed 2020-10-25 18:15:37 +01:00
ByteHamster 361db64a07 Allow to re-connect SAF document tree 2020-10-25 17:58:57 +01:00
ByteHamster c8a2f20000 Merge branch 'develop' into add-local-feeds 2020-10-25 17:31:47 +01:00
Herbert Reiter 28ebbedbdf
Local feeds: Unit tests for LocalFeedUpdater (#4551) 2020-10-25 17:22:36 +01:00
ByteHamster f536774f2e Reuse audiofocus request object 2020-10-24 23:59:21 +02:00