Commit Graph

70 Commits

Author SHA1 Message Date
arkon 91ed3a4a5f Fix skipped library entries and size warning notifications using same ID 2022-04-24 15:49:24 -04:00
arkon 2b79295240 Revert "Revert history Compose/SQLDelight changes"
This reverts commit 96c894ce5b.
2022-04-22 17:35:18 -04:00
arkon 96c894ce5b Revert history Compose/SQLDelight changes 2022-04-22 17:27:58 -04:00
Andreas b1f46ed830 Migrate History screen database calls to SQLDelight (#6933)
* Migrate History screen database call to SQLDelight

- Move all migrations to SQLDelight
- Move all tables to SQLDelight

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>

* Changes from review comments

* Add adapters to database

* Remove logging of database version in App

* Change query name for paging source queries

* Update migrations

* Make SQLite Callback handle migration

- To ensure it updates the database

* Use SQLDelight Schema version for Callback database version

Co-authored-by: inorichi <3521738+inorichi@users.noreply.github.com>
2022-04-21 15:45:56 -04:00
arkon e81bd61e24 Adjust update/download warnings
This is a partial revert/evolution of 538dd60580

- Back to notifications, because Android 12+ may cut off toasts
- Notifications now automatically dismiss after 30s on Android 8+ (taken from J2K)
- Also warn if more than 30 chapters are queued for download
2022-04-15 10:24:54 -04:00
arkon 5afff31f72 Formatting 2022-04-08 16:44:23 -04:00
arkon f0eb42e72d Update linter 2022-04-08 15:30:39 -04:00
Andreas 1163aa4e4e Share logic for saving page/cover (#6787)
* Use MediaStore on newer Android Q or newer

* Use flow instead of Observable

* Review comment fixes

* Use suspended function instead of flow
2022-03-19 16:46:23 -04:00
arkon 56042ad0b6 Split out global library update skipped entries into separate notification (closes #6722) 2022-03-09 18:04:52 -05:00
arkon 4a27f0546c Fix bottom nav being visible when resuming app (fixes #6012) 2022-01-09 10:26:51 -05:00
KieuQ 808177f8c9 Add download action to New Chapters Notification (#6336) 2021-12-11 12:51:30 -05:00
arkon 0edc981cd2 Move app and extension update notifications to new channels/group (closes #6168) 2021-10-30 17:42:06 -04:00
arkon 538dd60580 Adjust update/download warnings
- Uses toasts now
- Adjusted wording to emphasize effect on sources
- Download warning has a different threshold (15 chapters per source, vs. 60 entries per source for library update)
2021-10-18 10:46:07 -04:00
arkon 082eef708f Add warnings when library and download queues are considered large (closes #5950)
Arbitrarily set at a size of 100 for now. We could adjust this in the future as appropriate if needed.
2021-10-09 14:55:21 -04:00
Ivan Iskandar b284384f0a Implement new extension install methods (#5904)
* Implement new extension install methods

* Fixes

* Resolve feedback

* Keep pending status when waiting to install

* Cancellable installation

* Remove auto error now that we have cancellable job
2021-09-25 14:31:52 -04:00
arkon fce3cd00a1 Remove setting to disable update error notifications and split out notification channel
Users can exclude things from updating if needed, or disable the notification channel from system settings.
2021-09-17 19:14:30 -04:00
Taco 24fd82d773 Use NotificationChannelCompat utilities (#5781) 2021-08-26 22:08:27 -04:00
arkon 649209890d Use chooser intent for sharing saved pages 2021-07-24 11:56:55 -04:00
arkon 71d225c562 Address some build warnings 2021-06-05 17:49:20 -04:00
arkon 281a3911f6 Add share and save cover actions (closes #3011) 2021-06-02 22:51:10 -04:00
Ivan Iskandar ef8a87a30f Bump compileSdk to 30 (#5140) 2021-05-22 14:48:27 -04:00
arkon 5e37f72d74 Remove legacy backup creation 2021-05-17 11:41:12 -04:00
Ivan Iskandar cb203ef02c Show notification to disable Incognito Mode when it's enabled (#4976)
* Show notification to disable Incognito Mode when it's enabled

* Finish ReaderActivity and BrowseSourceController when incognito is disabled

* CLeanup strings

* Only register DisableIncognitoReceiver when needed
2021-04-30 22:36:54 -04:00
arkon 3ba078f64c Use more common MIME type for protobuf 2021-03-25 13:46:53 -04:00
arkon 9facb51f22 Add action to directly share crash log file from notification 2021-02-07 23:05:13 -05:00
arkon 1607658c30 Set clip data when sharing content URIs (closes #4198) 2021-02-06 09:43:33 -05:00
arkon db2dd4b6c6 Add method for users to save error logs to a file 2021-01-21 18:21:03 -05:00
arkon 76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon 64bdfabbd8 Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon 4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon 4f02872a84 Minor cleanup 2020-08-03 23:03:31 -04:00
arkon 8e8c30c1eb Move download warnings/errors to separate notification channel 2020-08-02 12:16:51 -04:00
arkon 3813743e3d Split download notifications into progress and complete channels 2020-07-29 21:57:43 -04:00
Jimmy Low 7e73ede47a [Feature Request] - Download Complete Remidner #3475 (#3527)
* [Feat] Show a download complete notification channel when all downloads are completed. Auto cancels when onclick and navigate to download screen.

* [Feat] Update the download message string to shorten the length.
2020-07-29 17:31:45 -04:00
Eugene Cheung fc4e290c49 Show notification with error log on update failures 2020-05-13 22:28:15 -04:00
arkon be09dded20 Attempt to remove sound from backup/restore completion notifications 2020-05-01 19:29:15 -04:00
arkon 31b86f539b Set backup/restore progress notifications to low priority 2020-04-30 18:40:36 -04:00
arkon 2661700d9a Split out backup/restore notifications into separate channels for progress/completion 2020-04-29 22:30:33 -04:00
arkon 9d22a9e664 Move some restore notification logic into service 2020-04-25 18:59:12 -04:00
arkon 3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon 6de00b1f21 Make restore a foreground service 2020-04-22 23:09:24 -04:00
arkon f69f78db34 Move restore progress dialog to notification 2020-04-21 21:53:15 -04:00
arkon f2a7f8efda Move restore completed/error dialogs to notifications 2020-04-21 20:46:24 -04:00
arkon e6c172ac22 Fully move backup progress/created dialog logic to notifications 2020-04-21 20:10:53 -04:00
arkon d8e7481118 Fix backup/restore notification channel 2020-04-21 19:17:55 -04:00
arkon 42b536e40b Replace backup progress dialog with notification 2020-04-20 23:11:02 -04:00
arkon 6c14402992 Remove manga homescreen shortcuts 2020-04-18 16:06:31 -04:00
Jay f115fe47fe Using extension icon instead of letter for catalogues (closes #2261) 2020-04-01 23:03:20 -04:00
arkon 6da350aee6 Minor extension update cleanup, default to on 2020-03-20 22:59:59 -04:00
Jays2Kings 9585f9a1a6 Option to auto check for extension updates (#2680)
* Option to auto check for extension updates

* Addressing comments

* Added foreground check for extensions

* Added Extension Preference widget
2020-03-20 22:22:39 -04:00