Commit Graph

876 Commits

Author SHA1 Message Date
Tom Hennen 6e77d02349 Merge pull request #1491 from mfietz/issue/1490-npe-gpodnet-episode-action
GpodnetEpisodeAction.<init>: Media mustn't be null
2015-12-28 12:08:42 -05:00
Martin Fietz ca6f982836 Check that media is not null 2015-12-26 18:44:50 +01:00
dethstar 83dbe4fe07 init editor onClick
change log from warning to debug
instantly reflect the user change onClick
2015-12-20 10:50:01 -06:00
dethstar 4619bff696 refactor to give a more descriptive name
add variable value to sharedPreferences on change
load the correct info on loadMediaInfo if the variable was set to true
2015-12-20 10:50:00 -06:00
dethstar ccca71012a fix: only replace onProgressChanged if prog is different from 0 2015-12-20 10:50:00 -06:00
dethstar a24a1860ae remove yet to be used imports and change from Boolean to boolean 2015-12-20 10:50:00 -06:00
dethstar 394e1514b2 use duration instead of progress to show time left, fix time left on seekbar changes 2015-12-20 10:50:00 -06:00
dethstar 68df2fcb01 allow to see time left of a podcast by tapping on the position textview 2015-12-20 10:50:00 -06:00
Tom Hennen 7657f50646 1.4.2.0 2015-12-20 09:20:07 -05:00
Tom Hennen 01b4450deb Merge pull request #1478 from mfietz/crash_report_info
Crash Report: More environment information
2015-12-20 09:04:40 -05:00
Martin Fietz 0c41b51271 Stupid me 2015-12-20 14:50:33 +01:00
Tom Hennen 85e1924085 Merge pull request #1480 from mfietz/issue/1479-negative-index
ItemAccess: Prevent ArrayIndexOutOfBoundsException
2015-12-20 08:49:46 -05:00
Martin Fietz 19cce4cd2a Prevent ArrayIndexOutOfBoundsException 2015-12-19 20:08:11 +01:00
Martin Fietz e6564cecbd More enfironment information 2015-12-19 19:45:54 +01:00
Martin Fietz 2dd71d1260 Test: Close cursor 2015-12-15 16:20:28 +01:00
Tom Hennen 755bdc5afb Merge pull request #1465 from mfietz/issue/1464-oom
Lower memory usage
2015-12-13 18:58:32 -05:00
Martin Fietz a8ba29fe0b Try to lower memory usage 2015-12-13 13:30:55 +01:00
Martin Fietz a4dea4ba24 (1) Fix refresh indicator (2) On download event, only refresh items that are affected 2015-12-13 11:09:10 +01:00
Tom Hennen 3bb8d9304a Merge pull request #1460 from mfietz/issue/1459-drawer-backbutton
Drawer: If open, back button closes it
2015-12-12 11:13:53 -05:00
Martin Fietz 9d020bd57d If drawer is open, back button closes it 2015-12-11 19:02:08 +01:00
Martin Fietz 0e12da7ec6 Filter list -> filter set 2015-12-10 16:41:09 +01:00
Martin Fietz 7f72904932 Just refactoring & housekeeping 2015-12-10 16:02:08 +01:00
Tom Hennen c4c2ddede4 1.4.1.4 2015-12-04 06:31:07 -05:00
Tom Hennen a9de8a3c19 1.4.1.3 2015-12-02 17:46:59 -05:00
Martin Fietz 2c992d8338 Fix tests 2015-12-02 18:46:58 +01:00
Martin Fietz 833f76fc3b Replace commons-lang3 where possible 2015-12-02 18:46:53 +01:00
Tom Hennen 181c54adad 1.4.1.2 2015-11-29 14:19:55 -05:00
Tom Hennen 0477828b06 Merge pull request #1431 from TomHennen/applyepisodeactions
resolve 'no empty constructor' error
2015-11-29 14:19:08 -05:00
Tom Hennen 7067088cba Merge pull request #1432 from TomHennen/widget
Widget improvements
2015-11-29 14:11:54 -05:00
Tom Hennen 72ecf311bd actually apply the preferences 2015-11-29 13:56:19 -05:00
Tom Hennen 926f99478b store enabledness in preferences, be sure to tell the main fragment what we want 2015-11-29 13:49:27 -05:00
Tom Hennen 27e3a9ed2b enable and disable the widget as needed 2015-11-29 12:49:50 -05:00
Tom Hennen 304c33369c add preview image for widget, allow it to be resized to be wider and narrower 2015-11-29 12:25:33 -05:00
Tom Hennen e9f46bd71d make sure we stop updates when we're supposed to 2015-11-29 12:07:29 -05:00
Tom Hennen 84f1adf846 removed dangling space 2015-11-29 08:41:35 -05:00
Tom Hennen 2d32a39e8d resolve 'no empty constructor' error 2015-11-29 08:39:51 -05:00
Tom Hennen 1268d8f6c7 fix duration, other minor bugs 2015-11-28 17:44:06 -05:00
Tom Hennen ef4f40757a start app if playback not running 2015-11-28 17:25:33 -05:00
Tom Hennen 87daa77ce4 Merge pull request #1429 from mfietz/issue/episodes-share
*EpisodesFragment: Fix context menu sharing
2015-11-28 11:36:04 -05:00
Tom Hennen 99f7aaa228 Merge pull request #1427 from TomHennen/fix_scoll_position
only restore scoll position if we're starting or resuming
2015-11-28 11:35:36 -05:00
Martin Fietz f05984d253 *EpisodesFragment: Fix context menu sharing 2015-11-27 22:44:27 +01:00
Tom Hennen 19353464cf apply the correct rxjava rules. version 1.4.1.1 2015-11-27 13:22:58 -05:00
Tom Hennen b5a753c1cd only restore if we're starting or resuming 2015-11-27 12:16:25 -05:00
Tom Hennen 549b6f3ec3 1.4.1.0 2015-11-27 11:05:48 -05:00
Tom Hennen 04786a6c17 Merge pull request #1381 from johnjohndoe/drag-sort-list-view-submodule
Removed references to former "app/dslv" submodule.
2015-11-27 10:51:07 -05:00
Tom Hennen 4b926b44f7 Merge pull request #1424 from TomHennen/optional_hardware_skip
allow users to optionally have hardware forward button skip
2015-11-27 10:47:18 -05:00
Tom Hennen a7293b4a66 Merge pull request #1422 from mfietz/crash_report_mail
Log Crash Report
2015-11-27 10:42:10 -05:00
Tom Hennen 4c0a6f1ef7 allow users to optionally have hardware forward button skip 2015-11-27 10:27:35 -05:00
Tom Hennen 9dc80b1e03 Merge pull request #1369 from mfietz/rating
Rating Dialog
2015-11-27 09:49:54 -05:00
Martin Fietz 573cd120d1 Fix background for long click 2015-11-27 15:32:53 +01:00
Martin Fietz bd1dea4024 WeakReference 2015-11-27 15:32:53 +01:00
Martin Fietz 2b919eecbc Dark theme 2015-11-27 15:31:52 +01:00
Martin Fietz c5c457bbf0 Highlight currently playing episode 2015-11-27 15:31:52 +01:00
Martin Fietz 40a708fd0e Log crash reports, users can send them via email 2015-11-27 15:05:49 +01:00
Martin Fietz 5c49dabf94 Just nope 2015-11-26 19:46:14 +01:00
Martin Fietz 719075bbf9 Download Log: Show retry button icon 2015-11-26 19:46:13 +01:00
Martin Fietz cc00d03bf0 RxJava defer -> fromCallable 2015-11-26 19:46:13 +01:00
Martin Fietz 6bf4d28c34 Fix ArrayIndexOutOfBoundsException
See Play store crash report
No idea why this happens...
2015-11-26 19:46:11 +01:00
Martin Fietz d91e9f4d6f DownloadObserver must die 2015-11-26 19:45:24 +01:00
Martin Fietz c45797631d Current RxJava version, not reloading when downloads are queued 2015-11-25 21:35:15 +01:00
Martin Fietz af30f4f9d2 Prevent a possible leak, minor refactorings 2015-11-25 21:15:34 +01:00
Martin Fietz 58813db553 Save position before refreshing, handle top/bottom moving and notify adapter 2015-11-23 23:31:38 +01:00
Martin Fietz f12362c776 We do all the moving ourselves, no need to react on it 2015-11-23 21:29:02 +01:00
Martin Fietz 24d0efad1e Restore scroll position (don't forget it) 2015-11-23 21:28:15 +01:00
Tom Hennen 76c169885a 1.4.0.12 2015-11-22 19:07:46 -05:00
Tom Hennen efc11905e7 1.4.0.11 2015-11-21 08:31:44 -05:00
Martin Fietz 87f710d381 Replace tabs 2015-11-19 18:11:11 +01:00
Martin Fietz 06cdd987e0 Replace DirectoryChooser with simple dialog listing all external directories 2015-11-19 18:03:13 +01:00
Tom Hennen dcbbdef30f 1.4.0.10 2015-11-17 17:56:30 -05:00
Tom Hennen 1ae2e822e0 Merge pull request #1387 from mfietz/issue/1386-cached-queue
Play episodes in correct order after reordering
2015-11-17 17:51:46 -05:00
Martin Fietz 0d8d804aaa Make sure the PlaybackService task manager reloads the queue 2015-11-17 21:01:23 +01:00
Tom Hennen d24e49b96b 1.4.0.9 2015-11-16 18:52:18 -05:00
Tobias Preuss fb48b36cf3 Removed references to former "app/dslv" submodule.
+ Follow up to commit e63e0a4f1c.
2015-11-15 16:47:46 +01:00
Martin Fietz 3768198a4b Merge pull request #1363 from mfietz/issue/1256-dark-dialogs
Dialogs: Sleep timer, Material dialogs
2015-11-14 17:36:44 +01:00
Martin Fietz 098d82da05 Don't swap, move 2015-11-12 13:22:02 +01:00
Martin Fietz 166c067194 Positions change: remember item 2015-11-12 13:21:45 +01:00
Martin Fietz cea5fe708d Rating dialog 2015-11-09 22:54:30 +01:00
Martin Fietz 059ef16dc2 Fix dialog colors 2015-11-08 20:49:59 +01:00
Tom Hennen 8f63296fa2 1.4.0rc8 2015-11-08 14:14:52 -05:00
Martin Fietz 6184b7f306 Material dialogs in preferences 2015-11-08 18:11:28 +01:00
Martin Fietz 8de90b7948 AlertDialog -> v7 AlertDialog 2015-11-08 18:05:19 +01:00
Martin Fietz 48eac2f4bc Sleep timer dialog 2015-11-08 17:52:12 +01:00
Tom Hennen c16cd623e3 Merge pull request #1362 from mfietz/issue/1360-about
About
2015-11-08 08:22:00 -05:00
Tom Hennen 02a7bf1d8a Merge pull request #1359 from mfietz/issue/1358-itemlistfragment-delete-feed
ItemFragmentList: Exception when deleting current feed
2015-11-08 08:10:40 -05:00
Martin Fietz f4d1fea87e Fix back button issue, add action bar 2015-11-08 13:44:20 +01:00
Martin Fietz 55df46ff6a Use local license and contributers files 2015-11-08 13:44:15 +01:00
Martin Fietz 3f3484b0fe What Tom said 2015-11-08 00:22:59 +01:00
Martin Fietz ff224c8852 Don't load a fragment not reachable from the drawer 2015-11-07 23:39:37 +01:00
Tom Hennen 6a50149680 1.4.0rc7 2015-11-07 15:36:22 -05:00
Tom Hennen 8afa9499b9 1.4.0rc6 2015-11-07 12:07:37 -05:00
Tom Hennen df588cef5e Merge pull request #1351 from mfietz/issue/queue_playback_state
Queue: Update playback state
2015-11-07 12:03:32 -05:00
Martin Fietz ceada6c689 Queue: Update playback state 2015-11-07 17:55:16 +01:00
Martin Fietz 2197e9b741 If removing currently playing episode, (pause and) skip the same 2015-11-07 17:38:29 +01:00
Tom Hennen 0aeb520f14 Merge pull request #1347 from mfietz/recycler_view
RecyclerView & SnackBar
2015-11-07 09:16:24 -05:00
Martin Fietz 8286a76cdf Fancy drag/swipe effect 2015-11-07 01:25:15 +01:00
Martin Fietz 47886205f6 Prettier dividers 2015-11-07 00:29:03 +01:00
Martin Fietz 5380bcd6d0 GC and recreate queue adapter 2015-11-06 21:48:31 +01:00
Martin Fietz 8c546df054 Minor issue: don't display anything in the info bar while loading 2015-11-06 20:29:27 +01:00
Martin Fietz 86074f0b8b Fix info bar and list reloading 2015-11-06 20:29:03 +01:00
Martin Fietz c13dd34f09 Drawer: (Easier) Feed list context menu 2015-11-06 20:28:45 +01:00
Martin Fietz 7648b5d319 Gears dialog: Fix add to queue, convert to lambda 2015-11-06 20:25:10 +01:00
Martin Fietz 896366a625 Fix dragging 2015-11-06 00:43:19 +01:00
Martin Fietz 419e449b6f Check if this is the right fragment 2015-11-06 00:32:31 +01:00
Martin Fietz 51aba83ae2 RecyclerView context menus (with ripple) 2015-11-06 00:20:59 +01:00
Martin Fietz 383449e007 Refactor events 2015-11-05 23:46:43 +01:00
Martin Fietz 6aefd4b4de Remove DSLV 2015-11-05 23:46:43 +01:00
Martin Fietz 67d2287323 Queue: Replace DSVL with RecyclerView 2015-11-05 23:46:39 +01:00
Tom Hennen 0ef38407e3 fix NPE in ItemFragment. fixes AntennaPod/AntennaPod#1339 2015-11-05 17:19:13 -05:00
Tom Hennen e03ef16558 don't remove the media if they undo 2015-11-04 18:14:08 -05:00
Tom Hennen d66384b1d1 addressed some of mfietz's comments 2015-11-04 18:11:34 -05:00
Tom Hennen 910363c3e4 switched to snackbar 2015-11-03 22:22:27 -05:00
Tom Hennen 358a96ef6e can't use the support version construct for recycler view for some reason 2015-11-03 21:47:30 -05:00
Tom Hennen e555b3f24f Fixed saving/restoration of scroll position thanks to some code from
@mfietz, https://github.com/mfietz/AntennaPod/blob/recyclerview/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java
2015-11-03 21:41:13 -05:00
Tom Hennen 10ee9ba484 remove commented out code 2015-11-03 21:41:13 -05:00
Tom Hennen f9ef32fff2 resolved compilation problem and got rid of the 'no items' label 2015-11-03 21:40:02 -05:00
Tom Hennen 89bbc88826 replaced context menu with popup menu. still a couple of other issues 2015-11-03 21:40:02 -05:00
Tom Hennen a02b84d2d2 undo for new items 2015-11-03 21:40:02 -05:00
Tom Hennen 7489046037 undo for favorites 2015-11-03 21:40:02 -05:00
Tom Hennen 8f5e0bb5e4 playing around with recycler view. context menu and swiping isn't working 2015-11-03 21:40:02 -05:00
Tom Hennen 31d91ac901 1.4.0 rc5 2015-11-03 19:11:25 -05:00
Tom Hennen a546c1e95b 1.4.0 rc4 2015-11-01 18:34:11 -05:00
Tom Hennen 5c7209e4e3 1.4.0 rc3 2015-11-01 16:41:19 -05:00
Tom Hennen 545c91a3d6 need to use old version of com.afollestad:material-dialogs for now 2015-11-01 16:37:04 -05:00
Tom Hennen 68e6b2a957 persistent nofication should be the default 2015-11-01 16:19:34 -05:00
Tom Hennen 20960b9bff Merge pull request #1323 from mfietz/upgrade-libs
Gradle: external version variables, lombok AST
2015-11-01 16:15:44 -05:00
Martin Fietz 0049fbec27 External version variables, lombok AST 2015-11-01 17:51:50 +01:00
Tom Hennen 3c87b514a3 Merge pull request #1322 from mfietz/upgrade-libs
Upgrade libraries
2015-11-01 11:33:00 -05:00
Tom Hennen f735638a4f Merge pull request #1316 from mfietz/strict_mode
Strict mode for debugging
2015-11-01 11:17:57 -05:00
Martin Fietz b1b1df3cdc Upgrade libraries 2015-11-01 17:13:24 +01:00
Martin Fietz 93fc95eb7b Don't die 2015-11-01 16:55:42 +01:00
Tom Hennen 41f0adb101 Merge pull request #1320 from mfietz/user_preferences
Refactoring: User preferences
2015-11-01 10:41:00 -05:00
Tom Hennen 777dcfd8c5 Merge pull request #1318 from mfietz/preference_activity
PreferenceActivity: weak reference
2015-11-01 10:40:28 -05:00
Martin Fietz 7152b0e0eb Unused parameter 2015-11-01 14:38:58 +01:00
Martin Fietz 3596463bf3 Only hold weak reference 2015-11-01 14:28:50 +01:00
Martin Fietz b75a390507 Strict mode for debugging 2015-11-01 13:57:16 +01:00
Tom Hennen 3cc5eee0ff Have a different option for bluetooth reconnect.
Vibrate when starting playback due to bluetooth reconnect.

fixes AntennaPod/AntennaPod#1305
2015-10-31 11:33:10 -04:00
Tom Hennen 42e5a8de66 Merge pull request #1295 from mounirlamouri/patch-1
Fix "Could not find com.afollestad:material-dialogs:0.7.8.0" error.
2015-10-29 17:41:48 -04:00
Tom Hennen 277cfa01d0 Merge pull request #1294 from mfietz/issue/1293-NPE-MainActivity-onContextItemSelected
Prevent NPE in MainActivity.onContextItemSelected()
2015-10-29 17:41:19 -04:00
Mounir Lamouri a004fbb5a0 Fix "Could not find com.afollestad:material-dialogs:0.7.8.0" error.
material-dialogs:0.7.8.0 can't be downloaded but it seems that things work fine with 0.7.8.1. It seems simple enough to upgrade the dependency here.
2015-10-25 23:57:12 +00:00
Martin Fietz 9dcf3de723 Just check everything for null before you do stuff with it 2015-10-25 18:47:51 +01:00
Martin Fietz 89e67f0919 Replace loader
Replace with lambda
Replace Loader with Observable
onResume and onPause instead of onStart and onStop; minor changes
Makes more sense to load data once at start
Reorder functions to mirror lifecycle
2015-10-25 14:00:50 +01:00
Martin Fietz ec7bc19351 Update to latest audio player version 2015-10-17 18:46:39 +02:00
Tom Hennen 79f0eca912 prevent NPE when 'chapters' is null 2015-10-17 12:04:59 -04:00
Tom Hennen bcef62d11e Merge pull request #1260 from stevomit/rewind-after-pause
Rewind after pause feature
2015-10-17 11:50:14 -04:00
Stefan Mitrik 87d27a7c0b Rewind after pause - used less conservative rewind times 2015-10-17 12:00:46 +02:00
Tom Hennen 0e2b056d4e Merge pull request #1258 from TomHennen/fix_playback_tests
Updated playback tests to make them more reliable
2015-10-15 17:09:42 -04:00
Stefan Mitrik f7dabd9335 Rewind after pause feature
The playback is rewinded X seconds after the pause and resume. The
rewind duration depends on time that elapsed between the pause and
resume.
2015-10-15 00:52:55 +02:00
Tom Hennen 87b42c23dc Merge pull request #1254 from TomHennen/fix1252
Cleanup when we show the mark as played/unplayed menus.
2015-10-12 17:29:25 -04:00
Tom Hennen 33a3f4ac04 added idle sync to make tests more reliable 2015-10-10 07:17:05 -04:00
Tom Hennen 113f8c55c3 updated sonic tests, still have an intermittent error 2015-10-10 05:38:18 -04:00
Tom Hennen 83e56a334c Updated PlaybackTest to deal with some spurious bugs.
Problem was that the PlaybackController wasn't having currentMedia get
updated when playback initially starts. Working around it here by getting
the real playback controller that's being used in the app.

Still need to update PlaybackSonicTest.
2015-10-09 04:46:20 -04:00
Tom Hennen 326e3b7b52 Cleanup when we show the mark as played/unplayed menus. 2015-10-08 03:14:27 -04:00
Tom Hennen 23f134bb39 Change language related to skipping episodes.
Also now keep the episode media if we're going to keep it in the queue.
2015-10-08 02:53:34 -04:00
Tom Hennen 07bcdb167b add test for different number of days of cleanup 2015-10-02 16:54:33 -04:00
Tom Hennen 6f3d748aa0 episode cleanup preferences tests 2015-10-02 16:50:08 -04:00
Tom Hennen f3e56a2385 fix PreferencesTest to actually check the condition was met. 2015-10-02 16:26:42 -04:00
Tom Hennen af5579a30e fixed use of preferences 2015-10-02 10:25:01 -04:00
Tom Hennen fda662f697 simplified tests 2015-10-02 10:07:09 -04:00
Tom Hennen c9c38a0f5a Implemented tests for the various cleanup algorithms.
We also don't delete items that are in Favorites.
2015-10-02 09:38:11 -04:00
Tom Hennen e61c7efde4 ap algorithm cleanup tests 2015-10-02 08:31:46 -04:00
Tom Hennen 0beeeb4351 resolved bug in how we were choosing the default cleanup parameter 2015-10-02 07:56:34 -04:00
Tom Hennen 60e341cf78 resolved compile time issues. refactored some code 2015-09-30 06:33:35 -04:00
Tom Hennen f5801c2181 Implement cleanup that only removes epiosdes older than a certain number of days
Also set the stage for the queue cleanup algorithm.
2015-09-29 20:29:53 -04:00
Tom Hennen 057900bc1b getting preferences setup for different cleanup method 2015-09-29 17:29:26 -04:00
Martin Fietz d03c54d6fb Variable Speed Dialog: Install Prestissimo or enable Sonic 2015-09-27 15:12:12 +02:00
Martin Fietz e74a549b1b Upgrade Gradle and AntennaPod-AudioPlayer 2015-09-27 15:12:12 +02:00
Tom Hennen 8cd6446913 create the favorites table on upgrade 2015-09-26 15:56:10 -04:00
Tom Hennen a6ddb1319c Merge pull request #1214 from TomHennen/update_playback_notification
Update playback notification
2015-09-26 15:20:08 -04:00
Tom Hennen c097b672d6 fix bug that caused ExternalPlayerFragment to not always be shown 2015-09-26 11:11:48 -04:00
Tom Hennen fc4d9225bf Merge pull request #1218 from mfietz/issue/1217-onError-handling
Error handling for getMediaSize observable
2015-09-26 08:59:39 -04:00
Tom Hennen 664944d119 alway follow queue by default 2015-09-25 18:10:49 -04:00
Tom Hennen f27d14f4b9 Merge pull request #1213 from TomHennen/favorites
Favorites
2015-09-25 17:33:08 -04:00
Martin Fietz b6a0c1aa1a Check for null 2015-09-23 23:19:37 +02:00
Martin Fietz 68e7695f39 Error handling for getMediaSize observable 2015-09-23 19:15:33 +02:00
Tom Hennen 5b6fce427b if it was skipped we shouldn't remove it, but otherwise we should 2015-09-21 06:48:28 -04:00
Tom Hennen f0904fbe49 added preference to not remove items from queue when skipping 2015-09-20 20:10:51 -04:00
Tom Hennen 721bfc064a now removing items from favorites by swiping 2015-09-20 16:31:44 -04:00
Tom Hennen 05c64eb063 undoing changes to 'activity' which weren't needed 2015-09-20 16:19:06 -04:00
Tom Hennen dfbd878afe Added 'tags' to FeedItem and properly showing/not showing menu items for favorites. 2015-09-20 16:11:57 -04:00
Tom Hennen ed679b8a17 refactored after merging in changes from #1212 2015-09-20 14:54:54 -04:00
Tom Hennen 1993f779e8 basic favorite functionality 2015-09-20 14:21:15 -04:00
Martin Fietz ff9cc13b6a Fix about link handling 2015-09-19 21:01:54 +02:00
Martin Fietz 1b232992f9 Sonic tests 2015-09-19 20:53:58 +02:00
Martin Fietz 5f77c4de50 Replace some of the most annoying AsyncTasks with RxJava 2015-09-19 20:39:14 +02:00
Martin Fietz b3094fa5f0 Add external library to about 2015-09-19 20:14:42 +02:00
Martin Fietz 7b23dfeb50 Move audio player classes to external library 2015-09-19 14:20:01 +02:00
Martin Fietz 17c87d9bfc Lockscreen background defaults to true, more detailed description, NPE fixed 2015-09-16 01:44:45 +02:00
Martin Fietz 8efb73a39e Set lockscreen background, set media session and playback state 2015-09-16 01:38:39 +02:00
Tom Hennen 8d4bdd5ba1 Merge pull request #1193 from mfietz/cropped_dialog_buttons
Licenses: Material Dialogs, bug fix, nicer layout
2015-09-15 17:16:11 -04:00
Tom Hennen b8759628ef Fix playback tests that don't always work.
* user the view and not the text
* clear preferences earlier in setup
2015-09-15 17:09:09 -04:00
Martin Fietz 8270e435b5 Fix license view 2015-09-10 12:33:22 +02:00
Martin Fietz 54fb6aa314 Add license for Material Dialogs 2015-09-10 09:35:32 +02:00
Martin Fietz 75dfc89a44 Refactor database access 2015-09-10 00:58:30 +02:00
Tom Hennen 2555df3bd2 Merge pull request #1190 from mfietz/memory_management
Glide memory management
2015-09-09 18:37:27 -04:00
Tom Hennen cde0dfc290 Merge pull request #1179 from TomHennen/export_updates
Add option to share OPML file when exporting it
2015-09-09 18:35:58 -04:00
Tom Hennen 159f1f6dcc changes the action title to Send... 2015-09-09 17:23:53 -04:00
Tom Hennen 6c6d7e4e31 Merge pull request #1189 from mfietz/cropped_dialog_buttons
Fix cropped dialog buttons
2015-09-09 17:17:32 -04:00
Martin Fietz cbacd4863a Let Glide trim memory when system asks AP to do so 2015-09-09 23:17:23 +02:00
Martin Fietz e323f067f3 Fix cropped buttons of update interval/time of day dialog 2015-09-09 19:55:23 +02:00
Tom Hennen d3d59c5c06 update re-use old string, update tests 2015-09-07 21:29:24 -04:00
Tom Hennen b7ad88d70f tabs fill all space and are remembered 2015-09-07 21:25:19 -04:00
Tom Hennen 6ae33e1c5d normalized how we were using tab layouts between different fragments. 2015-09-07 21:25:19 -04:00
Tom Hennen d25d93964b move Gpodnet and Downloads to use TabLayout also 2015-09-07 21:25:18 -04:00
Tom Hennen 64336d5d26 fixed dark theme 2015-09-07 21:25:18 -04:00
Tom Hennen 0bbe1fcad7 fixing tests 2015-09-07 21:25:18 -04:00
Tom Hennen 661fcc6fd4 fix messed up ItemFragment toolbar 2015-09-07 21:25:18 -04:00
Tom Hennen c63423c558 Collapsed All and New Episodes in to 'Episodes' using tabs
This is to make room for 'Favorites' in the future.

I kept the counter for 'New Episodes' and am displaying it next to 'Episodes'.
2015-09-07 21:25:18 -04:00
Tom Hennen 9fe8750ecb changed method of tab use 2015-09-07 21:25:18 -04:00
Tom Hennen 1d38db32d5 episodes fragment with tabs. layout of item info is messed up for some reason. 2015-09-07 21:25:18 -04:00
Tom Hennen 00b1badb3f use lambda 2015-09-07 20:43:53 -04:00
Tom Hennen de879e1dd9 make share just an option of the old dialog 2015-09-07 20:42:15 -04:00
Tom Hennen 0617115a6f export opml via intent 2015-09-07 15:20:48 -04:00
Tom Hennen 05cb09e4fa Set episode back to 'New' when undo remove from new episodes.
markItemRead -> markItemPlayed and now requires the desired state instead of boolean.

fixes AntennaPod/AntennaPod#1173
2015-09-06 10:51:49 -04:00
Martin Fietz 14977413d5 Fix popup colors 2015-09-05 19:38:09 +02:00
Martin Fietz 1fe0e96ed0 Set max slider playback speed to 2.50 or current speed if it is higher than that 2015-09-05 19:38:09 +02:00
Martin Fietz 1dd87efebd Scale animation when playback speed has been changed via popup 2015-09-05 19:38:09 +02:00
Martin Fietz 7de666f511 Use CardView to add a shadow 2015-09-05 19:38:09 +02:00
Martin Fietz 4bfa2cc2f1 Show dialog where user chooses new playback speed 2015-09-05 19:38:08 +02:00
Martin Fietz 152e497cfa Fix gears color 2015-09-05 18:08:26 +02:00
Tom Hennen e236903602 Merge pull request #1166 from TomHennen/api22
Update to API 22
2015-09-05 12:01:13 -04:00
Tom Hennen af29d0992e Merge pull request #1161 from mfietz/issue/1159-empty-url
Check that URL is not null (or empty) when retrieving file size
2015-09-05 11:48:48 -04:00
Tom Hennen 0fea81a823 Merge pull request #1157 from mfietz/issue/1154-about-dark
Dark About view
2015-09-05 11:35:32 -04:00
Tom Hennen d5e31f5350 Merge pull request #1072 from mfietz/feature/shake_sleeptimer
Sleep Timer: Shake to reset, lower volume, vibrate, remember preferences
2015-09-05 11:18:20 -04:00
Martin Fietz 5b90ba9133 Sleep Timer dialog remembers settings 2015-09-05 00:50:44 +02:00
Martin Fietz 771b1e2a16 Vibrate and lower volume when timer is about to expire, shake to reset timer 2015-09-05 00:50:44 +02:00
Martin Fietz 946d5ef50c Add options to sleep timer dialog 2015-09-05 00:44:47 +02:00
Tom Hennen e446c6ee8f remove remote client from tests. 2015-09-04 17:47:31 -04:00
Tom Hennen e24d4efe10 update api version. build breaks, will need further work 2015-09-01 17:50:06 -04:00
Martin Fietz dbf243267e Check that URL is not null or empty 2015-09-01 23:47:39 +02:00
Martin Fietz 0514a486f6 Apply theme to about activity, smaller changes to appearence 2015-08-31 10:52:00 +02:00
Martin Fietz a2941e4509 Use RxAndroid instead of AsyncTask and Thread 2015-08-30 20:39:44 +02:00
Martin Fietz 0ecfa92c29 Merge DefaultOnlineFeedViewActivity into OnlineFeedViewActivity 2015-08-30 19:39:14 +02:00
Martin Fietz 0565d656fb Fix imports 2015-08-29 16:46:33 +02:00
Martin Fietz ade60ea83e Upgrade iconify 2015-08-29 15:09:07 +02:00
Tom Hennen 0d212e1c0e Merge pull request #1142 from mfietz/issue/1139-option-label
Localize option label
2015-08-29 08:20:20 -04:00
Martin Fietz 30d06f62d9 Localize option label 2015-08-28 23:07:20 +02:00
Tom Hennen a2a5fc3d5f version 1.3.2.4 2015-08-28 16:57:09 -04:00
Tom Hennen b4eb47d80c reorder intialization 2015-08-27 18:20:23 -04:00
Tom Hennen a81a70cbe2 Merge pull request #1134 from TomHennen/version_1.3.2.3
1.3.2 RC3, hopefully final
2015-08-26 18:42:11 -04:00
Tom Hennen 918f02751d 1.3.2 RC3, hopefully final 2015-08-26 18:28:15 -04:00
Tom Hennen 9efe4f6eff fix npe in media player 2015-08-26 18:17:20 -04:00
Tom Hennen c4926bb6c9 Merge pull request #1127 from TomHennen/fix1111
Properly check if we should show links share items.
2015-08-26 17:41:48 -04:00
Tom Hennen 34b572545e Protect use of menuInfo:
fixes AntennaPod/AntennaPod#1128
2015-08-24 20:39:01 -04:00
Tom Hennen d02931e0c4 Properly check if we should show links share items.
Don't case the playable until we know it's actually a FeedMedia.

Fixes AntennaPod/AntennaPod#1111
2015-08-23 17:59:10 -04:00
Tom Hennen 0811dec203 1.3.2 RC2 2015-08-23 14:32:47 -04:00
Tom Hennen ad4ba33625 1.3.2 RC1 2015-08-22 11:41:58 -04:00
Tom Hennen 03fc6c0a6b version 1.3.2 rc1 2015-08-22 11:37:02 -04:00
Tom Hennen 2af0f7ef7c Fixed invoke warning
Added dontwarn for invoke warning that is 'OK' since we're using
retrolamba.

fixes AntennaPod/AntennaPod#1117
2015-08-22 11:31:41 -04:00
Tom Hennen 275b1e3f68 get rid of ProGuard 'unsafe' warning 2015-08-22 09:52:09 -04:00
Martin Fietz 3321e8db4f Custom SSL Socket Factory for Android 4.1+ (but below 5) 2015-08-19 00:19:48 +02:00
Martin Fietz a7acfc484c FeedMediaSizeService done right 2015-08-19 00:16:56 +02:00
Martin Fietz 771b8b4154 Add RxAndroid license, sort licenses alphabetically, refactor 2015-08-19 00:14:32 +02:00
Martin Fietz 3abce4c597 Load feed media size on demand 2015-08-18 18:24:16 +02:00
Tom Hennen fd2633e42f Merge pull request #1098 from AntennaPod/version_1.3
Version 1.3 merging back in to develop so we're all on the same page.
2015-08-15 18:43:19 -04:00
Tom Hennen 1d6672aa64 now added the .1 2015-08-15 18:19:30 -04:00
Tom Hennen 629fee4c78 version 1.3.1 2015-08-15 18:12:56 -04:00
Martin Fietz 04bfcacb12 Disable feed media file size service 2015-08-16 00:08:39 +02:00
Martin Fietz 3148b8835b Make res.getQuantityString replace placeholder with value 2015-08-15 16:28:40 -04:00
Tom Hennen 0b7331b6b5 Merge pull request #1093 from mfietz/hotfix/1055
Fix smark values
2015-08-15 16:25:15 -04:00
Martin Fietz 5f175c6e1f Make res.getQuantityString replace placeholder with value 2015-08-15 21:16:51 +02:00
Tom Hennen 269d54d465 Merge pull request #1076 from waylife/develop
fix issue #1073. crash on oneplus two(Android 5.1.1, Oxygen 2.0.0).
2015-08-15 14:58:28 -04:00
Tom Hennen 9cc4f0295a updated version code for probable release 2015-08-13 18:35:41 -04:00
Martin Fietz d17c884112 Encode non-ascii query strings for the iTunes search 2015-08-12 00:10:17 +02:00
WangYun 2cd6a54631 fix issue #1073. crash on oneplus two(Android 5.1.1, Oxygen 2.0.0). 2015-08-11 00:04:59 +08:00
Tom Hennen d252544d2f Cache all images (should reduce lag displaying lists of episodes)
Cache strategy is now set in ApGlideSettings and referenced everywhere else from there.
2015-08-08 14:22:09 -04:00
Tom Hennen 57fde20d71 Merge pull request #1066 from TomHennen/resolve_race_condition
create PreferenceController before the main fragment
2015-08-08 13:29:15 -04:00
Tom Hennen 67f641bded use correct string for action 2015-08-08 13:05:05 -04:00
Tom Hennen c5357d0758 create PreferenceController before the main fragment 2015-08-05 21:43:38 -04:00
Tom Hennen f13615d46a Merge pull request #1062 from TomHennen/autodl_updates
Only autodownload queued and new items
2015-08-05 18:44:47 -04:00
Tom Hennen c7d2975039 Merge pull request #1039 from TomHennen/fix_concurrentmodexception
Fix locking in GpodnetPreferences
2015-08-05 18:44:03 -04:00
Tom Hennen 0e5d9e0e6e remove logging statement not needed 2015-08-05 18:41:49 -04:00
Tom Hennen d1972ad0e6 resolves NPE in QueueListAdapter 2015-08-05 18:06:27 -04:00
Tom Hennen db20064e8f Feeds can be null in ItemListFragment 2015-08-04 22:03:14 -04:00
Tom Hennen fe6796f102 Updated version code for RC5
Also updated the oldVersion used by the UPDATE FeedItems sql statement.
We don't want to run the 1030002 version ever, and the 1030005 version
should fix any users that used the 1030002 version (with the possibility
that some items that shouldn't have had auto_download set to 0 did have
it set to 0, but accepting that that's not a terrible problem).
2015-08-04 21:25:25 -04:00
Tom Hennen 86f4d244d8 Merge pull request #1055 from TomHennen/fix_time_string_names
Changed string names relating to time units.
2015-08-02 21:11:47 -04:00
Tom Hennen f799ad5ed5 Changed string names relating to time units.
Android can handle plurals and strings having the same names, but
Transifex can't.  Renamed the time_unit*'s to just time_ to make sure
we got the correct translations.
2015-08-02 18:27:36 -04:00
Tom Hennen dbaae4aa69 Fixes pictures disappearing in some cases
* Default value for the image cache size should be > 0
* If the image cache size is too small we force it back to default
* We should only have once instance of the HTTP client

fixes AntennaPod/AntennaPod/#1053
2015-08-02 18:22:38 -04:00
Tom Hennen da227aa44d RC4 2015-08-02 16:45:27 -04:00
Tom Hennen e6ce12d61b prepping for build 1.3.0.3 2015-08-02 13:12:57 -04:00
Tom Hennen ab68619aac Merge pull request #1043 from mfietz/glide
Glide
2015-08-02 13:11:59 -04:00
Martin Fietz 5f0ddbc15d Prevent NPE b/c of race condition 2015-08-02 18:24:32 +02:00
Martin Fietz 5f1c78b4f4 Replace custom image loading with Glide 2015-08-02 17:51:57 +02:00
Martin Fietz 2bc1183e45 Try loading the episode cover first; if that fails, try to load the podcast's cover 2015-08-02 17:50:51 +02:00
Martin Fietz ab116ee6be Initialize NetworkUtils, set context once
Had some issues with the new NetworkAllowanceInterceptor. When I gave
it a constructor that would hold the context (to use it with
NetworkUtils), the whole Glide image loading process would not work.
2015-08-02 17:48:08 +02:00
Martin Fietz 65d470043b Fix duration overflow and time unit plurals 2015-08-02 17:45:36 +02:00
Tom Hennen dd6d07ada1 Merge pull request #1046 from TomHennen/fix935
Remove Flattr this App button
2015-08-01 12:30:49 -04:00
Martin Fietz a3ea16b90c Made dialog better, not to say awesome 2015-08-01 17:53:06 +02:00
Tom Hennen d9f8dc53a6 removed flattr this app button 2015-08-01 10:32:49 -04:00
Martin Fietz 759a7bb5ac Documentation for update manager. 2015-08-01 16:05:25 +02:00
Martin Fietz cf519ca0aa Dialog when podcast's auto download preference is changed
When the user changes a podcast's auto download setting, ask if this
new setting should be applied to the podcast's episodes
2015-08-01 12:26:33 +02:00
Martin Fietz 4f7566ddfc Improved blurring 2015-07-31 21:08:28 +02:00
Martin Fietz af2ded8fe0 Replace Picasso with Glide 2015-07-29 18:29:55 +02:00
Tom Hennen d45b7c7b6d * fix ConcurrentModificationException in Gpodder
* removed 'About' tests (they take too long)
2015-07-28 17:26:02 -04:00
Tom Hennen c2beb98ae8 fixed test that was broken in prior PR (wasn't getting the right button for adding a feed) 2015-07-26 21:20:25 -04:00
Tom Hennen c4e909e291 expired feeds weren't implemented properly and were probably a bad idea. now refreshing all feeds on the schedule. 2015-07-26 16:25:56 -04:00
Tom Hennen d1ef7f63ff Merge pull request #1020 from mfietz/feature/queue-information
Queue shows number of episodes and total duration
2015-07-20 20:10:18 -04:00
Tom Hennen 1ee22ef91f Merge pull request #1013 from TomHennen/minor_search_updates
Make itunes search more prominent and fix squashed griview
2015-07-20 19:51:55 -04:00
Tom Hennen 89dac34ccd bump version number 2015-07-20 17:59:32 -04:00
Martin Fietz 4e8f9a13aa Don't show version code, commit is short hash only (no tag) 2015-07-20 11:35:26 +02:00
Martin Fietz c38759ac0d Create and explain version code schema. 2015-07-20 11:22:14 +02:00