Commit Graph

340 Commits

Author SHA1 Message Date
Tom Hennen 3174c338bd Should call apply instead of commit since it is asynchronous. 2015-08-02 21:09:52 -04:00
Tom Hennen dbaae4aa69 Fixes pictures disappearing in some cases
* Default value for the image cache size should be > 0
* If the image cache size is too small we force it back to default
* We should only have once instance of the HTTP client

fixes AntennaPod/AntennaPod/#1053
2015-08-02 18:22:38 -04:00
Tom Hennen a127674238 Merge pull request #1051 from TomHennen/fix1050
we can have both strings and plurals with the same name.
2015-08-02 16:44:43 -04:00
Tom Hennen 6c4afc4711 we can have both strings and plurals with the same name. fixes AntennaPod/AntennaPod#1050 2015-08-02 16:39:04 -04:00
Tom Hennen 744f3d6442 fixed typo 2015-08-02 14:45:22 -04:00
Tom Hennen ab68619aac Merge pull request #1043 from mfietz/glide
Glide
2015-08-02 13:11:59 -04:00
Martin Fietz 6c82db1675 Remove unused class 2015-08-02 17:51:44 +02:00
Martin Fietz 4165d848d8 Respect the mobile download settings 2015-08-02 17:51:33 +02:00
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
Tom Hennen 83bf67a771 Merge pull request #766 from mfietz/issue/736-episode-cache-too-many-entries
Reorganize episode cache size values
2015-08-01 12:33:29 -04:00
Tom Hennen dd6d07ada1 Merge pull request #1046 from TomHennen/fix935
Remove Flattr this App button
2015-08-01 12:30:49 -04:00
Tom Hennen 2fdcccf9fb Merge pull request #1045 from mfietz/issue/1044
Apply podcast's auto download preference to its episodes
2015-08-01 12:20:50 -04:00
Martin Fietz a3ea16b90c Made dialog better, not to say awesome 2015-08-01 17:53:06 +02:00
Tom Hennen 12093f8627 Merge pull request #1041 from mfietz/issue/1009-disable-auto-download-for-older-items
Retro-actively disable auto download for older episodes
2015-08-01 11:19:57 -04:00
Tom Hennen a9d353ea2b removed unused method 2015-08-01 11:07:46 -04:00
Tom Hennen 8cb5f68dd7 removed unused code. fixes AntennaPod/AntennaPod#935 2015-08-01 10:49:18 -04:00
Tom Hennen d9f8dc53a6 removed flattr this app button 2015-08-01 10:32:49 -04:00
Tom Hennen 979f9f1fd7 Merge pull request #1040 from TomHennen/fix1038
Added Norweign
2015-08-01 09:27:20 -04:00
Martin Fietz cf519ca0aa Dialog when podcast's auto download preference is changed
When the user changes a podcast's auto download setting, ask if this
new setting should be applied to the podcast's episodes
2015-08-01 12:26:33 +02:00
Martin Fietz 4f7566ddfc Improved blurring 2015-07-31 21:08:28 +02:00
Martin Fietz 5f41d422aa Retro-actively disable auto download for episodes that were downloaded, were partially or completely played and are not queued currently 2015-07-29 20:36:27 +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 d13885944a Added Norweign
Also updated some other strings.

fixes AntennaPod/AntennaPod#1038
2015-07-28 17:52:38 -04: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