Commit Graph

484 Commits

Author SHA1 Message Date
Tom Hennen 34b572545e Protect use of menuInfo:
fixes AntennaPod/AntennaPod#1128
2015-08-24 20:39:01 -04:00
Tom Hennen d02931e0c4 Properly check if we should show links share items.
Don't case the playable until we know it's actually a FeedMedia.

Fixes AntennaPod/AntennaPod#1111
2015-08-23 17:59:10 -04:00
Tom Hennen 0811dec203 1.3.2 RC2 2015-08-23 14:32:47 -04:00
Tom Hennen ad4ba33625 1.3.2 RC1 2015-08-22 11:41:58 -04:00
Tom Hennen 03fc6c0a6b version 1.3.2 rc1 2015-08-22 11:37:02 -04:00
Tom Hennen 2af0f7ef7c Fixed invoke warning
Added dontwarn for invoke warning that is 'OK' since we're using
retrolamba.

fixes AntennaPod/AntennaPod#1117
2015-08-22 11:31:41 -04:00
Tom Hennen 275b1e3f68 get rid of ProGuard 'unsafe' warning 2015-08-22 09:52:09 -04:00
Martin Fietz 3321e8db4f Custom SSL Socket Factory for Android 4.1+ (but below 5) 2015-08-19 00:19:48 +02:00
Martin Fietz a7acfc484c FeedMediaSizeService done right 2015-08-19 00:16:56 +02:00
Martin Fietz 771b8b4154 Add RxAndroid license, sort licenses alphabetically, refactor 2015-08-19 00:14:32 +02:00
Martin Fietz 3abce4c597 Load feed media size on demand 2015-08-18 18:24:16 +02:00
Tom Hennen fd2633e42f Merge pull request #1098 from AntennaPod/version_1.3
Version 1.3 merging back in to develop so we're all on the same page.
2015-08-15 18:43:19 -04:00
Tom Hennen 1d6672aa64 now added the .1 2015-08-15 18:19:30 -04:00
Tom Hennen 629fee4c78 version 1.3.1 2015-08-15 18:12:56 -04:00
Martin Fietz 04bfcacb12 Disable feed media file size service 2015-08-16 00:08:39 +02:00
Martin Fietz 3148b8835b Make res.getQuantityString replace placeholder with value 2015-08-15 16:28:40 -04:00
Tom Hennen 0b7331b6b5 Merge pull request #1093 from mfietz/hotfix/1055
Fix smark values
2015-08-15 16:25:15 -04:00
Martin Fietz 5f175c6e1f Make res.getQuantityString replace placeholder with value 2015-08-15 21:16:51 +02:00
Tom Hennen 269d54d465 Merge pull request #1076 from waylife/develop
fix issue #1073. crash on oneplus two(Android 5.1.1, Oxygen 2.0.0).
2015-08-15 14:58:28 -04:00
Tom Hennen 9cc4f0295a updated version code for probable release 2015-08-13 18:35:41 -04:00
Martin Fietz d17c884112 Encode non-ascii query strings for the iTunes search 2015-08-12 00:10:17 +02:00
WangYun 2cd6a54631 fix issue #1073. crash on oneplus two(Android 5.1.1, Oxygen 2.0.0). 2015-08-11 00:04:59 +08:00
Tom Hennen d252544d2f Cache all images (should reduce lag displaying lists of episodes)
Cache strategy is now set in ApGlideSettings and referenced everywhere else from there.
2015-08-08 14:22:09 -04:00
Tom Hennen 57fde20d71 Merge pull request #1066 from TomHennen/resolve_race_condition
create PreferenceController before the main fragment
2015-08-08 13:29:15 -04:00
Tom Hennen 67f641bded use correct string for action 2015-08-08 13:05:05 -04:00
Tom Hennen c5357d0758 create PreferenceController before the main fragment 2015-08-05 21:43:38 -04:00
Tom Hennen f13615d46a Merge pull request #1062 from TomHennen/autodl_updates
Only autodownload queued and new items
2015-08-05 18:44:47 -04:00
Tom Hennen c7d2975039 Merge pull request #1039 from TomHennen/fix_concurrentmodexception
Fix locking in GpodnetPreferences
2015-08-05 18:44:03 -04:00
Tom Hennen 0e5d9e0e6e remove logging statement not needed 2015-08-05 18:41:49 -04:00
Tom Hennen d1972ad0e6 resolves NPE in QueueListAdapter 2015-08-05 18:06:27 -04:00
Tom Hennen db20064e8f Feeds can be null in ItemListFragment 2015-08-04 22:03:14 -04:00
Tom Hennen fe6796f102 Updated version code for RC5
Also updated the oldVersion used by the UPDATE FeedItems sql statement.
We don't want to run the 1030002 version ever, and the 1030005 version
should fix any users that used the 1030002 version (with the possibility
that some items that shouldn't have had auto_download set to 0 did have
it set to 0, but accepting that that's not a terrible problem).
2015-08-04 21:25:25 -04:00
Tom Hennen 86f4d244d8 Merge pull request #1055 from TomHennen/fix_time_string_names
Changed string names relating to time units.
2015-08-02 21:11:47 -04:00
Tom Hennen f799ad5ed5 Changed string names relating to time units.
Android can handle plurals and strings having the same names, but
Transifex can't.  Renamed the time_unit*'s to just time_ to make sure
we got the correct translations.
2015-08-02 18:27:36 -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 da227aa44d RC4 2015-08-02 16:45:27 -04:00
Tom Hennen e6ce12d61b prepping for build 1.3.0.3 2015-08-02 13:12:57 -04:00
Tom Hennen ab68619aac Merge pull request #1043 from mfietz/glide
Glide
2015-08-02 13:11:59 -04:00
Martin Fietz 5f0ddbc15d Prevent NPE b/c of race condition 2015-08-02 18:24:32 +02:00
Martin Fietz 5f1c78b4f4 Replace custom image loading with Glide 2015-08-02 17:51:57 +02:00
Martin Fietz 2bc1183e45 Try loading the episode cover first; if that fails, try to load the podcast's cover 2015-08-02 17:50:51 +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 dd6d07ada1 Merge pull request #1046 from TomHennen/fix935
Remove Flattr this App button
2015-08-01 12:30:49 -04:00
Martin Fietz a3ea16b90c Made dialog better, not to say awesome 2015-08-01 17:53:06 +02:00
Tom Hennen d9f8dc53a6 removed flattr this app button 2015-08-01 10:32:49 -04:00
Martin Fietz 759a7bb5ac Documentation for update manager. 2015-08-01 16:05:25 +02: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 af2ded8fe0 Replace Picasso with Glide 2015-07-29 18:29:55 +02: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 c2beb98ae8 fixed test that was broken in prior PR (wasn't getting the right button for adding a feed) 2015-07-26 21:20:25 -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 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 1ee22ef91f Merge pull request #1013 from TomHennen/minor_search_updates
Make itunes search more prominent and fix squashed griview
2015-07-20 19:51:55 -04:00
Tom Hennen 89dac34ccd bump version number 2015-07-20 17:59:32 -04:00
Martin Fietz 4e8f9a13aa Don't show version code, commit is short hash only (no tag) 2015-07-20 11:35:26 +02:00
Martin Fietz c38759ac0d Create and explain version code schema. 2015-07-20 11:22:14 +02:00
Martin Fietz 76393e1e7c Info text has smaller font, conversion moved utility class 2015-07-19 10:35:28 +02:00
Martin Fietz 35dcabd103 Minor improvements 2015-07-19 02:07:50 +02:00
Martin Fietz c779e78ee8 Queue has status bar that shows number of episodes and total duration 2015-07-19 00:59:45 +02:00
Tom Hennen 87064277c1 update to build 61 2015-07-13 21:32:22 -04:00
Tom Hennen fd836fd0c1 Make itunes search more prominent and fix squashed griview
The GridView on large devices (Nexus 6 for example) was showing
iTunes and gpodder results in two columns, which was cutting off
valuable information. I simply double the default size of the grid
columns on the theory that on a tablet someone may still want multiple
columns and that 400dp was wide enough to show the needed detail.

fixes AntennaPod/AntennaPod#1012
2015-07-13 20:13:27 -04:00
Tom Hennen 626bd2b0cb Merge pull request #1006 from mfietz/issue/1002-fragment-loading
Load fragment used in last session correctly
2015-07-13 19:41:54 -04:00
Tom Hennen 0f8ed8e58f Merge pull request #1008 from TomHennen/fix1007
PlaybackHistory doesn't dim played items anymore.
2015-07-13 19:30:22 -04: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 d979c06a2b Prevent NPE 2015-07-12 21:49:02 +02:00
Martin Fietz a831f01eeb Open new episodes when removing the currently shown feed via drawer 2015-07-12 21:37:38 +02:00
Tom Hennen 58ebf7ed03 PlaybackHistory doesn't dim played items anymore.
Also adds a space before the feed title when displaying the title.

fixes AntennaPod/AntennaPod#1007
2015-07-12 15:17:56 -04:00
Martin Fietz b8b36b4ee8 Load fragment used in last session correctly. 2015-07-11 19:33:57 +02:00
Tom Hennen cc8e470b8f Merge pull request #1000 from udif/about_commit
Add git commit ID and version top the "About" screen
2015-07-10 21:41:31 -04:00
Tom Hennen f7e4beadd6 Merge pull request #1004 from mfietz/issue/992-fix-paste
Fix edittext pasting issues on some devices
2015-07-10 21:33:01 -04:00
Martin Fietz 40fd08b841 Hopefully fixes problems with pasting into edittext 2015-07-10 19:17:25 +02:00
Udi Finkelstein 62d3fd77a9 Fixed tests 2015-07-09 22:38:40 +03:00
Udi Finkelstein 49759dd35c Use "git describe" because it supplies both the commit ID as well as the number of commits since the last release. 2015-07-09 21:56:14 +03:00
Udi Finkelstein 184ac34500 Add commit ID to about screen 2015-07-09 21:21:12 +03: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 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 153ac4e12c Make the Spinner work on Android versions <5.0 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 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 a9de7631fd Fix button moving and icon being cut 2015-07-04 17:33:35 +02:00
Martin Fietz 6427a40da2 Fix tests 2015-07-02 20:21:53 +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 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 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 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
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 b0a0b6ab2f Merge pull request #971 from TomHennen/fix970
Make sure controller isn't null
2015-06-27 17:02:09 +02:00
Tom Hennen 21976aca14 Make sure controller isn't null
fixes AntennaPod/AntennaPod#970
2015-06-27 09:54:06 -04:00
Tom Hennen 05ce266043 fixes AntennaPod/AntennaPod#895 2015-06-27 09:01:46 -04:00
Martin Fietz 8f75777b41 Fixed tests. 2015-06-26 03:06:42 +02:00
Martin Fietz 717a6a645e Set update interval or time of day 2015-06-24 17:43:50 +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
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
Martin Fietz e977b5fa54 Merge pull request #925 from danners/develop
Download Report: introduce setting to disable
2015-06-21 23:55:22 +02:00
Tom Hennen 50e8d25c66 testPauseForInterruptions was failing, looking for the Auto Delete string.
It should have been looking for the pause playback string.
2015-06-21 15:05:49 -04:00
Tom Hennen 26a805848a build 59, alpha testing 2015-06-21 14:57:20 -04: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 6b70e304e0 Merge pull request #861 from mfietz/feature/120-share-download-url
Share feeds and episodes
2015-06-21 12:02:46 -04:00
Martin Fietz 1e53df0f5f Fixes Queue not opening from the drawer, small podcasts images not scaling up and long URL not wrapping in the podcast info view 2015-06-21 13:03:19 +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
Tom Hennen 2bc5446c89 build 58 2015-06-20 10:45:24 -04:00
Tom Hennen 8e56c0308f updated build version number 2015-06-19 23:49:02 -04:00
Martin Fietz ce6cd1a353 Don't propose to open malformed URLs 2015-06-19 00:26:18 +02:00
Tom Hennen 499fd1c6f2 Fix gradle build from app dir
Fixes AntennaPod/AntennaPod#883
2015-06-18 17:14:13 -04:00
Tom Hennen 1e49bacc95 Fixes AntennaPod/AntennaPod#868 2015-06-10 17:24:46 -04:00
Tom Hennen b781400c53 updated version code for build 56 2015-06-10 17:11:38 -04:00
Tom Hennen e903a13a55 Avoid IllegalStateExceptions
commitAllowingStateLoss should do this for us. As noted in the TODO there is probably a better
way, but now is not time.
2015-06-06 14:22:26 -04: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 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
Tom Hennen 72067b64fc updated strings, bumped build number 2015-06-01 18:04:32 -04:00
Tom Hennen 9e7bb5ce73 fixed NPE on navDrawerData 2015-05-28 17:54:41 -04:00
Tom Hennen 8ed3f95ec5 made description use a little more compact 2015-05-28 17:52:48 -04:00
Tom Hennen 9301a3bd98 fix NPE in FeedInfoActivity 2015-05-28 17:49:59 -04:00
Martin Fietz ef518f3ec0 Handle failed refresh correctly, fix for nav drawer layout 2015-05-28 22:42:08 +02:00
Martin Fietz 1bf803a6b2 Remove cancel, adjust strings 2015-05-28 11:41:36 +02:00
Tom Hennen 7add1854c8 put the LinearView in a ScrollView. fixes AntennaPod/AntennaPod#841 2015-05-27 19:34:40 -04:00
Tom Hennen 677550a344 updated versionCode for build 54 2015-05-25 22:04:28 -04:00
Tom Hennen dfcfe15dd0 * Less picky about the mime type's we accept.
* Handling content and files the same way
* Improved support for sharing files in

fixes AntennaPod/AntennaPod#827
2015-05-25 21:48:06 -04:00
Tom Hennen bafdc86ca0 Merge branch 'add_label_for_adding_feed' into fix_sharing_opml 2015-05-25 21:13:38 -04:00
Tom Hennen 30f52a6076 adding feeds via sharing intents now says your adding a podcast 2015-05-25 21:13:19 -04:00
Tom Hennen 7fa834f63e update manifest to be less picky about mime type for OPML 2015-05-25 21:03:51 -04:00
Colin Willson 94c826a4ce Fixed import Google Drive 2015-05-24 06:53:12 -04:00
Tom Hennen 578aa2a2b7 updated versionCode for alpha release 2015-05-23 16:50:25 -04:00
Tom Hennen f28853b00d renamed download progress bar to just progress 2015-05-22 17:13:31 -04:00
Tom Hennen d8b6943f5d removed unneeded layout margins 2015-05-22 16:57:43 -04:00
Tom Hennen ec156b4016 now display the download bar under the other windows 2015-05-22 16:21:21 -04:00
Tom Hennen 7aafe23b6b restored alignment for progress bar in episode view. fixes AntennaPod/AntennaPod#822 2015-05-21 18:45:39 -04:00
Martin Fietz 25cbb00b36 Fix tests, test runner for core tests 2015-05-20 11:06:45 +02:00
Martin Fietz b0f0d106da Transparency for played items 2015-05-19 16:57:30 +02:00
Martin Fietz 61754cae52 Show correct number of new items 2015-05-19 16:46:51 +02:00
Martin Fietz 44b3a3bb87 Small fixes and refactorings 2015-05-19 12:00:30 +02:00
Martin Fietz dfdfa82b4b Fix download bar displacement 2015-05-19 11:58:39 +02:00
Martin Fietz 1bf0216788 Fix move to top/bottom 2015-05-19 11:58:38 +02:00
Martin Fietz 298b02b0aa Fix for indicator, changes in context menus 2015-05-19 11:58:38 +02:00
Martin Fietz 4561f16f11 Redone new indicator 2015-05-19 11:58:38 +02:00