1826 Commits

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