Commit Graph

2823 Commits

Author SHA1 Message Date
ByteHamster 6edc2417a4 Fixed Snackbars being covered by audio player 2020-05-03 13:29:47 +02:00
malockin f634198794 Initial favorites export commit 2020-05-03 14:12:40 +03:00
Ebrahim Byagowi 700d8de5be Fix PagerIndicatorView disabled dot in RTL languages 2020-05-03 10:01:22 +04:30
H. Lehmann 2386684b7f
Merge pull request #4096 from ebraminio/number-format
Use locale's digits in more places
2020-05-02 22:55:04 +02:00
Ebrahim Byagowi dc230a8f31 Use locale's digits in more places 2020-05-01 19:15:14 +04:30
ByteHamster 16b7aa7424 Fixed feed image tests 2020-05-01 14:39:23 +02:00
H. Lehmann df47dd37ef
Merge pull request #4094 from ByteHamster/fragment-transition-speed
Made fragment transition a bit faster
2020-05-01 14:30:40 +02:00
H. Lehmann d6d8ec43e1
Merge branch 'develop' into develop 2020-05-01 12:43:08 +02:00
H. Lehmann b870c233ee
Merge pull request #4020 from ebraminio/rtl
Adopt the project with ViewPager2
2020-05-01 12:40:03 +02:00
ByteHamster d7772b84df Made fragment transition a bit faster 2020-05-01 12:21:36 +02:00
Michael White ca9ff00946
set max width on external player image (#4071) 2020-05-01 12:08:39 +02:00
H. Lehmann 5287322a89
Merge pull request #4088 from ByteHamster/selected-quantity
Allow plural of 'x selected' string
2020-05-01 11:33:05 +02:00
ByteHamster 46ddcf3c49 Allow plural of 'x selected' string 2020-04-29 21:03:02 +02:00
TacoTheDank 6aa4a9c091 Update Studio and some dependencies 2020-04-25 21:03:16 -04:00
H. Lehmann 0763652199
Merge pull request #4069 from ByteHamster/feeditem-page-tweaks
Theme tweaks
2020-04-21 23:20:51 +02:00
Tony Tam 92eb1d669b
Skip intro and ending per feed (#3975) 2020-04-21 23:20:22 +02:00
Ebrahim Byagowi 7bdacf8fde Modify NestedScrollableHost to suit our need
Now manages nested child scrolling when the orientation isn't perpendicular
2020-04-21 21:40:04 +04:30
Ebrahim Byagowi 6f74af7592 Wrap scrollable childs of viewpager in NestedScrollableHost 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 17962b57a0 Use more optimized way to detect direction in PagerIndicatorView 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 430e0d403e Fix menu items duplication in episodes and downloads fragment
As ViewPager2 different lifecycle apparently setHasOptionsMenu
needs to be called from onResume() from now on.
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi c88336f17f Disable downloads and episodes view tab position restore animation 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 1b9937c2be Restore current tab right after downloads and episodes views creation 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 77dc78dfe8 Fix view pager scrolling of bottom sheet
As was suggested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406795883
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 292afd7d30 Disable bringing episode animation
As was requested in https://github.com/AntennaPod/AntennaPod/pull/4020#discussion_r406797233
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 260d7ee944 Bring back AudioPlayerFragment pager's setOffscreenPageLimit
The reason needs cast: https://issuetracker.google.com/issues/144669596
2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 75e9ee9e0d Use constants instead hardcoded numbers in view pagers adapters 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 965fc5c27d Add default cases for switches lack them 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 3a11f2842b Remove remained references of ViewPager 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 79e85363fb Match pager_fragment's pager height with its parent 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 74ec3b1e4a Port ItemPagerFragment to ViewPager2 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi e8166a7f7f Port pager_fragment users to ViewPager2 2020-04-21 19:30:17 +04:30
Ebrahim Byagowi 417c66d73a Adopt StatisticsFragment with ViewPager2 2020-04-21 19:30:16 +04:30
Ebrahim Byagowi cedfb27cca Port AudioPlayer's viewpager to ViewPager2, improve RTL support 2020-04-21 19:30:16 +04:30
Michael White 3a86745e81
added media to queue when playing (#4058) 2020-04-21 16:04:03 +02:00
ByteHamster ef733f826e Fixed missing padding in sidebar 2020-04-21 15:30:39 +02:00
ByteHamster df9e30e9e9 Feed page theme tweaks 2020-04-21 14:18:47 +02:00
H. Lehmann deb13b8b24
Merge pull request #4057 from ByteHamster/delete-crash-report-on-upgrade
Delete crash report on upgrade
2020-04-16 17:08:13 +02:00
H. Lehmann ae19968fed
Merge pull request #4049 from ebraminio/upgrade-material
Upgrade Material and RecyclerView versions
2020-04-14 21:09:51 +02:00
ByteHamster 14b35b03fa Delete crash report on upgrade 2020-04-14 19:44:35 +02:00
H. Lehmann 04019931e0
Merge pull request #4047 from ebraminio/file-size-format
Use Android's own file size formatter
2020-04-12 23:52:29 +02:00
Ebrahim Byagowi 45d6232a50 Fix symmetry issues of feed item list 2020-04-13 01:22:01 +04:30
Ebrahim Byagowi a12f7b3387 Upgrade Material and RecyclerView versions
Material 1.1.0 contains TabLayoutMediator which is needed for WIP ViewPager2
2020-04-12 15:07:51 +04:30
Ebrahim Byagowi 30d3619d05 Use Android's own file size formatter 2020-04-12 14:30:18 +04:30
Ebrahim Byagowi d5ef1cb4f7 Fix TriangleLabelView corner in RTL languages 2020-04-12 14:14:06 +04:30
ByteHamster 67e7f4bec9 Reduce font size of new count 2020-04-11 23:14:08 +02:00
H. Lehmann 772d8728d1
Merge pull request #4036 from ByteHamster/colors
Make colors more consistent
2020-04-11 22:48:31 +02:00
H. Lehmann 2e7e1b4764
Merge pull request #4038 from HrBDev/develop
WorkManager.getInstance() without context is deprecated
2020-04-11 12:10:32 +02:00
H. Lehmann 87f773de38
Merge pull request #4039 from ByteHamster/allow-stop-preview
Allow to stop previewed episode
2020-04-11 12:09:41 +02:00
ByteHamster cc946f44d7 Make colors more consistent 2020-04-11 11:59:13 +02:00
Hamidreza Bayat fff0dce83e WorkManager.getInstance() is deprecated
Pass context where available
2020-04-11 02:28:46 +04:30
ByteHamster 4b42ed87c3 Toast instead of crash on database downgrade 2020-04-10 21:57:20 +02:00
ByteHamster c24761806e Allow to stop previewed episode 2020-04-10 21:56:44 +02:00
H. Lehmann 4959319d58
Merge pull request #4029 from ByteHamster/podcast-searcher-abstract
Abstract from iTunes search provider lookup
2020-04-10 16:14:14 +02:00
Hamidreza Bayat ca94d62b39 Don't mix android.arch & androidx dependencies
Update WorkManager to latest version
2020-04-10 14:58:59 +04:30
H. Lehmann 55fe840fc7
Merge pull request #4035 from ByteHamster/proguard
Allow Proguard to optimize androidx packages
2020-04-10 10:36:49 +02:00
H. Lehmann e22702ec09
Merge pull request #4030 from ByteHamster/restore-visibility
Restore ExternalPlayer visibility when restoring instance state
2020-04-10 00:09:52 +02:00
H. Lehmann c166edd46a
Merge pull request #4031 from ebraminio/valueof
Replace some of String.valueOf uses with to String.format to get locale's digits
2020-04-10 00:09:34 +02:00
H. Lehmann de3985e1ae
Merge pull request #4032 from ebraminio/puzzle
Localize digits in queue episodes and parallel downloads numbers
2020-04-10 00:08:38 +02:00
ByteHamster 2de7ff44cb Allow Proguard to optimize androidx packages
This reduces the method count from 64k to 44k and the apk size from 8MB to 7MB
2020-04-10 00:05:52 +02:00
michaelmwhite c68fe8a203 make layout clickable to intercept touch 2020-04-09 16:26:47 -04:00
Ebrahim Byagowi 81c59cbe5c Replace some of String.valueOf uses with to String.format to get locale's digits
Ideally we should inspect all the String.valueOf, these were I could see right now
2020-04-09 18:15:21 +04:30
Ebrahim Byagowi e7666b63b4 Localize digits in queue episodes and parallel downloads numbers
Ideally %d%s should be moved into the message itself this however is
a temporal fix before apply that to the messages themselves.
2020-04-09 18:12:44 +04:30
ByteHamster dbcb7e5c21 Restore ExternalPlayer visibility when restoring instance state 2020-04-09 13:06:39 +02:00
ByteHamster ac13b7aa7b Use a single search fragment for all searchers 2020-04-09 12:41:54 +02:00
H. Lehmann a35ecaa74b
Merge pull request #4022 from ByteHamster/format-crash-markdown
Write crash info in Markdown
2020-04-09 12:36:02 +02:00
H. Lehmann 05c3b22da8
Merge pull request #4023 from ByteHamster/fix-crash-click-timecode
Fix crash when clicking timecode
2020-04-09 12:35:39 +02:00
H. Lehmann fc92802dfe
Merge pull request #4024 from ByteHamster/onlinefeedview-error-cancel
Fixed error dialog not closing activity sometimes
2020-04-09 12:35:18 +02:00
H. Lehmann b8470cc2ce
Merge pull request #4025 from ByteHamster/fix-open-podcast-menu
Fixed 'Open podcast' menu item in media player
2020-04-09 12:35:00 +02:00
ByteHamster b146a1163c Abstract from iTunes search provider lookup 2020-04-09 11:57:16 +02:00
ByteHamster 7ba7b76425 Fixed 'Open podcast' menu item in media player 2020-04-08 21:15:25 +02:00
ByteHamster 9f91a2ab86 Fixed error dialog not closing activity sometimes 2020-04-08 21:09:36 +02:00
ByteHamster a6c9f7fa67 Fix crash when clicking timecode 2020-04-08 21:03:20 +02:00
ByteHamster 7d8d53d218 Write crash info in Markdown 2020-04-08 20:57:23 +02:00
Ebrahim Byagowi f0a2398088 Fix locale of every String.format number formatter 2020-04-08 23:18:07 +04:30
H. Lehmann ed248c2c64
Merge pull request #4015 from ByteHamster/drag-handle-size
Made drag handle less prominent
2020-04-08 11:24:37 +02:00
ByteHamster 71316cc474 Made drag handle less prominent 2020-04-07 21:39:29 +02:00
Tony Tam a5795a3420
easy to read sorting options (#4004) 2020-04-07 09:13:15 +02:00
Tony Tam b6eba9cc61
show a warning dialog when importing a database (#4011) 2020-04-07 00:08:40 +02:00
H. Lehmann da5a715860
Merge pull request #4012 from tonytamsf/samsung-keyboard
soft keyboard
2020-04-06 10:03:18 +02:00
Tony Tam 06c5e4b8e0
Statistics description layout for smaller screens (#4005) 2020-04-06 09:08:10 +02:00
Tony Tam 0b44133e0a soft keyboard 2020-04-05 22:51:43 -07:00
ByteHamster 12781c9101 Bumped version to 2.0.0-alpha1 2020-04-05 21:59:58 +02:00
H. Lehmann 77efea895a
Merge pull request #4001 from ByteHamster/select-audio-tracks
Allow to select audio track
2020-04-04 11:56:47 +02:00
H. Lehmann eebdd07c92
Merge pull request #4002 from ByteHamster/open-video-player
Open video player when playing video
2020-04-04 11:45:29 +02:00
ByteHamster 94c69e31cd Allow to select audio track 2020-04-04 11:34:54 +02:00
ByteHamster f985d94e25 Open video player when playing video 2020-04-04 11:25:44 +02:00
ByteHamster 658ae3d43f Double-tap video to skip 2020-04-04 11:03:53 +02:00
ByteHamster 5a53966250 Only load chapters when actually needed 2020-04-03 11:58:59 +02:00
ByteHamster 09f9db878b Hide audioplayer by default to not show uninitialized state 2020-04-03 10:27:56 +02:00
H. Lehmann 67ef897e6b
Merge pull request #3994 from ByteHamster/rebind-service-after-stopping
Rebind to the service after it was stopped
2020-04-03 10:24:54 +02:00
H. Lehmann cc45c78aa8
Merge pull request #3995 from ByteHamster/fast-scroll
Added fast scrolling to all episode lists
2020-04-03 10:24:35 +02:00
ByteHamster 4f782f99c1 Removed yet another DB access on the main thread 2020-04-02 22:44:47 +02:00
ByteHamster ae81648597 Added fast scrolling to all episode lists 2020-04-02 21:19:03 +02:00
ByteHamster 8c879ede9b Rebind to the service after it was stopped 2020-04-02 19:40:24 +02:00
H. Lehmann 5e344baf4b
Merge pull request #3993 from ByteHamster/recycle-viewholders
Recycle ViewHolders throughout the whole app
2020-04-02 19:19:40 +02:00
ByteHamster 59250404c2 Recycle ViewHolders throughout the app 2020-04-02 18:48:02 +02:00
H. Lehmann 31e02d89c2
Merge pull request #3992 from ByteHamster/performance
Performance improvements
2020-04-02 18:42:47 +02:00
ByteHamster 77ef239336 Performance improvements 2020-04-02 16:57:28 +02:00
ByteHamster 62af272978 Do not query database on main thread 2020-04-01 18:03:50 +02:00
Tony Tam ea58748b22
Use AlertDialog for episode filters (#3981) 2020-04-01 12:44:58 +02:00
H. Lehmann eae200b0dc
Merge pull request #3983 from ByteHamster/integrations-screen
Removed integrations screen with only one item
2020-04-01 12:31:42 +02:00
Tony Tam 91c15ac897
put a date with the filename being exported (#3980) 2020-03-31 20:29:33 +02:00
ByteHamster 5bfb68382b Removed integrations screen with only one item 2020-03-31 12:34:30 +02:00
ByteHamster 6d3cc1a9da Checkstyle fixes 2020-03-30 14:37:27 +02:00
ByteHamster 6e3d012a8a Speed up full sync by not loading queue/favorite status 2020-03-30 13:58:44 +02:00
ByteHamster 9c1725fcd3 Give some love to gpodder login UI 2020-03-30 13:58:44 +02:00
ByteHamster 67de5de8c4 Report sync progress 2020-03-30 13:58:44 +02:00
ByteHamster ef121892f7 Migrated to WorkManager to allow retrying 2020-03-30 13:58:44 +02:00
ByteHamster 2b8c3ff04e Uncoupled AntennaPod from specific GpodnetSyncService 2020-03-30 13:58:44 +02:00
Shinichiro Fujiwara 001583a4e0
App shortcuts (#3748) 2020-03-30 00:39:52 +02:00
H. Lehmann ec0255b743
Merge pull request #3976 from ByteHamster/fix-player-overlap
Fixed description overlapping mini player
2020-03-29 15:23:17 +02:00
ByteHamster ae3b633636 Fixed description overlapping mini player 2020-03-29 14:55:24 +02:00
ByteHamster fa7e8baea6 Hide the miniplayer if there is no media playing 2020-03-27 17:58:38 +01:00
ByteHamster 060cb2c180 Updated contributors list 2020-03-27 14:54:12 +01:00
H. Lehmann 154c04b50a
Merge pull request #3966 from ByteHamster/fix-not-updating
Fixed player sometimes not updating
2020-03-26 23:41:45 +01:00
H. Lehmann ddc8cc7cba
Merge pull request #3967 from ByteHamster/make-controller-smaller
Removed unused code from PlaybackController
2020-03-26 23:41:30 +01:00
ByteHamster 855681e0ee Removed WiFi filter on Android 10 2020-03-26 22:36:23 +01:00
ByteHamster 75d44b95a2 Removed unused code from PlaybackController 2020-03-26 21:47:19 +01:00
ByteHamster 059eda1b34 Fixed player sometimes not updating 2020-03-26 21:28:45 +01:00
H. Lehmann 38c1b559e3
Merge pull request #3839 from shortspider/NotificationForAutoDownloads
Notification for Auto Downloads
2020-03-26 19:22:04 +01:00
H. Lehmann a6accec122
Merge pull request #3963 from ByteHamster/fix-externalplayer-not-hidden
Fixed external player not being hidden when expanding with intent
2020-03-26 17:25:05 +01:00
H. Lehmann 11ef58f592
Merge branch 'develop' into NotificationForAutoDownloads 2020-03-26 17:17:52 +01:00
ByteHamster 5a3778e2f0 Do not show buffering indicator when playing local file 2020-03-26 17:12:00 +01:00
ByteHamster 592ebf27ae Fixed external player not being hidden when expanding with intent 2020-03-26 17:07:16 +01:00
H. Lehmann b4b2b45247
Merge pull request #3962 from ByteHamster/cleanup-lint
Cleaned up some Lint warnings
2020-03-25 23:47:05 +01:00
ByteHamster 902215c18d Removed unused code 2020-03-25 22:50:41 +01:00
H. Lehmann b5836650d1
Merge pull request #3954 from ByteHamster/audioplayer-fragment
Convert AudioPlayer to fragment
2020-03-25 22:49:34 +01:00
ByteHamster 3399be1290 Cleaned up some Lint warnings 2020-03-25 22:17:29 +01:00
ByteHamster d87cc27c9b Deleted unused layout file 2020-03-25 21:45:58 +01:00
ByteHamster a4c4d116de Fixed crash
Not sure why that crash appeared now...
2020-03-25 21:38:05 +01:00
ByteHamster 44df74fc17 Removed CastPlayerActivity 2020-03-25 21:21:19 +01:00
ByteHamster 4ee04b3409 Updated tests 2020-03-25 18:18:14 +01:00
ByteHamster cbb310080e Redesign ExternalPlayerFragment 2020-03-25 17:49:25 +01:00
ByteHamster 0a7d054aad Removed AudioPlayerActivity 2020-03-25 17:09:03 +01:00
H. Lehmann 93595c7bc2
Merge pull request #3959 from ByteHamster/online-feed-view-close
Close OnlineFeedViewActivity when clicking border
2020-03-25 17:01:47 +01:00
H. Lehmann 3bb222089e
Merge pull request #3958 from ByteHamster/fix-sidebar-position
Fixed sidebar sometimes highlighting wrong fragment
2020-03-25 17:01:31 +01:00
ByteHamster 9e84a06260 Reworked cast button handling 2020-03-25 17:00:48 +01:00
ByteHamster a989db586a Implemented missing PlaybackController state handling 2020-03-25 16:09:45 +01:00
ByteHamster 75e34da30f Close OnlineFeedViewActivity when clicking border 2020-03-25 15:41:42 +01:00
ByteHamster 4ecf9ca605 Fixed sidebar sometimes highlighting wrong fragment 2020-03-25 15:35:21 +01:00
ByteHamster d77e04d1c1 Round icons in search list 2020-03-25 15:23:35 +01:00
ByteHamster 982ce61b3f Added basic cast button to AudioPlayerFragment 2020-03-23 19:21:23 +01:00
ByteHamster 11536361c5 Fixed tests 2020-03-23 19:18:24 +01:00
ByteHamster 5ad7228b4e Going down the BottomSheetBehavior rabbit hole...
BottomSheetBehavior only supports one scrolling child. Add support for a ViewPager.
ViewPager.getChildAt sometimes does not match the actual position.
Make sure that it keeps all children using setOffscreenPageLimit
2020-03-23 14:33:30 +01:00
H. Lehmann c488b6c3fb
Merge pull request #3953 from ByteHamster/do-not-rotate-speed-indicator
Do not rotate speed indicator if setSpeed is never called
2020-03-23 11:09:18 +01:00
ByteHamster 6b79daacfe Converted chapters list to RecyclerView
This fixes scrolling in bottom sheet
2020-03-23 11:08:25 +01:00
ByteHamster cc3e39a223 Lock bottom sheet when playing video 2020-03-23 10:47:11 +01:00
ByteHamster e417f4a5f8 Added bottom sheet to activity 2020-03-23 01:46:50 +01:00
ByteHamster 16d0a1befa Added options menu 2020-03-23 00:57:57 +01:00
ByteHamster a48391865e Use AndroidX consumer instead of our own 2020-03-23 00:37:36 +01:00