Commit Graph

632 Commits

Author SHA1 Message Date
Martin Fietz b970d4fb0e Allow TLSv1 2015-11-17 00:21:47 +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 cdd0d968cf Provide Parcelable.Creator object called CREATOR 2015-11-10 18:32:43 +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 27aab0b0a0 updated strings 2015-11-08 14:13:18 -05:00
Martin Fietz 8de90b7948 AlertDialog -> v7 AlertDialog 2015-11-08 18:05:19 +01:00
Tom Hennen 3b13ff1faa missed a SuppressLint 2015-11-07 15:32:21 -05:00
Tom Hennen 42e6dffc82 also check in register and unregister. make receivers final 2015-11-07 15:28:24 -05:00
Tom Hennen 32e870aeb5 get rid of whitespace. :( 2015-11-07 15:16:37 -05:00
Tom Hennen 72c2a46359 slight code refactoring, also BluetoothA2dp.EXTRA_STATE isn't available until API 11 2015-11-07 15:14:49 -05:00
Tom Hennen d25899d858 make action handling make somewhat more sense 2015-11-07 14:55:38 -05:00
Tom Hennen 87dffd45e1 put ff and rewind buttons on the large notification. refs AntennaPod/AntennaPod#1268 2015-11-07 14:49:07 -05:00
Tom Hennen 694e920902 updated strings 2015-11-07 12:06:21 -05:00
Tom Hennen f027e15e8e Merge pull request #1349 from mfietz/issue/remove_playing
If removing currently playing episode, (pause and) skip the same
2015-11-07 11:59:53 -05:00
Martin Fietz 2197e9b741 If removing currently playing episode, (pause and) skip the same 2015-11-07 17:38:29 +01:00
Tom Hennen baa2d6910d need to close the image cursor 2015-11-07 09:30:20 -05:00
Tom Hennen 0aeb520f14 Merge pull request #1347 from mfietz/recycler_view
RecyclerView & SnackBar
2015-11-07 09:16:24 -05:00
Martin Fietz cbb7d4d14a Prevent leaking the activity 2015-11-06 22:20:14 +01:00
Martin Fietz 32a47d0f65 New drag handle 2015-11-05 23:46:44 +01:00
Martin Fietz 383449e007 Refactor events 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 d2717979be sort favorites by publication date 2015-11-05 16:59:57 -05:00
Tom Hennen 7c278223a4 updated strings, added description and changelog to source control. 2015-11-03 18:56:23 -05:00
Martin Fietz 61ed1e8e34 Prefer iTunes image over everything else 2015-11-03 13:33:26 +01:00
Tom Hennen df11dbfe7a Merge pull request #1327 from mfietz/issue/1229
Sleep timer: Fix sleeping when shake to reset is not enabled
2015-11-01 18:33:41 -05:00
Martin Fietz 08a3106f11 Check for null 2015-11-01 23:24:55 +01:00
Tom Hennen 68e6b2a957 persistent nofication should be the default 2015-11-01 16:19:34 -05:00
Martin Fietz 0049fbec27 External version variables, lombok AST 2015-11-01 17:51:50 +01:00
Martin Fietz b1b1df3cdc Upgrade libraries 2015-11-01 17:13:24 +01:00
Tom Hennen f53b181fe8 Merge pull request #1321 from mfietz/issue/1319-sort-case-insensitive
Drawer: Sort feeds case-insensitive
2015-11-01 10:49:04 -05: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 562ad3b5ed Merge pull request #1315 from mfietz/issue/1314-not-closed
Close TypeGetter InputStreamReader
2015-11-01 10:29:57 -05:00
Martin Fietz 63094436b0 Order feeds case-insensitive 2015-11-01 15:02:49 +01:00
Martin Fietz d56af7e001 Always use application context 2015-11-01 14:39:02 +01:00
Martin Fietz 6c81a9fa91 Don't use ugly callbacks when you have your own reference 2015-11-01 14:39:02 +01:00
Martin Fietz 7152b0e0eb Unused parameter 2015-11-01 14:38:58 +01:00
Martin Fietz 7199daf81a Minor changes 2015-11-01 12:12:51 +01:00
Martin Fietz 1c57e36dcb Fix 2015-11-01 12:12:27 +01:00
Tom Hennen b77ecd9a4e minor string updates 2015-10-31 11:55:07 -04: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 e673e500c3 updated strings 2015-10-31 10:47:00 -04:00
Tom Hennen a2211a131a Merge pull request #1303 from TomHennen/update_translations_2015_10_29
updated strings
2015-10-31 10:16:20 -04:00
Tom Hennen 01af6d4a78 Merge pull request #1306 from mfietz/issue/1304-feed-remover
Feed Remover: Don't let the user cancel the ProgressDialog
2015-10-31 10:12:34 -04:00
Martin Fietz 663c0fd8be Don't let the user cancel the ProgressDialog 2015-10-30 12:25:13 +01:00
Tom Hennen bbd47715ce updated strings 2015-10-29 19:28:13 -04:00
Tom Hennen 3d644c194c updated strings 2015-10-29 17:53:07 -04:00
Tom Hennen e830a0fbfc Merge pull request #1302 from mfietz/issue/1301-out-of-bounds
Fix datetime parsing StringIndexOutOfBoundsException
2015-10-29 17:46:59 -04:00
Tom Hennen ebd6686ca6 Merge pull request #1292 from mfietz/issue/1290-NPE
NPE: ItemFragment Loader.loadInBackground
2015-10-29 17:28:38 -04:00
Martin Fietz 1a6f237258 Just catch everything that could go wrong 2015-10-29 11:01:42 +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
Tom Hennen 29a4e27493 if we're skipping an epsiode and keeping it, don't mark it played.
fixes AntennaPod/AntennaPod#1274
2015-10-23 17:46:38 -04:00
Tom Hennen 289a9c3016 escaped apostrophes that transifex probabaly should have escaped itself but didnt' 2015-10-17 14:21:57 -04:00
Tom Hennen 91ae7427fc updated strings 2015-10-17 14:14:56 -04:00
Martin Fietz ec7bc19351 Update to latest audio player version 2015-10-17 18:46:39 +02:00
Tom Hennen 7c4d11a498 Merge pull request #1267 from mfietz/issue/1264-seekto
Seeking: wait for completion where appropriate
2015-10-17 12:43:32 -04:00
Martin Fietz e4bb88f1f2 If already seeking, wait for current seek to complete 2015-10-17 18:20:20 +02:00
Martin Fietz 860741a7bb Wait for seek completion 2015-10-17 18:17:27 +02:00
Tom Hennen 88050cff9f Merge pull request #1266 from mfietz/issue/1259-protocol-error
Use HTTP/1.1 when new fancy protocols fail
2015-10-17 11:59:14 -04:00
Stefan Mitrik 87d27a7c0b Rewind after pause - used less conservative rewind times 2015-10-17 12:00:46 +02:00
Martin Fietz 75b2dc39c6 Use HTTP/1.1 when new fancy protocols fail 2015-10-16 13:44:02 +02: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 017747d09b Merge pull request #1253 from TomHennen/fix1228
Keep episode media if we're supposed to keep skipped episodes
2015-10-12 17:29:03 -04:00
Tom Hennen 184e6eb836 listening -> finishing 2015-10-08 03:38:13 -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 95cc133e0a Merge pull request #1241 from TomHennen/cleanup_algorithm
Cleanup algorithm updates
2015-10-08 01:52:27 -04:00
Tom Hennen 57b8ced16e Merge pull request #1242 from heckler01/develop
Make Text Readable On Download Notification 

looks good. thanks!
2015-10-08 01:48:48 -04:00
Tom Hennen 1aa1347724 Merge pull request #1246 from mfietz/issue/1244-sort-last-update
Drawer: Sort feeds by publication date
2015-10-05 01:35:47 -04:00
heckler01 db633ce305 Removed notificationCompatBuilder.setColor as it's not necessary and shouldn't have been committed. 2015-10-04 13:37:05 -04:00
Martin Fietz 91cc0b2527 Take feeds with no items into account 2015-10-04 10:28:32 +02:00
Tom Hennen 5c4e5a2916 Merge pull request #1247 from mfietz/issue/1238-opml-formatting
Format exported OPML file
2015-10-04 03:11:08 -04:00
Martin Fietz d3f9b2d49f Indent and add line break to exported OPML file 2015-10-03 21:39:25 +02:00
Martin Fietz 844b54f26d Drawer: Sort feeds by most recent publication date 2015-10-03 18:39:41 +02:00
Martin Fietz d6278e21d4 Additional playback speed steps 2015-10-03 17:47:53 +02:00
heckler01 0376140570 Revert "Revert "Make notification text readable (fixes #1233)""
This reverts commit 4ce407c485.
2015-10-02 18:42:25 -04:00
no.reply 4ce407c485 Revert "Make notification text readable (fixes #1233)"
This reverts commit 40aefe05a6.
2015-10-02 18:25:46 -04:00
Tom Hennen 6f3d748aa0 episode cleanup preferences tests 2015-10-02 16:50:08 -04:00
Tom Hennen af5579a30e fixed use of preferences 2015-10-02 10:25:01 -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 0beeeb4351 resolved bug in how we were choosing the default cleanup parameter 2015-10-02 07:56:34 -04:00
no.reply 40aefe05a6 Make notification text readable (fixes #1233) 2015-09-30 21:03:04 -04:00
Tom Hennen 60e341cf78 resolved compile time issues. refactored some code 2015-09-30 06:33:35 -04:00
Tom Hennen 2339fb99e9 basic implementation of queue remove. some compile bugs still 2015-09-29 20:50:31 -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 d037a8b901 If media player position makes no sense, get position from media 2015-09-27 15:12:13 +02: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 72cf169401 AutoCloseable isn't available on all APIs 2015-09-27 09:08:50 -04: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 b090e2bf65 end playback the right way 2015-09-25 23:59:47 -04:00
Tom Hennen 664944d119 alway follow queue by default 2015-09-25 18:10:49 -04:00
Tom Hennen 754c1f4b37 use cancel button and enable swipe on 5.0+ 2015-09-25 17:56:11 -04:00
Tom Hennen 118285e8a2 using newer appcompat libraries 2015-09-22 19:15:49 -04: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 6d0465ad13 title case 2015-09-20 20:12:39 -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 73a16b4be8 swap feed and episode titles, get rid of time 2015-09-20 19:13:19 -04:00
Tom Hennen 4207950268 add skip episode to playback notification 2015-09-20 19:10:10 -04:00
Tom Hennen c00b5f4033 we can't delegate here 2015-09-20 17:03:52 -04:00
Tom Hennen 3638eed220 we do need to tag the item in addQueueItemAt 2015-09-20 16:33:57 -04:00
Tom Hennen 721bfc064a now removing items from favorites by swiping 2015-09-20 16:31:44 -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
Tom Hennen a89edfcad4 Merge pull request #1212 from mfietz/ext_audioplayers_lib
Alternative to Prestissimo [4.1+] and other annoyances
2015-09-20 14:15:46 -04:00
Martin Fietz 5f77c4de50 Replace some of the most annoying AsyncTasks with RxJava 2015-09-19 20:39:14 +02:00
Martin Fietz a475bf112f Prevent NPE 2015-09-19 20:38:45 +02:00
Martin Fietz 7b23dfeb50 Move audio player classes to external library 2015-09-19 14:20:01 +02:00
Martin Fietz dbdd18523c Allow only alphanumeric and a few other characters in media filenames 2015-09-18 10:58:25 +02:00
Martin Fietz c34a2779bb Change default 2015-09-18 00:52:21 +02:00
Martin Fietz 96132d0da9 NP check in executor run code 2015-09-17 23:18:08 +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
Martin Fietz 75dfc89a44 Refactor database access 2015-09-10 00:58:30 +02:00
Tom Hennen 2c3f7921d2 Merge pull request #1181 from mfietz/buttons_not_uppercase
Button text capitalized, not uppercase
2015-09-09 18:42:17 -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
Martin Fietz 11e70e3293 Adhere to material design guidelines (uppercase button label) on >= 5.0 2015-09-09 23:44:26 +02:00
Tom Hennen 159f1f6dcc changes the action title to Send... 2015-09-09 17:23:53 -04:00
Martin Fietz ea62a37298 Change button text not all caps 2015-09-08 11:39:22 +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 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
Martin Fietz 98a0b46bed Merge pull request #1177 from TomHennen/fix1173_undo
Set episode back to 'New' when undo remove from new episodes.
2015-09-07 21:46:22 +02:00
Tom Hennen 6780980b1c Merge pull request #1172 from TomHennen/fix_new_episodes
Fix new episodes
2015-09-07 14:27:36 -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
Tom Hennen 5814727180 Merge pull request #1148 from mfietz/issue/1146-gears-color
Fix gears color
2015-09-05 13:05:42 -04:00
Tom Hennen e6202c57fc Resolve old episodes being marked as new.
fixes AntennaPod/AntennaPod#1009 (I hope)
2015-09-05 12:52:48 -04:00
Tom Hennen b9c14b385f remove ability to specify mediaIds when autodownloading 2015-09-05 12:25:11 -04:00
Tom Hennen d271ffd7f0 Merge pull request #1021 from katrinleinweber/more-update-intervals
add 3 & 7 day update interval
2015-09-05 12:16:55 -04: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 ba50e44cc4 Merge pull request #1169 from keunes/keunes-patch-2
Update strings.xml
2015-09-05 11:35:54 -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
keunes 37fd0a73ed Update strings.xml 2015-09-05 10:02:50 +02:00
Martin Fietz 59f257a678 Reset playback volume when going to sleep 2015-09-05 01:32:47 +02:00
Tom Hennen 794cf98ffb Merge pull request #1167 from TomHennen/fix_npe_gpodnetsyncservice
fix NPE when action has no timestamp
2015-09-04 18:56:00 -04:00
Martin Fietz 98a6ab144b On sleep timer about to expire, lower volume even more 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 ff85fb9314 Revert "Update strings.xml" 2015-09-04 18:41:49 -04:00
Tom Hennen 7764698991 Merge pull request #1156 from keunes/keunes-update-English-string
Update strings.xml
2015-09-04 18:21:52 -04:00
Tom Hennen 2292b82252 fix NPE when action has no timestamp 2015-09-04 18:08:41 -04:00
Tom Hennen a2e61bee11 Compiling with api 22 with thanks to @mfietz
4ccefe5e84
2015-09-03 17:41:19 -04:00
Tom Hennen e24d4efe10 update api version. build breaks, will need further work 2015-09-01 17:50:06 -04:00