Commit Graph

319 Commits

Author SHA1 Message Date
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 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