Commit Graph

2183 Commits

Author SHA1 Message Date
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
Tom Hennen
1f0a6a14bb Merge pull request #995 from mfietz/issue/991
Fix button moving and icon being cut
2015-07-06 19:50:10 -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
Tom Hennen
acd62a799d Merge pull request #982 from TomHennen/fix979
Don't assume the activity is non-null within the callback.
2015-06-28 16:25:56 -04:00
Tom Hennen
fdf1ca44b8 Don't assume the activity is non-null within the callback.
Fixes AntennaPod/AntennaPod#979
2015-06-28 16:07:00 -04:00
Tom Hennen
a78ef0940d Merge pull request #981 from TomHennen/build60
build 60 for alpha testing
2015-06-28 16:05:57 -04:00
Tom Hennen
2db4433bca build 60 for alpha testing 2015-06-28 16:05:15 -04:00
Martin Fietz
c7256d8152 Fix enqueueing order, prevent NPEs 2015-06-28 21:57:12 +02:00
Tom Hennen
f70e395266 Merge pull request #976 from TomHennen/fix968_2
Must send download list when content changes
2015-06-27 18:32:06 -04:00
Tom Hennen
23f666a24d Merge pull request #977 from TomHennen/fix964
Don't send Gpodder actions for items that don't have media.

fixes #968
2015-06-27 18:24:48 -04:00
Tom Hennen
51e3f55561 Don't send Gpodder actions for items that don't have media.
Fixes AntennaPod/AntennaPod#964
2015-06-27 18:09:51 -04: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
Martin Fietz
b0a0b6ab2f Merge pull request #971 from TomHennen/fix970
Make sure controller isn't null
2015-06-27 17:02:09 +02:00
Martin Fietz
807d4eb512 Merge pull request #969 from TomHennen/fix968
Return a copy of the downloads.
2015-06-27 17:01:44 +02:00
Martin Fietz
18218b0440 Merge pull request #967 from TomHennen/fix895
fixes AntennaPod/AntennaPod#895
2015-06-27 17:01:12 +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
21976aca14 Make sure controller isn't null
fixes AntennaPod/AntennaPod#970
2015-06-27 09:54:06 -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
05ce266043 fixes AntennaPod/AntennaPod#895 2015-06-27 09:01:46 -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
Martin Fietz
8f75777b41 Fixed tests. 2015-06-26 03:06:42 +02: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
Tom Hennen
91a8cab9ea Merge pull request #941 from mfietz/issue/940-user-preferences
Stop UserPreference caching
2015-06-25 18:19:35 -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
5e8c75a1da Merge pull request #934 from TomHennen/fix_testPauseForInterruptions
Fix testPauseForInterruptions
2015-06-22 20:07:11 -04: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