Commit Graph

377 Commits

Author SHA1 Message Date
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
Martin Fietz fd30ec8189 Set fast forward and rewind time 2015-04-10 11:10:25 +02:00
Martin Fietz 76b6ae654b Refactorings 2015-04-10 11:05:04 +02:00
Tom Hennen b44e0dde58 Merge pull request #706 from mfietz/feature/gpodder_episode_actions
Sync episode actions with gpodder, smart mark as played.
2015-04-09 19:34:23 -04:00
Tom Hennen 947657a6c9 updated translateions #708 2015-04-07 18:55:53 -04:00
Martin Fietz 0b4b328324 EventBus license, fixed NPE with undobar onHide(), no smarking on closing of audio player activity 2015-04-06 00:26:08 +02:00
Martin Fietz e8a4bd7c11 ProGuard config, small fix 2015-04-05 23:45:28 +02:00
Tom Hennen f8ffc2a146 merged in changes that occured on master 2015-04-05 16:41:11 -04:00
Martin Fietz 8850c09920 QueueEvents, Queue shows undobar on removal of an item 2015-04-05 22:37:35 +02:00
Martin Fietz b2a50983ef smart mark as played: media player activity, player widget, when media is changed 2015-04-05 22:12:29 +02:00
Martin Fietz fbf1d8373c Minor changes: Log, import order, small refactorings 2015-04-05 22:12:29 +02:00
Martin Fietz 3d19b939b1 Dismiss remote play actions if queued play actions for that episode are more recent 2015-04-05 22:11:19 +02:00
Martin Fietz 67cc7c9885 Sync episode actions with gpodder, smart mark as played
* Create episode actions when episodes are downloaded, played, deleted and marked as read
* Sync (download and upload) episode actions
* MediaPlayerActivity deletes almost completely played episode on close
* Improved parsing of datetime strings
* Smart mark as played can be disabled or set in the preferences
2015-04-05 22:11:19 +02:00
Tom Hennen 1fb8b64b34 Merge pull request #709 from TomHennen/swipe_to_mark_as_read
Swipe to mark as read
2015-04-05 13:47:13 -04:00
Tom Hennen 13012a2c41 Merge pull request #693 from volhol/develop
Addresses #669 and #664: play buttons in the lists
2015-04-03 12:24:04 -04:00
Tom Hennen c277166f77 Can now undo swipe to mark as read.
Behavior isn't ideal when the user is displaying all the items in their feed.
(you can swipe new and read items and they don't go away (obviously)).
2015-04-03 10:47:01 -04:00
volhol 42e118626e Direct play from the lists
subsequent play of the next feed item from the queue now works
2015-04-02 19:54:04 +02:00
volhol 247ef778aa Direct play from the the lists
position in media item is now updated
2015-04-01 12:47:35 +02:00
volhol 71db0368c4 Direct play from the the lists
Pause/play buttons work; position in media item not always updated yet
2015-03-31 01:33:04 +02:00
Martin Fietz 680c9db075 "Add feed" facelift, OPML import with better explanations and usage of external apps 2015-03-30 13:10:48 +02:00
Tom Hennen 94fee9a5e8 Merge pull request #698 from mfietz/issue/queue-cannot-slopen-nav-drawer
Fix for un-slidable queue navigation drawer
2015-03-29 12:07:54 -04:00
Tom Hennen b612a557ea Merge pull request #697 from mfietz/feature/downloader-if-modified-since
Downloader use If-Modified-Since HTTP header (Take 2)
2015-03-29 11:39:25 -04:00
Martin Fietz a5a149df6f Drawer slide fixed, drag handle is now 9 patch PNG 2015-03-27 22:46:16 +01:00
Martin Fietz 1020c04b9e Merge branch 'revert-revert-681-feature/downloader-if-modified-since' into feature/downloader-if-modified-since 2015-03-27 21:23:25 +01:00
Martin Fietz dc2f2b5828 Revert 95b0393a62 and fix conflicts. 2015-03-27 21:23:04 +01:00