Commit Graph

5138 Commits

Author SHA1 Message Date
bedfbf3f71 Merge branch 'master' into sync-part-final 2023-08-13 19:19:47 +10:00
8a6a104987 Set tracker finished date when manually updating to last chapter
Closes #9834
Individual tracker implementations already handle setting it too on update.
2023-08-11 09:30:35 -04:00
3ebf39bd55 Minor reader cleanup 2023-08-06 22:27:45 -04:00
8f395d98e7 Make some error messages localizable (#9811)
* Make error message of 3 exceptions localizable.

* Revert unnecessary file handle exception change.
2023-08-06 09:50:43 -04:00
26b3eb696c Fix missing inversion in tap zones help overlay. (#9812) 2023-08-05 18:36:19 -04:00
627f07408e Add private extension install method (#9710)
* Add private extension install method

Private extensions are put inside private data directory of the running app, so
this kind of extensions can only be used by the running app and not shared with
other apps.

One limitation of private extension is the lack of deeplink handlers (if there's
any) since the extension APK is not installed to the system.

When both kinds of extensions are installed with a same package name, shared
extension (the one installed to the system) will be used unless the version
codes are different. In that case the one with higher version code will be used.

* update
2023-08-05 12:15:52 -04:00
39c6bcccd8 Consider local manga as downloaded when filtering in reader
Fixes #9801
2023-08-05 12:01:17 -04:00
6259bbaa5e Always include bound trackers when migrating/copying 2023-08-05 11:54:34 -04:00
4b7acdb022 Fix migration flags usage (incorrect defaults and copy mode) (#9805)
* Fix migration flags usage (incorect defaults and copy mode)

* Remove unused logcat import left from testing.
2023-08-05 11:49:22 -04:00
af0fdfa3b7 ReaderViewModel: Fix saved state (#9807)
Also save page index
2023-08-05 09:47:02 -04:00
d874f20362 [Hotfix] Fix bug of not fetch update if manual library refresh as fetch period have lower limit (#9806)
Fix bug of not fetch update if manual library refresh, no auto

If somehow manga missed check period, we would not give new next update cycle and it would forever left behind
2023-08-05 09:07:00 -04:00
8680accd8e Migrate bottom reader menu to Compose 2023-08-04 18:05:02 -04:00
7308090288 Migrate reader shortcut menus to Compose
Contents' UIs should probably be improved, but that can happen separately.
2023-08-04 17:34:08 -04:00
400ca48456 Remove unnecessary profileable flag in manifest 2023-08-04 17:12:11 -04:00
9b6567f5e4 Add support to kotlin.time APIs in the rate limit interceptor (#9797)
* Add support to kotlin.time APIs in the rate limit interceptor.

* Add a missing line break in the doc.

* Move the specific host to the same file.

* Add kotlin.time rule to Proguard and remove specific host rule.

* Mark the old version as deprecated and address review.

* Remove unused import.

* Remove yet another unused import.
2023-08-04 17:11:43 -04:00
7798186c32 Drop support for extension-lib 1.3 2023-08-04 10:35:57 -04:00
9dc66c7c8d Combine tracking OAuth login activities 2023-08-04 10:35:47 -04:00
c4dc2c89cb Merge branch 'master' into sync-part-final 2023-08-03 16:06:17 +10:00
fdc85bd314 bugfix: Since syncing is cross-device we need to take read status from backup.
I fixed this before but I believe it slipped past while refactoring and splitting into smaller PR, This fixes the unread chapter so if a device have unread chapters or user marked it as unread it should restore it properly now.

Signed-off-by: KaiserBh <kaiserbh@proton.me>
2023-08-03 15:42:10 +10:00
96a767aa0c refactor: refactor merging logic tidy up.
As we fixed the issue with removing favorites we don't the extra stuff.

Signed-off-by: KaiserBh <kaiserbh@proton.me>
2023-08-03 15:40:26 +10:00
10b0ef9b6d Dismiss extension update notification if all updates installed 2023-08-02 18:00:06 -04:00
645505e1e9 feat: added google drive service.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
2023-08-03 03:50:01 +10:00
536c5facb9 fix:conflict.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
2023-08-03 01:40:46 +10:00
70452acdda fix:conflict.
Signed-off-by: KaiserBh <kaiserbh@proton.me>
2023-08-03 01:13:39 +10:00
81cd765543 More refactoring of expected next update logic 2023-07-30 19:13:16 -04:00
c9a1bd86b5 Refactor some Screens to be classes
Not really much point in keeping these as singletons.
Hopefully allows for these to be GC-ed after closing them.
2023-07-30 19:13:16 -04:00
dfbbbadfac Show ellipsis in longer OSS library names (#9780)
Show ellipsis in longer OSS library names.
2023-07-30 17:39:37 -04:00
0f21d16263 Minor cleanup 2023-07-30 10:08:51 -04:00
5718983f41 Update benchmarking dependencies 2023-07-29 22:48:56 -04:00
cd91ea9b77 Remove need for SQLDelight primitive adapters 2023-07-29 16:14:23 -04:00
6a558ad119 Upgrade to SQLDelight 2 2023-07-29 15:32:09 -04:00
90325d48aa Subscribe to download queue state changes in UpdatesScreen 2023-07-29 14:26:36 -04:00
e2abf283fe Don't show future timestamps as Recently (#9773) 2023-07-29 14:09:08 -04:00
db788d519d Avoid badly wrapped buttons in DuplicateMangaDialog
Fixes #9767
2023-07-29 12:14:11 -04:00
f3e9d5f346 Show feedback message when downloads index manually invalidated
Closes #9768
2023-07-29 12:09:00 -04:00
fd30c0adcd Avoid showing duplicate entry dialog for same entry
Fixes #9772
2023-07-29 12:07:13 -04:00
3ad4f1114a Cleanup related to fetch interval display 2023-07-29 10:29:53 -04:00
fe90546821 Remove relative timestamps setting 2023-07-29 10:03:16 -04:00
3892c4caac Minor cleanup 2023-07-29 09:51:51 -04:00
cb639f4e90 Update Manga in Expected Period (#5734)
* Add Predict Interval Test

* Get mangas next update and interval in library update

* Get next update and interval in backup restore

* Display and set intervals, nextUpdate in Manga Info

* Move logic function to MangeScreen and InfoHeader

Update per suggestion

---------

Co-authored-by: arkon <arkon@users.noreply.github.com>
2023-07-28 23:10:02 -04:00
6d69caf59e Show help banner when Cloudflare captcha page is shown in WebView 2023-07-28 23:09:52 -04:00
cdc1c5efa3 Better handle saving animated drawables 2023-07-26 23:26:58 -04:00
77bfd0c099 Don't attempt to show non-bitmap image in notification when saving
Fixes #9758
2023-07-26 23:09:33 -04:00
8ff0c9d61a Allow more flexible custom preference composables 2023-07-26 22:57:15 -04:00
b6620434b3 Bump dependencies 2023-07-26 22:56:49 -04:00
abae9bf37d Minor cleanup 2023-07-23 20:03:37 -04:00
2556e9f08c Refactor duplicate chapter number formatters 2023-07-23 18:09:08 -04:00
ee26d6dffd Remove some uses of color resources 2023-07-22 18:56:45 -04:00
7b2764e8f7 Refactor backup and restore to support cross device sync. (#9699)
* refactor: backup and restore to support cross device sync.

* chore: Updated string resources

* refactor: change function name.

* refactor: Use URI SyncHolder.kt not needed anymore.
2023-07-22 18:39:56 -04:00
46e3b9e40d Use previously updated track item when binding start date
Fixes #9743
2023-07-22 09:32:17 -04:00