Commit Graph

1912 Commits

Author SHA1 Message Date
arkon
bf5065d16b Minor cleanup, remove some usages of ArrayList 2020-05-30 23:42:11 -04:00
arkon
3e837f8781 Add Browse to start screen options 2020-05-30 23:22:48 -04:00
arkon
77d378ccd1 Fix crash when opening chapter from migration 2020-05-30 23:16:17 -04:00
arkon
e3ed12b5d2 Set reader menu visibility on system UI visibility change (closes #3149 and #2068) 2020-05-30 19:07:31 -04:00
arkon
759795940b Use onBackpressureLatest for chapter/page download observables (maybe fixes #3229) 2020-05-30 18:20:19 -04:00
arkon
a23d5ab734 Add bottom padding to migrate sources list 2020-05-30 18:06:40 -04:00
MCAxiaz
3edf17d322
handle default category and add favorite check (#3248)
Download new chapters bug fix
2020-05-30 09:17:27 -04:00
arkon
8c2b2f99bc Add option to hide library category tabs 2020-05-28 18:15:24 -04:00
arkon
9a082d4df1 Fix being unable to restore backups if there's no categories 2020-05-25 16:41:53 -04:00
arkon
f430b6f853 Use getEnum for theme preferences too 2020-05-25 15:13:30 -04:00
arkon
78a352541a Use actual enum support for display mode preferences 2020-05-25 15:03:51 -04:00
arkon
a0f5633094 Use enums for other PreferenceValues 2020-05-25 14:07:12 -04:00
arkon
0af81c7d05 Comfortable grid code cleanup 2020-05-25 14:01:17 -04:00
jobobby04
52e82b3548
Comfortable Grid (#3238)
* Comfortable Grid

* Add requested changes

* Add more requested changes
2020-05-25 13:39:14 -04:00
arkon
f05b99ec1f Convert source display mode preference to flow, remove RxPreferences 2020-05-25 12:35:29 -04:00
arkon
194897bf3c Convert column preferences to flows 2020-05-24 18:34:19 -04:00
arkon
7cf26363c8 Convert last used source preference to flow 2020-05-24 18:16:07 -04:00
arkon
af1935d2e4 Split up MigrationController 2020-05-23 20:49:20 -04:00
arkon
3c4bc17065 Reorganize some migration classes 2020-05-23 19:33:47 -04:00
arkon
333d1c1ad9 Remove explicit "SELECT" button from migration source list 2020-05-23 18:58:05 -04:00
arkon
4e027cec71 Move migration into browse as a tab 2020-05-23 18:53:13 -04:00
arkon
39ae84301a Move migration classes under browse 2020-05-23 18:40:33 -04:00
arkon
ac8f2923e5 Handle empty thumbnail_url when refreshing covers 2020-05-23 15:19:17 -04:00
arkon
e6bc181e7a Avoid replacing covers with null when updating library (sort of closes #3194) 2020-05-23 10:56:44 -04:00
arkon
a2ece82197 Group advanced settings 2020-05-23 10:46:07 -04:00
arkon
259946cf0a Make metadata updating optional 2020-05-23 10:37:46 -04:00
arkon
4fdb4f14a8 Move categories up in library settings 2020-05-23 10:33:49 -04:00
arkon
9b4ffd1cd5 Fix recycled icon in source migration list when source isn't installed 2020-05-23 10:15:06 -04:00
arkon
3b41a78e76 Add explicit refresh icon asset (maybe fixes #3218) 2020-05-21 09:00:01 -04:00
Chris Allan
0fccbbc0ca
Rename downloaded chapters (#3216) 2020-05-20 22:42:30 -04:00
arkon
b457cdb0c2 Scroll up/down when tapping top/bottom quarters of webtoon viewer
Includes a fix from J2K: 4e45a337da
2020-05-20 22:23:45 -04:00
arkon
647391ef73 Make library update error notification optional (closes #3200) 2020-05-20 17:39:01 -04:00
MCAxiaz
ed029c52ae
download new chapters changes (#3193)
* download new chapters changes

* move initialFetchChapters logic into onNextChapters

* refractor download new chapter logic to be more explicit
2020-05-17 17:33:26 -04:00
arkon
102a372df9
Sort chapters by upload date (#3180)
* Added sorting by upload date

Spanish 'strings' contains the proper translation for the new feature.

* Added missing sorting cases handling

Previous commit missed some cases resulting in errors at runtime

* Implemented review changes

Shorter UI text and >= date comparison instead of >
2020-05-17 10:18:49 -04:00
arkon
d4ffb09a8b Minor edits 2020-05-17 10:18:05 -04:00
Lautaro Martin Emanuel
6ba052d2af Implemented review changes
Shorter UI text and >= date comparison instead of >
2020-05-16 18:54:47 -03:00
arkon
57b63f43f5 Fix cover thumbnails not being translucent for favorited manga in sources 2020-05-16 16:47:19 -04:00
arkon
2fb0969c75 Fix unread badges not hiding in list view 2020-05-16 16:38:43 -04:00
arkon
3357e878a5 Square covers in list view (closes #3121) 2020-05-16 16:35:40 -04:00
arkon
471d5d62d5 Move cover card outline clipping code from item to holder classes 2020-05-16 16:32:14 -04:00
arkon
e810b343cf Specify charset for ZIP chapters when using Android N+ (fixes #905) 2020-05-16 15:22:02 -04:00
arkon
620be2617a Remove redundant helper function 2020-05-16 12:28:11 -04:00
arkon
035038a0b6 Add migrate option from manga info view (closes #1903) 2020-05-16 12:27:56 -04:00
arkon
b8ffb87f01 Add fastscroller to migration lists 2020-05-16 12:15:04 -04:00
arkon
39e1e11f99 Sort list of sources in migration alphabetically 2020-05-16 12:12:03 -04:00
arkon
5f9df78ab0 Localize tracker not logged in error 2020-05-16 11:33:41 -04:00
arkon
a00d11701f Warn about missing sources before restoring backup 2020-05-16 11:29:55 -04:00
arkon
1cf74a5396 Add fastscroller to updates and history 2020-05-16 10:17:09 -04:00
arkon
8cd27a199d Minor cleanup 2020-05-16 10:00:22 -04:00
arkon
772929b5c6 Return job failure if library update actually doesn't start 2020-05-16 09:57:27 -04:00
Lautaro Martin Emanuel
9e830f1c55 Added missing sorting cases handling
Previous commit missed some cases resulting in errors at runtime
2020-05-15 01:10:02 -03:00
Lautaro Martin Emanuel
ee8c71c14a Added sorting by upload date
Spanish 'strings' contains the proper translation for the new feature.
2020-05-14 23:38:19 -03:00
arkon
a9d16fad34 Add Croatian to settings 2020-05-14 17:25:33 -04:00
arkon
9cb45b92e1 Move extension preferences to separate controller 2020-05-14 17:20:09 -04:00
arkon
d875d5ef74 Better distinguish between obsolete and unofficial extensions 2020-05-13 22:47:44 -04:00
Eugene Cheung
fc4e290c49 Show notification with error log on update failures 2020-05-13 22:28:15 -04:00
arkon
9f0ed77423 Remove unused function 2020-05-12 22:32:56 -04:00
arkon
bb3e616890 Avoid showing uninstalled source as last used 2020-05-12 21:28:20 -04:00
arkon
573f3a392a Null check for local source cover parent dir 2020-05-12 09:18:18 -04:00
Jay
830a834ea6 Using a float on the progress on app updates
Not sure if needed but I saw some funny behavior with the progress bar
2020-05-12 09:17:33 -04:00
arkon
e4ea5d0344 Don't throw exception to stop restore job 2020-05-12 09:11:52 -04:00
arkon
97aed045e6 Copy to clipboard when long pressing tracking title (closes #3163) 2020-05-12 09:11:15 -04:00
arkon
e208fa4020 Temporarily revert concurrent manga updates 2020-05-10 23:13:58 -04:00
arkon
6b71264482 Merge branch 'dev' of github.com:inorichi/tachiyomi into dev 2020-05-10 23:12:23 -04:00
MCAxiaz
5723c184b1
Cover Update Followup to Address #3139 (#3150)
* update cover logic when thumbnail url becomes null

* always clear cover on refresh even if custom cover is set

* remove concurrency changes
2020-05-10 23:10:31 -04:00
arkon
530daeaa3a Move notification logic out of LibraryUpdateService 2020-05-10 18:14:43 -04:00
arkon
dd1b5c7ea7 Minor edits 2020-05-10 12:58:13 -04:00
arkon
3cffc6890d Animate in/out ActionToolbar 2020-05-10 12:56:04 -04:00
arkon
04d44f19f5 Show date format examples, migrate to FlowPreferences 2020-05-10 12:26:18 -04:00
arkon
d46a742a43 Convert rotation to FlowPreference, remove some unused subscriptions code 2020-05-10 11:42:46 -04:00
arkon
a94fd24fa9 Default unreadBadge setting to true (closes #3138) 2020-05-10 11:23:10 -04:00
MCAxiaz
dc54299e24
Manga cover updates (#3101)
* cover caching overhaul

* add ui for removing custom cover

* skip some loading work

* minor cleanup

* allow refresh library metadata to refresh local manga

* rename metadata_date to cover_last_modified

* rearrange removeMangaFromLibrary

* change custom cover directory
add setting for updating cover when refreshing library

* remove toggle and explicit action for updating covers
2020-05-10 11:15:25 -04:00
arkon
436253dd63 Add more info in tracking settings section 2020-05-09 12:41:10 -04:00
arkon
29feee0095 Update details metadata along with chapters list 2020-05-09 10:26:02 -04:00
arkon
63f3180dff Move DB transaction blocks to only the DB portions of restore logic 2020-05-09 09:57:03 -04:00
arkon
1442e2b53e Option to hide unread badges (closes #3095) 2020-05-08 23:01:16 -04:00
arkon
521ebf0678 Remove redundant DB call in library settings (closes #3128) 2020-05-08 22:32:12 -04:00
MCAxiaz
a20874f6a1
String Formatting Fixes (#3118)
String Formatting Fixes
2020-05-08 21:44:01 -04:00
arkon
40776bdc8d Concurrently refresh trackers 2020-05-08 19:04:45 -04:00
arkon
f853158e6b Do library checks from up to 5 sources concurrently 2020-05-08 18:58:49 -04:00
arkon
c9035b5df9 Download from up to 5 different sources concurrently (closes #2534) 2020-05-08 18:48:00 -04:00
arkon
150132f4dd Concurrently download up to 5 pages at a time 2020-05-08 18:41:11 -04:00
arkon
fb97ac47bc Replace restore completion string with plurals 2020-05-08 18:07:21 -04:00
arkon
ce6848b3c0 Show icon when chapter is bookmarked 2020-05-07 23:03:22 -04:00
arkon
d86d861e4b MaterialFastScroll updates 2020-05-07 22:40:23 -04:00
arkon
3d1250f2f8 Do some download deletion in coroutines instead of completable 2020-05-07 19:34:40 -04:00
arkon
b4c7992726 Minor cleanup of wakelocks, extension ID backup 2020-05-07 09:14:52 -04:00
arkon
03baa21185 Destroy action mode after actioning in chapters list (closes #3004) 2020-05-06 23:21:17 -04:00
arkon
694de99a3f Adopt MaterialFastScroll from J2K fork
de8cb8c1b0
2020-05-06 23:16:02 -04:00
arkon
8383f4fb7b Increase webtoon setting change page refresh range (closes #3088) 2020-05-06 23:06:49 -04:00
arkon
eb3fff6c51 Alternative way of reading local manga JSON file 2020-05-06 22:59:54 -04:00
arkon
788ea052fc Convert app updater to foreground service 2020-05-06 22:34:30 -04:00
arkon
dbd14c6dac Refresh page on 32-bit color setting change 2020-05-05 17:45:07 -04:00
arkon
5977fca6b9 Fix bottom nav opening if opening manga from updates while in action mode 2020-05-04 19:08:35 -04:00
arkon
fcf596d36b Update changelog link for preview builds 2020-05-04 08:46:07 -04:00
arkon
dabca5f09e Lighter weight method of rounding cover art 2020-05-03 22:29:09 -04:00
arkon
bd45cc2024 Only alert once for backup/restore progress notifications 2020-05-03 20:08:29 -04:00
arkon
abf47deee3 Fix anilist jsonnull issue
41c64b7058
2020-05-03 20:05:21 -04:00
arkon
ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon
6cd34614f6 More extreme method for enforcing WebView availability 2020-05-02 19:03:48 -04:00
arkon
ede42cd6aa Add link to extensions repo 2020-05-02 15:00:03 -04:00
arkon
33901dd72f More ActionToolbar tweaks 2020-05-02 14:51:28 -04:00
arkon
e2158af592 Swap bottom nav and ActionToolbar when appropriate 2020-05-02 12:27:23 -04:00
arkon
b06189ff95 Revert last_updated change 2020-05-02 12:11:51 -04:00
arkon
d72c51c8dd Hide app/nav bars on scroll 2020-05-02 11:33:31 -04:00
arkon
e29e94a5a1 Revert to old sorting library (fixes #3034) 2020-05-02 10:56:03 -04:00
arkon
04d7eccc63 Show number of categories in setting summary 2020-05-02 10:47:21 -04:00
arkon
d2bb4487e1 Move pager-specific settings into proper category, add summary for 32-bit color setting 2020-05-02 10:41:38 -04:00
arkon
e8623fbd7d Show 32-bit color setting in reader sheet 2020-05-02 10:40:55 -04:00
arkon
0a6de2b3ea Fix backup failing when source isn't installed 2020-05-02 10:24:37 -04:00
arkon
23a8e31791 Hide filter FAB when opened (closes #3024) 2020-05-02 10:22:28 -04:00
arkon
1ab07d169d Add gray reader background option (closes #3019) 2020-05-01 21:40:36 -04:00
arkon
abf2d4b718 Start storing extension ID/source name mapping in backup files 2020-05-01 21:25:23 -04:00
arkon
fd5d52a709 Remove confirmation prompt for passive biometric unlock (e.g. iris/face) 2020-05-01 21:08:52 -04:00
arkon
abcb21491c Reset sort on update if using old sort by source setting 2020-05-01 19:59:08 -04:00
arkon
33d2b0984f Fix chapter list selection uninverting (closes #3014) 2020-05-01 19:53:26 -04:00
arkon
fc7a040509 Move queue start/pause to FAB 2020-05-01 19:39:30 -04:00
arkon
be09dded20 Attempt to remove sound from backup/restore completion notifications 2020-05-01 19:29:15 -04:00
arkon
f07fbcc196 Relay extension changes to sources controller (fixes #3002) 2020-05-01 19:17:37 -04:00
Gennadiy Stas
e29fb68375
fix preload never being restricted (#3012)
Fix preload never being restricted
2020-05-01 18:03:27 -04:00
arkon
956b3284d3 Always update extensions list on enter 2020-05-01 09:38:35 -04:00
arkon
937d0852b3 Always update sources list on enter (fixes #2999) 2020-05-01 09:25:35 -04:00
arkon
c1e64a839d Update Bangumi link in README 2020-05-01 08:44:53 -04:00
arkon
c06928a7a5 Default library updates to daily + wifi 2020-04-30 20:27:02 -04:00
arkon
8c0cafc793 Reword action button in source filter sheet (closes #2994) 2020-04-30 20:22:52 -04:00
arkon
31b86f539b Set backup/restore progress notifications to low priority 2020-04-30 18:40:36 -04:00
arkon
dff1f4dd52 Add banner at top of library when downloaded only mode is enabled 2020-04-30 18:35:17 -04:00
Randy Palamar
bd61c33097
fix copy paste mistake in PreferencesHelper.kt (#2993)
fix copy paste mistake in PreferencesHelper.kt
2020-04-30 11:14:42 -04:00
arkon
5059c6295f Increase next chapter preload threshold to last 5 pages 2020-04-29 23:04:15 -04:00
arkon
916c1c9de2 Add ability to inspect WebView in debug builds 2020-04-29 22:46:11 -04:00
arkon
2661700d9a Split out backup/restore notifications into separate channels for progress/completion 2020-04-29 22:30:33 -04:00
arkon
05d830eb58 Disable entire checkbox view when disabled (fixes #2989) 2020-04-29 17:42:45 -04:00
arkon
6f0e1965b6 More settings organization 2020-04-29 17:34:44 -04:00
arkon
8992f47915 Remove unnecessary checks 2020-04-29 09:42:56 -04:00
arkon
fe65f4d6f8 Option to only include pinned sources in global search 2020-04-29 09:29:50 -04:00
arkon
8077e421e6 Move extension update preference to settings 2020-04-29 09:13:10 -04:00
arkon
4f806a921f Set up extensions check job on update 2020-04-29 09:09:18 -04:00
arkon
8efe0502f3 Make search views take up full width 2020-04-29 09:02:09 -04:00
Jay
cc7735e284 No longer using chapter url for new chapter notification's reader intent 2020-04-28 23:06:34 -04:00
arkon
e24ddb9106 Use same header layout for sources/extensions/migration 2020-04-28 23:03:30 -04:00
arkon
a9d32fea37 Handle paused state in download queue summary 2020-04-28 20:23:27 -04:00
arkon
3374481912 Refactor tabbed bottom sheet 2020-04-28 19:57:49 -04:00
arkon
1972cc25a9 Show download progress in MoreController 2020-04-28 19:44:02 -04:00
arkon
6a3cd0054b Minor edits 2020-04-28 18:45:04 -04:00
arkon
548dbf4b78 Copy files from cache when downloading 2020-04-28 18:44:58 -04:00
arkon
74af40a352 Revert hiding cutout setting from reader sheet 2020-04-28 17:47:34 -04:00
arkon
1d51b06d3e Increase default connect/read timeouts 2020-04-28 09:10:12 -04:00
Steven Smith
305ee3c12e
Pull basic manga/chapter metadata from EPUB files. (#2962)
* Fill manga and chapter metadata with EPUB metadata where appropriate.

* Use fuzzy-match to remove manga titles from chapter names.

This allows removing manga titles from the metadata title of local EPUB chapters with characters that can't be in the manga directory's name due to filesystem limitations.

* Use more standard way of parsing EPUB dates.

* Use date format compatible with lower Android versions for EPUBs.
2020-04-27 22:49:06 -04:00
arkon
90ce89193d Add logo header in more section 2020-04-27 22:48:25 -04:00
arkon
2ad3fa1593 Add row dividers in source migration list 2020-04-27 22:22:25 -04:00