Commit Graph

377 Commits

Author SHA1 Message Date
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 d45b7c7b6d * fix ConcurrentModificationException in Gpodder
* removed 'About' tests (they take too long)
2015-07-28 17:26:02 -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
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