Commit Graph

319 Commits

Author SHA1 Message Date
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
Martin Fietz 4f7566ddfc Improved blurring 2015-07-31 21:08:28 +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 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 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
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
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