Commit Graph

1018 Commits

Author SHA1 Message Date
Martin Fietz 09d22b8ede Add subscription counter 2016-04-06 11:11:51 +02:00
Tom Hennen ab88df91ba Merge pull request #1843 from saqura/develop
Optionally show rewind/forward buttons on the lockscreen
2016-04-04 19:20:14 -04:00
saqura e3408565dc Update compact notification buttons dialog
The preference dialog to select which buttons are shown in compact
notifications now provides feedback via a snackbar. The internal
preference storage handling has been cleaned up. A testcase for
the dialog has been added.
2016-04-03 20:22:03 +02:00
saqura 4d47ba6405 Add dialog to choose lock screen playback buttons
This adds a dialog to choose the playback buttons on the lock screen
notification. It only allows selecting a maximum of two values, because
the lock screen notification can only display up to 3 buttons and the
play/pause button is always included. It defaults to additionally show
the skip button.

The minimum sdk has been changed back to 10.
2016-04-03 00:37:49 +02:00
saqura 65bb7d9911 Add option to pick lock screen playback buttons
This adds the option to pick which playback buttons to prioritise on the
notification. This allows choosing the playback buttons on the lock
screen. The default playback buttons have not changed and are still set
to play/pause (this is always displayed) and skip.

Note: This commit raises the minimum sdk version from 10 to 11!
2016-04-02 21:37:05 +02:00
Tom Hennen 36bb2f9bd7 fixes AntennaPod/AntennaPod#1848 2016-04-02 15:36:40 -04:00
Tom Hennen 77ad34ce56 prevent NPE by removing log statement 2016-04-02 15:11:30 -04:00
Tom Hennen 90ae1d1b71 Merge pull request #1828 from mfietz/feature/662-episode-swipe
Episode view: Go to previous/next list item when swiping right/left
2016-04-02 14:54:16 -04:00
Tom Hennen 5f798852b7 Merge pull request #1845 from TomHennen/update_trianglelabelview
Fix problem with TriangleLabelView by updating to latest version.
2016-04-02 14:38:56 -04:00
Tom Hennen 133ef4c4a8 treat showing the subscriptions list like other drawer items. 2016-04-02 10:11:36 -04:00
Tom Hennen 901eb3f12b Fix problem with TriangleLabelView by updating to latest version. 2016-04-02 09:43:27 -04:00
Tom Hennen 3a1291865e Merge pull request #1837 from mfietz/issue/1502-opml-import
OPML Import: Fix URI containing absolute path
2016-04-01 19:35:40 -04:00
Tom Hennen d340fdd6e9 * SubscriptionsAdapter now using its own ItemAccess instead of MainActivity
* SubscriptionFragment now properly reloading data when it should
2016-03-31 15:14:06 -04:00
Tom Hennen 10317913d2 use font awesome. (care of @mfietz) 2016-03-30 18:55:49 -04:00
Tom Hennen bcd42dd9d8 some tweeks to visibility to prevent some rendering bugs 2016-03-29 20:04:50 -04:00
Tom Hennen 27544266a4 changed triangle color to antennapod blue 2016-03-29 20:04:50 -04:00
Tom Hennen 1d6a03ca29 use CoverTarget for Subscriptions, some cleanup of how it looks 2016-03-29 20:04:50 -04:00
Tom Hennen b6ac166c4f Merge pull request #1827 from mfietz/issue/1239-open-podcast
Episode view: Open podcast
2016-03-29 17:58:39 -04:00
Martin Fietz 7f666c8cd5 OPML Import: Fix URI containing absolute path 2016-03-29 19:41:54 +02:00
Martin Fietz 2d95d3f1f7 Open podcast fragment as child 2016-03-28 15:17:31 +02:00
Martin Fietz 82f73a0af8 Episode view: Open podcast menu or click on cover or podcast title 2016-03-28 15:17:31 +02:00
Tom Hennen 2c0acf25b7 1.6.0.0 2016-03-27 18:00:44 -04:00
Tom Hennen 365c1082b3 Merge pull request #1826 from TomHennen/subscriptions_view
Subscriptions view
2016-03-27 17:38:50 -04:00
Tom Hennen ea02b3df7f added subscriptions test 2016-03-27 15:03:54 -04:00
Tom Hennen 0864825b82 moved subscriptions up in the nav drawer 2016-03-27 14:27:52 -04:00
Tom Hennen 92362d216a core gets highest priority (which means it needs to come first) 2016-03-27 13:45:42 -04:00
Tom Hennen 8e22b32cb7 added 'add podcast' and back now works properly 2016-03-27 12:51:24 -04:00
Martin Fietz b3c41ce9c7 Episode view: Go to previous/next list item when swiping right/left 2016-03-27 18:26:47 +02:00
Tom Hennen 193f58376d add label that shows count 2016-03-26 14:03:38 -04:00
Tom Hennen df587ec5af context menu for subscriptions 2016-03-26 12:10:06 -04:00
Tom Hennen 73eb9d6193 fix layout, keep textview visible 2016-03-26 11:16:20 -04:00
Tom Hennen d6bda2e144 removed unneeded views 2016-03-25 13:57:34 -04:00
Martin Fietz 4ef34ef28b Don't get notified about mark as played 2016-03-25 18:07:32 +01:00
Tom Hennen f5111ce6e3 additional cleanup, removed submodule, renamed things 2016-03-25 13:04:59 -04:00
Martin Fietz 016f52fa20 Merge pull request #1824 from TomHennen/fix1811
better device id generation
2016-03-25 17:11:51 +01:00
Tom Hennen 4cd58a9b37 updated and fixed PR AntennaPod/AntennPod#1624 2016-03-25 10:50:41 -04:00
Tom Hennen 1d8d04fecb check if caption is empty too 2016-03-25 09:44:49 -04:00
Tom Hennen e413d85c21 better device id generation 2016-03-25 09:38:28 -04:00
Tom Hennen 163af2a632 Merge pull request #1823 from TomHennen/settings_cleanup
Settings cleanup
2016-03-25 09:14:01 -04:00
Tom Hennen 7f40698050 add faq 2016-03-25 08:41:05 -04:00
Tom Hennen 5afff3e9d1 more categories in preferences 2016-03-25 08:35:11 -04:00
Tom Hennen a2c1d6f9f7 Merge pull request #1820 from mfietz/issue/1793-player-switch
Switch audio player implementation immediately
2016-03-25 08:31:24 -04:00
Martin Fietz 383a833c30 Refactor 2016-03-25 13:20:07 +01:00
Martin Fietz 7f1143edde Fix or improve tests 2016-03-25 13:14:33 +01:00
Martin Fietz bae78fe7af Refactor 2016-03-25 13:14:33 +01:00
Martin Fietz 025ace3722 Fix test 2016-03-25 13:14:33 +01:00
Martin Fietz 96634c42b3 React to enabling sonic mediaplayer 2016-03-25 13:14:33 +01:00
Martin Fietz 0564988357 Refactor 2016-03-25 13:14:33 +01:00
Martin Fietz f43d5636ac Fix highlighting 2016-03-24 21:05:48 +01:00
Tom Hennen d249d0f228 Merge pull request #1816 from mfietz/issue/1529-delayed-part2
Reset episode to new if episode file is added later
2016-03-24 15:52:29 -04:00
Tom Hennen 9d1a0ed282 Merge pull request #1818 from mfietz/issue/1817-confirm-button-pressed
Handling removing feed that is playing or paused
2016-03-24 12:33:39 -04:00
Tom Hennen 07c2818cc5 Merge pull request #1798 from ByteHamster/statistics_page
Added statistics function
2016-03-24 10:16:54 -04:00
Martin Fietz d9726d2543 Check if we are deleting an episode that is currently playing or paused 2016-03-24 13:55:08 +01:00
Martin Fietz 4cc31d4be9 Reset episode to new if episode file is added later 2016-03-24 11:52:51 +01:00
ByteHamster aa56d6822a Added statistics function
Fixes #1743
2016-03-24 00:54:24 +01:00
Martin Fietz 33567fe7d7 Tests: Close adapter 2016-03-22 23:34:31 +01:00
Martin Fietz 391d059252 Tests: Initialize DB adapter 2016-03-22 23:34:31 +01:00
Tom Hennen 05ef0a91a5 Merge pull request #1789 from mfietz/issue/358-gpodder-information
Show gpodder information
2016-03-22 17:32:30 -04:00
Martin Fietz c2a1644d07 Merge pull request #1805 from domingos86/typos
code cleanup (perhaps to an extreme level)
2016-03-22 20:16:42 +01:00
Domingos Lopes fcb35a403f remove reference to MainActivity instance 2016-03-22 13:24:09 -04:00
Domingos Lopes 09bad517fc further fixes based on mfietz input 2016-03-22 12:11:23 -04:00
Martin Fietz de8af4c638 Merge pull request #1809 from domingos86/show-toasts
show potential Toasts
2016-03-22 08:33:33 +01:00
Martin Fietz 030211183c Merge pull request #1808 from domingos86/typedarray-recycle
recycle typedArrays
2016-03-22 08:32:19 +01:00
Domingos Lopes 2accff20fe show potential Toasts 2016-03-22 02:54:52 -04:00
Domingos Lopes 5f58238b4f recycle typedArrays 2016-03-22 02:50:40 -04:00
Domingos Lopes 4302d78f1f fix double if 2016-03-22 02:42:26 -04:00
Domingos Lopes a252191d79 code cleaning:
- lambda expressions, method references,
- multi catches,
- remove unnecessary keywords (public keyword on interface method signatures, static on interfaces or enums, final on private method signatures),
- == false expressions,
- diamond type (<>) expressions,
- replace StringBuffer with StringBuilder for local variables used by a single thread,
- replace Arrays.asList with Collections.singletonList whenever applicable,
- inline variable returns (whenever the variable name's meaning is not important to understand the code),
- replace some chains of if/else if/... with switch/case,
- break append(a + b) into append(a).append(b) for StringBuilder objects,
- unused import statements,
- reduce log TAGs to 23 characters,
- MaterialDialog callback deprecated,
- ActionBarActivity for AppCompatActivity,
2016-03-22 02:07:26 -04:00
Domingos Lopes 5febe9248a Merge branch 'develop' into typos 2016-03-21 22:10:19 -04:00
Tom Hennen 4d3fb36e16 Merge pull request #1669 from mfietz/issue/1654-default-cache-size
Set default episode cache size to 25
2016-03-21 09:54:53 -04:00
Tom Hennen dd33c7c40e Merge pull request #1774 from mfietz/pref_known_issues
Link to known issues/bugs in Settings
2016-03-21 09:53:40 -04:00
Domingos Lopes 5d36790182 Merge branch 'develop' into typos 2016-03-18 23:51:39 -04:00
Martin Fietz 1378b09e74 Set default episode cache size to 25 2016-03-18 23:56:50 +01:00
Martin Fietz 466e6003b5 Link to known issues/bugs in Settings 2016-03-18 23:22:23 +01:00
Martin Fietz d0126b54f1 Print log 2016-03-18 23:18:28 +01:00
Tom Hennen 2c4aaea708 Merge pull request #1792 from mfietz/issue/965-video-orientation
Enable counter-clockwise orientation in video player
2016-03-18 17:54:34 -04:00
Tom Hennen 828f252af6 Merge pull request #1751 from mfietz/issue/1727-podcast-title
Episode view: Show podcast title
2016-03-18 17:19:33 -04:00
Tom Hennen 12ff1d6254 Merge pull request #1731 from mfietz/issue/775-open-feed-after-subscribing
Add ability to open feed after subscribing
2016-03-18 16:14:59 -04:00
Martin Fietz 0271cc5737 Enable counter-clockwise orientation in video player 2016-03-18 19:09:30 +01:00
Martin Fietz a4733e2643 Show gpodder information 2016-03-17 21:23:08 +01:00
Martin Fietz 8402e1d3e7 Remove unnecessary listener 2016-03-16 21:06:25 +01:00
Martin Fietz 0d114d172b Merge pull request #1696 from mfietz/issue/1695-npe-context-null
Ensure initialization
2016-03-16 20:56:51 +01:00
Martin Fietz dd61b065b4 Merge pull request #1763 from mfietz/issue/1762-audioplayer-leak
Audioplayer: Prevent leak
2016-03-16 20:55:19 +01:00
Martin Fietz b152fcabbe Merge pull request #1755 from mfietz/shrink_images
Remove unused resources and shrink images
2016-03-16 20:54:14 +01:00
Martin Fietz 49d4e2de15 Merge pull request #1703 from domingos86/volume-converter-fix
fix the volume conversion upon user interaction
2016-03-16 20:52:50 +01:00
Martin Fietz 8dd6ddb702 Merge pull request #1708 from mfietz/issue/359-gpodder-sync-button
Gpodder: Enable manual syncing
2016-03-16 20:49:15 +01:00
Martin Fietz 3449357c14 Merge pull request #1705 from mfietz/issue/1704-opml-import-npe
OPML Import: Show dialog when no file has been selected
2016-03-16 20:36:31 +01:00
Martin Fietz d2c32c4f35 Fix Log icon 2016-03-16 20:30:37 +01:00
Martin Fietz 19e1e4afdb Add proxy settings 2016-03-16 20:30:33 +01:00
Martin Fietz bb45d82b08 Merge pull request #1689 from mfietz/issue/1687-delay-hide-controls
Video player: Delay controls hide on interaction
2016-03-16 20:25:15 +01:00
Martin Fietz 92efa25572 Merge pull request #1773 from andrewgaul/boxing
Avoid unneeded boxing
2016-03-16 20:22:03 +01:00
Martin Fietz c5450fc413 Merge pull request #1766 from andrewgaul/error-prone
Address error-prone warnings
2016-03-16 20:20:26 +01:00
Martin Fietz 987aef38fc Merge pull request #1661 from mfietz/issue/1652-opml-select
OPML Import: Select/deselect toggle
2016-03-16 20:05:57 +01:00
Andrew Gaul e87f053d9b Avoid unneeded boxing
Found via FindBugs.
2016-03-14 20:20:25 -07:00
Tom Hennen 8317e6fcd8 1.5.2.0 2016-03-14 20:50:04 -04:00
Martin Fietz 45a26d5003 Prevent NumberFormatException 2016-03-14 13:09:02 +01:00
Andrew Gaul 6b449c18ee Address error-prone warnings 2016-03-13 22:34:50 -07:00
Martin Fietz 31ba5a571c Prevent leak 2016-03-13 19:32:07 +01:00
Domingos Lopes 178ef66647 Merge branch 'develop' into typos 2016-03-12 17:13:49 -05:00
Tom Hennen f197f0e290 1.5.1.4 2016-03-10 16:38:04 -05:00
Tom Hennen c7d57fd26d Merge pull request #1756 from TomHennen/1.5.1rc3
1.5.1.3
2016-03-10 16:37:11 -05:00
Martin Fietz 09b83a4a02 Do not crash... 2016-03-10 00:24:35 +01:00
Martin Fietz fbbe94acec Delete unused resources 2016-03-09 23:55:30 +01:00
Tom Hennen 9198b159e3 1.5.1.3 2016-03-08 18:14:09 -05:00
Martin Fietz 62f2cf9b68 Do not show loading indicator on rotation change 2016-03-08 17:15:55 +01:00
Martin Fietz d987bb7dc6 Show podcast title 2016-03-08 17:15:30 +01:00
Martin Fietz d668cf77dc Prevent IllegalStateException 2016-03-07 21:30:58 +01:00
Tom Hennen bcd89b1ce8 1.5.1.2 2016-03-07 07:04:48 -05:00
Martin Fietz aaedff2937 Dark theme: Fix action bar icons
see http://stackoverflow.com/a/35654779/5369600
2016-03-07 11:56:44 +01:00
Tom Hennen 411fe7c60f 1.5.1.1 2016-03-05 09:41:18 -05:00
Martin Fietz 89b3df200d Implement OnError 2016-03-05 09:17:50 +01:00
Martin Fietz d4d8d18c5c Add ability to open feed after subscribing 2016-03-04 12:40:33 +01:00
Tom Hennen 839954920b 1.5.1.0 2016-03-03 19:39:59 -05:00
Martin Fietz ba53fbb078 Preference playback speed string has to be in US locale 2016-03-03 20:22:58 +01:00
Martin Fietz 632901900b Print speed according to locale 2016-03-03 20:21:42 +01:00
Martin Fietz 795416d44f Fix play-pause after re-opening audioplayer 2016-03-01 11:40:32 +01:00
Tom Hennen a97788aaa5 1.5.0.9 2016-02-25 17:53:55 -05:00
Tom Hennen 1ccbdfab49 Merge pull request #1707 from mfietz/issue/1706-coverfragment-iae
Audio player fragments: Do not refresh when not attached
2016-02-25 06:41:49 -05:00
Martin Fietz 956235f699 Merge pull request #1712 from mfietz/issue/1710-audioplayer-npe
AudioPlayer NPEs
2016-02-23 23:03:21 +01:00
Martin Fietz 0677c70a4d Do not show full disk icon if cache size is unlimited 2016-02-23 20:19:02 +01:00
Domingos Lopes ef648955b2 remove useless parentactivity metadata from application 2016-02-23 12:21:59 -05:00
Domingos Lopes 092368476d correct indentation on external player fragment layout 2016-02-23 10:11:43 -05:00
Domingos Lopes a9fb91f522 widget log message typo 2016-02-23 09:31:19 -05:00
Domingos Lopes 6467fc103b rewind/fastforward labels on videoplayeractivity layout 2016-02-23 09:30:01 -05:00
Martin Fietz 4366e134cf Prevent NPE 2016-02-23 08:27:09 +01:00
Martin Fietz b1df272797 Refactor 2016-02-23 08:26:56 +01:00
Martin Fietz 3c26c058f6 Gpodder: Enable manual syncing 2016-02-22 11:01:12 +01:00
Martin Fietz 5b50968645 Do not refresh when not attached 2016-02-22 08:16:51 +01:00
Martin Fietz 4fca673d1f OPML Import: Show dialog when no file has been selected 2016-02-22 07:55:02 +01:00
Tom Hennen a01d2d2ba0 1.5.0.8 2016-02-20 11:00:40 -05:00
Domingos Lopes c878bc4e87 inicialize the volume SeekBars on audio controls to the values on UserPreferences 2016-02-20 09:48:57 -05:00
Domingos Lopes 13f5b09d56 fix the volume conversion upon user interaction
move the conversion formula to a new method in core.util.Converter
2016-02-20 09:02:50 -05:00
Martin Fietz 16dd26a7e4 Refactor 2016-02-19 13:35:10 +01:00
Martin Fietz acbda70e28 Make sure DB helpers and preferences are initialized 2016-02-19 13:34:55 +01:00
Martin Fietz 865a0885d9 Scale differently 2016-02-19 11:09:50 +01:00
Martin Fietz b65efb3cba Shorten control showing phase 2016-02-18 08:39:30 +01:00
Martin Fietz 8f3f0c30c6 Delay control hiding when button pressed 2016-02-18 08:38:57 +01:00
Martin Fietz c5762fa475 Don't NPE 2016-02-16 11:50:06 +01:00
Tom Hennen 840b648919 1.5.0.7 2016-02-15 16:54:42 -05:00
Martin Fietz 8d60c3b4e9 Same issue and solution as #884 2016-02-14 07:47:12 +01:00
Tom Hennen b57896f219 1.5.0.6 2016-02-13 13:01:34 -05:00
Martin Fietz 7be01a13bd Do not show spinner when download is not allowed 2016-02-12 19:31:52 +01:00
Martin Fietz 099e749785 Merge pull request #1651 from mfietz/issue/1650-audio-controls-scroll
Audio controls dialog scrollable
2016-02-12 10:56:53 +01:00
Martin Fietz 040bc53f0e Refactor 2016-02-11 10:24:05 +01:00
Martin Fietz 5690c99e48 Menu toggle 2016-02-11 10:23:30 +01:00
Tobias Preuss 31111332e9 Remove deprecation warnings by using ContextCompat.getColor(). 2016-02-08 12:27:35 +01:00
Martin Fietz d7eac77d26 Make audio controls dialog scrollable, adjust margins 2016-02-07 19:31:54 +01:00
Tom Hennen fbbc3ded6f 1.5.0.5 2016-02-06 11:30:00 -05:00
Tom Hennen 6e6a452a4d Merge pull request #1639 from mfietz/issue/975-no-external-storage
No external storage / Choose Data Folder redo
2016-02-06 11:19:13 -05:00
Martin Fietz 15a1c3e9f8 Use default dir when Directory Chooser returns null/user clicks "Choose default dir" 2016-02-03 19:36:01 +01:00
Martin Fietz b8f725c843 Add new folder icon to directory chooser menu 2016-02-03 19:36:01 +01:00