Commit Graph

701 Commits

Author SHA1 Message Date
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
Martin Fietz dbf243267e Check that URL is not null or empty 2015-09-01 23:47:39 +02:00
Martin Fietz ff7b5de144 Remove needless leading and trailing spaces in feed or episode title 2015-08-31 11:23:50 +02:00
keunes 355fd4759b Update strings.xml
Update auto_download_apply_to_items_title  #1155
2015-08-31 08:39:03 +02:00
Tom Hennen 041e7bbb08 Merge pull request #1143 from mfietz/issue/1130
Resume playback when bluetooth device is reconnected
2015-08-29 08:21:18 -04:00
Martin Fietz 55cc2a0d2d Resume playback when bluetooth device is reconnected 2015-08-28 23:33:05 +02:00
Martin Fietz 30d06f62d9 Localize option label 2015-08-28 23:07:20 +02:00
Tom Hennen 38db163610 removed unused queuing of new media files. 2015-08-26 17:40:29 -04:00
Tom Hennen 93273748b1 Remove selective downloading of new things and just let auto-download do it's thing.
refs AntennaPod/AntennaPod#1009
2015-08-25 20:03:58 -04:00
Martin Fietz b76675048e POST empty string 2015-08-23 00:04:05 +02:00
Tom Hennen 0a37a839b3 Merge pull request #1114 from TomHennen/fix1101
Can now download things while on mobile.
2015-08-22 09:10:15 -04:00
Tom Hennen 56cc15276f Merge pull request #1090 from mfietz/issue/1089-shownotes-line-breaks
Display line breaks in shownotes correctly
2015-08-20 22:20:52 -04:00
Tom Hennen b8e0db68f6 merged from develop 2015-08-20 22:09:27 -04:00
Tom Hennen 5bd341fd8a Merge pull request #1103 from mfietz/issue/1086
Custom SSL Socket Factory for Android 4.1.x - 4.4x
2015-08-19 21:20:42 -04:00
Tom Hennen 1e1b5ff99b Can now download things while on mobile.
The glide url loader now uses its own OkHttpClient.
The result is that we can now search for podcasts and download them while on mobile
even if the user doesn't allow mobile downloads (NOTE that we don't do anything
they haven't asked us to do while on mobile).

fixes AntennaPod/AntennaPod#1101
2015-08-19 21:03:31 -04:00
Tom Hennen b7ac013b5b Merge pull request #1109 from mfietz/issue/1094v2
Load feed media size on demand
2015-08-18 21:51:08 -04:00
Martin Fietz 3321e8db4f Custom SSL Socket Factory for Android 4.1+ (but below 5) 2015-08-19 00:19:48 +02:00
Tom Hennen 9e39a65e75 Merge pull request #1104 from TomHennen/fix1102
not every action has a timestamp
2015-08-18 16:49:27 -04:00
Martin Fietz 3abce4c597 Load feed media size on demand 2015-08-18 18:24:16 +02:00
Martin Fietz f9130671c0 Read feed counter setting correctly 2015-08-17 21:10:11 +02:00
Tom Hennen bf93cf3259 not every action has a timestamp. fixes AntennaPod/AntennaPod#1102 2015-08-16 19:15:45 -04:00
Martin Fietz 04bfcacb12 Disable feed media file size service 2015-08-16 00:08:39 +02:00
Martin Fietz f8b7008182 Only replace ASCII line breaks if shownotes don't already contain HTML ones 2015-08-15 19:27:47 +02:00
Martin Fietz cf1259e0b3 Display line breaks in shownotes correctly 2015-08-15 15:58:06 +02:00
Tom Hennen 652063b060 updated strings from transifex 2015-08-13 18:34:34 -04:00
Tom Hennen 4832b1aeb2 updated comment 2015-08-08 16:37:14 -04: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 dbaa5a87e5 updated strings from transifex 2015-08-08 08:42:31 -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 c019f2cd3b removed extra quote 2015-08-04 22:41:03 -04:00
Tom Hennen 224832300f only autodownload new items 2015-08-04 22:09:53 -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 008347313f 'feeditem' is the id of the FeedItem
SQL statement previously used 'id' which was actually
the id of the FeedMedia item and not the FeedItem
2015-08-04 21:09:55 -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 1dd5fcdc3b Merge pull request #1054 from TomHennen/fix1053
Fixes pictures disappearing in some cases
2015-08-02 21:11:19 -04:00
Tom Hennen 3174c338bd Should call apply instead of commit since it is asynchronous. 2015-08-02 21:09:52 -04:00
Tom Hennen ca40c6e7ab Merge pull request #1048 from TomHennen/merge1.2.2_to_develop
merged 1.2.2 changes to develop
2015-08-02 21:07:14 -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 a127674238 Merge pull request #1051 from TomHennen/fix1050
we can have both strings and plurals with the same name.
2015-08-02 16:44:43 -04:00
Tom Hennen 6c4afc4711 we can have both strings and plurals with the same name. fixes AntennaPod/AntennaPod#1050 2015-08-02 16:39:04 -04:00
Tom Hennen 744f3d6442 fixed typo 2015-08-02 14:45:22 -04:00
Tom Hennen dfc97dcd62 merged 1.2.2 changes to develop 2015-08-02 14:14:44 -04:00
Tom Hennen ab68619aac Merge pull request #1043 from mfietz/glide
Glide
2015-08-02 13:11:59 -04:00
Martin Fietz 6c82db1675 Remove unused class 2015-08-02 17:51:44 +02:00
Martin Fietz 4165d848d8 Respect the mobile download settings 2015-08-02 17:51:33 +02:00
Martin Fietz 0824af6325 Fix loading the notification image 2015-08-02 17:49:52 +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
Katrin Leinweber fcd6284135 add only 72h, due to 168h criticism 2015-08-01 20:48:12 +02:00
Tom Hennen 83bf67a771 Merge pull request #766 from mfietz/issue/736-episode-cache-too-many-entries
Reorganize episode cache size values
2015-08-01 12:33:29 -04:00
Tom Hennen dd6d07ada1 Merge pull request #1046 from TomHennen/fix935
Remove Flattr this App button
2015-08-01 12:30:49 -04:00
Tom Hennen 2fdcccf9fb Merge pull request #1045 from mfietz/issue/1044
Apply podcast's auto download preference to its episodes
2015-08-01 12:20:50 -04:00
Martin Fietz a3ea16b90c Made dialog better, not to say awesome 2015-08-01 17:53:06 +02:00
Tom Hennen 12093f8627 Merge pull request #1041 from mfietz/issue/1009-disable-auto-download-for-older-items
Retro-actively disable auto download for older episodes
2015-08-01 11:19:57 -04:00
Tom Hennen a9d353ea2b removed unused method 2015-08-01 11:07:46 -04:00
Tom Hennen 8cb5f68dd7 removed unused code. fixes AntennaPod/AntennaPod#935 2015-08-01 10:49:18 -04:00
Tom Hennen d9f8dc53a6 removed flattr this app button 2015-08-01 10:32:49 -04:00
Tom Hennen 979f9f1fd7 Merge pull request #1040 from TomHennen/fix1038
Added Norweign
2015-08-01 09:27:20 -04: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 5f41d422aa Retro-actively disable auto download for episodes that were downloaded, were partially or completely played and are not queued currently 2015-07-29 20:36:27 +02:00
Martin Fietz 66e5c4fdf1 Improve datetime parser 2015-07-29 19:25:44 +02:00
Martin Fietz af2ded8fe0 Replace Picasso with Glide 2015-07-29 18:29:55 +02:00
Tom Hennen d13885944a Added Norweign
Also updated some other strings.

fixes AntennaPod/AntennaPod#1038
2015-07-28 17:52:38 -04:00
Tom Hennen 8721dab1bc Merge pull request #1037 from TomHennen/fix905
share titles with the URL. fixes AntennaPod/AntennaPod#905
2015-07-28 17:45:38 -04: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 b0c464d6ba share titles with the URL. fixes AntennaPod/AntennaPod#905 2015-07-27 19:46:29 -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 71a7f09d41 prevent multiple refreshes due to time of day alarm 2015-07-26 15:36:25 -04:00
Katrin Leinweber 36eb938aa3 remove 8h auto-update interval 2015-07-22 09:25:08 +02: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 0dbdbdd1ed renamed checkedonSize 2015-07-20 19:55:17 -04:00
Tom Hennen 36626bbdb9 fix setting of size so it doesn't override everything we just did 2015-07-20 17:59:32 -04:00
Tom Hennen 9fb4b790f3 * DB qeury only returns items with size <= 0
* We only check for size if download is allowed (maybe we don't need to do this)
* If we check using the network and fail we don't check again
* removed an unneeded conn.disconnect() (it's handled in the 'finally' block)

fixes AntennaPod/AntennaPod#1026
2015-07-20 17:58:12 -04:00
Martin Fietz 76393e1e7c Info text has smaller font, conversion moved utility class 2015-07-19 10:35:28 +02:00
Katrin Leinweber bbb72e7047 add 3 & 7 day update interval 2015-07-19 10:32:14 +02: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 65611129e1 Use local file size if episode is downloaded 2015-07-12 21:18:34 +02:00
Tom Hennen 7426eedcfe Merge pull request #999 from TomHennen/fixtimeofdayupdate
Setting updates for a specific time of day didn't work on newer devices.
2015-07-12 14:45:16 -04:00
Martin Fietz 5608d228be Close URL connection 2015-07-09 10:22:05 +02:00
Martin Fietz be1fde6f8e Post FeedMedia event 2015-07-09 10:22:05 +02:00
Martin Fietz 23a3e7c766 Check network for every media file, manually check suspiciously low file sizes 2015-07-09 10:22:05 +02: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 cbbed8933e Fix DB to version 18 2015-07-09 01:50:27 +03: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 48bfdaa2b3 Spinner items now taken from the string resources and can be localized.
Also fixed the TextView Hebrew string (break into 2 lines).
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 0314d0f95d setRepeating is setInexactRepeating on API 19+,
that means we can go as long as interval*2 before updates.
Switched to use 'set()' instead to get behavior that matches what users expect.
2015-07-07 19:51:48 -04: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 9cae7c5bfb Small fixes. 2015-07-05 15:28:30 +02:00
Martin Fietz a9de7631fd Fix button moving and icon being cut 2015-07-04 17:33:35 +02:00
Martin Fietz bcff6277f2 Tell Queue fragment to refresh 2015-07-04 15:38:16 +02:00
Martin Fietz 6427a40da2 Fix tests 2015-07-02 20:21:53 +02:00
Martin Fietz 8538f7b9f2 Fix DB problem 2015-07-02 18:50:10 +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
Martin Fietz c7256d8152 Fix enqueueing order, prevent NPEs 2015-06-28 21:57:12 +02:00
Tom Hennen 23e1594165 need to handle cases where the download service is gone 2015-06-27 17:05:19 -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 5d553394ba Merge pull request #973 from TomHennen/fix972
Guard use of 'media'
2015-06-27 17:02:21 +02:00
Tom Hennen 8399da878f Guard use of 'media'
It can be null in this class, so we should make sure it isn't accessed if it is.

fixes AntennaPod/AntennaPod#972
2015-06-27 10:05:33 -04:00
Tom Hennen d4fb1b0968 Return a copy of the downloads.
This should prevent any IndexOutOfBounds errors

fixes AntennaPod/AntennaPod#968
2015-06-27 09:25:24 -04:00
Tom Hennen e332df4af5 Merge pull request #957 from mfietz/issue/798-update-time
Set interval or time of day for automatic updates
2015-06-27 08:24:01 -04:00
Tom Hennen ddf34dccf3 Merge pull request #962 from corecode/gpoddernet-episode-action-crash
gpoddernet: do not crash on unknown remote actions
2015-06-25 19:13:59 -04:00
Tom Hennen 17814004b5 Merge pull request #953 from mfietz/issue/946-cache-simpledateformat
Cache DateTime parser
2015-06-25 19:02:13 -04:00
Tom Hennen 767c025c6b Merge pull request #943 from TomHennen/fix942
Only call getPSMPInfo if you need both the status and the playable.
2015-06-25 18:56:20 -04:00
Tom Hennen e8c4d59efb Merge pull request #937 from TomHennen/fix936_delete
set autodownload == false once an item is downloaded
2015-06-25 18:55:55 -04:00
Tom Hennen e3fe7e3fed Merge pull request #950 from TomHennen/fix947
Return NULL instead of result when unable to load bitmap.
2015-06-25 18:55:28 -04:00
Simon Schubert e3d0f8fbe5 gpoddernet: do not crash on unknown remote actions
According to [1] and my own episode actions feed, "action":"flattr" is a
valid action.  Future-proof the episode actions code by ignoring actions
that we don't know and care about.

This fixes the

    java.lang.IllegalArgumentException: FLATTR is not a constant

exception when fetching the episode actions list.

[1]: https://gpoddernet.readthedocs.org/en/latest/api/reference/events.html
2015-06-25 11:54:11 +02:00
Martin Fietz 717a6a645e Set update interval or time of day 2015-06-24 17:43:50 +02:00
Martin Fietz bf3ef27b38 Cache DateTime parser 2015-06-24 11:53:10 +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
Tom Hennen f2dd49d533 Return NULL instead of result when unable to load bitmap.
There are still cases where 'bitmap' could be null.
We shouldn't return a result when that's the case.

Returnning null appears to be supported by Picasso.
(see Picasso.NetworkRequestHandler)

Fixes AntennaPod/AntennaPod#947
2015-06-23 20:05:12 -04:00
Martin Fietz 33778e30ac Don't cache shared preferences anymore. Some refactoring. 2015-06-23 10:19:02 +02:00
Tom Hennen c2ca3e1bbd Only call getPSMPInfo if you need both the status and the playable.
Fixes AntennaPod/AntennaPod#942
2015-06-22 20:06:28 -04:00
Tom Hennen 20ab6ec260 set autodownload == false once an item is downloaded 2015-06-21 18:22:17 -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
Martin Fietz c452d311e2 Store information if media has an embedded picture in the database 2015-06-21 19:40:36 +02:00
Tom Hennen 1a46097918 Merge pull request #931 from mfietz/issue/928
Fixes Queue transition from playing local to streaming
2015-06-21 13:29:56 -04:00
Tom Hennen f13e2ed20d Merge pull request #930 from mfietz/issue/929-incorrect-date
Fix datetime parsing (seconds absent)
2015-06-21 12:32:23 -04:00
Martin Fietz 978eadbc16 Fixes Queue transition from playing local to streaming 2015-06-21 16:28:29 +02:00
Martin Fietz 80c719d432 Fix datetime parsing (seconds absent) 2015-06-21 15:43:14 +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
Martin Fietz 1684358dad Disable embedded images 2015-06-20 15:57:54 +02:00
Tom Hennen 0e68ef5b2a Merge pull request #907 from TomHennen/fix884
Attempt to fix AntennaPod/AntennaPod#884 by removing StringUtils.join
2015-06-19 23:46:36 -04:00
Tom Hennen 3d411388e6 remove log message 2015-06-19 23:28:33 -04:00
Tom Hennen aa789fa51d Have to set the fallback URL 2015-06-19 17:24:07 -04:00
Tom Hennen bdf77a34f4 Merge branch 'develop' into fix891 2015-06-19 17:07:31 -04:00
Tom Hennen 9e71e76eda Attempt to fix AntennaPod/AntennaPod#884 by removing StringUtils.join 2015-06-19 16:33:06 -04:00
Tom Hennen 0eab73d85b Merge pull request #896 from mfietz/fix/slow_list_loading
Fixes slow loading times.
2015-06-19 16:29:01 -04:00
Martin Fietz f8fb13e955 Fixes slow loading times. 2015-06-19 21:35:28 +02:00
Tom Hennen 3945fb2fd9 Fallback for picasso even if we think it's impossible.
Fixes AntennaPod/AntennaPod#891
2015-06-18 18:29:58 -04:00
Martin Fietz ce6cd1a353 Don't propose to open malformed URLs 2015-06-19 00:26:18 +02:00
Tom Hennen f29413f3b3 fix for NullPointerException in bitmap configs. Fixes AntennaPod/AntennaPod#887 2015-06-17 21:27:31 -04:00
Tom Hennen 46c97da53a updating pt strings 2015-06-10 17:03:11 -04:00
Tom Hennen 59861a07e2 Merge pull request #863 from TomHennen/close_cursor
now closing a lot of cursors that were otherwise staying open
2015-06-07 17:44:09 -04:00
Tom Hennen abf4df6491 updated italian strings 2015-06-06 14:15:57 -04:00
Tom Hennen 7f10d2be7c now closing a lot of cursors that were otherwise staying open 2015-06-06 13:30:20 -04:00
Tom Hennen 2d4705461c Merge pull request #857 from mfietz/issue/854-gzip-not-exhausted
Fixes "gzip finished without exhausting source" error
2015-06-04 21:19:13 -04:00
Martin Fietz dbf46dfcd8 Fix tests 2015-06-04 09:40:27 +02: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 fbff9a90b1 latest update from transifex 2015-06-03 20:06:56 -04:00
Martin Fietz 6a83057e28 Fixes "gzip finished without exhausting source" error 2015-06-03 11:41:25 +02:00
Tom Hennen 813cf2fc4e merged changes to translation files fixing prior tx pull mess up 2015-06-02 19:45:44 -04:00
Tom Hennen 451323dfcd restored translations that got messed up with transifex pull 2015-06-02 19:33:13 -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
Martin Fietz bb3f7255a9 Fix typo. 2015-06-02 16:20:45 +02:00
Tom Hennen 72067b64fc updated strings, bumped build number 2015-06-01 18:04:32 -04:00
Tom Hennen bd4b7e2f64 updated strings 2015-05-28 17:46:33 -04:00
Tom Hennen 79ab68d563 Merge pull request #844 from mfietz/issue/839-auto-download-queued
Allow auto downloading of queued but played episodes
2015-05-28 17:34:19 -04:00
Martin Fietz ef518f3ec0 Handle failed refresh correctly, fix for nav drawer layout 2015-05-28 22:42:08 +02:00
Martin Fietz fb9349ead0 Queued episodes that are played can now be auto downloaded 2015-05-28 11:57:07 +02:00
Martin Fietz 1bf803a6b2 Remove cancel, adjust strings 2015-05-28 11:41:36 +02:00
Tom Hennen 53bf17ada8 reverting to tryLock for getPosition. Fixes AntennaPod/AntennaPod#829 2015-05-25 20:50:51 -04:00
Tom Hennen c856e48382 Revert "LoudnessEnhancer for Android 4.4+" 2015-05-21 19:08:09 -04:00
Tom Hennen b47e4a730b Merge pull request #726 from mfietz/feature/loudness-enhancer
LoudnessEnhancer for Android 4.4+
2015-05-21 18:51:15 -04:00
Martin Fietz 25cbb00b36 Fix tests, test runner for core tests 2015-05-20 11:06:45 +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 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 f5812fe894 Some working, some not 2015-05-14 11:29:58 +02:00
Martin Fietz ed76fffc30 Improve patterns
Hyphen can be used as a separator between day, month and date, but also
to indicate a negative time zone.
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
Martin Fietz 69303a5915 Fix NPE and hide progress bar without media 2015-05-13 10:29:52 +02:00
Martin Fietz 108daed5a9 Sync actions regularly, local subscriptions changes overwrite remote ones 2015-05-12 17:43:34 +02:00
Martin Fietz 1d25137edd Refactor 2015-05-12 17:42:41 +02:00
Tom Hennen 236757e803 Merge branch 'master' into merge_1.1.2
resolves AntennaPod/AntennaPod#805
2015-05-10 13:33:33 -04:00
Martin Fietz 9ec0d735c8 Add feed item filter 2015-05-10 10:50:22 +02:00
Tom Hennen 2cfd15fe88 Merge pull request #791 from mfietz/issue/760-cancel-download
Cancel Auto Downloads
2015-05-08 18:49:49 -04:00
Martin Fietz 94569cf995 CANCELLED 2015-05-09 00:46:02 +02:00
Tom Hennen 69c9608df2 Merge pull request #792 from alexte/develop
Episodes with a PlaybackCompletionDate should be delete before those without.
2015-05-08 18:16:05 -04:00
Martin Fietz c8259daaee Cancel auto download 2015-05-09 00:03:41 +02:00
Martin Fietz d715cece62 Fix gpodder certificate validation 2015-05-08 23:46:39 +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
Alexander Terczka c3a67ed881 Episodes that are not played yet "getPlaybackCompletionDate()==null) should be sorted in as now and not 1.1.1970
When sorted in as "now", these episodes are delete later in auto cleanup mode, than played once.
2015-05-06 13:06:56 +02:00
Martin Fietz 615723bc98 Fix typo 2015-05-03 23:22:32 +02:00
Martin Fietz a766977e6d Check if items are already in the queue 2015-05-03 21:19:20 +02:00
Tom Hennen 1725966bc4 fix typos 2015-05-03 15:19:08 -04: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
Martin Fietz fd7cdd3c71 Show confirmation dialog when downloading over mobile data connection is disabled 2015-05-03 18:58:48 +02:00
Martin Fietz f8bb78d436 Refactoring 2015-05-03 18:57:19 +02:00
Martin Fietz 103fb635d1 Add ActionBar icon to enable/disable list drag (reorder, swipe) 2015-05-02 21:10:14 +02:00
Martin Fietz c4e2161ad6 Generate lock open and lock closed icons 2015-05-02 19:54:43 +02:00
Tom Hennen 90afaeb0be unregister recivers 2015-05-02 09:47:15 -04:00
Tom Hennen 1bd6bf76f6 Merge pull request #780 from mfietz/download_report
Download Report
2015-05-02 08:26:04 -04:00
Tom Hennen 252f80de78 Merge pull request #777 from mfietz/feature/download-log-retry
Retry failed downloads in the download log
2015-05-02 08:25:18 -04:00
Martin Fietz fd49d491b7 Changed download report icon, ticker and content title 2015-04-29 13:49:08 +02:00
Martin Fietz 21ca881572 Change icon for failed download(s) report 2015-04-29 13:28:56 +02:00
Martin Fietz 8050372ba0 Add ability to retry failed downloads in the download log 2015-04-28 17:10:06 +02:00
Tom Hennen 6830549875 Merge pull request #728 from mfietz/issues/627+727
Add feed: remember credentials, Basic authentication: try UTF-8 encoding
2015-04-27 17:54:28 -04:00
Tom Hennen f35ac3e9e3 Fixes bug with undo toast.
After adding EventBus whenever you move an episode or attempt to swip to remove
(but don't actually remove) the undo toast for removing an episode would be
displayed.  This is now resolved.
2015-04-26 16:57:19 -04:00
Martin Fietz 5fe65f470e Reorganize episode cache size values 2015-04-22 12:18:54 +02:00
Martin Fietz b253289b1f Merge pull request #759 from mfietz/nav_drawer_preferences
Nav Drawer Preferences
2015-04-22 09:53:48 +02:00
Martin Fietz 7829ddc94e Show URL in feed info, layout optimizations 2015-04-21 17:34:02 +02:00
Martin Fietz 4aa68e74e0 Bux fixes, tests 2015-04-18 22:12:40 +02:00
Martin Fietz fc124a5f1a Adjust size of all episode icon 2015-04-18 22:12:40 +02:00
Martin Fietz ded0006913 Add longclick Drawer Preference dialog 2015-04-18 22:12:39 +02:00
Martin Fietz ea628037ca Minor changes 2015-04-18 22:12:39 +02:00
Martin Fietz 158821c0e1 Preference: Change nav drawer
Preference
2015-04-18 22:12:39 +02:00
Martin Fietz 85ace6fb01 Layout changes and optimizations 2015-04-18 22:12:39 +02:00
Martin Fietz 512ce6ad51 Small fix 2015-04-18 16:16:45 +02:00
Martin Fietz 1bb1f0990f Prepare merge. 2015-04-18 12:44:43 +02:00
Tom Hennen 4e9597a950 now actually using the date to figure out what is omst recent rather than just assuming it's the first 2015-04-16 20:17:09 -04:00
Tom Hennen 0420bf47f4 the most recent episode in new feeds is marked unplayed 2015-04-16 20:09:11 -04:00
Tom Hennen 00e37ab582 gpodder now properly sets the initial data for feeds 2015-04-12 15:12:56 -04:00
Tom Hennen 06fff4bb16 update strings for release 1.1 closes AntennaPod/AntennaPod#708 2015-04-12 15:03:08 -04:00
Martin Fietz 15d09932da Coherent item cover order 2015-04-12 13:44:00 +02:00
Martin Fietz e5c03079b6 Another fix... 2015-04-12 01:40:09 +02:00
Martin Fietz 9bd6bcf9d3 Picasso can handle basic authentication 2015-04-11 23:46:33 +02:00
Martin Fietz a34acb71d1 Add feed: remember credentials after selecting feed, try UTF-8 for HTTP basic authentication 2015-04-11 11:21:16 +02:00
Martin Fietz 07ce9579fb Refactoring 2015-04-11 11:12:33 +02:00
Martin Fietz cf7738effe LoudnessEnhancer for Android 4.4+ 2015-04-10 20:37:18 +02:00
Martin Fietz 78a5700ded Some additional logging 2015-04-10 14:30:42 +02:00