Commit Graph

849 Commits

Author SHA1 Message Date
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
Martin Fietz
76393e1e7c Info text has smaller font, conversion moved utility class 2015-07-19 10:35:28 +02:00
Martin Fietz
35dcabd103 Minor improvements 2015-07-19 02:07:50 +02:00
Martin Fietz
c779e78ee8 Queue has status bar that shows number of episodes and total duration 2015-07-19 00:59:45 +02:00
Tom Hennen
87064277c1 update to build 61 2015-07-13 21:32:22 -04:00
Tom Hennen
fd836fd0c1 Make itunes search more prominent and fix squashed griview
The GridView on large devices (Nexus 6 for example) was showing
iTunes and gpodder results in two columns, which was cutting off
valuable information. I simply double the default size of the grid
columns on the theory that on a tablet someone may still want multiple
columns and that 400dp was wide enough to show the needed detail.

fixes AntennaPod/AntennaPod#1012
2015-07-13 20:13:27 -04:00
Tom Hennen
626bd2b0cb Merge pull request #1006 from mfietz/issue/1002-fragment-loading
Load fragment used in last session correctly
2015-07-13 19:41:54 -04:00
Tom Hennen
0f8ed8e58f Merge pull request #1008 from TomHennen/fix1007
PlaybackHistory doesn't dim played items anymore.
2015-07-13 19:30:22 -04:00
Tom Hennen
6c4d7aaef3 Merge pull request #993 from mfietz/issue/990-show-content-length
Get filesize from server
2015-07-13 19:29:03 -04:00
Martin Fietz
97827cde2d Fixed tests and bug 2015-07-12 23:03:20 +02:00
Martin Fietz
d979c06a2b Prevent NPE 2015-07-12 21:49:02 +02:00
Martin Fietz
a831f01eeb Open new episodes when removing the currently shown feed via drawer 2015-07-12 21:37:38 +02:00
Tom Hennen
58ebf7ed03 PlaybackHistory doesn't dim played items anymore.
Also adds a space before the feed title when displaying the title.

fixes AntennaPod/AntennaPod#1007
2015-07-12 15:17:56 -04:00
Martin Fietz
b8b36b4ee8 Load fragment used in last session correctly. 2015-07-11 19:33:57 +02:00
Tom Hennen
cc8e470b8f Merge pull request #1000 from udif/about_commit
Add git commit ID and version top the "About" screen
2015-07-10 21:41:31 -04:00
Tom Hennen
f7e4beadd6 Merge pull request #1004 from mfietz/issue/992-fix-paste
Fix edittext pasting issues on some devices
2015-07-10 21:33:01 -04:00
Martin Fietz
40fd08b841 Hopefully fixes problems with pasting into edittext 2015-07-10 19:17:25 +02:00
Udi Finkelstein
62d3fd77a9 Fixed tests 2015-07-09 22:38:40 +03:00
Udi Finkelstein
49759dd35c Use "git describe" because it supplies both the commit ID as well as the number of commits since the last release. 2015-07-09 21:56:14 +03:00
Udi Finkelstein
184ac34500 Add commit ID to about screen 2015-07-09 21:21:12 +03:00
Martin Fietz
4f84ceff73 Determine media file size if feed doesn't report it correctly 2015-07-09 10:22:04 +02:00
Udi Finkelstein
a22fa8660b FeedPreferences.getCurrentAutoDelete() now calls UserPreferences.isAutoDelete() by itself, instead of receiving it as a parameter. 2015-07-09 01:16:49 +03:00
Udi Finkelstein
153ac4e12c Make the Spinner work on Android versions <5.0 2015-07-09 01:16:46 +03:00
Udi Finkelstein
85598f64a9 Added new per-feed auto download override flag. 2015-07-09 01:16:45 +03:00
Tom Hennen
0d2f99a1a7 Merge pull request #994 from mfietz/redesign-new-state
Drawer: Feed context menu, counter and order
2015-07-07 18:58:41 -04:00
Martin Fietz
a9de7631fd Fix button moving and icon being cut 2015-07-04 17:33:35 +02:00
Martin Fietz
6427a40da2 Fix tests 2015-07-02 20:21:53 +02:00
Martin Fietz
dd898d1abe Call former indicator "counter" 2015-07-02 18:24:10 +02:00
Martin Fietz
936ecc2b8e Nav drawer subscriptions context menu 2015-07-02 12:13:19 +02:00
Martin Fietz
5643933a51 Set subscription order and counter in the preferences 2015-06-30 00:13:58 +02:00
Martin Fietz
5178de8681 Make new explicit 2015-06-29 12:54:00 +02:00
Tom Hennen
cff363e474 Merge pull request #974 from mfietz/feature/episodes-actions
Perform action on episodes
2015-06-28 16:27:41 -04:00
Tom Hennen
fdf1ca44b8 Don't assume the activity is non-null within the callback.
Fixes AntennaPod/AntennaPod#979
2015-06-28 16:07:00 -04:00
Tom Hennen
2db4433bca build 60 for alpha testing 2015-06-28 16:05:15 -04:00
Martin Fietz
c7256d8152 Fix enqueueing order, prevent NPEs 2015-06-28 21:57:12 +02:00
Tom Hennen
f70e395266 Merge pull request #976 from TomHennen/fix968_2
Must send download list when content changes
2015-06-27 18:32:06 -04:00
Tom Hennen
51e3f55561 Don't send Gpodder actions for items that don't have media.
Fixes AntennaPod/AntennaPod#964
2015-06-27 18:09:51 -04:00
Martin Fietz
957497d787 Enqueue and items in the currently display order, submit changes on bulk 2015-06-27 22:17:18 +02:00
Tom Hennen
473444291f Folks weren't always getting the updated copy of the download list, now they are.
fixes AntennaPod/AntennaPod#968
2015-06-27 14:55:48 -04:00
Martin Fietz
c64217e2b4 Add episode action fragment 2015-06-27 18:01:14 +02:00
Martin Fietz
b0a0b6ab2f Merge pull request #971 from TomHennen/fix970
Make sure controller isn't null
2015-06-27 17:02:09 +02:00
Tom Hennen
21976aca14 Make sure controller isn't null
fixes AntennaPod/AntennaPod#970
2015-06-27 09:54:06 -04:00
Tom Hennen
05ce266043 fixes AntennaPod/AntennaPod#895 2015-06-27 09:01:46 -04:00
Martin Fietz
8f75777b41 Fixed tests. 2015-06-26 03:06:42 +02:00
Martin Fietz
717a6a645e Set update interval or time of day 2015-06-24 17:43:50 +02:00
Martin Fietz
f123c61f21 Merge branch 'develop' of https://github.com/AntennaPod/AntennaPod into issue/940-user-preferences 2015-06-24 11:05:41 +02:00
Martin Fietz
33778e30ac Don't cache shared preferences anymore. Some refactoring. 2015-06-23 10:19:02 +02:00
Tom Hennen
5e8c75a1da Merge pull request #934 from TomHennen/fix_testPauseForInterruptions
Fix testPauseForInterruptions
2015-06-22 20:07:11 -04:00
Martin Fietz
e977b5fa54 Merge pull request #925 from danners/develop
Download Report: introduce setting to disable
2015-06-21 23:55:22 +02:00
Tom Hennen
50e8d25c66 testPauseForInterruptions was failing, looking for the Auto Delete string.
It should have been looking for the pause playback string.
2015-06-21 15:05:49 -04:00
Tom Hennen
26a805848a build 59, alpha testing 2015-06-21 14:57:20 -04:00
Martin Fietz
c452d311e2 Store information if media has an embedded picture in the database 2015-06-21 19:40:36 +02:00
Tom Hennen
6b70e304e0 Merge pull request #861 from mfietz/feature/120-share-download-url
Share feeds and episodes
2015-06-21 12:02:46 -04:00
Martin Fietz
1e53df0f5f Fixes Queue not opening from the drawer, small podcasts images not scaling up and long URL not wrapping in the podcast info view 2015-06-21 13:03:19 +02:00
Simon Danner
7c944cbe65 Download Report: introduce setting to disable
Give the use the option to disable the download report.
While it is useful to see the failed downloads, if a user is subscribed
to many podcasts, most of the times a few fail, which makes the notifications rather annonying.
2015-06-21 12:46:42 +02:00
Martin Fietz
8a9229ede6 Capitalize titles 2015-06-20 19:37:47 +02:00
Martin Fietz
b0ba5a08f7 Sharing in options and context menus 2015-06-20 18:49:56 +02:00
Tom Hennen
e1b494ba05 Merge pull request #890 from mfietz/issue/880-link-typo
Handle malformed URLs
2015-06-20 12:01:11 -04:00
Tom Hennen
2bc5446c89 build 58 2015-06-20 10:45:24 -04:00
Tom Hennen
8e56c0308f updated build version number 2015-06-19 23:49:02 -04:00
Martin Fietz
ce6cd1a353 Don't propose to open malformed URLs 2015-06-19 00:26:18 +02:00
Tom Hennen
499fd1c6f2 Fix gradle build from app dir
Fixes AntennaPod/AntennaPod#883
2015-06-18 17:14:13 -04:00
Tom Hennen
1e49bacc95 Fixes AntennaPod/AntennaPod#868 2015-06-10 17:24:46 -04:00
Tom Hennen
b781400c53 updated version code for build 56 2015-06-10 17:11:38 -04:00
Tom Hennen
e903a13a55 Avoid IllegalStateExceptions
commitAllowingStateLoss should do this for us. As noted in the TODO there is probably a better
way, but now is not time.
2015-06-06 14:22:26 -04:00
Tom Hennen
3445fa3b13 Merge pull request #858 from TomHennen/update_strings_1.2
Update strings 1.2
2015-06-03 20:08:57 -04:00
Tom Hennen
f8bb06a1b4 Merge pull request #852 from mfietz/issue/840-mobile-download-clipping
Fix 'Confirm Mobile Download' dialog clipping
2015-06-02 19:16:48 -04:00
Tom Hennen
72067b64fc updated strings, bumped build number 2015-06-01 18:04:32 -04:00
Tom Hennen
9e7bb5ce73 fixed NPE on navDrawerData 2015-05-28 17:54:41 -04:00
Tom Hennen
8ed3f95ec5 made description use a little more compact 2015-05-28 17:52:48 -04:00
Tom Hennen
9301a3bd98 fix NPE in FeedInfoActivity 2015-05-28 17:49:59 -04:00
Martin Fietz
ef518f3ec0 Handle failed refresh correctly, fix for nav drawer layout 2015-05-28 22:42:08 +02:00
Martin Fietz
1bf803a6b2 Remove cancel, adjust strings 2015-05-28 11:41:36 +02:00
Tom Hennen
7add1854c8 put the LinearView in a ScrollView. fixes AntennaPod/AntennaPod#841 2015-05-27 19:34:40 -04:00
Tom Hennen
677550a344 updated versionCode for build 54 2015-05-25 22:04:28 -04:00
Tom Hennen
dfcfe15dd0 * Less picky about the mime type's we accept.
* Handling content and files the same way
* Improved support for sharing files in

fixes AntennaPod/AntennaPod#827
2015-05-25 21:48:06 -04:00
Tom Hennen
bafdc86ca0 Merge branch 'add_label_for_adding_feed' into fix_sharing_opml 2015-05-25 21:13:38 -04:00
Tom Hennen
30f52a6076 adding feeds via sharing intents now says your adding a podcast 2015-05-25 21:13:19 -04:00
Tom Hennen
7fa834f63e update manifest to be less picky about mime type for OPML 2015-05-25 21:03:51 -04:00
Colin Willson
94c826a4ce Fixed import Google Drive 2015-05-24 06:53:12 -04:00
Tom Hennen
578aa2a2b7 updated versionCode for alpha release 2015-05-23 16:50:25 -04:00
Tom Hennen
f28853b00d renamed download progress bar to just progress 2015-05-22 17:13:31 -04:00
Tom Hennen
d8b6943f5d removed unneeded layout margins 2015-05-22 16:57:43 -04:00
Tom Hennen
ec156b4016 now display the download bar under the other windows 2015-05-22 16:21:21 -04:00
Tom Hennen
7aafe23b6b restored alignment for progress bar in episode view. fixes AntennaPod/AntennaPod#822 2015-05-21 18:45:39 -04:00
Martin Fietz
25cbb00b36 Fix tests, test runner for core tests 2015-05-20 11:06:45 +02:00
Martin Fietz
b0f0d106da Transparency for played items 2015-05-19 16:57:30 +02:00
Martin Fietz
61754cae52 Show correct number of new items 2015-05-19 16:46:51 +02:00
Martin Fietz
44b3a3bb87 Small fixes and refactorings 2015-05-19 12:00:30 +02:00
Martin Fietz
dfdfa82b4b Fix download bar displacement 2015-05-19 11:58:39 +02:00
Martin Fietz
1bf0216788 Fix move to top/bottom 2015-05-19 11:58:38 +02:00
Martin Fietz
298b02b0aa Fix for indicator, changes in context menus 2015-05-19 11:58:38 +02:00
Martin Fietz
4561f16f11 Redone new indicator 2015-05-19 11:58:38 +02:00
Martin Fietz
c829a4e9b2 Context dialog for feed item list 2015-05-19 11:58:38 +02:00
Martin Fietz
518e8207da Reset dialog in progress 2015-05-19 11:58:37 +02:00
Martin Fietz
6f5d23c557 Order feeds by number of unread items (descending) 2015-05-19 11:58:37 +02:00
Martin Fietz
406dab0a24 Show feed new items and refresh failure 2015-05-19 11:58:37 +02:00
Martin Fietz
e68ca0529b Mark as unplayed option
Users can mark feed items as unplayed from feed item fragment and the queue
2015-05-19 11:58:37 +02:00
Tom Hennen
3301342a76 Merge pull request #816 from mfietz/issue/802-widget-old-progress
Widget: Show correct played and total when current episode ends
2015-05-18 21:47:32 -04:00
Martin Fietz
7727270855 Widget: Show correct played and total when current episode ends 2015-05-14 17:44:54 +02:00
Martin Fietz
910d8f1f2c All tests succeeded 2015-05-14 14:03:41 +02:00
Martin Fietz
f5812fe894 Some working, some not 2015-05-14 11:29:58 +02:00
Tom Hennen
73c4dfc04d Merge pull request #809 from mfietz/fix/gpodder-sync
Gpodder synchronization fixes
2015-05-13 21:06:50 -04:00
Tom Hennen
cf16cac089 Merge pull request #807 from TomHennen/fix_text_color_for_2.3
fixed text field color in iTunes search for 2.3 devices
2015-05-13 20:30:04 -04:00
Tom Hennen
113ab1092e Merge pull request #812 from mfietz/issue/811-getImageUri-NPE
Fix NPE and hide progress bar without media
2015-05-13 20:29:29 -04:00
Tom Hennen
e1f8509ff3 Merge pull request #814 from mfietz/issue/813
Use localization for clear queue
2015-05-13 20:27:20 -04:00
Martin Fietz
333eccb0bc Use localization for clear queue 2015-05-13 15:53:43 +02:00
Martin Fietz
69303a5915 Fix NPE and hide progress bar without media 2015-05-13 10:29:52 +02:00
Martin Fietz
75f3756857 Show always 2015-05-13 09:29:46 +02:00
Martin Fietz
0f293a4d78 Fix ActionBar SearchView 2015-05-12 21:21:16 +02:00
Martin Fietz
1d25137edd Refactor 2015-05-12 17:42:41 +02:00
Tom Hennen
08eca53444 fixed text field color in iTunes search for 2.3 devices 2015-05-10 18:03:46 -04:00
Martin Fietz
9ec0d735c8 Add feed item filter 2015-05-10 10:50:22 +02:00
Martin Fietz
94569cf995 CANCELLED 2015-05-09 00:46:02 +02:00
Martin Fietz
c8259daaee Cancel auto download 2015-05-09 00:03:41 +02:00
Tom Hennen
11a66f451a Merge pull request #790 from TomHennen/resume_after_call_753
Optionally resume playback after call
2015-05-08 17:46:15 -04:00
Tom Hennen
b32fa4ec71 Merge pull request #789 from mfietz/feature/confirm-download-mobile
Confirm download on mobile data connection

This seems to work well. We may want to tweak the workflow further, but we'll figure that out as we use it an in Alpha testing.
2015-05-08 17:44:47 -04:00
Tom Hennen
9c6c218aa1 Merge pull request #788 from TomHennen/update_version_automatically_701
Update about.html version automatically
2015-05-03 15:28:42 -04:00
Martin Fietz
a766977e6d Check if items are already in the queue 2015-05-03 21:19:20 +02:00
Tom Hennen
db0ce285a3 Optionally resume playback after call.
Defaults to true.

fixes AntennaPod/AntennaPod#753
2015-05-03 15:16:47 -04:00
Tom Hennen
cd4bd0e37d Merge pull request #787 from mfietz/feature/queue-lock
Queue Lock: Swipe and drag can be disabled
2015-05-03 14:49:03 -04:00
Tom Hennen
e93a631aab removed 'projectsEvaluated' to fix AntennaPod build 2015-05-03 14:45:36 -04:00
Tom Hennen
82464b86c8 fixed typo 2015-05-03 14:16:32 -04:00
Martin Fietz
fd7cdd3c71 Show confirmation dialog when downloading over mobile data connection is disabled 2015-05-03 18:58:48 +02:00
Tom Hennen
5a8702c299 Updated copyright and contributors file 2015-05-03 10:33:21 -04:00
Tom Hennen
b79c0926e5 populating the version name and code in about.html at build time 2015-05-03 10:29:18 -04:00
Martin Fietz
a92220f8db Show lock icon always, use correct search view text color on older devices 2015-05-03 15:07:25 +02:00
Tom Hennen
4e78205e62 Merge pull request #783 from TomHennen/fix_npe_on_shutdown
Fixes NPE in PlaybackWidgetService
2015-05-02 21:56:25 -04:00