Commit Graph

1171 Commits

Author SHA1 Message Date
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 6de985c993 Replace AsyncTask with Observable 2016-03-23 20:39:46 +01:00
Martin Fietz 7f11cd351a Refactor 2016-03-23 20:39:41 +01:00
Martin Fietz 62e2095a5a Close DB 2016-03-22 23:34:31 +01:00
Martin Fietz a7368eadd9 Enable WAL and use non-exclusive transactions 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
Tom Hennen 3510734504 Merge pull request #1806 from domingos86/flattr-creator-fix
FlattrServiceCreator
2016-03-22 17:28:54 -04:00
Tom Hennen 7aa414d437 Merge pull request #1802 from mfietz/issue/1780-position
When retrieving position of current episode, regard position 0 as valid
2016-03-22 17:28:00 -04:00
Tom Hennen 35a3734da8 Merge pull request #1801 from mfietz/issue/1800-parse-duration
Parse iTunes duration seconds as float
2016-03-22 17:26:56 -04:00
Domingos Lopes 09bad517fc further fixes based on mfietz input 2016-03-22 12:11:23 -04:00
Domingos Lopes a7d00f952c make FlattrService creation and deletion synchronized 2016-03-22 11:36:24 -04:00
Domingos Lopes 748d2bc863 fix FlattrServiceCreator 2016-03-22 02:12:59 -04:00
Domingos Lopes 7992726cb8 small typo 2016-03-22 02:09:53 -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
Martin Fietz 3adb63fbc7 When retrieving position of current episode, regard position 0 [unplayed] as valid 2016-03-21 19:14:01 +01:00
Tom Hennen a994cd4c08 Merge pull request #1799 from mfietz/issue/1796-update-feed
Fix feed refresh issue
2016-03-21 11:14:22 -04:00
Martin Fietz 7b3b7cc2ba Refactor 2016-03-21 16:10:52 +01:00
Martin Fietz d2ddfa3973 Close cursor 2016-03-21 16:08:21 +01:00
Martin Fietz c1b169cdb5 Parse seconds as float 2016-03-21 15:57:20 +01:00
Martin Fietz abaa7a28b2 Refactor 2016-03-21 15:51:17 +01:00
Martin Fietz 0c85447136 Prevent NullPointerException 2016-03-21 15:51:03 +01: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
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
Martin Fietz 5e7b328d83 Make feed parsing as save as possible 2016-03-18 23:18:28 +01:00
Tom Hennen fb23dc4b61 Merge pull request #1788 from mfietz/issue/1489-cursor-allocation
Only have one cursor open at the same time
2016-03-18 17:48:26 -04:00
Tom Hennen 9412ab5557 Merge pull request #1787 from mfietz/issue/1718-less-preselected-speeds
Pre-select playback speeds 1.00, 1.25, 1.50, 1.75 and 2.00
2016-03-18 17:35:23 -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
Tom Hennen e536dd9a7d Merge pull request #1697 from mfietz/issue/1466-playback-controls
Try to handle all external media controls
2016-03-18 16:00:30 -04:00
Martin Fietz a4733e2643 Show gpodder information 2016-03-17 21:23:08 +01:00
Martin Fietz 4ba81f6c14 Only have one cursor open at the same time 2016-03-17 18:35:41 +01:00
Martin Fietz 4954db7738 Pre-select playback speeds 1.00, 1.25, 1.50, 1.75 and 2.00 only 2016-03-17 18:25:19 +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 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 c9f232ca5e Merge pull request #1761 from mfietz/support-23.2.1
Upgrade Support libs, Glide, Iconify, OkHttp, Robotium
2016-03-16 20:53:33 +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 e0d68a962b Merge pull request #1698 from mfietz/issue/1503-file-type-error
Downloader: Check content type for media
2016-03-16 20:40:38 +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 30be1ad36e Merge pull request #1701 from mfietz/issue/1627-resume-download
Downloader: Disable gzip for media files
2016-03-16 20:32:03 +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 92083597d1 Merge pull request #1700 from mfietz/issue/996-ducking
Duck and raise audio volume back
2016-03-16 20:12:53 +01:00
Martin Fietz 73069817f8 Show message if there are no shownotes 2016-03-16 20:09:03 +01:00
Martin Fietz 734b19e906 Refactor 2016-03-16 20:09:03 +01:00
Andrew Gaul e87f053d9b Avoid unneeded boxing
Found via FindBugs.
2016-03-14 20:20:25 -07:00
Andrew Gaul 6b449c18ee Address error-prone warnings 2016-03-13 22:34:50 -07:00
Martin Fietz 36213fa94e Upgrade Support libs, Glide, OkHttp, Robotium 2016-03-13 09:47:43 +01:00
Martin Fietz d342b14ac0 Shrink resources (ImageOptim) 2016-03-09 23:55:36 +01:00
Martin Fietz fbbe94acec Delete unused resources 2016-03-09 23:55:30 +01: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
Martin Fietz d4d8d18c5c Add ability to open feed after subscribing 2016-03-04 12:40:33 +01:00
Martin Fietz b1798d8529 Give each thread its own parser 2016-03-04 10:06:01 +01:00
Martin Fietz 3c26c058f6 Gpodder: Enable manual syncing 2016-02-22 11:01:12 +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 32f124f810 Merge pull request #1690 from mfietz/issue/1685-public-notificationsa
Set notification visibility to public
2016-02-20 10:53:10 -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
Martin Fietz a8f27fa363 Downloader: Disable gzip for media files 2016-02-20 15:45:38 +01:00
Martin Fietz e980a7656c Duck and unduck done right 2016-02-20 15:27:29 +01: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 e7cc82fdfb Make sure feed media is of the right content type 2016-02-20 09:16:47 +01: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 db084ec118 Prevent NPE 2016-02-19 12:54:51 +01:00
Martin Fietz 0569c67b2c Set notification visibility to public 2016-02-19 08:32:37 +01:00
Martin Fietz 202f211230 Also update position when paused 2016-02-18 08:50:15 +01:00
Martin Fietz d818901b80 Give it some time to read current position 2016-02-18 08:50:10 +01:00
Martin Fietz 8f3f0c30c6 Delay control hiding when button pressed 2016-02-18 08:38:57 +01:00
Martin Fietz d6498ae50d After downloading, check downloaded episode for chapters 2016-02-15 16:01:21 +01:00
Martin Fietz bc0d80759c Load embedded chapters from local files 2016-02-15 15:43:50 +01:00
Tom Hennen c959f19267 updated translations 2016-02-13 12:54:42 -05:00
Tom Hennen 5cdd873fad Merge pull request #1667 from mfietz/issue/1658-sync-duplicates
Prevent gpodder sync duplicates
2016-02-13 11:52:44 -05:00
Martin Fietz 5e7ae6527c Try to handle all external media controls 2016-02-13 17:35:55 +01:00
Martin Fietz 438a9c2a4b Undo colon escaping 2016-02-12 09:08:06 +01:00
Martin Fietz b7ff0d1565 Prevent NPE 2016-02-09 18:10:35 +01:00
Martin Fietz 1e5f988479 Refactor 2016-02-09 18:10:20 +01:00
Tom Hennen 5e4f9405a0 updated translations 2016-02-06 11:28:36 -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 b8f725c843 Add new folder icon to directory chooser menu 2016-02-03 19:36:01 +01:00
Martin Fietz eba11a9fe5 Show restricted choose data folder dialog only on Lollipop; ask for permission on Marshmallow 2016-02-03 19:36:01 +01:00
Martin Fietz 832eb96d56 Add sd card icon 2016-02-01 18:24:09 +01:00
Tom Hennen 000633f60c don't query DB from the UI thread\! 2016-01-31 19:25:26 -05:00
Tom Hennen 79b5328ecf don't show space warning if we can autodelete stuff. 2016-01-31 09:51:35 -05:00
Tom Hennen 6b8ce4af61 updated translations 2016-01-31 09:28:54 -05:00
Tom Hennen 9ca056253d Merge pull request #1619 from mfietz/issue/1222-completed-downloads-gears
Completed Downloads: Gears Dialog
2016-01-31 09:27:04 -05:00
Tom Hennen 75f80b2c01 Merge pull request #1633 from mfietz/improve_if_modified_since
Improve If-Modified-Since/ETag
2016-01-31 09:19:35 -05:00
Tom Hennen e750af5745 Merge pull request #1572 from mfietz/issue/1570-opml-import-permission
Import OPML: Ask for permission to access external storage on Marshmallow
2016-01-30 16:41:41 -05:00
Martin Fietz b1212f8adb Fix warning 2016-01-30 18:30:48 +01:00
Martin Fietz 23b56542e0 Migrate database 2016-01-30 18:30:48 +01:00
Martin Fietz 8b486e22d2 If lastModified is not a date, assume it is an ETAg 2016-01-30 18:30:48 +01:00
Martin Fietz 20ccfbb809 Use headers for lastUpdate/lastModified 2016-01-30 18:30:48 +01:00
Martin Fietz 8c3a9986f0 Feed view: Single feed refresh enforces actually refreshing 2016-01-30 18:30:48 +01:00
Martin Fietz 4bdf95bd45 Change feed lastModified/lastUpdate to String 2016-01-30 18:30:48 +01:00
Raghul Jagannathan 5cc6f12acb Merge: Updated subscriptionview and synced develop 2016-01-27 20:16:24 +08:00
Tom Hennen 42b252509a updated translations 2016-01-26 17:53:02 -05:00
Tom Hennen b53fe7874b Merge pull request #1615 from mfietz/issue/1606-player-skip-update
Fix player skip issues
2016-01-26 17:46:37 -05:00
Tom Hennen b2a8e06ff8 Merge pull request #1614 from TomHennen/exclude_auto_refresh
Added 'Keep Updated' option for Feeds
2016-01-26 17:32:11 -05:00
Martin Fietz 8944a61e3d New select criteria: queued, not queued 2016-01-26 18:49:25 +01:00
Martin Fietz 5e8c62ec75 Only reset episode to new if feed item did not link to a file before 2016-01-26 16:16:41 +01:00
Martin Fietz b41aaff2dd On skip, don't start playing when paused 2016-01-26 11:48:55 +01:00
Tom Hennen 7dfe4d5ed3 Global Refresh -> Keep Updated 2016-01-25 17:21:13 -05:00
Tom Hennen 747aa2f0e0 updated comments 2016-01-25 16:40:46 -05:00
Tom Hennen c5d05d338a If the feed doesn't have 'Global Refresh' then don't include it in the New Episodes list.
resolves AntennaPod/AntennaPod#286
2016-01-25 16:28:55 -05:00
Tom Hennen f290048362 allow feeds to be excluded from global refreshing 2016-01-25 15:02:44 -05:00
Tom Hennen 8b0dac05c9 updated hint, allow multiple lines in the filter box 2016-01-25 13:07:25 -05:00
Tom Hennen 672c03e41a enable/disable controls based on auto-download setting 2016-01-25 12:27:42 -05:00
Tom Hennen 3912f33342 provide default filter value 2016-01-25 11:44:50 -05:00
Tom Hennen 0b4c41a333 ability to filter episodes to include or not when autodownloading 2016-01-25 11:26:46 -05:00
Tom Hennen 7f02570f88 Merge pull request #1595 from recalculated/positive-filter
Use positive/reverse filtering
2016-01-25 11:13:06 -05:00
recalculated 4329aef26d Add database migration for filter 2016-01-24 20:56:07 -06:00
Tom Hennen f5f3477ac0 Merge pull request #1605 from mfietz/issue/1603-change-speed-confusion
Eliminate confusion from UI elements that change playback speed
2016-01-24 18:44:22 -05:00
Martin Fietz 5a077774fc iTunes Search: SearchView in Action Bar, error/result message, retry, feed url 2016-01-24 20:12:17 +01:00
recalculated b02c70425e & -> && 2016-01-24 12:35:27 -06:00
Tom Hennen 8ff6917537 updated translations with tx pull -af 2016-01-24 10:22:28 -05:00
Tom Hennen 2bab4ea9f9 updated translations 2016-01-24 10:20:10 -05:00
Martin Fietz 6392f7abd4 Eliminate confusion from UI elements that change playback speed 2016-01-24 12:59:25 +01:00
recalculated 9ef3c99899 Use positive/reverse filtering 2016-01-23 20:25:08 -06:00
Tom Hennen 7e9e3bb946 Merge pull request #1524 from recalculated/icons
Material in-app icons
2016-01-23 14:58:42 -05:00
recalculated 439def2d1c Add material design icons
Includes RSS icon, sync notification icon, icons inside the apply
actions screen, and the drag handle icon in the queue.
2016-01-23 12:17:56 -06:00
Martin Fietz 937feddafa Refactor 2016-01-23 17:50:21 +01:00
Martin Fietz ee031843ef Add icons 2016-01-23 17:36:59 +01:00
Tom Hennen 5c3258d40b Merge pull request #1582 from mfietz/issue/1367-add-favorites
Feed view: Add "Add/Remove to/from Favorites" to context menu
2016-01-23 10:35:44 -05:00
Tom Hennen 932620e73c Merge pull request #1567 from mfietz/issue/1296-dl-retry-loop-no-space
Avoid download retry loop when storage is full
2016-01-23 10:04:28 -05:00
Tom Hennen c0884f72d8 Merge pull request #1586 from mfietz/issue/1529-delayed-availability
Reset episode to new if media becomes available
2016-01-23 09:51:49 -05:00
Martin Fietz 1a0b4ce6bf Merge pull request #1587 from recalculated/download-plural
Say '1 download left' instead of '1 downloads left'
2016-01-23 10:07:03 +01:00
recalculated 9fe5e91af2 Use plurals for x downloads left 2016-01-22 22:17:32 -06:00
Tom Hennen 327c4b7ce7 autodownload should be the default 2016-01-22 17:22:04 -05:00
Tom Hennen e93f161b76 Merge pull request #1579 from mfietz/issue/998-itunes-tags
Parse <itunes:summary> and <itunes:subtitle>
2016-01-22 17:12:40 -05:00
Tom Hennen bb78f0805a Merge pull request #1580 from mfietz/issue/1278-update-widget
Widget: Update playback position every second
2016-01-22 16:52:55 -05:00
Tom Hennen 3053e1c911 Merge pull request #1564 from keunes/patch-2
Update Episode Cleanup description
2016-01-22 16:22:14 -05:00
Tom Hennen 5d89099208 Merge pull request #1563 from mfietz/issue/193-atom-multiple-enclosures
Atom: If multiple enclosures, use first one
2016-01-22 16:21:58 -05:00
Martin Fietz bfac8f71a8 Enable Sonic by default 2016-01-21 22:44:48 +01:00
Tom Hennen 1e90f1822d Merge pull request #1561 from mfietz/redesign_audio_player
Audio player redesign (Part 2)
2016-01-21 16:27:04 -05:00
Martin Fietz 71d67864d2 Reset to new if media becomes available 2016-01-21 19:44:50 +01:00
Martin Fietz ab0782b456 Feed view: Add "Add/Remove to/from Favorites" to context menu 2016-01-21 13:57:21 +01:00
Martin Fietz 20bbc075fc Update playback position every second 2016-01-21 13:18:20 +01:00
Martin Fietz a578c59dcc Parse <itunes:summary> and <itunes:subtitle> 2016-01-21 12:27:41 +01:00
Martin Fietz 7b629b8579 Import OPML: Ask for permission to access external storage on Marshmallow 2016-01-19 16:15:17 +01:00
Tom Hennen 880fd1dcd6 Merge pull request #1554 from mfietz/pub_date_last_year
Pub date formatting
2016-01-18 20:19:26 -05:00
Martin Fietz 6ec174e0fb Exponential back-off if storage is full 2016-01-17 19:41:02 +01:00
Martin Fietz 9cc4a5a6ca Remove logging 2016-01-17 19:40:00 +01:00
Koen Glotzbach 76538cb912 Update strings.xml
Include in description what triggers Episode Cleanup (ie Auto Downloads)
2016-01-17 17:46:15 +01:00
Martin Fietz 2662f5828f If atom feed item has multiple enclosures, use first one 2016-01-17 14:19:08 +01:00
Martin Fietz 19fb75addf Refactor 2016-01-17 14:18:18 +01:00
Martin Fietz 0a0c285017 Prettier date formatting 2016-01-16 22:47:03 +01:00
Martin Fietz 99d7992dc8 Audio player redesign
Sleep timer and audio effects (e.g. balance) accessible from actionbar, fragment pager
2016-01-16 22:08:09 +01:00
Tom Hennen dfc421a5a6 Merge pull request #1543 from mfietz/issue/1528-indicator-full-cache
Indicate that episode cache is exhausted
2016-01-16 14:55:36 -05:00
Martin Fietz dc06b9c873 And now also set it... 2016-01-16 20:39:05 +01:00
Tom Hennen 8dbb344ce9 Merge pull request #1546 from recalculated/typography-ellipsis
Replace '...' with '&#8230;' (ellipsis character)
2016-01-16 14:21:57 -05:00
Tom Hennen 6f8b89d1b2 Merge pull request #1540 from mfietz/issue/1538-auto-download-404
Disable auto download when HTTP_NOT_FOUND (404)
2016-01-16 13:57:11 -05:00
Tom Hennen b9c16f3198 Merge pull request #1534 from mfietz/issue/1488-update-interval-feedback
Give feedback about current update setting
2016-01-16 13:27:30 -05:00
Martin Fietz 6e40aa33ab Merge pull request #1544 from mfietz/issue/1421-more-smark-options
More smark options
2016-01-16 14:11:33 +01:00
Martin Fietz 102363c97f Check that image url is not empty 2016-01-16 11:04:09 +01:00
Martin Fietz f6d5c780e5 Auto Download: Exponential backoff when file 404s 2016-01-15 12:37:27 +01:00
recalculated 1348ab83ff Replace ... with &#8230; (ellipsis character) 2016-01-10 11:01:48 -06:00
Martin Fietz 55f1efd74d Explanation dialog 2016-01-09 22:08:58 +01:00
Martin Fietz ec9ecb1af0 More smark options 2016-01-09 18:26:59 +01:00
Martin Fietz e5b7f12732 Indicate that episode cache is exhausted 2016-01-09 14:22:21 +01:00
Martin Fietz 95bb95fc89 Merge pull request #1523 from recalculated/lock-icons
Reverse (un)lock icons in queue
2016-01-09 13:54:53 +01:00
Martin Fietz ce29d9f669 Merge pull request #1539 from recalculated/external-player
Redesign ExternalPlayerFragment
2016-01-09 10:15:24 +01:00
recalculated 30e963fc3e Make progress bar theme-specific 2016-01-08 17:42:05 -06:00
Tom Hennen 2caaa0f9dd updated translations 2016-01-08 2016-01-08 16:35:24 -05:00
Martin Fietz 4f864ab2de Disable auto download when HTTP_NOT_FOUND (404) 2016-01-08 18:21:35 +01:00
recalculated a2104964e7 Add queue lock/unlock snackbar message 2016-01-07 20:35:04 -06:00
recalculated 0d54bd18a7 Redesign ExternalPlayerFragment 2016-01-07 19:05:41 -06:00
Martin Fietz 364dcef7a3 Replace HashMap with ArrayMap 2016-01-07 23:16:01 +01:00
Martin Fietz 99800d9873 Change parameters of StorageUtils.storageAvailable 2016-01-07 23:16:01 +01:00
Martin Fietz 810b2c2df5 Upgrade to latest versions 2016-01-07 23:16:01 +01:00
Tom Hennen 0c973e3ea7 Merge pull request #1509 from mfietz/audioplayer-v1.0.7
AudioPlayer v1.0.7
2016-01-07 17:04:44 -05:00
Martin Fietz 308a26b14b Give feedback about current update setting 2016-01-06 12:51:22 +01:00
Martin Fietz 3b2a29d65e Fix SQL 2016-01-06 09:40:34 +01:00
Martin Fietz e19c08de8a Merge pull request #1526 from mfietz/issue/1522-download-log-NPE
Prevent DownloadLog NPE
2016-01-05 14:44:08 +01:00
Martin Fietz b676967a5f Merge pull request #1512 from mfietz/issue/1510-escape-sql
Escape SQL query parameters
2016-01-05 14:20:43 +01:00
Martin Fietz 07d378cffd Tell DownloadLogFragment to refresh 2016-01-05 01:48:06 +01:00
Martin Fietz a218665f8a When deleting a feed, also remove corresponding download log entries 2016-01-05 01:40:15 +01:00
Martin Fietz 557b028c28 Escape SQL query parameters, Reformat 2016-01-02 13:22:26 +01:00
Martin Fietz 8816d144f5 Upgrade AudioPlayer to latest version; Fallback 2016-01-02 02:39:58 +01:00
Martin Fietz b793866ed4 Show free space for current choice 2015-12-31 14:17:12 +01:00
Martin Fietz a5b0cb2ad7 Don't close db 2015-12-28 23:33:14 +01:00
Tom Hennen 3557d9c1ec updated translations 2015-12-28 12:10:51 -05:00
Tom Hennen dd22e18d1d Merge pull request #1475 from mfietz/issue/1473-NPE-downloadservice
DownloadService: media item might be null
2015-12-20 09:03:50 -05:00
Martin Fietz 6113b932b4 DownloadService: media item might be null 2015-12-15 16:36:15 +01:00
Martin Fietz 72982839a9 FeedMedia: Item might be null 2015-12-15 15:33:12 +01:00
Tom Hennen 755bdc5afb Merge pull request #1465 from mfietz/issue/1464-oom
Lower memory usage
2015-12-13 18:58:32 -05:00
Martin Fietz 32648ba17f *_* 2015-12-14 00:45:57 +01:00
Martin Fietz 3997982e26 Catch throwable 2015-12-13 22:23:14 +01:00
Martin Fietz bca8b83140 Load bitmaps in the size we need them 2015-12-13 18:33:44 +01:00
Martin Fietz a4dea4ba24 (1) Fix refresh indicator (2) On download event, only refresh items that are affected 2015-12-13 11:09:10 +01:00
Tom Hennen b9f927ac2d Merge pull request #1455 from mfietz/issue/1454-filter
Fix episode filter
2015-12-12 11:05:40 -05:00
Martin Fietz 0e12da7ec6 Filter list -> filter set 2015-12-10 16:41:09 +01:00
Martin Fietz c121600977 Wrong split argument order m( 2015-12-10 16:02:25 +01:00
Martin Fietz 7f72904932 Just refactoring & housekeeping 2015-12-10 16:02:08 +01:00
Martin Fietz 5600080229 Compare case-insensitive 2015-12-04 13:17:35 +01:00
Martin Fietz 1559660609 Handle redirects with relative URL correctly 2015-12-04 10:40:25 +01:00
Martin Fietz 833f76fc3b Replace commons-lang3 where possible 2015-12-02 18:46:53 +01:00
Martin Fietz 5f0ecb5d59 Use MergeCursor for high number of images 2015-12-02 12:34:01 +01:00
Martin Fietz a777d7739e Don't use StringUtils 2015-12-02 12:33:56 +01:00
Tom Hennen 7067088cba Merge pull request #1432 from TomHennen/widget
Widget improvements
2015-11-29 14:11:54 -05:00
Tom Hennen 36edb3dc37 updated translations 2015-11-29 14:03:27 -05:00
Tom Hennen 304c33369c add preview image for widget, allow it to be resized to be wider and narrower 2015-11-29 12:25:33 -05:00
Tom Hennen cc93cd8600 Merge pull request #1430 from TomHennen/update_strings
Update strings
2015-11-28 11:35:21 -05:00
Martin Fietz ea57fb7d72 Typo 2015-11-28 00:53:23 +01:00
Tom Hennen 176a2ea569 updated strings from transifex 2015-11-27 17:55:26 -05:00
Tom Hennen bcd3f0e3e4 should say episode instead of track. 2015-11-27 17:49:32 -05:00
Tom Hennen 1f89bd0c79 language updates 2015-11-27 10:52:40 -05:00
Tom Hennen 4b926b44f7 Merge pull request #1424 from TomHennen/optional_hardware_skip
allow users to optionally have hardware forward button skip
2015-11-27 10:47:18 -05:00
Tom Hennen d2d22a82e2 update title of option 2015-11-27 10:46:09 -05:00
Tom Hennen a7293b4a66 Merge pull request #1422 from mfietz/crash_report_mail
Log Crash Report
2015-11-27 10:42:10 -05:00
Tom Hennen 4c0a6f1ef7 allow users to optionally have hardware forward button skip 2015-11-27 10:27:35 -05:00
Tom Hennen f169a26488 Merge pull request #1394 from mfietz/issue/1393-feed-redirect
Update feed URL when redirected
2015-11-27 10:02:23 -05:00
Tom Hennen 4bc0faf949 Merge pull request #1423 from TomHennen/clear_database
just clear the database tables, don't delete the whole DB.
2015-11-27 09:50:43 -05:00
Tom Hennen 9dc80b1e03 Merge pull request #1369 from mfietz/rating
Rating Dialog
2015-11-27 09:49:54 -05:00
Martin Fietz 2b919eecbc Dark theme 2015-11-27 15:31:52 +01:00
Martin Fietz c5c457bbf0 Highlight currently playing episode 2015-11-27 15:31:52 +01:00
Tom Hennen b5ea846bb1 just clear the database tables, don't delete the whole DB. 2015-11-27 09:22:50 -05:00
Tom Hennen f08f5f8d8f Merge pull request #1419 from mfietz/issue/1412-performance
Solve performance issues
2015-11-27 09:15:22 -05:00
Martin Fietz 40a708fd0e Log crash reports, users can send them via email 2015-11-27 15:05:49 +01:00
Martin Fietz 252a0e218e DownloadService: We don't download images ourselves anymore 2015-11-26 19:46:14 +01:00
Martin Fietz 7400d5428c DBReader: moar logging 2015-11-26 19:46:14 +01:00
Martin Fietz d397f397c2 DBHelper: open and close correctly 2015-11-26 19:46:14 +01:00
Martin Fietz ec03d548f0 Enable sqlite WAL 2015-11-26 19:46:14 +01:00
Martin Fietz d91e9f4d6f DownloadObserver must die 2015-11-26 19:45:24 +01:00
Martin Fietz 5f845161be Fetch images and media smarter; two indexes 2015-11-25 21:15:34 +01:00
Martin Fietz 2de280cb36 Also handle rewind/previous media buttons 2015-11-25 12:03:18 +01:00
Martin Fietz 732bda08a9 Rewind when skip to previous is pressed 2015-11-24 12:50:36 +01:00
Martin Fietz 0edaf4d331 Now with more comments 2015-11-24 02:08:49 +01:00
Martin Fietz cdc8bbd97a Media buttons: Fast forward when next button is pressed 2015-11-24 02:01:44 +01:00
Martin Fietz 506b821249 Reformat 2015-11-23 21:38:36 +01:00
Tom Hennen 40c5f5e0d0 catch null pointer exception to fix some huawei devices. 2015-11-22 18:50:18 -05:00
Tom Hennen 5d16e10366 add new language 2015-11-21 08:24:40 -05:00
Tom Hennen 183699e2ff added nb_NO 2015-11-21 08:12:09 -05:00
Martin Fietz 06cdd987e0 Replace DirectoryChooser with simple dialog listing all external directories 2015-11-19 18:03:13 +01:00
Martin Fietz 40eeb5477d Update feed download_url when redirected 2015-11-18 21:43:30 +01:00
Martin Fietz 0d8d804aaa Make sure the PlaybackService task manager reloads the queue 2015-11-17 21:01:23 +01:00
Martin Fietz b970d4fb0e Allow TLSv1 2015-11-17 00:21:47 +01:00
Martin Fietz 3768198a4b Merge pull request #1363 from mfietz/issue/1256-dark-dialogs
Dialogs: Sleep timer, Material dialogs
2015-11-14 17:36:44 +01:00
Martin Fietz cdd0d968cf Provide Parcelable.Creator object called CREATOR 2015-11-10 18:32:43 +01:00
Martin Fietz cea5fe708d Rating dialog 2015-11-09 22:54:30 +01:00
Martin Fietz 059ef16dc2 Fix dialog colors 2015-11-08 20:49:59 +01:00
Tom Hennen 27aab0b0a0 updated strings 2015-11-08 14:13:18 -05:00
Martin Fietz 8de90b7948 AlertDialog -> v7 AlertDialog 2015-11-08 18:05:19 +01:00
Tom Hennen 3b13ff1faa missed a SuppressLint 2015-11-07 15:32:21 -05:00
Tom Hennen 42e6dffc82 also check in register and unregister. make receivers final 2015-11-07 15:28:24 -05:00
Tom Hennen 32e870aeb5 get rid of whitespace. :( 2015-11-07 15:16:37 -05:00
Tom Hennen 72c2a46359 slight code refactoring, also BluetoothA2dp.EXTRA_STATE isn't available until API 11 2015-11-07 15:14:49 -05:00
Tom Hennen d25899d858 make action handling make somewhat more sense 2015-11-07 14:55:38 -05:00
Tom Hennen 87dffd45e1 put ff and rewind buttons on the large notification. refs AntennaPod/AntennaPod#1268 2015-11-07 14:49:07 -05:00
Tom Hennen 694e920902 updated strings 2015-11-07 12:06:21 -05:00
Tom Hennen f027e15e8e Merge pull request #1349 from mfietz/issue/remove_playing
If removing currently playing episode, (pause and) skip the same
2015-11-07 11:59:53 -05:00
Martin Fietz 2197e9b741 If removing currently playing episode, (pause and) skip the same 2015-11-07 17:38:29 +01:00
Tom Hennen baa2d6910d need to close the image cursor 2015-11-07 09:30:20 -05:00
Tom Hennen 0aeb520f14 Merge pull request #1347 from mfietz/recycler_view
RecyclerView & SnackBar
2015-11-07 09:16:24 -05:00
Martin Fietz cbb7d4d14a Prevent leaking the activity 2015-11-06 22:20:14 +01:00
Martin Fietz 32a47d0f65 New drag handle 2015-11-05 23:46:44 +01:00
Martin Fietz 383449e007 Refactor events 2015-11-05 23:46:43 +01:00
Martin Fietz 67d2287323 Queue: Replace DSVL with RecyclerView 2015-11-05 23:46:39 +01:00
Tom Hennen d2717979be sort favorites by publication date 2015-11-05 16:59:57 -05:00
Tom Hennen 7c278223a4 updated strings, added description and changelog to source control. 2015-11-03 18:56:23 -05:00
Martin Fietz 61ed1e8e34 Prefer iTunes image over everything else 2015-11-03 13:33:26 +01:00
Tom Hennen df11dbfe7a Merge pull request #1327 from mfietz/issue/1229
Sleep timer: Fix sleeping when shake to reset is not enabled
2015-11-01 18:33:41 -05:00
Martin Fietz 08a3106f11 Check for null 2015-11-01 23:24:55 +01:00
Tom Hennen 68e6b2a957 persistent nofication should be the default 2015-11-01 16:19:34 -05:00
Martin Fietz 0049fbec27 External version variables, lombok AST 2015-11-01 17:51:50 +01:00
Martin Fietz b1b1df3cdc Upgrade libraries 2015-11-01 17:13:24 +01:00
Tom Hennen f53b181fe8 Merge pull request #1321 from mfietz/issue/1319-sort-case-insensitive
Drawer: Sort feeds case-insensitive
2015-11-01 10:49:04 -05:00
Tom Hennen 41f0adb101 Merge pull request #1320 from mfietz/user_preferences
Refactoring: User preferences
2015-11-01 10:41:00 -05:00
Tom Hennen 562ad3b5ed Merge pull request #1315 from mfietz/issue/1314-not-closed
Close TypeGetter InputStreamReader
2015-11-01 10:29:57 -05:00
Martin Fietz 63094436b0 Order feeds case-insensitive 2015-11-01 15:02:49 +01:00
Martin Fietz d56af7e001 Always use application context 2015-11-01 14:39:02 +01:00
Martin Fietz 6c81a9fa91 Don't use ugly callbacks when you have your own reference 2015-11-01 14:39:02 +01:00
Martin Fietz 7152b0e0eb Unused parameter 2015-11-01 14:38:58 +01:00
Martin Fietz 7199daf81a Minor changes 2015-11-01 12:12:51 +01:00
Martin Fietz 1c57e36dcb Fix 2015-11-01 12:12:27 +01:00
Tom Hennen b77ecd9a4e minor string updates 2015-10-31 11:55:07 -04:00
Tom Hennen 3cc5eee0ff Have a different option for bluetooth reconnect.
Vibrate when starting playback due to bluetooth reconnect.

fixes AntennaPod/AntennaPod#1305
2015-10-31 11:33:10 -04:00
Tom Hennen e673e500c3 updated strings 2015-10-31 10:47:00 -04:00
Tom Hennen a2211a131a Merge pull request #1303 from TomHennen/update_translations_2015_10_29
updated strings
2015-10-31 10:16:20 -04:00
Tom Hennen 01af6d4a78 Merge pull request #1306 from mfietz/issue/1304-feed-remover
Feed Remover: Don't let the user cancel the ProgressDialog
2015-10-31 10:12:34 -04:00
Martin Fietz 663c0fd8be Don't let the user cancel the ProgressDialog 2015-10-30 12:25:13 +01:00
Tom Hennen bbd47715ce updated strings 2015-10-29 19:28:13 -04:00
Tom Hennen 3d644c194c updated strings 2015-10-29 17:53:07 -04:00
Tom Hennen e830a0fbfc Merge pull request #1302 from mfietz/issue/1301-out-of-bounds
Fix datetime parsing StringIndexOutOfBoundsException
2015-10-29 17:46:59 -04:00
Tom Hennen ebd6686ca6 Merge pull request #1292 from mfietz/issue/1290-NPE
NPE: ItemFragment Loader.loadInBackground
2015-10-29 17:28:38 -04:00
Martin Fietz 1a6f237258 Just catch everything that could go wrong 2015-10-29 11:01:42 +01:00
Martin Fietz 89e67f0919 Replace loader
Replace with lambda
Replace Loader with Observable
onResume and onPause instead of onStart and onStop; minor changes
Makes more sense to load data once at start
Reorder functions to mirror lifecycle
2015-10-25 14:00:50 +01:00
Tom Hennen 29a4e27493 if we're skipping an epsiode and keeping it, don't mark it played.
fixes AntennaPod/AntennaPod#1274
2015-10-23 17:46:38 -04:00
Tom Hennen 289a9c3016 escaped apostrophes that transifex probabaly should have escaped itself but didnt' 2015-10-17 14:21:57 -04:00
Tom Hennen 91ae7427fc updated strings 2015-10-17 14:14:56 -04:00
Martin Fietz ec7bc19351 Update to latest audio player version 2015-10-17 18:46:39 +02:00
Tom Hennen 7c4d11a498 Merge pull request #1267 from mfietz/issue/1264-seekto
Seeking: wait for completion where appropriate
2015-10-17 12:43:32 -04:00
Martin Fietz e4bb88f1f2 If already seeking, wait for current seek to complete 2015-10-17 18:20:20 +02:00
Martin Fietz 860741a7bb Wait for seek completion 2015-10-17 18:17:27 +02:00
Tom Hennen 88050cff9f Merge pull request #1266 from mfietz/issue/1259-protocol-error
Use HTTP/1.1 when new fancy protocols fail
2015-10-17 11:59:14 -04:00
Stefan Mitrik 87d27a7c0b Rewind after pause - used less conservative rewind times 2015-10-17 12:00:46 +02:00
Martin Fietz 75b2dc39c6 Use HTTP/1.1 when new fancy protocols fail 2015-10-16 13:44:02 +02:00
Stefan Mitrik f7dabd9335 Rewind after pause feature
The playback is rewinded X seconds after the pause and resume. The
rewind duration depends on time that elapsed between the pause and
resume.
2015-10-15 00:52:55 +02:00
Tom Hennen 017747d09b Merge pull request #1253 from TomHennen/fix1228
Keep episode media if we're supposed to keep skipped episodes
2015-10-12 17:29:03 -04:00
Tom Hennen 184e6eb836 listening -> finishing 2015-10-08 03:38:13 -04:00
Tom Hennen 23f134bb39 Change language related to skipping episodes.
Also now keep the episode media if we're going to keep it in the queue.
2015-10-08 02:53:34 -04:00
Tom Hennen 95cc133e0a Merge pull request #1241 from TomHennen/cleanup_algorithm
Cleanup algorithm updates
2015-10-08 01:52:27 -04:00
Tom Hennen 57b8ced16e Merge pull request #1242 from heckler01/develop
Make Text Readable On Download Notification 

looks good. thanks!
2015-10-08 01:48:48 -04:00
Tom Hennen 1aa1347724 Merge pull request #1246 from mfietz/issue/1244-sort-last-update
Drawer: Sort feeds by publication date
2015-10-05 01:35:47 -04:00
heckler01 db633ce305 Removed notificationCompatBuilder.setColor as it's not necessary and shouldn't have been committed. 2015-10-04 13:37:05 -04:00
Martin Fietz 91cc0b2527 Take feeds with no items into account 2015-10-04 10:28:32 +02:00
Tom Hennen 5c4e5a2916 Merge pull request #1247 from mfietz/issue/1238-opml-formatting
Format exported OPML file
2015-10-04 03:11:08 -04:00
Martin Fietz d3f9b2d49f Indent and add line break to exported OPML file 2015-10-03 21:39:25 +02:00
Martin Fietz 844b54f26d Drawer: Sort feeds by most recent publication date 2015-10-03 18:39:41 +02:00
Martin Fietz d6278e21d4 Additional playback speed steps 2015-10-03 17:47:53 +02:00
heckler01 0376140570 Revert "Revert "Make notification text readable (fixes #1233)""
This reverts commit 4ce407c485.
2015-10-02 18:42:25 -04:00
no.reply 4ce407c485 Revert "Make notification text readable (fixes #1233)"
This reverts commit 40aefe05a6.
2015-10-02 18:25:46 -04:00
Tom Hennen 6f3d748aa0 episode cleanup preferences tests 2015-10-02 16:50:08 -04:00
Tom Hennen af5579a30e fixed use of preferences 2015-10-02 10:25:01 -04:00
Tom Hennen c9c38a0f5a Implemented tests for the various cleanup algorithms.
We also don't delete items that are in Favorites.
2015-10-02 09:38:11 -04:00
Tom Hennen 0beeeb4351 resolved bug in how we were choosing the default cleanup parameter 2015-10-02 07:56:34 -04:00
no.reply 40aefe05a6 Make notification text readable (fixes #1233) 2015-09-30 21:03:04 -04:00
Tom Hennen 60e341cf78 resolved compile time issues. refactored some code 2015-09-30 06:33:35 -04:00
Tom Hennen 2339fb99e9 basic implementation of queue remove. some compile bugs still 2015-09-29 20:50:31 -04:00
Tom Hennen f5801c2181 Implement cleanup that only removes epiosdes older than a certain number of days
Also set the stage for the queue cleanup algorithm.
2015-09-29 20:29:53 -04:00
Tom Hennen 057900bc1b getting preferences setup for different cleanup method 2015-09-29 17:29:26 -04:00
Martin Fietz d037a8b901 If media player position makes no sense, get position from media 2015-09-27 15:12:13 +02:00
Martin Fietz d03c54d6fb Variable Speed Dialog: Install Prestissimo or enable Sonic 2015-09-27 15:12:12 +02:00
Martin Fietz e74a549b1b Upgrade Gradle and AntennaPod-AudioPlayer 2015-09-27 15:12:12 +02:00
Tom Hennen 72cf169401 AutoCloseable isn't available on all APIs 2015-09-27 09:08:50 -04:00
Tom Hennen 8cd6446913 create the favorites table on upgrade 2015-09-26 15:56:10 -04:00
Tom Hennen a6ddb1319c Merge pull request #1214 from TomHennen/update_playback_notification
Update playback notification
2015-09-26 15:20:08 -04:00
Tom Hennen c097b672d6 fix bug that caused ExternalPlayerFragment to not always be shown 2015-09-26 11:11:48 -04:00
Tom Hennen b090e2bf65 end playback the right way 2015-09-25 23:59:47 -04:00
Tom Hennen 664944d119 alway follow queue by default 2015-09-25 18:10:49 -04:00
Tom Hennen 754c1f4b37 use cancel button and enable swipe on 5.0+ 2015-09-25 17:56:11 -04:00
Tom Hennen 118285e8a2 using newer appcompat libraries 2015-09-22 19:15:49 -04:00
Tom Hennen 5b6fce427b if it was skipped we shouldn't remove it, but otherwise we should 2015-09-21 06:48:28 -04:00
Tom Hennen 6d0465ad13 title case 2015-09-20 20:12:39 -04:00
Tom Hennen f0904fbe49 added preference to not remove items from queue when skipping 2015-09-20 20:10:51 -04:00
Tom Hennen 73a16b4be8 swap feed and episode titles, get rid of time 2015-09-20 19:13:19 -04:00
Tom Hennen 4207950268 add skip episode to playback notification 2015-09-20 19:10:10 -04:00
Tom Hennen c00b5f4033 we can't delegate here 2015-09-20 17:03:52 -04:00
Tom Hennen 3638eed220 we do need to tag the item in addQueueItemAt 2015-09-20 16:33:57 -04:00
Tom Hennen 721bfc064a now removing items from favorites by swiping 2015-09-20 16:31:44 -04:00
Tom Hennen dfbd878afe Added 'tags' to FeedItem and properly showing/not showing menu items for favorites. 2015-09-20 16:11:57 -04:00
Tom Hennen ed679b8a17 refactored after merging in changes from #1212 2015-09-20 14:54:54 -04:00
Tom Hennen 1993f779e8 basic favorite functionality 2015-09-20 14:21:15 -04:00
Tom Hennen a89edfcad4 Merge pull request #1212 from mfietz/ext_audioplayers_lib
Alternative to Prestissimo [4.1+] and other annoyances
2015-09-20 14:15:46 -04:00
Martin Fietz 5f77c4de50 Replace some of the most annoying AsyncTasks with RxJava 2015-09-19 20:39:14 +02:00
Martin Fietz a475bf112f Prevent NPE 2015-09-19 20:38:45 +02:00
Martin Fietz 7b23dfeb50 Move audio player classes to external library 2015-09-19 14:20:01 +02:00
Martin Fietz dbdd18523c Allow only alphanumeric and a few other characters in media filenames 2015-09-18 10:58:25 +02:00
Martin Fietz c34a2779bb Change default 2015-09-18 00:52:21 +02:00
Martin Fietz 96132d0da9 NP check in executor run code 2015-09-17 23:18:08 +02:00
Martin Fietz 17c87d9bfc Lockscreen background defaults to true, more detailed description, NPE fixed 2015-09-16 01:44:45 +02:00
Martin Fietz 8efb73a39e Set lockscreen background, set media session and playback state 2015-09-16 01:38:39 +02:00
Martin Fietz 75dfc89a44 Refactor database access 2015-09-10 00:58:30 +02:00
Tom Hennen 2c3f7921d2 Merge pull request #1181 from mfietz/buttons_not_uppercase
Button text capitalized, not uppercase
2015-09-09 18:42:17 -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
Martin Fietz 11e70e3293 Adhere to material design guidelines (uppercase button label) on >= 5.0 2015-09-09 23:44:26 +02:00
Tom Hennen 159f1f6dcc changes the action title to Send... 2015-09-09 17:23:53 -04:00
Martin Fietz ea62a37298 Change button text not all caps 2015-09-08 11:39:22 +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 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
Martin Fietz 98a0b46bed Merge pull request #1177 from TomHennen/fix1173_undo
Set episode back to 'New' when undo remove from new episodes.
2015-09-07 21:46:22 +02:00
Tom Hennen 6780980b1c Merge pull request #1172 from TomHennen/fix_new_episodes
Fix new episodes
2015-09-07 14:27:36 -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
Tom Hennen 5814727180 Merge pull request #1148 from mfietz/issue/1146-gears-color
Fix gears color
2015-09-05 13:05:42 -04:00
Tom Hennen e6202c57fc Resolve old episodes being marked as new.
fixes AntennaPod/AntennaPod#1009 (I hope)
2015-09-05 12:52:48 -04:00
Tom Hennen b9c14b385f remove ability to specify mediaIds when autodownloading 2015-09-05 12:25:11 -04:00
Tom Hennen d271ffd7f0 Merge pull request #1021 from katrinleinweber/more-update-intervals
add 3 & 7 day update interval
2015-09-05 12:16:55 -04: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 ba50e44cc4 Merge pull request #1169 from keunes/keunes-patch-2
Update strings.xml
2015-09-05 11:35:54 -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
keunes 37fd0a73ed Update strings.xml 2015-09-05 10:02:50 +02:00
Martin Fietz 59f257a678 Reset playback volume when going to sleep 2015-09-05 01:32:47 +02:00
Tom Hennen 794cf98ffb Merge pull request #1167 from TomHennen/fix_npe_gpodnetsyncservice
fix NPE when action has no timestamp
2015-09-04 18:56:00 -04:00
Martin Fietz 98a6ab144b On sleep timer about to expire, lower volume even more 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 ff85fb9314 Revert "Update strings.xml" 2015-09-04 18:41:49 -04:00
Tom Hennen 7764698991 Merge pull request #1156 from keunes/keunes-update-English-string
Update strings.xml
2015-09-04 18:21:52 -04:00
Tom Hennen 2292b82252 fix NPE when action has no timestamp 2015-09-04 18:08:41 -04:00
Tom Hennen a2e61bee11 Compiling with api 22 with thanks to @mfietz
4ccefe5e84
2015-09-03 17:41:19 -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 ff7b5de144 Remove needless leading and trailing spaces in feed or episode title 2015-08-31 11:23:50 +02:00
keunes 355fd4759b Update strings.xml
Update auto_download_apply_to_items_title  #1155
2015-08-31 08:39:03 +02:00
Tom Hennen 041e7bbb08 Merge pull request #1143 from mfietz/issue/1130
Resume playback when bluetooth device is reconnected
2015-08-29 08:21:18 -04:00
Martin Fietz 55cc2a0d2d Resume playback when bluetooth device is reconnected 2015-08-28 23:33:05 +02:00
Martin Fietz 30d06f62d9 Localize option label 2015-08-28 23:07:20 +02:00
Tom Hennen 38db163610 removed unused queuing of new media files. 2015-08-26 17:40:29 -04:00
Tom Hennen 93273748b1 Remove selective downloading of new things and just let auto-download do it's thing.
refs AntennaPod/AntennaPod#1009
2015-08-25 20:03:58 -04:00
Martin Fietz b76675048e POST empty string 2015-08-23 00:04:05 +02:00
Tom Hennen 0a37a839b3 Merge pull request #1114 from TomHennen/fix1101
Can now download things while on mobile.
2015-08-22 09:10:15 -04:00
Tom Hennen 56cc15276f Merge pull request #1090 from mfietz/issue/1089-shownotes-line-breaks
Display line breaks in shownotes correctly
2015-08-20 22:20:52 -04:00
Tom Hennen b8e0db68f6 merged from develop 2015-08-20 22:09:27 -04:00
Tom Hennen 5bd341fd8a Merge pull request #1103 from mfietz/issue/1086
Custom SSL Socket Factory for Android 4.1.x - 4.4x
2015-08-19 21:20:42 -04:00
Tom Hennen 1e1b5ff99b Can now download things while on mobile.
The glide url loader now uses its own OkHttpClient.
The result is that we can now search for podcasts and download them while on mobile
even if the user doesn't allow mobile downloads (NOTE that we don't do anything
they haven't asked us to do while on mobile).

fixes AntennaPod/AntennaPod#1101
2015-08-19 21:03:31 -04:00
Tom Hennen b7ac013b5b Merge pull request #1109 from mfietz/issue/1094v2
Load feed media size on demand
2015-08-18 21:51:08 -04:00
Martin Fietz 3321e8db4f Custom SSL Socket Factory for Android 4.1+ (but below 5) 2015-08-19 00:19:48 +02:00
Tom Hennen 9e39a65e75 Merge pull request #1104 from TomHennen/fix1102
not every action has a timestamp
2015-08-18 16:49:27 -04:00
Martin Fietz 3abce4c597 Load feed media size on demand 2015-08-18 18:24:16 +02:00
Martin Fietz f9130671c0 Read feed counter setting correctly 2015-08-17 21:10:11 +02:00
Tom Hennen bf93cf3259 not every action has a timestamp. fixes AntennaPod/AntennaPod#1102 2015-08-16 19:15:45 -04:00
Martin Fietz 04bfcacb12 Disable feed media file size service 2015-08-16 00:08:39 +02:00
Martin Fietz f8b7008182 Only replace ASCII line breaks if shownotes don't already contain HTML ones 2015-08-15 19:27:47 +02:00
Martin Fietz cf1259e0b3 Display line breaks in shownotes correctly 2015-08-15 15:58:06 +02:00
Tom Hennen 652063b060 updated strings from transifex 2015-08-13 18:34:34 -04:00
Tom Hennen 4832b1aeb2 updated comment 2015-08-08 16:37:14 -04: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 dbaa5a87e5 updated strings from transifex 2015-08-08 08:42:31 -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 c019f2cd3b removed extra quote 2015-08-04 22:41:03 -04:00
Tom Hennen 224832300f only autodownload new items 2015-08-04 22:09:53 -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 008347313f 'feeditem' is the id of the FeedItem
SQL statement previously used 'id' which was actually
the id of the FeedMedia item and not the FeedItem
2015-08-04 21:09:55 -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 1dd5fcdc3b Merge pull request #1054 from TomHennen/fix1053
Fixes pictures disappearing in some cases
2015-08-02 21:11:19 -04:00
Tom Hennen 3174c338bd Should call apply instead of commit since it is asynchronous. 2015-08-02 21:09:52 -04:00
Tom Hennen ca40c6e7ab Merge pull request #1048 from TomHennen/merge1.2.2_to_develop
merged 1.2.2 changes to develop
2015-08-02 21:07:14 -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 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 dfc97dcd62 merged 1.2.2 changes to develop 2015-08-02 14:14:44 -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
Katrin Leinweber fcd6284135 add only 72h, due to 168h criticism 2015-08-01 20:48:12 +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