Commit Graph

7093 Commits

Author SHA1 Message Date
Anderson Mesquita a3a5a936a2 Remove IF NOT EXISTS from index create statements
`onCreate()` should only ever be called once, where the tables and
indices are created. Any other changes need to happen via `onUpgrade()`,
so we can safely remove `IF NOT EXISTS`.

When importing any database into the app (e.g. if it gets corrupted and
is recreated with `sqlite3 old-database.db ".dump"`), it first needs to
be set back to the correct version. This can be done in sqlite with:

    $ sqlite3 old-database.db "PRAGMA user_version"
    <old-db-version>
    $ sqlite3 new-database.db "PRAGMA user_version = <old-db-version>"

For more context, see this PR:
https://github.com/AntennaPod/AntennaPod/pull/4585
2020-11-02 18:01:32 -05:00
ByteHamster 9f4c90ebfb
Merge pull request #4633 from ByteHamster/fix-crash
Fixed crash when playing from preferences
2020-11-02 20:39:19 +01:00
ByteHamster ec9d631d8d Fixed crash when playing from preferences 2020-11-02 17:10:20 +01:00
ByteHamster b3c69f1a20
Merge pull request #4625 from ByteHamster/toolbar-rework
Toolbar rework
2020-11-01 17:20:11 +01:00
ByteHamster 23763eb87f
Merge pull request #4628 from ByteHamster/local-feeds-metadata
Fixed local feed metadata, show directly
2020-11-01 17:00:27 +01:00
ByteHamster 87e7a67610 Reduced lag when switching tabs 2020-11-01 16:59:59 +01:00
ByteHamster bec385a0a8 Restore icon state after searching 2020-11-01 16:59:55 +01:00
ByteHamster 8713d25b1a Fixed local feed metadata, show directly 2020-11-01 16:24:13 +01:00
ByteHamster 7c2c97c747 Converted pagers to stand-alone toolbar 2020-11-01 15:35:44 +01:00
ByteHamster 5f2b436ddc Fixed toolbar state updates
Do not modify up arrow state of background fragments's toolbars.
They are invisible anyways and their state can be kept when resuming
later.
2020-11-01 15:35:44 +01:00
ByteHamster 8975b60ecd Converted main fragments except pagers to stand-alone toolbar 2020-11-01 15:35:44 +01:00
ByteHamster 1ffb9f9464 Converted second-level fragments to stand-alone toolbar 2020-11-01 15:35:39 +01:00
ByteHamster 13e2a67081
Merge pull request #4626 from ByteHamster/fix-empty-view-downloads
Fixed empty view in downloads fragment
2020-11-01 15:08:55 +01:00
ByteHamster 9b55abc781 Fixed empty view in downloads fragment 2020-11-01 13:16:05 +01:00
ByteHamster dc98c445c1
Merge pull request #4623 from ByteHamster/cancel-future
Cancel notification updater future before shutting down executor
2020-11-01 09:47:32 +01:00
ByteHamster ec7f639982
Merge pull request #4617 from ByteHamster/duplicate-share-dialog
Do not display duplicate share menu
2020-11-01 09:47:13 +01:00
ByteHamster f095ca8474 Cancel notification updater future before shutting down executor 2020-10-31 12:23:47 +01:00
avirajrsingh 851ac4198d
Remove enable autodownload from local feed (#4621) 2020-10-31 11:59:32 +01:00
ByteHamster 96e68f69de Do not display duplicate share menu 2020-10-29 21:07:29 +01:00
ByteHamster 7ac4f18561 Migrate notification channel settings 2020-10-29 20:44:24 +01:00
ByteHamster a0cd1fed2a
Merge pull request #4614 from ByteHamster/consistent-naming
Be consistent about podcast vs episode
2020-10-29 20:42:38 +01:00
ByteHamster 151cccce66 Use system's notification settings on supported devices 2020-10-29 20:21:43 +01:00
ByteHamster 26071dc3cf Make notification channels consistent between app settings and system settings 2020-10-29 20:10:05 +01:00
ByteHamster 19697e3aa5 Be consistent about podcast vs episode 2020-10-29 19:48:16 +01:00
avirajrsingh 4a4392e797
Add podcast specific statistics to podcast info screen (#4601) 2020-10-29 19:41:41 +01:00
moralesg 3a87982628
Local feeds, add successful download log entry (#4608)
Co-authored-by: moralesg
2020-10-28 16:12:08 +01:00
moralesg 370df3a26c
Local feeds: honor file creation date (#4607) 2020-10-28 16:07:17 +01:00
ByteHamster 8ad4682aa4 Merge branch 'master' into develop 2020-10-28 10:56:22 +01:00
ByteHamster 81e2be8f2b Bumped version to 2.0.3 2020-10-28 10:38:01 +01:00
ByteHamster fa6e054212 Updated translations 2020-10-28 10:37:18 +01:00
mohit 109e5716ed
Use of ViewBinding in OnlineFeedViewActivity.java class (#4399) 2020-10-28 09:53:58 +01:00
Nikhil Aggarwal 15ba3f8f60
Fixed episodes page no longer shows empty view (#4573) 2020-10-28 09:15:18 +01:00
Tony Tam 3a9829bd5e
When doing Auto Skip to End, do the right thing (#4594) 2020-10-28 09:06:42 +01:00
ByteHamster 7e9363a0f7
Merge pull request #4603 from ByteHamster/fix-service-running
Only accept media control buttons while actually playing
2020-10-26 14:04:59 +01:00
ByteHamster 2da36919b3 Only accept media control buttons while actually playing 2020-10-26 11:13:52 +01:00
ByteHamster 73bae55022
Merge pull request #4604 from ByteHamster/fix-npe-bottomsheet
Fixed NPEs in bottom sheet
2020-10-26 11:11:00 +01:00
ByteHamster fc54186373 Fixed NPEs related to bottom sheet 2020-10-26 10:59:13 +01:00
ByteHamster 885362e5eb
Merge pull request #4596 from ByteHamster/local-feed-cleanup
Tiny cleanup on local feeds
2020-10-26 09:07:01 +01:00
ByteHamster 2db4835b20 Tiny cleanup on local feeds 2020-10-25 20:30:17 +01:00
ByteHamster 1a1b663404
Merge pull request #4287 from AntennaPod/add-local-feeds
Add local feeds
2020-10-25 20:21:05 +01:00
ByteHamster 679e482999 Merge branch 'develop' into add-local-feeds 2020-10-25 19:33:21 +01:00
ByteHamster 71b6c57773
Merge pull request #4590 from ByteHamster/merge-chapters
Merge chapter lists if specified in both feed and media file
2020-10-25 19:20:05 +01:00
ByteHamster 342ad86467
Merge pull request #4593 from ByteHamster/force-start-service
Prevent play/pause button not doing anything in some cases
2020-10-25 19:16:02 +01:00
asdoi d732e6a5c1
Show date from which statistics are counting (#4517) 2020-10-25 19:14:59 +01:00
ByteHamster c378b1828b Merge chapter lists if specified in both feed and media file 2020-10-25 19:03:26 +01:00
ByteHamster a0c604dc86
Merge pull request #4591 from ByteHamster/ensure-background-thread
Ensure that first DB query is executed in background thread
2020-10-25 19:00:55 +01:00
ByteHamster 058885ac09 Prevent play/pause button not doing anything in some cases 2020-10-25 18:59:02 +01:00
ByteHamster aa3a350e38
Merge pull request #4592 from ByteHamster/audiofocus-reuse
Reuse audiofocus request object
2020-10-25 18:57:57 +01:00
ByteHamster 2ae11e1d18
Merge pull request #4589 from Niffler/resolve-issue-4320
Edit streaming confirmation dialog labels
2020-10-25 18:56:40 +01:00
ByteHamster caaf2c72db Upgrade roboelectric for API 30 compatibility 2020-10-25 18:45:30 +01:00