Commit Graph

484 Commits

Author SHA1 Message Date
Martin Fietz 75dfc89a44 Refactor database access 2015-09-10 00:58:30 +02:00
Tom Hennen 2555df3bd2 Merge pull request #1190 from mfietz/memory_management
Glide memory management
2015-09-09 18:37:27 -04:00
Tom Hennen cde0dfc290 Merge pull request #1179 from TomHennen/export_updates
Add option to share OPML file when exporting it
2015-09-09 18:35:58 -04:00
Tom Hennen 159f1f6dcc changes the action title to Send... 2015-09-09 17:23:53 -04:00
Tom Hennen 6c6d7e4e31 Merge pull request #1189 from mfietz/cropped_dialog_buttons
Fix cropped dialog buttons
2015-09-09 17:17:32 -04:00
Martin Fietz cbacd4863a Let Glide trim memory when system asks AP to do so 2015-09-09 23:17:23 +02:00
Martin Fietz e323f067f3 Fix cropped buttons of update interval/time of day dialog 2015-09-09 19:55:23 +02:00
Tom Hennen d3d59c5c06 update re-use old string, update tests 2015-09-07 21:29:24 -04:00
Tom Hennen b7ad88d70f tabs fill all space and are remembered 2015-09-07 21:25:19 -04:00
Tom Hennen 6ae33e1c5d normalized how we were using tab layouts between different fragments. 2015-09-07 21:25:19 -04:00
Tom Hennen d25d93964b move Gpodnet and Downloads to use TabLayout also 2015-09-07 21:25:18 -04:00
Tom Hennen 64336d5d26 fixed dark theme 2015-09-07 21:25:18 -04:00
Tom Hennen 0bbe1fcad7 fixing tests 2015-09-07 21:25:18 -04:00
Tom Hennen 661fcc6fd4 fix messed up ItemFragment toolbar 2015-09-07 21:25:18 -04:00
Tom Hennen c63423c558 Collapsed All and New Episodes in to 'Episodes' using tabs
This is to make room for 'Favorites' in the future.

I kept the counter for 'New Episodes' and am displaying it next to 'Episodes'.
2015-09-07 21:25:18 -04:00
Tom Hennen 9fe8750ecb changed method of tab use 2015-09-07 21:25:18 -04:00
Tom Hennen 1d38db32d5 episodes fragment with tabs. layout of item info is messed up for some reason. 2015-09-07 21:25:18 -04:00
Tom Hennen 00b1badb3f use lambda 2015-09-07 20:43:53 -04:00
Tom Hennen de879e1dd9 make share just an option of the old dialog 2015-09-07 20:42:15 -04:00
Tom Hennen 0617115a6f export opml via intent 2015-09-07 15:20:48 -04:00
Tom Hennen 05cb09e4fa Set episode back to 'New' when undo remove from new episodes.
markItemRead -> markItemPlayed and now requires the desired state instead of boolean.

fixes AntennaPod/AntennaPod#1173
2015-09-06 10:51:49 -04:00
Martin Fietz 14977413d5 Fix popup colors 2015-09-05 19:38:09 +02:00
Martin Fietz 1fe0e96ed0 Set max slider playback speed to 2.50 or current speed if it is higher than that 2015-09-05 19:38:09 +02:00
Martin Fietz 1dd87efebd Scale animation when playback speed has been changed via popup 2015-09-05 19:38:09 +02:00
Martin Fietz 7de666f511 Use CardView to add a shadow 2015-09-05 19:38:09 +02:00
Martin Fietz 4bfa2cc2f1 Show dialog where user chooses new playback speed 2015-09-05 19:38:08 +02:00
Martin Fietz 152e497cfa Fix gears color 2015-09-05 18:08:26 +02:00
Tom Hennen e236903602 Merge pull request #1166 from TomHennen/api22
Update to API 22
2015-09-05 12:01:13 -04:00
Tom Hennen af29d0992e Merge pull request #1161 from mfietz/issue/1159-empty-url
Check that URL is not null (or empty) when retrieving file size
2015-09-05 11:48:48 -04:00
Tom Hennen 0fea81a823 Merge pull request #1157 from mfietz/issue/1154-about-dark
Dark About view
2015-09-05 11:35:32 -04:00
Tom Hennen d5e31f5350 Merge pull request #1072 from mfietz/feature/shake_sleeptimer
Sleep Timer: Shake to reset, lower volume, vibrate, remember preferences
2015-09-05 11:18:20 -04:00
Martin Fietz 5b90ba9133 Sleep Timer dialog remembers settings 2015-09-05 00:50:44 +02:00
Martin Fietz 771b1e2a16 Vibrate and lower volume when timer is about to expire, shake to reset timer 2015-09-05 00:50:44 +02:00
Martin Fietz 946d5ef50c Add options to sleep timer dialog 2015-09-05 00:44:47 +02:00
Tom Hennen e446c6ee8f remove remote client from tests. 2015-09-04 17:47:31 -04:00
Tom Hennen e24d4efe10 update api version. build breaks, will need further work 2015-09-01 17:50:06 -04:00
Martin Fietz dbf243267e Check that URL is not null or empty 2015-09-01 23:47:39 +02:00
Martin Fietz 0514a486f6 Apply theme to about activity, smaller changes to appearence 2015-08-31 10:52:00 +02:00
Martin Fietz a2941e4509 Use RxAndroid instead of AsyncTask and Thread 2015-08-30 20:39:44 +02:00
Martin Fietz 0ecfa92c29 Merge DefaultOnlineFeedViewActivity into OnlineFeedViewActivity 2015-08-30 19:39:14 +02:00
Martin Fietz 0565d656fb Fix imports 2015-08-29 16:46:33 +02:00
Martin Fietz ade60ea83e Upgrade iconify 2015-08-29 15:09:07 +02:00
Tom Hennen 0d212e1c0e Merge pull request #1142 from mfietz/issue/1139-option-label
Localize option label
2015-08-29 08:20:20 -04:00
Martin Fietz 30d06f62d9 Localize option label 2015-08-28 23:07:20 +02:00
Tom Hennen a2a5fc3d5f version 1.3.2.4 2015-08-28 16:57:09 -04:00
Tom Hennen b4eb47d80c reorder intialization 2015-08-27 18:20:23 -04:00
Tom Hennen a81a70cbe2 Merge pull request #1134 from TomHennen/version_1.3.2.3
1.3.2 RC3, hopefully final
2015-08-26 18:42:11 -04:00
Tom Hennen 918f02751d 1.3.2 RC3, hopefully final 2015-08-26 18:28:15 -04:00
Tom Hennen 9efe4f6eff fix npe in media player 2015-08-26 18:17:20 -04:00
Tom Hennen c4926bb6c9 Merge pull request #1127 from TomHennen/fix1111
Properly check if we should show links share items.
2015-08-26 17:41:48 -04:00
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