Commit Graph

3662 Commits

Author SHA1 Message Date
arkon
5b23f29d06 Revert using fetch date for updates list
Spamming the list post-migration is currently a more common usecase than sources without chapter dates. We'll need to figure out a better way of handling both scenarios.
2021-04-04 18:11:11 -04:00
arkon
c1bdebee78 Fix global update category exclusion 2021-04-04 18:09:07 -04:00
Riztard Lanthorn
ddd4cc10ff
add sort by date fetched in library (#4773)
* add sort by date fetched in library

* chapter fetch date to 8
2021-04-04 17:18:28 -04:00
arkon
0ca62a4acc Allow excluding categories from auto-download
Closes #1412

Supersedes #4121
2021-04-04 17:15:06 -04:00
arkon
4f1275ac01 Allow excluding categories from library update
Closes #3467, #4661, #1839

Supersedes #4474
2021-04-04 16:48:39 -04:00
arkon
b2fee7035f Use Material Dialogs for auto-download categories preference
To allow for negative selections in the future.
2021-04-03 16:13:12 -04:00
arkon
e15d7cb548 Use Material Dialogs for global update categories preference
To allow for negative selections in the future.
2021-04-03 16:07:42 -04:00
arkon
1237af1ff3 Move BiometricUtil to correct package 2021-04-03 11:38:01 -04:00
arkon
68600b337e Allow weaker unlock methods (closes #4265) 2021-04-03 11:35:33 -04:00
arkon
dac2072eaa Use app name for page download folder and use manga title subfolders (closes #4684) 2021-04-03 10:40:35 -04:00
arkon
1b921f9845 Make extension load error logs less verbose 2021-04-03 10:27:40 -04:00
arkon
a3992d9fbe Minor cleanup 2021-04-03 10:12:31 -04:00
Tooster
efd2a0cb7b
Replace reading mode snackbar with toast (#4752) 2021-04-03 10:07:49 -04:00
arkon
ff36901007 Don't repeatedly vibrate/make sounds on download progress 2021-04-01 12:18:54 -04:00
arkon
940d8389b5 Add QuadStateCheckBox view 2021-03-31 23:03:42 -04:00
arkon
f7a6cbe5e2 Revert "Drop support for Android 5.x"
This reverts commit 443024cebb. Guess I'll do this a bit later so scb can get another major update first.

April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon
7aa379a857 Better handle webtoon SSIV crop border change 2021-03-31 22:20:17 -04:00
arkon
443024cebb Drop support for Android 5.x
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
arkon
1657f04d55 Add tooltips for previous/next chapter buttons
Based on d0738f5b00
2021-03-30 23:11:36 -04:00
arkon
407e798fdb Recreate webtoon SSIV when crop borders setting changes (fixes #4734) 2021-03-30 18:47:44 -04:00
arkon
4054f2a6a0 Add icon for crop border shortcut off state 2021-03-30 18:27:09 -04:00
arkon
988ec6a224 Fix nav overlay always showing on start (fixes #4736) 2021-03-29 16:54:32 -04:00
Andreas
bdbdf211e2
Remove insert page when dual page split get turned off (#4739) 2021-03-29 16:54:20 -04:00
arkon
0437703cbf Fix binding of intarray preferences (maybe fixes #4728) 2021-03-28 17:06:56 -04:00
arkon
d501c02f8b Add crop borders shortcut 2021-03-28 16:25:53 -04:00
arkon
dfa07a5f35 Clean up SpinnerPreference a bit 2021-03-28 16:13:59 -04:00
arkon
437c995d12 Show nav overlay on invert tap change
Based on db4eca90e9
2021-03-28 16:13:34 -04:00
mutsumi
cc6ae9d1a8
Fix Some Bangumi Track Bug (#4726) 2021-03-28 11:36:29 -04:00
arkon
c87b0e77de Show number of manga per source in migrate menu (#4703) 2021-03-28 11:11:19 -04:00
arkon
355d5af8ae Dismiss action toolbar after download action in updates (closes #4729) 2021-03-28 10:59:35 -04:00
arkon
3d99a8ebdb Fix fullscreen not applying on opening reader (fixes #4723) 2021-03-28 10:48:41 -04:00
arkon
c4b975b777 Cleanup reader spinner layouts 2021-03-27 17:59:52 -04:00
Antoine Gaudreau Simard
2911fe7a1a
Add onPause\onResume persistence to searchView. Fixes issue #3627 (#4494)
* Add onPause\onResume persistence to searchView. Fixes issue #3627

* New controller subclass with built-in SearchView support

* Implement new SearchableNucleusController in SourceController

* Add query to BasePresenter (for one field it is not worth create a subclass in my opinion), convert BrowseSourceController to inherit from SearchableNucleusController

* move to flows to fix an issue in GlobalSearch where it would trigger the search multiple times

* Continue conversion to SearchableNucleusController

* Convert LibraryController, convert to flows, Known ISSUE with empty string being posted after setting the query upon creation of UI

* Fix issues with the post being tide to the SearchView queue which is not processed until shown. Add COLLAPSING state capture which should wrap this up.

* refactoring & enforce @StringRes for queryHint
2021-03-27 16:38:41 -04:00
arkon
14c114756d Clean up reader sheet spinner preferences
Based on fe2543b9d5

Co-Authored-By: Jays2Kings
2021-03-27 16:28:49 -04:00
arkon
e7a8107279 Reduce height of sheet when on color filter tab 2021-03-27 15:15:31 -04:00
arkon
bff73b1b40 Add tooltips to bottom reader menu items 2021-03-27 10:53:31 -04:00
arkon
64c47bbaed Split general and reading mode sheet settings 2021-03-26 22:31:21 -04:00
arkon
e0b7698d40 Merge reader settings and color filter sheets
Heavily influenced by fe2543b9d5 (diff-8f47d7b7b53769ac18c28fe9978140c6bef44709879567acab2c6ef3270cd3a8)
2021-03-25 23:10:22 -04:00
arkon
a01792ac9a Maybe make opening file picker for choosing backup file more reliable 2021-03-25 13:56:39 -04:00
arkon
3ba078f64c Use more common MIME type for protobuf 2021-03-25 13:46:53 -04:00
arkon
a16240f123 Show unread entries first when sorting by unread (closes #4711)
Based on b212f8233e
2021-03-24 09:27:00 -04:00
Jays2Kings
2ba60e9114 Added Start/Finished Date Support to AniList
Based on 1e3de8a67f

Co-Authored-By: Jays2Kings
2021-03-22 22:38:14 -04:00
Ken Swenson
472ce5a5e4
Fix migration due to variable shadowing (#4689) 2021-03-21 19:47:17 -04:00
arkon
99ba84c810 Handle null Anilist start dates (fixes #4685) 2021-03-20 16:36:31 -04:00
arkon
78285bdf37 Minor code cleanup 2021-03-20 15:58:54 -04:00
Andreas
5a7f2684b3
Add navigation layout overlay (#4683)
* Add navigation layout overlay

* Minor clean up 

Destroy animator when done not on start
Move and change pref title 
Add summary
2021-03-20 15:36:01 -04:00
arkon
d912a42249 Fix chapters list getting updated from wrong thread (fixes #4505) 2021-03-20 15:35:02 -04:00
arkon
6d8c4fb8b1 Fix Bangumi search null image errors 2021-03-20 10:22:11 -04:00
arkon
a63cecbfcb Make tapping available extension row prompt install 2021-03-20 10:10:58 -04:00
arkon
4a5bceb4e4 Fix offline restore ignoring manga from not installed sources (fixes #4679) 2021-03-20 10:03:13 -04:00
Ken Swenson
b6e6f490e9
Implement migration for source search (#4657) 2021-03-19 23:40:09 -04:00
scb261
2145e878a4
Limit query for recent chapters to 500 (#4678) 2021-03-19 23:39:36 -04:00
arkon
609d8c9685 Add icons for reading mode toggle 2021-03-14 17:13:20 -04:00
arkon
2f08515455 Less janky enum iteration 2021-03-14 17:03:43 -04:00
scb261
7f450e185d
Use fetch date instead of upload date when querying recent chapters (#4645) 2021-03-14 16:38:21 -04:00
arkon
747879b4ec Remove __cfduid cookie check
As per email:

Cloudflare is deprecating the __cfduid cookie and the cf-request-id headers. The __cfduid cookie will be removed on 10 May 2021 and the cf-request-id headers will be removed on 1 July. We expect that most customers will not have to take action as a result of this removal. [...] Starting on 10 May 2021, we will stop adding a “Set-Cookie” header on all HTTP responses. The last __cfduid cookies will expire 30 days after that.
2021-03-14 16:24:14 -04:00
Riztard Lanthorn
4193870fa6
Library update freq: add 4 & 8 hours (#4557) 2021-03-14 16:22:10 -04:00
arkon
cdc5de3f1b Flip order of previous chapter reader transition text (closes #4608) 2021-03-14 16:18:52 -04:00
arkon
b5c2934270 Refactor LibraryUpdateService a bit for future changes 2021-03-14 16:08:00 -04:00
arkon
94f5117941 Remove online protobuf backup restore option 2021-03-13 18:45:22 -05:00
arkon
1e58b05ead Add reading mode toggle 2021-03-13 16:47:16 -05:00
arkon
938919bd9b Move reader setting related classes 2021-03-13 16:24:44 -05:00
arkon
b6b78994d8 Move clear history from advanced settings to history screen menu (closes #4613) 2021-03-13 16:09:12 -05:00
arkon
fddd8ce305 Add "my" locale 2021-03-13 16:00:13 -05:00
arkon
fde6b7af4f Disable sensor when using force orientation (closes #4618) 2021-03-13 15:47:43 -05:00
Soitora
d1c2eaf6d5
Update URL for Local Manga guide (#4641) 2021-03-13 11:38:06 -05:00
arkon
f51e32f39b Avoid crash during migration 2021-02-28 16:26:05 -05:00
arkon
ae42f59102 Hide subtitle in migration list of sources if no language set (i.e. uninstalled source) 2021-02-28 16:26:05 -05:00
Andreas
7a64bf55cb
Dual page split allow to have different setting for Paged and Webtoon (#4527) 2021-02-28 16:17:37 -05:00
Andreas
776610d0e6
Let users invert dual page split (#4470)
* Let users invert dual page split

* Use Activity lifecycleScope and cleanup invert logic
2021-02-20 09:26:57 -05:00
Andreas
3a790f3d66
Add Right and Left to reader settings (#4489)
* Add Right and Left to settings

* Fix whoopsie and minor tweak to how the array is fetched
2021-02-15 12:06:03 -05:00
arkon
7382042288 Add Twitter link to About section 2021-02-15 11:58:25 -05:00
arkon
33992d80bf Add orientation toggle to bottom reader menu 2021-02-13 18:50:50 -05:00
arkon
89837e4ced Initial adoption of bottom reader menus from TachiyomiSY
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: CrepeTF <CrepeTF@users.noreply.github.com>
2021-02-13 10:47:17 -05:00
arkon
8bb69c455b Allow clicking the toolbar to go to the manga
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
2021-02-13 10:26:59 -05:00
arkon
2dae706198 Avoid crash when source list is animating 2021-02-12 17:31:17 -05:00
arkon
3eda2a220a Avoid rare crashes in settings search for ListPreferences 2021-02-12 17:22:01 -05:00
arkon
61e5440b7c Avoid crash when device fails to handle opening a URL 2021-02-12 17:02:37 -05:00
arkon
2e2663bad9 Avoid crash if activity is already dead 2021-02-12 16:55:14 -05:00
arkon
f5f592be91 Require minimum WebView v88, try to catch fatal errors too 2021-02-12 12:42:33 -05:00
arkon
7a373fb43a Minor download icon optimizations 2021-02-12 12:27:40 -05:00
arkon
aded11e599 Make backup restoring logic more sequential 2021-02-12 12:27:40 -05:00
arkon
41d7cee020 Remove ExperimentalSerializationApi opt-in annotations 2021-02-12 12:27:40 -05:00
arkon
a398c3fb81 Handle link for multisource extension commits (closes #4432) 2021-02-11 17:35:15 -05:00
arkon
2a454b44cc Adjust some scopes 2021-02-09 19:14:38 -05:00
vance
b5017eebbf
Added dual page split setting (#4252)
* Add DualPageSplit option

* remove extra line

* Split double-page into two pages

* Remove !isAnimated check and add (ALPHA) to the label

* Fix missing insert pages

* Pager cleanup

* Add dual split to Webtoon and fix Vertical

* Fix L2R/R2L

* Add comments and refactor code in ImageUtil

* Use a simpler split solution in webtoon mode

Co-authored-by: weng <>
Co-authored-by: Andreas E <andreas.everos@gmail.com>
2021-02-09 17:54:44 -05:00
arkon
aa67229daf Add weekly to library update frequency options (closes #4422) 2021-02-09 17:49:02 -05:00
arkon
5af68186d6 Clean up LibraryUpdateService a bit 2021-02-09 17:44:22 -05:00
arkon
545bc0e605 Open manga when clicking thumbnail in migration list (closes #4152) 2021-02-08 17:47:44 -05:00
arkon
291168f4de Remove unnecessary LayoutContainer implementations 2021-02-08 17:45:42 -05:00
arkon
9facb51f22 Add action to directly share crash log file from notification 2021-02-07 23:05:13 -05:00
arkon
5b7d8c5e37 Show locales in list of sources to migrate 2021-02-07 22:54:13 -05:00
Jobobby04
9f9f9872eb Fix legacy backups
(cherry picked from commit ded58541f5903c109b70799683829e26018d2af6)
2021-02-07 22:33:07 -05:00
arkon
3566072f4a Revert attempt to programmatically determine user agent string; fallback to Edge 2021-02-07 17:54:28 -05:00
arkon
b85cd86b24 Add Esperanto locale 2021-02-07 16:55:44 -05:00
arkon
79c3767fff Chapter backup optimization
From fc6d9aaf51 (diff-9872ccc3c9af14d2872ec99199409e60a11cb754ab23e733b1d45843778f7c95R24)
2021-02-07 16:20:07 -05:00
arkon
cf1609a429 Massage user agent string from WebView a bit more 2021-02-07 16:19:13 -05:00
arkon
1557f713f4 Don't restrict filter sheet height anymore 2021-02-07 10:49:08 -05:00
Andreas
b63d24ac1a
Add Right and Left navigation (#4392)
and remove default navigation classes in favor of the navigation classes
2021-02-06 23:26:56 -05:00
arkon
348c1ff29d Avoid some unnecessary re-renderings of download icons 2021-02-06 23:25:39 -05:00
arkon
717e55497f Fix downloads getting deleted when marked as unread 2021-02-06 22:48:06 -05:00
arkon
d84b5e8b46 Show help action when source fails to load 2021-02-06 13:09:56 -05:00
arkon
5f9ddf9ff5 Use AndroidX version of ContextThemeWrapper 2021-02-06 12:51:40 -05:00
arkon
bbee093c63 Remove some logic around old legacy backup versions + minor optimizations 2021-02-06 12:15:34 -05:00
arkon
e8c35ae4e1 Do a regular return to cancel update jobs instead of throwing an exception 2021-02-06 12:14:55 -05:00
arkon
1607658c30 Set clip data when sharing content URIs (closes #4198) 2021-02-06 09:43:33 -05:00
arkon
2e9ef373f3 Minor optimizations for restoring full backups
Based on fc6d9aaf51
2021-02-06 09:32:00 -05:00
arkon
7191552126 Avoid crash when changing spinner indeterminate state 2021-02-05 23:13:57 -05:00
arkon
9f2fe33ce0 Fix unreadable sheet tab text in light blue theme 2021-02-04 09:16:37 -05:00
arkon
13d25e0849 Don't automatically set MAL start date (closes #4349) 2021-02-01 22:39:41 -05:00
arkon
d5cfbef42b Minor cleanup 2021-01-31 14:46:35 -05:00
Andreas
535abcbb8b
Move tracking to a bottom sheet (#4364)
* Move tracking to a bottom sheet

* Give methods better names and remove unnecessary annotation
2021-01-31 14:43:43 -05:00
Unlocked
c34b548a3e
Add manga count to the library header (#3884)
* Add manga count to the library header

* Make showing the number of manga configurable

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-01-31 10:15:37 -05:00
Taco
9bf452856c
Regenerate drawables (#4352) 2021-01-31 09:55:28 -05:00
arkon
17109ab760 Handle failures when updating metadata in library updater 2021-01-29 22:14:17 -05:00
arkon
7eef4f7fbf Apply bottom sheet dialog with restriction consistently 2021-01-28 09:10:15 -05:00
Andreas
0a10f66053
Unify history and update item (#4361)
* Unify history and update item

* Use card_radius
2021-01-27 18:28:02 -05:00
arkon
58860b51a2 Ignore failures when updating metadata as part of library update 2021-01-27 17:51:02 -05:00
arkon
3ee652b61a Disable Acra crash logs in dev builds 2021-01-27 09:17:40 -05:00
arkon
0ecfef3f70 Address unit test compilation errors
They don't actually run since they broke a long time ago (AndroidX + Roboelectric issues?), but it addresses the annoying red squigglies in Android Studio at least.
2021-01-26 09:05:15 -05:00
Taco
5f7e34b6a1
Update Okio, use more KTX stuff (#4353)
* Update Okio to 2.10.0

* Use some more KTX extensions
2021-01-26 09:02:53 -05:00
arkon
34cb24fe34 Update total number of chapters when refreshing MAL entries (fixes #4348) 2021-01-24 16:58:23 -05:00
arkon
1490112135 Parse correct object when finding existing MAL list item (fixes #4347) 2021-01-24 16:33:47 -05:00
arkon
c4716a3f4c Fix cancelling library updates not working 2021-01-24 16:11:45 -05:00
arkon
0a54901eb0 Refactor tracker name strings 2021-01-24 16:06:28 -05:00
Andreas
fea2e0a265
Extend track filter (#4344)
* Allow to filter for each tracker logged in

* Simplify filter logic

* Use variable names instead of it

and rename variables

* Change how trackFilters and items are setup

* Use variable name instead of it and try cleanup filterFnTracking

* Changes from feedback
2021-01-24 15:24:00 -05:00
arkon
a93c0577ac Minor cleanup 2021-01-24 11:04:25 -05:00
arkon
e4dc35674d Perform metadata update in global scope 2021-01-24 10:33:29 -05:00
arkon
8a668ba7b9 Revert async metadata updates to fix lag when updating (fixes #4341) 2021-01-23 19:26:21 -05:00
arkon
ee9a68b040 Point to preview release for what's new 2021-01-23 17:43:25 -05:00
arkon
660e13b701 Remove some unused rx/coroutine bridge code 2021-01-23 17:18:43 -05:00
arkon
0685382083 Extract user agent string from WebView 2021-01-23 15:57:59 -05:00
arkon
04a993c997 Update trackers in parallel, update manga metadata asynchronously 2021-01-23 14:55:00 -05:00
arkon
7cae3095c4 Minor dependency updates 2021-01-23 13:23:49 -05:00
arkon
e288bf902b Reword download chapter number sorting options 2021-01-23 13:19:57 -05:00
Riztard Lanthorn
a083e1f71a
add sort by chapter number in download queue (#4337)
* add sort by chapter number in download queue

* Bigest, smallest chapter download

* grouped
2021-01-23 13:10:57 -05:00
arkon
86b9d7e843 Remove usage of RxJava from LibraryUpdateService 2021-01-23 11:20:16 -05:00
Riztard Lanthorn
628bd5d6b4
add source name in download queue (#4338) 2021-01-23 10:15:30 -05:00
arkon
00285a782c Ignore error when cover is missing in Kitsu search results (fixes #4334) 2021-01-23 10:14:43 -05:00
arkon
16be469ecb Surface tracking search errors properly 2021-01-22 22:47:01 -05:00
arkon
7c7ff8165e Don't stop downloader after deleting downloads if it wasn't running (fixes #4309) 2021-01-22 17:52:10 -05:00
Clarence Castillo
496a476c13
Fix multi-select phantom anchor bug in manga chapters and library (#4201)
* Fix phantom anchor bug in manga chapters list when multi-selecting

* Fix phantom bug when long pressing selected items not at top of stack

* Fix phantom anchor bug in library page
2021-01-22 17:35:51 -05:00
arkon
cf7ec6aa76 Use proper method to clear notification actions 2021-01-21 18:21:21 -05:00
arkon
db2dd4b6c6 Add method for users to save error logs to a file 2021-01-21 18:21:03 -05:00
Andreas
2a5102a457
Fix Kitsu toasting "Logged in" when there is an error (#4329) 2021-01-21 18:05:22 -05:00
arkon
837d8f5f30 Delay restoring AppBar elevation on Android 5.0 (fixes #4311) 2021-01-18 17:24:23 -05:00
Andreas
1a5858e99b
Hide tracking when no tracker is logged in and change filter logic (#4310)
* Hide tracking when not logged in

* Change string name and value
2021-01-18 17:08:11 -05:00
arkon
4044427d93 Add shortcut to see commit history for official extensions 2021-01-17 15:57:19 -05:00
arkon
f667f85fa5 More consistent injectLazy style 2021-01-17 15:40:26 -05:00
Andreas
5cddc0c387
Add filter for tracking (#4276)
* Add filter for tracking or not

* Use .any

* Access database only when needed
2021-01-17 15:40:17 -05:00
arkon
3319ccfd41 Move ACRA endpoint config to build.gradle.kts 2021-01-17 11:09:29 -05:00
arkon
878008e93b Reimplement MAL start/end date support 2021-01-16 16:03:19 -05:00
arkon
0cd551d4fd Revert removal of tracker start/end date 2021-01-16 15:48:20 -05:00
arkon
f85194ec46 Handle download cancelation from icon properly (fixes #4241) 2021-01-16 15:48:02 -05:00
arkon
271489bdfd Fix display mode not updating in source view 2021-01-16 11:30:27 -05:00
arkon
189f18b112 Simplify lookup for existing MAL list item 2021-01-16 10:51:17 -05:00
arkon
9670863a41 Show error when trying to download chapters from not installed source (closes #4283) 2021-01-10 11:11:53 -05:00
arkon
c9cf9cfff0 More coroutine tweaks 2021-01-10 11:01:10 -05:00
arkon
2ffbee3db2 Avoid using global scope where appropriate
Also fixes the crash in tracking when an exception is thrown during a refresh.
2021-01-08 18:05:51 -05:00
arkon
8e613d03e3 Address coroutine scope leaks in custom views 2021-01-07 19:16:26 -05:00
arkon
b18a794eca Use lifecycleScope directly 2021-01-07 19:12:30 -05:00
arkon
c620c924f9 Revert "Use flows instead of relays for extensions loading"
This reverts commit 07e76f35fa.
2021-01-07 19:06:34 -05:00
Andreas E
9db81a5a49
Fix navigation from feedback (#4238)
* Fix navigation from feedback (fixes #4237)

* Add additional enum values to NavigationRegion mainly for PagerViewer

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-01-07 19:05:38 -05:00
arkon
6fb7a85e8a Address more coroutine scope leaks 2021-01-07 18:15:57 -05:00
inorichi
36f81b4a62 Minor fixes regarding leaks 2021-01-07 15:19:00 +01:00
arkon
2caecc01b2 Fix crash when no chapters can't be loaded 2021-01-06 14:21:55 -05:00
arkon
2c9f8bb9ce Revert bad RxJava conversion that prevented tracking data to be updated in UI 2021-01-04 16:25:19 -05:00
arkon
efbefabb01 Reword unmetered network restriction for library updates 2021-01-04 16:12:34 -05:00
arkon
990fb22d3e Remove usage of RxJava from backup/restore 2021-01-04 15:30:05 -05:00
arkon
df7e0d2f2f Surface "NSFW" (includes things like ecchi) results in MAL search (closes #4249) 2021-01-04 15:16:08 -05:00
arkon
5cfda1b1bf Refactor bridged RxJava/coroutine calls in SearchPresenters 2021-01-04 15:08:36 -05:00
arkon
ac9bf1f3ff Refactor bridged RxJava/coroutine calls in MangaPresenter 2021-01-04 14:55:28 -05:00
arkon
7eb0868791 Remove use of RxJava from TrackPresenter 2021-01-04 14:47:23 -05:00
arkon
8a792e6d76 MAL: add way to search by list items' titles 2021-01-04 14:30:04 -05:00
arkon
95ce0e39ef Fix malformed extension URLs 2021-01-04 12:14:02 -05:00
arkon
17b70ab38c Refactor Kitsu API to remove Retrofit usage 2021-01-04 12:13:14 -05:00
arkon
07e76f35fa Use flows instead of relays for extensions loading 2021-01-04 11:09:31 -05:00
arkon
c06a932c95 Remove some OptIn annotations 2021-01-04 10:22:26 -05:00
arkon
7d713b87b1 Fully remove usages of RxJava from tracker classes
TODO: refactor usages to coroutines as well
2021-01-03 23:41:36 -05:00
arkon
2d0a5eb02c Convert more TrackService methods to coroutines 2021-01-03 23:33:21 -05:00
arkon
8d68859c2a Change MAL ID search prefix to "id:" 2021-01-03 23:21:45 -05:00
arkon
d11c72fd48 Replace global search context menu option with share target 2021-01-03 11:08:23 -05:00
arkon
135cf9960f Minor cleanup 2021-01-03 10:54:09 -05:00
Andreas E
3bf7c74f93
Navigation settings and split invert tapping for webtoon and pager (#4233) 2021-01-03 10:50:38 -05:00
Riztard Lanthorn
cea4911c4d
add date Format (#4236) 2021-01-03 10:47:23 -05:00
arkon
54dc01253d Replace usages of fetchChapterList with 1.x getChapterList API 2021-01-01 19:19:11 -05:00
arkon
4db9a90da2 Replace usages of fetchMangaDetails with 1.x getMangaDetails API 2021-01-01 19:08:12 -05:00
Andreas E
d69e9034ab
Viewer navigation (#3869)
* Viewer navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>

* Match current reader behavior and add ability to invert it

* A bit of clean up

* Clean up inversion

* Only create navigator when changed

and change tap zone when invertTapping is changed

* Clean up PagerConfig

* Change how Viewer navigation works

* Add Edge Navigation

Co-authored-by: Harsh Parekh <h.x.dev@outlook.com>
2021-01-01 18:41:20 -05:00
Clarence Castillo
71ece73d99
Direct user back to global search when coming from source search results (#4196) 2021-01-01 16:46:44 -05:00
arkon
3bb2102eb4 Include source name in backup restore error logs (closes #4230) 2021-01-01 16:43:32 -05:00
arkon
b7914909d0 Remove some unnecessary coroutine dispatcher switching 2020-12-31 18:37:43 -05:00
arkon
63398fe491 Implement click events for chapter download icons 2020-12-31 18:14:51 -05:00
arkon
bf32bf28da Use coroutines instead of rx for some MangaPresenter operations 2020-12-31 17:45:59 -05:00
arkon
dcb6bfb18d Remove some unused variables 2020-12-31 16:41:09 -05:00
arkon
141f9b7730 Handle last read page being above total page count (fixes #4010) 2020-12-31 11:21:39 -05:00
arkon
139a589ad6 Increase per-page limit when searching MAL manga list 2020-12-31 10:58:40 -05:00
arkon
591873a185 Update preview build links (fixes #4225) 2020-12-31 10:52:20 -05:00
arkon
97a308b114 Minor cleanup of some tracker observables 2020-12-31 10:51:23 -05:00
arkon
430714e67f Find existing entry in MAL list when binding 2020-12-31 10:50:50 -05:00
arkon
a49adbd09c Add ID search workaround for MAL tracking 2020-12-30 15:08:10 -05:00
arkon
3df98d576e Fix crash on updating trackers after reading with no network (closes #4207) 2020-12-29 09:21:18 -05:00
arkon
cef1c4b8a1 Tweak manga info header backdrop 2020-12-27 17:58:03 -05:00
arkon
2e8791a101 Refactor tracker response parsing 2020-12-27 17:46:14 -05:00
arkon
0e2b8b10d1 Show download progress in download icons 2020-12-27 16:50:25 -05:00
arkon
3cb64669e4 Animate download icon 2020-12-27 16:41:28 -05:00
arkon
bc0d32f330 Add Telugu to language setting 2020-12-27 15:50:37 -05:00
arkon
6378a41b6d Minor cleanup of UpdatesHolder 2020-12-27 15:34:14 -05:00
arkon
23bf7faf9f Hide chapter download icons for local manga 2020-12-27 15:25:40 -05:00
arkon
01ff3af63f Add error state to chapter download icons 2020-12-27 10:44:08 -05:00
arkon
8f98055e9e Refactor response parsing helper function 2020-12-27 10:22:24 -05:00
arkon
84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon
6dd280205b Initial chapter download icon implementation 2020-12-27 10:13:13 -05:00
arkon
1365d553a4 Log exception on invalid download directory issue 2020-12-26 18:05:39 -05:00
arkon
61a594493c Remove usage of Retrofit for update check and extensions list 2020-12-26 16:59:24 -05:00
arkon
62ab70f889 Remove unnecessary BaseWebViewActivity class 2020-12-26 11:44:21 -05:00
arkon
eaccfdde59 Replace circular ProgressBars with Material component 2020-12-26 11:24:10 -05:00
arkon
be3e31ddc4 Try to avoid crashing when unable to get backup filename for some reason 2020-12-26 10:40:45 -05:00
arkon
ea33179a95 Convert tracker add/update/login methods to coroutines 2020-12-24 17:50:28 -05:00
arkon
6fcf6ae1f5 Use coroutines for Bangumi and Shikimori APIs 2020-12-24 17:23:10 -05:00
arkon
f2a9247b68 Remove usage of Gson in Kitsu tracker 2020-12-24 17:02:33 -05:00
arkon
dc3ed7fffc Use coroutines for Anilist API 2020-12-24 16:55:04 -05:00
arkon
271de31d51 Migrate Kitsu API to coroutines and kotlinx.serialization 2020-12-24 16:39:28 -05:00
arkon
1268caf3e0 Make OkHttp coroutine calls always throw exceptions on errors 2020-12-24 15:36:57 -05:00
arkon
c0cef58e39 Surface MAL HTTP errors properly 2020-12-24 15:09:10 -05:00
arkon
d363d205c3 Fix trackers after MAL not updating 2020-12-21 17:31:31 -05:00
arkon
2fd5a9e883 Filter out novels from MAL search results 2020-12-21 17:24:35 -05:00
arkon
e7ef974a39 Format MAL search result status/type better 2020-12-21 17:24:25 -05:00
arkon
0b62fa8b76 Bump versionCode so next build will force MAL logout 2020-12-21 17:10:08 -05:00
Taco
e2054a0ab7
Update NDK & buildTools, fix deprecated Parcelize (#4157)
* Update buildTools and NDK

* Fix deprecated Parcelize
2020-12-19 18:40:44 -05:00
arkon
6e7fefb8b2 Strip out no longer used tracker start/end date code
Unfortunately MAL was the only one that supported it in the app, but the official API doesn't support it, so now no trackers have it.
2020-12-18 23:31:28 -05:00
arkon
450bef278b Add forced MAL logout for next release migration 2020-12-18 23:20:42 -05:00
arkon
0affc0d58b Migrate to official MyAnimeList API (closes #4140) 2020-12-18 23:18:31 -05:00
arkon
3d153b6c8e Don't surface hidden settings when searching 2020-12-15 23:17:20 -05:00
arkon
04fff91e23 Update app repo URL 2020-12-15 15:56:16 -05:00
arkon
28a23452f2 Update extensions repo URL 2020-12-15 15:48:06 -05:00
arkon
6d403851cf Apply theme to OAuth login redirect activities 2020-12-14 23:00:01 -05:00
arkon
395a749bce Misc tracker code cleanup 2020-12-14 22:56:33 -05:00
arkon
2cc2a90941 Refactor CustomTabsIntent creation 2020-12-13 22:30:27 -05:00
arkon
c5ca739b49 Fix loading fallback thumbnails in browse view (closes #4127) 2020-12-13 20:47:48 -05:00
arkon
00fe4cdf2d Minor code cleanup 2020-12-13 18:11:18 -05:00
arkon
69be3e1e87 Complete migration off of Kotlin synthetics 2020-12-13 18:01:51 -05:00
arkon
2cb3984d68 Show MAL relogin message on update, localize error message 2020-12-13 17:52:21 -05:00
arkon
5901978889 Use view binding for date headers 2020-12-13 17:47:29 -05:00
arkon
4880741b8b More crash fixes 2020-12-13 17:18:28 -05:00
arkon
e8627800fe Remove bundled fallback file picker 2020-12-13 12:42:10 -05:00
arkon
907fbb94a2 Require WebView 86+ 2020-12-13 11:27:05 -05:00
arkon
fd2028557e Some crash fixes 2020-12-13 11:00:46 -05:00
arkon
91fa1ec6b2 Suppress some deprecation warnings 2020-12-12 23:50:28 -05:00
arkon
bbc00768f0 Note that toggling NSFW sources requires a restart 2020-12-12 17:27:11 -05:00
arkon
5b09461ccf Break out NSFW hiding/labeling into separate settings 2020-12-12 17:20:54 -05:00
arkon
1a439ecece Remove source overwrite logic since built-in sources no longer exist 2020-12-12 16:15:18 -05:00
arkon
836aec4396 Flip left/right key events for Webtoon viewer (fixes #4111) 2020-12-12 15:50:56 -05:00
arkon
0b5dec9bab Revert "Hide incomplete NSFW source labelling settings"
This reverts commit a3b1690d38.
2020-12-12 11:32:55 -05:00
arkon
a3b1690d38 Hide incomplete NSFW source labelling settings 2020-12-12 11:28:50 -05:00
arkon
a3bad75899 Force MAL logout on update 2020-12-12 11:26:42 -05:00
arkon
c950595fe3 Revert "Distinguish between no results and loading when sorting global search results"
This reverts commit 2be9871d05.
2020-12-11 21:58:04 -05:00
arkon
8ffd3a8ed2 Don't scroll to top when navigating back/forward in WebView 2020-12-10 09:15:09 -05:00
arkon
b6e246c6b2 Add text selection shortcut to invoke global search (closes #4058) 2020-12-08 22:48:04 -05:00
arkon
59859e124f Update to Kotlin 1.4.21 and kotlinter 3.3.0 2020-12-08 22:31:48 -05:00
arkon
2bb7a33bc3 Use WebView auth flow for MAL (fixes #4100) 2020-12-08 22:21:23 -05:00
Taco
c2b8fea291
Update libraries, some lints (#4099)
* Update some plugins

* Fix some miscellaneous lints
2020-12-08 22:21:08 -05:00
arkon
560f0bba5c Use more up-to-date fork of junrar 2020-12-07 22:13:53 -05:00
arkon
8a44b1dabe Add Galician locale 2020-11-29 17:14:05 -05:00
arkon
b39191ff50 Fix annotations package name 2020-11-29 17:08:20 -05:00
arkon
6664dfb048 Use regular minified extensions JSON instead of explicitly handling gzip encoding
Turns out GitHub *does* do gzip encoding by default, it just doesn't show up in the header logs for some reason...
2020-11-29 16:01:16 -05:00
arkon
3133a63cf8 Fix crash when a preference doesn't have a title (e.g. info preference) 2020-11-29 15:01:13 -05:00
Andreas E
c9c0f3d014
Enhance incognito mode (#4073)
* When in Incognito Mode don't set lastUsedSource

* When in Incognito Mode don't save chapter progress

Still allows tracking and mark as read when reaching last page

* When in Incognito Mode don't mark as read (overwritten if hasTrackers)
2020-11-29 11:15:15 -05:00
arkon
e048d66f74 Revert edge to edge
This was a bigger headache than it was worth. To note, phone landscape wasn't considered, so the navbar overlaps the content on the side. Additionally, the ability to programatically control the navbar scrim is missing, so it'd have to manually be added.
2020-11-29 11:08:06 -05:00
arkon
66e3fa7df8 Replace more Kotlin synthetics 2020-11-29 11:07:06 -05:00
arkon
019a0f31c7 Replace more Kotlin synthetics 2020-11-28 15:54:53 -05:00
arkon
749c2071af Replace Kotlin synthetic views in viewholders 2020-11-28 15:24:40 -05:00
arkon
322d66d282 Replace more usages of Kotlin synthetic views 2020-11-28 14:56:57 -05:00
arkon
aa98cd0da0 Fix keyboard sometimes affecting bottom inset padding 2020-11-28 13:02:15 -05:00
arkon
c8316c7254 Move NSFW source setting into Browse settings 2020-11-28 12:43:17 -05:00
arkon
6b9180844d Fall back to filename in backup creation notification if path not available 2020-11-27 21:38:26 -05:00
arkon
c0e4863229 Fix restore in Android 11 2020-11-27 21:36:42 -05:00
arkon
2be9871d05 Distinguish between no results and loading when sorting global search results 2020-11-27 21:09:44 -05:00
arkon
776f6a9a16 More bottom inset padding fixes 2020-11-27 21:05:06 -05:00
arkon
60b2a4ea9d Handle bottom insets in FAB controllers too 2020-11-22 23:08:41 -05:00
arkon
56e1e3e205 Further abstract how bottom navbar padding is applied 2020-11-22 22:57:58 -05:00
arkon
0f805cd45e Handle bottom navbar padding when drawing edge to edge 2020-11-22 22:48:38 -05:00
arkon
1d7c692e89 Create extension function for applying system insets 2020-11-22 22:30:25 -05:00
arkon
38bc8ec6b4 Add global search progress bar (closes #3727) 2020-11-22 16:54:19 -05:00
arkon
2154e3aa2d Remove 10 results per source limit from global search (still limited to 1 page) 2020-11-22 16:40:53 -05:00
arkon
56c19e57a9 Add help shortcut for source migration (closes #3951) 2020-11-22 16:30:20 -05:00
arkon
3fa70dade3 Use ViewCompat for setting MainActivity inset paddings 2020-11-22 15:13:12 -05:00
arkon
368c30a2cc More restore code cleanup, remove some SY-specific logic 2020-11-22 12:43:23 -05:00
arkon
781971ee81 Set preview/experimental compiler flags instead of using annotations 2020-11-22 11:43:16 -05:00
arkon
1140316d1b Pad bottom of MoreController so bottom nav doesn't overlap content 2020-11-21 18:11:17 -05:00
arkon
cf6c48744a Some more code cleanup 2020-11-21 15:30:04 -05:00
arkon
eed6db8e92 Default automatic legacy backups to true for now 2020-11-21 15:12:04 -05:00
arkon
858664bfd7 Some more code cleanup 2020-11-21 15:09:56 -05:00
arkon
eceac4d6e3 Merge restore entry points, avoid unnecessary new strings 2020-11-21 12:35:04 -05:00
arkon
47a172df1f Remove "full_" from v3 backup default file names 2020-11-21 12:22:46 -05:00
arkon
f2c0732c40 Minor cleanup 2020-11-21 12:22:25 -05:00
jobobby04
682fae12b6
Make a protobuf based backup system (#3936)
* Make a protobuf based backup system

* Cleanup

* More cleanup

* Fix restores always loading the full backup restore, even when legacy restore was used

* Make offline the default

(cherry picked from commit f6fd8a8ddb90869f3e28fd8fcd81a2125f8e0527)

* Find chapter based on the url

(cherry picked from commit 326dc2700944a60da381d82cd9782c5f0d335902)

* Dont break after finding one chapter

(cherry picked from commit f91d1af37398619cf371e4920b60f6d309799c74)

* Also apply changes to online restore

(cherry picked from commit e7c16cd0d14ea5d50ce4a9a3dfa8ca768be702f2)

* Rewrite backup categories

(cherry picked from commit f4200e2146a9c540675767206ed4664894aa1216)

* Dedupe some code, move over read and bookmarks properly

(cherry picked from commit d9ce86aca66945c831670a1523d8bc69966312df)

* Move some functions to the abstract backup manager

(cherry picked from commit b0c658741a2f506bc31823f1f0347772bc119d2e)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/full/FullBackupManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt

* Fix some backup duplication issues

(cherry picked from commit a4a1c2827c4537d2d07a0cb589dc1c3be1d65185)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/legacy/LegacyBackupManager.kt

* Fix a missed bundleOf

* So glad this wasnt merged before now, everything should be working with this commit
2020-11-20 22:34:24 -05:00
arkon
a150762c63 Fix manga info description scrim on Android 5 2020-11-20 22:28:06 -05:00
Dominik Chrástecký
c9b1a425a7
add support for S Pen actions (#4029) 2020-11-20 22:25:24 -05:00
arkon
122b2b1a8e Draw under navbar in Android 9+ 2020-11-15 13:30:49 -05:00
arkon
7dc70c9eab Add 1.x page model converters 2020-11-07 19:22:01 -05:00
arkon
e32445f2cf Hide locale subtitle for local source 2020-11-07 19:21:42 -05:00
arkon
d21c147203 Singleton instance of Json serializer 2020-11-01 15:12:16 -05:00
arkon
9b10e851d1 Fix Bangumi login (fixes #3994) 2020-11-01 15:00:21 -05:00
arkon
7310ec4fe4 Use 1.x API to fetch manga details in browse view 2020-10-31 10:10:52 -04:00
arkon
deb1ed5623 Add Uzbek locale 2020-10-30 17:55:23 -04:00
arkon
95ec903862 Fix Bangumi API response deserialization (fixes #3977) 2020-10-29 17:51:18 -04:00
arkon
2ab6af6471 Consume and extend 1.x Source API
TODO: make the rest of the app actually call the 1.x functions
2020-10-26 10:52:28 -04:00
Andreas E
9493577de2
Replace language code in Global Search with secondary text (#3972)
Replace language code in Global Search with secondary text
2020-10-25 15:25:58 -04:00
arkon
837ce62844 Janky workaround for collapsed global search covers 2020-10-24 13:31:29 -04:00
Andreas E
a2b1acd70f
Update Global search layout to match Library and Browse (#3892)
* Update Global Search card item to be comfortable with rounded corners

* Remove card background
2020-10-24 13:07:06 -04:00
Andreas E
f1350bc33e
Fix missing chapter warning when chapter number is not recognized (#3928)
* Fix missing chapter warning when chapter number is not recognized

* Add case where ch number is recognized as zero but has no ch number

Yes this will ignore ch 0

* Use RegEx to double check if ch. name contains potential ch. number
2020-10-24 13:06:23 -04:00
arkon
6af0eb4068 Fix Shikimori login (closes #3966) 2020-10-23 18:02:48 -04:00
arkon
ed41604f56 Show locale in sources list items 2020-10-12 17:35:08 -04:00
Soitora
9f05d563f9
Darken the description colors (#3858)
* Darken the description colors

* Restore UpdatesHolder.kt

* Use the same color as the Extensions subtitles
2020-10-12 16:59:44 -04:00
arkon
99b96d80d0 Auto-formatting 2020-10-12 16:58:48 -04:00
Taco
60755d0c26
Use some more KTX and Compat stuff (#3933)
* Use more KTX extensions

* Update Android Studio

* Use more Compat classes
2020-10-12 16:46:25 -04:00
arkon
f5aa36c787 Migrate to kotlinx.serialization for Bangumi 2020-10-11 15:58:59 -04:00
arkon
f8d82cb052 Migrate to kotlinx.serialization for Shikimori 2020-10-11 15:58:43 -04:00
arkon
980feb6c96 Migrate to kotlinx.serialization for download store and deleter 2020-10-11 15:26:57 -04:00
arkon
e7d6605490 Migrate to kotlinx.serialization for Anilist 2020-10-11 15:26:30 -04:00
arkon
7a476abb53 Migrate to kotlinx.serialization for extensions and update fetching 2020-10-11 14:53:02 -04:00
arkon
b88e444cbc Bump minimum WebView version to 84 2020-10-10 16:35:08 -04:00
jobobby04
efc951191d
History fixes (#3921)
(cherry picked from commit 776a4b2a2414f5f35b28f5d8c830baca6351e123)
2020-10-10 16:05:29 -04:00
arkon
842295348e Add Amharic locale 2020-10-04 13:10:40 -04:00
arkon
4cbe497770 Prevent tag search if browsing from latest (sort of closes #3625) 2020-10-03 13:04:38 -04:00
arkon
0904692f15 Set activated states for manga info favorite/tracker buttons 2020-10-03 12:55:51 -04:00
arkon
65bacd288b Reorder chapter filters to better match library filters 2020-10-03 12:32:49 -04:00
Andreas E
11ab3b2c2e
Remove from queue after read (#3870)
* Add option to remove chapter from download queue after marked as read

* Begone bug

There was a bug when one queued a new download to the downloader. Which resulted in getChapterDownloadOrNull() would not find the corresponding download for the provided chapter

* Fix review comment

* Remove preference and just remove from queue
2020-10-03 12:29:51 -04:00
Andreas E
812368e332
Ability to delete reading history (#3871)
* Added ability to delete history for all manga

* Fix review comments
2020-10-03 10:54:42 -04:00
arkon
cf39ae0000 Add banner for Incognito Mode 2020-10-03 10:53:26 -04:00
arkon
7194f65203 Show downloaded only banner in all views 2020-10-03 10:48:53 -04:00
arkon
4b78ff324d Minor string cleanup for Incognito Mode 2020-10-03 10:44:34 -04:00
Platiplus
79ccfcd553
[Feature Request] Option to turn off History - #3772 (#3855)
* Implementing do not save chapter history preference

* Refactor of labels

* Changing incognito mode from Readers section to More

* Fixing imports and removing unused strings
2020-10-03 10:43:01 -04:00
jobobby04
e88cbc2769
Fix deleting history not refreshing the view (#3882)
Fix deleting history not refreshing the view
2020-10-02 13:19:16 -04:00
arkon
b5986b509e Fix chapter filter icon tinting 2020-09-27 19:16:46 -04:00
jobobby04
9d2adcd512
Add infinite history and search history (#3827)
* Add infinite history and search history

* Cleanup code
2020-09-27 18:17:14 -04:00
arkon
fb3756420b Use tristate checkboxes for chapters list filters 2020-09-27 18:13:20 -04:00
arkon
caeab0a63b Clean up bottom nav bar scrolling behavior toggling 2020-09-27 13:42:49 -04:00
scb261
3784d1a8f2
Add option to hide bottom bar when scrolling (#3758)
* [wip] hardcoded flag for hide on scroll

* add corresponding option in settings

* clean up a little

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-09-27 13:25:30 -04:00
scb261
458e761b45
Add ability to choose what to remove for selected mangas (#3796)
* [wip] started to change manga delete options

* Change dialog for deleting selected manga

* Move array to appropriate file

* Make first option enabled by default

* Use radio buttons to reduce amount of clicks

* Revert "Use radio buttons to reduce amount of clicks"
2020-09-27 13:03:04 -04:00
arkon
a3c598a3e1 Remove card backgrounds from browse lists 2020-09-26 19:03:46 -04:00
arkon
79bbc99882 Shorten settings search package name 2020-09-26 18:27:12 -04:00
arkon
3bce07e873 Minor settings search code cleanup 2020-09-22 22:33:43 -04:00
arkon
766f9e37b5
#3520 Searchable Settings (#3683)
* Adding class stubs for settings search, UI elements.

* -  implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen

* Remove unneeded SettingsControllerFactory.

* Set query hint, clean up code smell.

* Add search button to MoreController, stop infinite recursion.

* - initialize SearchResultCollection once in Activity.onCreate

* - implement prefernce highlighting after settings search

* - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings

* Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review.

* - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController

* Code review cleanup and refactoring.

* Inlined non-reused key strings.

* Adding more UI polish, add comments for future enhancements.

* - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)

Co-authored-by: mpm11011 <markuscicero5@gmail.com>
Co-authored-by: lmj0011 <9396189+lmj0011@users.noreply.github.com>
2020-09-22 22:23:38 -04:00
arkon
a9bed90d02 Move manga info summary more/less button toggle 2020-09-22 22:20:29 -04:00
arkon
01ad405dd2 Center reader transition text properly (fixes #3819) 2020-09-20 12:56:04 -04:00
arkon
88aea311f8 Remove support for backup v1 2020-09-20 10:35:05 -04:00
arkon
477aedbffa Minor updates 2020-09-20 10:34:22 -04:00
arkon
b898442fe3 Add sah locale (closes #3818) 2020-09-20 10:31:29 -04:00
mpm11011
528c1b90c2
Merge branch 'dev' into dev-settings-search 2020-09-16 14:56:34 -04:00
Jay
004e1c98ee Send manga/chapter/page details when sharing a chapter page 2020-09-15 17:59:47 -04:00
arkon
7641bb4d0d Fix downloaded only filter 2020-09-15 17:53:01 -04:00
arkon
687f3d48ea Tri-state library filters (closes #1814)
Based on https://github.com/inorichi/tachiyomi/pull/2127.

Co-authored-by: hXtreme <hXtreme@users.noreply.github.com>
2020-09-14 17:52:00 -04:00
arkon
da5f10a2f1 Clean up global chapter settings code 2020-09-14 16:23:42 -04:00
lmj0011
64050e8266
[feature] add ability to set global filter/sort/display for Manga chapters (#3622)
* - [feature] add ability to set global filter/sort/display for Manga chapters

* - move default chapter settings functionality to overflow menu
- code clean up

* - show confirmation dialog when user selects "Set as Default" option in Chapter Settings

* - hide overflow menu in LibrarySettingsSheet

* - apply default chapter settings if manga is added to Library from a Source's browsing screen

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-09-14 15:58:34 -04:00
arkon
791a7d5a01 Start updating manga info view header design 2020-09-14 15:56:27 -04:00
arkon
13930d3706 Revert "Hide parental controls section for release"
This reverts commit 76c795d0d0.
2020-09-14 10:48:22 -04:00
arkon
76c795d0d0 Hide parental controls section for release 2020-09-14 10:46:46 -04:00
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
ca1373f36b Check GitHub for preview release updates instead of inorichi's server 2020-09-13 10:53:51 -04:00
arkon
af47103707 Replace deprecated system window insets usage 2020-09-12 15:39:51 -04:00
arkon
c466baaa25 Remove list dividers 2020-09-12 15:39:26 -04:00
Andreas E
9f260c3513
Always show missing chapter warning if there are missing chapters (#3755)
* Always show missing chapter warning if there are missing chapters

* Change function parameter names
2020-09-07 16:40:05 -04:00
lmj0011
18061d1077 - retain search query when navigating *away* from SettingsSearchController
- keep `searchItem` in `expandActionView` state until user goes back (fixes the empty view in `SettingsSearchSearchController` issue)
2020-09-06 23:59:41 -05:00
mpm11011
381c061ebc Adding more UI polish, add comments for future enhancements. 2020-09-06 11:32:03 -04:00
mpm11011
d37341d7d0 Inlined non-reused key strings. 2020-09-05 16:20:45 -04:00
mpm11011
a5098e5b5b Code review cleanup and refactoring. 2020-09-05 14:28:41 -04:00
arkon
b55d394a1f Fix text alignment in transition view when no more chapters available 2020-09-05 10:31:49 -04:00
arkon
86e59977de Refactor common chapter transition views into separate view 2020-09-04 16:25:08 -04:00
arkon
66baf01e43 Localize "No chapters found" error 2020-09-04 15:21:09 -04:00
Andreas E
7a33e198dc
Add missing chapter warning (#3745)
* Add missing chapter warning

* Flip calculation instead of flipping variables

* Change logic

* Change tint based on reader theme

* Add missing chapter warning to WebtoonTransitionHolder

* Add chapter warning between current/finished and prev/next

* Fix mix up of TextViews

* Fix review comments
2020-09-03 22:21:19 -04:00
scb261
4b493ebbaf
Change sources sort to case-insensitive (#3743) 2020-09-03 22:20:27 -04:00
lmj0011
29ab99aa1f - moved call to SettingsSearchHelper.initPreferenceSearchResultCollection() into SettingsSearchController 2020-08-30 22:21:32 -05:00
mpm11011
d53719b79e Limiting search to settings menu only, localized breadcrumb string, and code cleanup after code review. 2020-08-30 16:35:21 -04:00
arkon
8bedc8f456 Move share manga button to toolbar menu 2020-08-29 17:13:02 -04:00
lmj0011
50c7b32b00 - Ensure all Preferences have a key set or else the highlighting effect will have no effect on it.
- remove ExtensionFilterController and SourceFilterController from settingControllersList in SettingsSearchHelper, since those are related to Extensions and not Settings
2020-08-28 20:47:18 -05:00
lmj0011
78072ad285 - implement prefernce highlighting after settings search 2020-08-28 12:52:30 -05:00
lmj0011
437a34b5dc - initialize SearchResultCollection once in Activity.onCreate 2020-08-27 00:53:50 -05:00
mpm11011
3ebea4c305 Add search button to MoreController, stop infinite recursion. 2020-08-26 23:07:59 -04:00
mpm11011
8fe315c354 Set query hint, clean up code smell. 2020-08-26 21:46:36 -04:00
mpm11011
b10b13a339
Merge branch 'dev' into dev-settings-search 2020-08-26 21:00:21 -04:00
mpm11011
5b5ea5ab8a Remove unneeded SettingsControllerFactory. 2020-08-26 20:53:56 -04:00
arkon
e90b0aaf8b Adopt OneWayFadeChangeHandler from SY
From d86f3ffad8
2020-08-23 10:42:20 -04:00
arkon
fe7c7e72f5 Filter out hidden directories for local source (closes #3706) 2020-08-22 17:33:04 -04:00
arkon
9ba11a585f Adopt tab/controller transitions from SY
Original author: @jobobby04
2020-08-22 13:03:39 -04:00
arkon
9920ff617b Clean up X-Requested-With change
This only really affects the initial request, subsequent requests may still use the package name.
2020-08-22 12:49:00 -04:00
armangido
3f1355c413
Update WebViewActivity.kt (#3617)
This code added is for some extension that blocks tachiyomi, by tricking it that it was sent by a android browser, nothing major changes,
2020-08-22 12:37:21 -04:00
lmj0011
8c82b766e3 - implement searchable settings
- `SettingsController.setupPreferenceScreen` must return a PreferenceScreen
2020-08-19 10:28:04 -05:00
arkon
4c8665c9f0 Don't enqueue bookmarked chapters for deletion (fixes #3691) 2020-08-18 17:47:07 -04:00
arkon
4ef25c75b7 Use core-ktx for bolding chapter transition text 2020-08-18 17:40:17 -04:00
mpm11011
22518f173f Adding class stubs for settings search, UI elements. 2020-08-16 19:11:23 -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
c3084ac43a Unhide parental controls settings 2020-08-12 22:34:00 -04:00
arkon
65b32ddeb2 Split out NSFW source setting to separate section
Temporarily hidden until feature is ready for stable release.
2020-08-10 14:19:35 -04:00
arkon
748a720199 Lift toolbar on scroll in extension details and manga controllers 2020-08-10 12:04:51 -04:00
arkon
8db34eb3dd Allow annotating SourceFactory with @Nsfw to block all sources within it 2020-08-10 11:54:31 -04:00
arkon
b657bba96e Add 18+ warnings in extensions list 2020-08-10 11:53:23 -04:00
arkon
dbaac69fad Add option to prevent deleting bookmarked chapters (closes #2082) 2020-08-09 12:18:05 -04:00
arkon
b6a1e89535 Minor cleanup 2020-08-09 12:05:04 -04:00
arkon
cce919750a Minor rewording of chapter deletion settings 2020-08-09 12:04:56 -04:00
arkon
9376b223bb Bubble up sources with results in global search (closes #3598) 2020-08-09 11:58:50 -04:00
arkon
3e6b0117fd Swallow errors when trying to determine available disk space when downloading (closes #3603) 2020-08-09 11:39:18 -04:00
arkon
421dfb4a2d Allow partially loading extensions with individually marked NSFW sources 2020-08-08 19:06:52 -04:00
arkon
abaca6e676 Option to hide NSFW extensions (closes #1312) 2020-08-08 16:27:55 -04:00
arkon
8bab1d9798 Add mark as read/unread to library (closes #156)
Adapted from e51276a1ac
2020-08-08 12:16:37 -04:00
arkon
c1dfdeb500 Fix MAL 0/10 scores (closes #3623) 2020-08-06 19:14:24 -04:00
arkon
dda7e677a5 Dismiss add manga snackbar when leaving controller (closes #3614) 2020-08-06 19:05:07 -04:00
arkon
b1fb401f63 Warn before restoring backup if trackers aren't logged in 2020-08-05 22:46:37 -04:00
arkon
885ace111e Fix toolbar being expanded when opening preference dialogs 2020-08-04 08:56:30 -04:00
arkon
885552b792 Move tracker setting dialogs 2020-08-03 23:04:49 -04:00
arkon
4f02872a84 Minor cleanup 2020-08-03 23:03:31 -04:00
arkon
ecec1bd102 Revert "Use insetter library for handling inset padding" (fixes #3586)
This reverts commit 3ddd1033c3.
2020-08-03 16:55:41 -04:00
arkon
060f0682f4 Fix snackbars not being in viewport properly 2020-08-03 14:12:34 -04:00
arkon
88032e11df Use dialog to show what's new release info 2020-08-03 14:08:35 -04:00
arkon
493c8b0943 Adjust vertical reading mode tap zones (closes #3551)
Basically L shapes, where top/left goes back, bottom/right goes forward, and middle opens the menu.
2020-08-03 12:17:49 -04:00
arkon
af2ef0621a Remove Tagalog translations (closes #3579) 2020-08-03 11:20:06 -04:00
arkon
095461e31b Explicitly dismiss progress notification on downloader stop 2020-08-03 11:15:33 -04:00
arkon
3ddd1033c3 Use insetter library for handling inset padding 2020-08-02 23:09:18 -04:00
arkon
912687ac78 Adjust download badge color again 2020-08-02 23:03:24 -04:00
arkon
40a9595012 Request gzipped version of extensions repo 2020-08-02 22:55:42 -04:00
arkon
12ff37d052 Fix manga title disappearing in toolbar when pushing another controller 2020-08-02 17:46:15 -04:00
arkon
4857073f30 Revert "Use AndroidX WebKit library"
This reverts commit 7e7eb9f39f.
2020-08-02 16:12:05 -04:00
arkon
ea3b8767de Fix crash when filter groups contain items with identical names (closes #3568) 2020-08-02 12:52:40 -04:00
arkon
8e8c30c1eb Move download warnings/errors to separate notification channel 2020-08-02 12:16:51 -04:00
arkon
ad9f646102 Fix downloads not working for custom SD card paths (closes #3564) 2020-08-02 11:52:37 -04:00
arkon
2ef277bcef Don't show completed notification if download error notification was shown 2020-08-02 10:53:17 -04:00
arkon
9708d84e60 Fix dividers in migrate list 2020-08-01 18:28:48 -04:00
arkon
4efc195548 Fix last used source pinned status 2020-08-01 18:23:46 -04:00
arkon
0d15cbe334 Filter out chapter entries with duplicate URLs (fixes #3552) 2020-08-01 16:35:52 -04:00
arkon
85ed7a7457 Fix for reader crash in < Android 9 2020-08-01 12:10:28 -04:00
arkon
6a5af438dd Temporarily unrevert crop borders unification (closes #3487)
Reverts 1920568057
2020-07-31 14:59:34 -04:00
arkon
ccc0a61158 Shift WebView checks to necessary places only to allow for basic usage 2020-07-31 14:27:35 -04:00
arkon
e990ad25eb Fix tap region for manga summary 2020-07-31 12:58:13 -04:00
arkon
98a4d1e763 Actually fix library search properly 2020-07-31 12:54:23 -04:00
arkon
f762598c5c Fix library search query being lost when returning (closes #3473) 2020-07-31 12:18:47 -04:00
arkon
ec56c27071 More core-ktx usages 2020-07-31 10:29:32 -04:00
arkon
eb0e0a1952 Use Kotlin extensions for preference editing 2020-07-30 23:04:50 -04:00
arkon
01a837fde6 Make source options dialog into a controller to retain state 2020-07-30 22:46:35 -04:00
arkon
b9488645d4 Hide cutout option when appropriate in reader settings sheet (closes #2982) 2020-07-30 22:38:10 -04:00
arkon
99710b45d1 Fix download status updates not appearing in chapters list (fixes #3358) 2020-07-30 22:22:37 -04:00
arkon
3813743e3d Split download notifications into progress and complete channels 2020-07-29 21:57:43 -04:00
arkon
9bb2334b69 Replace VectorDrawableCompat.create() with AppCompatResources.getDrawable()
Fixes crash when loading pin icon in Android 5/6.
2020-07-29 18:36:28 -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
arkon
b0106aa420 Fix getting stuck in chapter loop when chapters have identical URLs 2020-07-27 15:59:15 -04:00
arkon
33e5fea96c Explicitly destroy webview on activity destroy 2020-07-26 17:47:43 -04:00
arkon
f0a1dcd120 Prevent spamming updates with newly favorited manga 2020-07-26 17:16:00 -04:00
arkon
26d5a87bef Fix source item flashing when pinning 2020-07-26 17:09:56 -04:00
arkon
52ae208df3 Show lang code in source long press dialog 2020-07-26 16:31:31 -04:00
arkon
34aaa7fb0a Remove explicit source browse button, tint pin icon when pinned 2020-07-26 16:28:58 -04:00
arkon
0aed93becf Don't show chapter number in history item when unknown 2020-07-26 16:17:27 -04:00
arkon
a52fbb012a Add pin icon to sources list (closes #2862) 2020-07-25 18:25:30 -04:00
arkon
2dc47352f8 Add operator functions for handling set preferences 2020-07-25 18:07:10 -04:00
arkon
e95a5be21d Show message when searching with no pinned sources 2020-07-25 17:14:34 -04:00
arkon
abd69d4f91 Fix weird backstack behaviour after clearing database
Shouldn't affect anything since controllers are recreated when entering different sections.
2020-07-25 16:45:27 -04:00
arkon
d749e309f8 Minor optimizations for local source dir lookups 2020-07-25 14:20:47 -04:00
arkon
71c6c71081 Lazily find chapter directories 2020-07-25 12:54:17 -04:00
arkon
d2b14bcfc4 Inline extension functions 2020-07-25 12:12:44 -04:00
arkon
2c04c81bd1 Increase dismiss timeout for what's new snackbar 2020-07-25 12:07:37 -04:00
arkon
dd66c83c50 Use some more core-ktx extensions 2020-07-25 12:07:20 -04:00
arkon
9e51d82154 Replace custom visibility extension functions 2020-07-25 12:00:27 -04:00
arkon
bdc441a5be Hide manga title in toolbar when at top 2020-07-25 11:34:44 -04:00
jobobby04
ee01686ae4
Change to J2k style downloads while keeping support for the old ones (#3513)
* Change to J2k style downloads while keeping support for the old ones

* Tweaks based on comments in the PR

* Add scanlator to download pending deleter chapter data class

* Inline the foreach functions

* Make the rename function do less lookups

* More rename downloaded chapter tweaks

* Downloader conflict fixing
2020-07-25 10:59:33 -04:00
arkon
6742cdeb8b Hide tracking button if none logged in, show for non-favorited manga (closes #3507) 2020-07-25 10:50:54 -04:00
arkon
c37377bffa Remove divider between manga info header and chapters header 2020-07-24 22:27:58 -04:00
Ken Swenson
76147a9be7
fix: Download on WiFi regardless of metered status (#3489)
* fix: Download on WiFi regardless of metered status

fixes #3395

* fix: check if not WiFi rather than checking if connection is mobile
2020-07-24 22:25:10 -04:00
arkon
e6a63ee5b2 Fix manga overflow menu items not appearing after adding to library via categories 2020-07-21 22:07:02 -04:00
arkon
08dc57fd02 Revert ViewPager2 library 2020-07-19 21:33:19 -04:00
arkon
c401915fb5 Don't initialize mangas if viewing source in list view if on metered connection 2020-07-19 12:13:50 -04:00
arkon
2a202bd510 Migrate library to ViewPager2 2020-07-19 11:48:41 -04:00
arkon
dcd8ed08fc Rename chapters_controller to manga_controller 2020-07-19 11:32:26 -04:00
arkon
d3ebedeef2 Explicitly show "No results found" in global search instead of hiding row 2020-07-18 17:46:29 -04:00
arkon
0cef05dd89 Revert "Make controllers responsible for showing/hiding FAB"
This reverts commit 8ef548032f.
2020-07-18 16:37:36 -04:00
arkon
a443dc3040 Show tracker status in button 2020-07-18 16:37:00 -04:00
arkon
9278ca3f5e Move chapter filter/sort/display settings into a sheet 2020-07-17 17:01:16 -04:00
arkon
d7a70b962b Toggle about section when tapping on header/empty space 2020-07-17 16:29:59 -04:00
arkon
fff0f841fa Long press favorite button to manage categories 2020-07-17 14:44:09 -04:00
arkon
8ef548032f Make controllers responsible for showing/hiding FAB 2020-07-17 09:50:40 -04:00
arkon
5452e29840 Remove redundant Reading Mode header 2020-07-16 23:02:14 -04:00
arkon
148f8e6d11 Tweak track search dialog list item paddings 2020-07-16 23:01:24 -04:00
arkon
6713a7ae3c Include source ID if name not found in restore error log (closes #3018) 2020-07-16 22:36:01 -04:00
arkon
226ad13061 Include source name in update error log (closes #3482) 2020-07-16 22:30:21 -04:00
arkon
88ee86b7ef Move edit categories to overflow 2020-07-16 22:22:06 -04:00
arkon
4bc2288806 Allow category names with different casing (fixes #3465) 2020-07-14 09:04:15 -04:00
arkon
a928d9fa0b Enable more WebView settings to better mimic regular browser 2020-07-12 22:40:51 -04:00
arkon
5ef5087406 Replace some usages of findViewById 2020-07-12 19:29:39 -04:00
arkon
966c196f4a Remove unused CoverCache param from LibraryController 2020-07-12 17:04:52 -04:00
arkon
dc43e41896 Use view binding for sheets 2020-07-12 17:04:12 -04:00
arkon
4809d06d04 Speed up controller fade and tab expansion animations 2020-07-11 23:08:39 -04:00
arkon
9f7fda0bc5 Move edit cover to manga info 2020-07-11 22:40:05 -04:00
arkon
1f67695713 Hide migrate option for non-favorited manga 2020-07-11 19:29:40 -04:00
arkon
66ef1a8206 Hide toolbars when reader color filter sheet is opened 2020-07-11 19:21:41 -04:00
arkon
beaffc3870 Remove redundant layout for reader color filter sheet 2020-07-11 19:16:49 -04:00
arkon
8536ecb611 Remove color filter preview image 2020-07-11 19:09:13 -04:00
arkon
d7a89b0f8c Remove 32-bit color setting from reader sheet 2020-07-11 18:58:04 -04:00
arkon
943081e80d Reorder animation speed options 2020-07-11 18:36:08 -04:00
arkon
e33cacf6a4 Use root FAB/CoordinatorLayout in MangaController 2020-07-11 12:32:17 -04:00
arkon
23fe848a35 Move tracking to manga info actions
Currently just opens a separate view. To be iterated upon later.
2020-07-11 12:13:05 -04:00
arkon
fa5d2276c0 Group theme settings into category 2020-07-10 22:37:36 -04:00
arkon
d353a3457d Split general reader settings into reading mode and display 2020-07-10 22:29:46 -04:00
arkon
b363b9fc1a Make page transitions setting apply to webtoon viewer as well 2020-07-10 22:24:55 -04:00
arkon
1920568057 Unify crop borders settings 2020-07-10 22:19:08 -04:00
arkon
763da19c9d Add shortcut to global search query from library (closes #2183) 2020-07-10 19:31:23 -04:00
arkon
1813dbbf59 Add ability to sort library by date added (closes #1287) 2020-07-10 15:56:06 -04:00
arkon
339169b624 Hide invert volume keys setting when volume keys isn't enabled 2020-07-10 12:47:52 -04:00
arkon
93960315d9 Prevent downloads when less than 50MB of disk space is available (closes #1018) 2020-07-10 12:47:19 -04:00
arkon
479eb1ba71 Attach some FABs and snackbars to root CoordinatorLayout
Fixes some issues around snackbars sometimes being out of view.
2020-07-10 11:15:57 -04:00
arkon
962d8e5fd2 Don't capitalize category names 2020-07-10 09:57:29 -04:00
arkon
40639c0933 Update dependencies, remove play-services-oss-licenses 2020-07-09 18:30:57 -04:00
arkon
7401673ac1 Update some icons 2020-07-07 17:29:32 -04:00
Jay
73dcc7bcb1 Fix download cache not working for a source name change 2020-07-07 17:29:32 -04:00
tatsuya25
d8b1f60581
update BaseController.kt (#3423) 2020-07-07 17:29:15 -04:00
arkon
16fc58bd16 Use custom view to handle manga info cover size (fixes #3354) 2020-07-04 16:08:01 -04:00
arkon
68df2f4ce7 Point to GitHub releases for stable changelogs 2020-07-04 14:36:56 -04:00
arkon
367932de69 Move preview notes to GitHub 2020-07-04 14:06:23 -04:00
arkon
3da08cbcbf Add cv and fil locales 2020-07-04 13:56:25 -04:00
arkon
5733429682
Merge pull request #3406 from purinsan/dev
Fix #2767
2020-07-04 13:48:43 -04:00
arkon
c6d29fc19b Move MaterialFastScroll to widget package 2020-07-04 13:45:01 -04:00
arkon
d9a12d79b0 Add ability to download unread chapters from library 2020-07-04 10:54:01 -04:00
arkon
963cf4c996 Fallback to default UA string for all network requests 2020-07-04 10:33:31 -04:00
arkon
0ef073669a Update notifier paused state when starting downloads (fixes #3254) 2020-07-04 10:27:57 -04:00
purinsan
fedb1d2590 Fix Set categories dialog not showing up when manga is added from download snackbar 2020-06-30 22:20:35 +06:30
arkon
eef39b75a6 Dependency updates 2020-06-28 22:38:24 -04:00
arkon
eca593ac36 Hide download menu for local manga 2020-06-28 22:29:49 -04:00
arkon
a1917b8c81 Jump to chapters list earlier on to avoid jank 2020-06-27 21:08:43 -04:00
arkon
ec6dba12bd Fix a settings section label 2020-06-27 10:24:29 -04:00
arkon
da0671ad62 More descriptive "Unknown"s in manga info 2020-06-25 18:17:17 -04:00
arkon
04d83e9a6a
Add option to reverse tapping (#3360)
* Add option to reverse tapping

* Fix string for preference key

* Invert tapping for Webtoon and Vertical

* Use enum instead of boolean

* Add option to reader sheet

* Hide from reader sheet if tapping disabled and remove hard coded string

* Hide option if tapping disabled
2020-06-25 18:12:12 -04:00
arkon
2cb7624953 Make jumping to manga chapters optional 2020-06-25 18:10:46 -04:00
Andreas E
e6ace844b6
Hide option if tapping disabled 2020-06-25 18:01:45 +02:00
arkon
f2f6628693 Separate out chapters heading into separate adapter 2020-06-24 22:48:20 -04:00
arkon
1c33032721 Scroll directly to chapters list for library manga (closes #3353) 2020-06-24 22:39:53 -04:00
arkon
b3f5f13c39 Lazily instantiate Cloudflare client 2020-06-24 18:07:29 -04:00
arkon
a5339969c9 Fix about info now showing after initial manga load (closes #3381) 2020-06-24 18:07:16 -04:00
Andreas E
1681437206
Hide from reader sheet if tapping disabled and remove hard coded string 2020-06-24 15:48:08 +02:00
Andreas E
2eaf083eee
Add option to reader sheet 2020-06-24 09:50:23 +02:00
arkon
3645d19135 Add advanced option for DNS over HTTPS via Cloudflare (closes #3377) 2020-06-23 22:42:53 -04:00
arkon
3b4b1185e2 Add network header logging in debug builds 2020-06-23 22:26:37 -04:00
arkon
406c5bde11 Open error log on tapping notification body (closes #3376) 2020-06-23 22:17:19 -04:00
Carlos
75d1913aaf
ignore fact that loader might be null (#3374) 2020-06-23 18:11:47 -04:00
arkon
eb254d9c56 Move about summary more/less expander button 2020-06-23 08:51:51 -04:00
arkon
4e633b8936 Replace filter group icons with expand more/less 2020-06-23 08:51:38 -04:00
Andreas E
c8a6a2653f
Use enum instead of boolean 2020-06-23 12:09:10 +02:00
Andreas E
0ea0eba4f0
Invert tapping for Webtoon and Vertical 2020-06-23 10:58:56 +02:00
Andreas E
7f88b56d8b
Resolve merge conflicts 2020-06-23 10:23:14 +02:00
arkon
789421c7a0 Scroll up/down when tapping top/bottom thirds in vertical reading modes (closes #3363) 2020-06-22 22:36:33 -04:00
arkon
d44503cb19 Show available manga info on view load (closes #3367) 2020-06-22 22:28:53 -04:00
Andreas E
d0f1a33744
Fix string for preference key 2020-06-21 18:50:55 +02:00
Andreas E
c54b8e62d7
Add option to reverse tapping 2020-06-21 16:47:18 +02:00
arkon
3dc738f28c Restore separate artist field 2020-06-20 22:30:02 -04:00
arkon
65091c05c9 Allow switching between read/unread chapters more easily 2020-06-20 16:17:03 -04:00
arkon
52e846f3b6 More manga info header tweaks 2020-06-20 11:41:20 -04:00
arkon
ce22b2c29a Add shortcut to open extension package in system settings 2020-06-20 10:43:35 -04:00
arkon
361b0284fa Add tooltips to manga info header action icons 2020-06-19 17:40:17 -04:00
arkon
b8947a1c50 Bleed cover backdrop into actions bar in manga info header 2020-06-19 17:32:44 -04:00
arkon
8d1effa0e8 Add Persian locale 2020-06-19 17:22:22 -04:00
arkon
18712b166f Combine chapter sort asc/desc and sorting mode menus 2020-06-19 16:27:17 -04:00
arkon
4605e14729 Merge manga info and chapters views 2020-06-19 16:11:59 -04:00
arkon
a768280d82 Use view binding in TrackAdapter 2020-06-17 22:45:40 -04:00
arkon
cbb8f25645 Allow extension details header to scroll 2020-06-17 22:39:45 -04:00
arkon
eee0bd6cf4 Rename some code from "catalogue" to "source" 2020-06-17 22:18:33 -04:00
arkon
f176a5179a Restore individual sources in source filter view 2020-06-17 22:10:12 -04:00
arkon
e17605f8d9 Localize/reword "Loader not implemented" error message 2020-06-17 09:09:01 -04:00
arkon
e06a488af8 Add categories to more 2020-06-17 09:07:20 -04:00
arkon
6dc8bfed8d Remove some unnecessary strings 2020-06-16 17:30:35 -04:00
Dimitri Rogava
f642f23366
chapter deletion logic fixed (#3320) 2020-06-15 23:03:56 -04:00
arkon
ff5f13eafe Remove categories for multi language "single" sources 2020-06-15 22:45:28 -04:00
arkon
749b240897 Group extension details classes together 2020-06-15 22:25:15 -04:00
arkon
9207762ade Add some missing locales 2020-06-14 11:55:28 -04:00
Dimitri Rogava
0a22950ad3
Georgian translation (#3323)
* added georgian (ka) locale for strings.xml

* added georgian to locale list
2020-06-14 11:26:38 -04:00
arkon
150ea29a70 Move untrusted/obsolete/unofficial extension text 2020-06-13 17:27:03 -04:00
arkon
f9baff0e90 Show "Start" in chapters FAB if nothing is read yet 2020-06-13 17:15:22 -04:00
arkon
6ad3fcb91d Rounded library badges 2020-06-13 17:00:32 -04:00
arkon
395ca3630c Combine author and artist fields in manga info 2020-06-13 16:25:26 -04:00
arkon
e9fbdb660b Fix webview height issue
Collapsing toolbar doesn't work currently.
2020-06-13 15:56:40 -04:00
arkon
526e029ebb Update some themes 2020-06-13 15:34:55 -04:00
arkon
32e3ac63ed Bump dependencies 2020-06-13 15:17:21 -04:00
arkon
90f31aab38 Hide download/delete chapter menu item for local manga 2020-06-11 17:41:00 -04:00
arkon
f5a44245e9 Update SwipeRefreshLayout 2020-06-10 23:01:47 -04:00
arkon
7e7eb9f39f Use AndroidX WebKit library 2020-06-10 23:01:11 -04:00
arkon
a106104027 Enable localStorage in WebView 2020-06-09 09:15:43 -04:00
arkon
7753161332 Switch to AboutLibraries 2020-06-08 18:26:20 -04:00
arkon
31015504f4 TLS 1.3 support for Android < 10
Should fix https://github.com/inorichi/tachiyomi-extensions/issues/3233
2020-06-07 15:47:42 -04:00
arkon
3899938b25 Reading mode snackbar 2020-06-07 11:14:19 -04:00
arkon
ca7373c28b Make extension settings button inline 2020-06-06 14:36:04 -04:00
arkon
ac2df87954 Alternate open source licenses plugin 2020-06-06 11:40:46 -04:00
arkon
0b73f8b1ef Update source/extension filter controller titles 2020-06-06 10:17:18 -04:00
arkon
812fcec9f0 Move source preferences to separate controller 2020-06-05 09:50:30 -04:00
arkon
ec7297f8c2 Add arrow to source search headers 2020-06-05 09:33:42 -04:00
jobobby04
0fdb19c07d
Global Search click title to search in Source (#3265)
* Global Search click to search in source

* Add requested changes
2020-06-04 22:38:42 -04:00
arkon
0b8b13d0bb Add FastScroller to downloads 2020-06-01 08:55:37 -04:00
arkon
9f53109414 Default reading mode to RTL (since this is a manga app...) 2020-05-31 18:44:19 -04:00
MCAxiaz
bccb1229c8
use material password toggle (#3261)
use material for track search
2020-05-31 18:29:20 -04:00
arkon
40ab3fe0a6 Tweak extension detail header design 2020-05-31 18:28:23 -04:00
arkon
58ba29fa16 Remove hide option from local source 2020-05-31 18:00:28 -04:00
arkon
54cfb2acdf Manage sources from extension details (closes #3152) 2020-05-31 16:23:51 -04:00
arkon
0bf14fd31c Sort sources/extensions filter languages 2020-05-31 15:09:19 -04:00
arkon
7dd9a0211b Remove Serializable interface from Source
No longer needed since we don't serialize it for the migration controller bundle.
2020-05-31 11:42:39 -04:00
arkon
3d43473bf8 Mark isDownloading flag as volatile (maybe fixes #3219) 2020-05-31 11:42:12 -04:00
arkon
2194c4ba28 Localize "Page list is empty" exception message 2020-05-31 11:26:36 -04:00
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
arkon
4bb9949768 Fix extensions intent 2020-04-27 22:19:13 -04:00
arkon
c4f1d2f153 Revert column FlowPreference
Made loading janky
2020-04-27 22:19:06 -04:00
arkon
ed6f82af0f Only apply downloaded only to chapter lists in library 2020-04-27 20:06:47 -04:00
arkon
7307ddd1b8 Restore landscape manga info layout 2020-04-27 19:48:54 -04:00
arkon
0601bedb0b Revert removal of last chapter/updated from manga info 2020-04-27 19:37:09 -04:00
arkon
0c988d95ee Fix crash when tab isn't available 2020-04-27 19:22:22 -04:00
arkon
d593362ba8 Merge sources and extensions into one view 2020-04-27 19:16:46 -04:00
arkon
f97f4c68ba Hide titles in restore notification based on preference 2020-04-27 18:21:12 -04:00
arkon
2a41e4ce68 Fix BrowseSourceController losing scroll position when navigating back 2020-04-27 16:21:23 -04:00
arkon
850654dccc Hide EmptyView when retrying source request 2020-04-27 16:14:56 -04:00
Hawk of the Death
2f9dfed073
Fix typo (#2973)
Fix MAL api updating wrong data on read chapters change (#2971)
2020-04-27 10:34:41 -04:00
arkon
57911c42d1 Copy debug info when tapping version 2020-04-26 22:55:13 -04:00
arkon
6064eda68f Remove unnecessary dialog padding dimens 2020-04-26 20:07:03 -04:00
arkon
0a509cb382 Remove usage of alpha color selectors (fixes #2957)
Doesn't work properly in API < 23
2020-04-26 17:24:31 -04:00
arkon
b25ab941ba Include viewer and chapter filter preferences when migrating manga (closes #2866) 2020-04-26 16:50:00 -04:00
arkon
6ef59a5949 Remove redundant DB transaction function 2020-04-26 16:45:23 -04:00
arkon
17fc8deb19 Migrate column preference to FlowPreference 2020-04-26 16:35:54 -04:00
arkon
45b5c1c262 Set preference visibility immediately (fixes #2965) 2020-04-26 16:26:42 -04:00
arkon
7fd547a2d6 Fix categories button not working after adding manga (closes #2966) 2020-04-26 16:08:23 -04:00
arkon
d19d787f6e Refactor backup service 2020-04-26 16:07:07 -04:00
arkon
d243ee4b4c Remove TextDrawable 2020-04-26 11:59:15 -04:00
Steven Smith
2c2f8f5853
Improvements to EPUB support. (#2409)
* Fix EPUBs containing relative file paths and/or alternate path separators.

* Support calibre-generated EPUB covers.

* Store EPUB pathSeparator in a field.

* Process both types of image tags in EPUBs.

* Process all EPUB image tags in order.
2020-04-25 22:27:43 -04:00
Jays2Kings
64ba127e7d
Added Local Source icon (#2961) 2020-04-25 22:27:20 -04:00
arkon
9d22a9e664 Move some restore notification logic into service 2020-04-25 18:59:12 -04:00
arkon
96c55db7ca Consider individual manga as transactions rather than entire restore job (closes #2482) 2020-04-25 18:50:44 -04:00
arkon
0f48563e29 Some restore code refactoring 2020-04-25 16:00:08 -04:00
arkon
7c014292d2 Localize some restore strings 2020-04-25 15:55:49 -04:00
arkon
19507d1837 Return success/failure result for backup job 2020-04-25 14:55:55 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
a95ac8ad83 Add links to local source guide (closes #2896) 2020-04-25 11:56:24 -04:00
arkon
902700e1f4 Minor edits 2020-04-25 11:05:29 -04:00
arkon
134dbd2f1d Revert some seekbar event listener changes 2020-04-25 09:58:45 -04:00
arkon
979c49b99a Minor cleanup 2020-04-24 19:37:42 -04:00
arkon
dad010a891 Replace some listeners with flowbindings 2020-04-24 19:37:34 -04:00
arkon
9f974c9401 Refactor library sheet into tabs 2020-04-24 18:15:37 -04:00
arkon
fba3ed2244 Show scrollable single line of genres when compacted 2020-04-24 16:05:43 -04:00
arkon
aa1d927da6 More FlowPreference migration 2020-04-24 11:58:16 -04:00
Jay
a088c9ca7c Added Last Used header to browse 2020-04-24 10:53:22 -04:00
arkon
8c1ec43500 Remove option to turn off app update checks, check every 3 days 2020-04-24 10:39:55 -04:00
arkon
1ac1c6dc9e Link to GitHub commits for preview build changelog 2020-04-24 10:29:35 -04:00
arkon
d98b7275d1 More FlowPreference migration 2020-04-23 23:21:44 -04:00
arkon
77cca1ce84 Change favorite icon to heart 2020-04-23 23:08:25 -04:00
arkon
c0bbbdb7ee Separate categories picker from long pressing manga favorite button 2020-04-23 23:03:20 -04:00
arkon
8e6b7aaec0 More subdued chapter page progress text 2020-04-23 22:58:35 -04:00
Hawk of the Death
aae6820fdc
Replace Track Reading Dates date picker with MaterialDialog's one (#2935)
* Replaced datepicker with MaterialDialog's one

* Removed max date due to library bug (afollestad/material-dialogs#1973)

* Removed old date picker view.
2020-04-23 18:28:41 -04:00
arkon
2a4f35959b Hide reader cutout setting if no cutout detected 2020-04-22 23:22:03 -04:00
arkon
f71708e5c5 Group version info at top 2020-04-22 23:12:18 -04:00
arkon
6de00b1f21 Make restore a foreground service 2020-04-22 23:09:24 -04:00
arkon
2b27b40142 Fix round text icons (closes #2934) 2020-04-22 22:30:40 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -04:00
arkon
04a178e7da Move common view configs to parent class 2020-04-22 21:46:02 -04:00
arkon
6d5b6b2ff7 Specify Stable vs Preview in version 2020-04-22 21:24:43 -04:00
TacoTheDank
34f7e4d448
Replace TextDrawable with a Kotlin fork (#2929)
* Replace old TextDrawable with Kotlin fork

* Update androidx preferences library
2020-04-22 21:23:44 -04:00
Hawk of the Death
f7c139030f
Add Start/Finish date support for MAL (#2672)
* Started working on MAL support

* Added date picker UI

* Replaced Date with Calendar

* Added MAL remote update functionality

* Join url methods listEntryUrl and editUrl

* Removed unused methods

* Renamed mangaEditPayload to mangaEditPostBody

* Moved code to separate method

* Uniformed code to project conventions

* Removed wildcard import

* Moved MyAnimeListTrack to private class

* Improved MyAnimeListTrack name

* Removed redundant code

* Add start/finish date in local database

* Fixed format and improved codestyle

* Fixed typo and fixed TrackHolder's format

* Improved code style

* Ran linter

* Add database updating methods

* Change date format to fit new layout

* Review Commits

* Improve SetTrackReadingDatesDialog readability

* Move private methods after public ones

* Fixed SQL error

* Fixed remove date button

* Updated MaterialDesign methods to latest version

* Replaced dismissDialog() with dialog.Dismiss()

* Fixed wrong string resource usage.
2020-04-22 21:23:23 -04:00
arkon
c967308859 Replace deprecated adapterPosition with bindingAdapterPosition 2020-04-22 09:17:23 -04:00
arkon
02207f6cfd Make entire history item card clickable 2020-04-22 09:14:30 -04:00
arkon
badddcf0de Use existing paddings when allocating space for source RecyclerView for FAB (fixes #2917) 2020-04-22 09:10:09 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
arkon
f69f78db34 Move restore progress dialog to notification 2020-04-21 21:53:15 -04:00
arkon
fc2c465bac Prevent multiple concurrent backups/restores 2020-04-21 21:34:22 -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
2485ef8547 Remove migrating progress dialog 2020-04-21 19:01:01 -04:00
arkon
b17762f8d9 Remove source name from history cards, slightly compacter 2020-04-21 18:41:05 -04:00
MCAxiaz
b3611eef9d
Bug/2894 covers not updating (#2908)
* Use a wrapper around Manga to supply glide with proper equals() and hashCode() impl. for caching

* reload image if url has changed

* ignore case for http scheme comparison

* more ignore case for http scheme comparison

* fix indenting

* use data class for MangaThumbnail
2020-04-21 09:13:23 -04:00
arkon
a68c1adba6 Use lifecycle scope for flows in activities 2020-04-21 09:12:53 -04:00
arkon
42b536e40b Replace backup progress dialog with notification 2020-04-20 23:11:02 -04:00
arkon
d6e49be268 Remove some progress dialogs 2020-04-20 23:10:10 -04:00
arkon
3d10dad780 Complete RxBindings to FlowBinding migration 2020-04-20 18:13:45 -04:00
arkon
c9a727594e Fix manga info expansion toggling again after refreshing 2020-04-19 23:23:36 -04:00
arkon
cd25e1283a Fix extension update badge again 2020-04-19 23:10:28 -04:00
arkon
6675de1a26 Fix extension update badge in bottom nav not updating 2020-04-19 21:05:45 -04:00
arkon
96618e9517 [CI SKIP] More consistent "WebView" wording 2020-04-19 20:53:31 -04:00
arkon
dff239141d Force close app if Webview isn't available 2020-04-19 16:10:49 -04:00
arkon
abbb329ba6 Rename offline mode to downloaded only 2020-04-19 16:02:33 -04:00
arkon
5bc77fc6e8 Add offline mode (forced download filters; closes #2902) 2020-04-19 15:30:55 -04:00
arkon
9c820fcca1 Default skip filtered to true 2020-04-19 15:29:10 -04:00
arkon
bb064a1ba7 Change restore error log extension to txt 2020-04-19 15:13:02 -04:00
arkon
a5d9fb518a Minor edits 2020-04-19 15:12:46 -04:00
arkon
bd20977ebc Remove custom preference flow implementation 2020-04-19 12:03:51 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
arkon
359d4dc1b2 Show locale name in system default locale 2020-04-18 22:48:52 -04:00
arkon
ca47446b46 Add link to website and open source licenses 2020-04-18 22:27:54 -04:00
arkon
321a4b24b9 Add confirm exist setting (closes #2615) 2020-04-18 20:05:31 -04:00
arkon
8a243ffb57 Include bookmark state when migrating chapters (closes #2729) 2020-04-18 19:40:50 -04:00
arkon
c2330fe3af Fix extension setting dialogs not handling duplicate keys (fixes #2876) 2020-04-18 19:32:52 -04:00
arkon
9876732875 Genre search from updates/history (closes #2893) 2020-04-18 19:11:47 -04:00
arkon
6c14402992 Remove manga homescreen shortcuts 2020-04-18 16:06:31 -04:00
arkon
bdee525336 Lint fixes 2020-04-18 15:28:44 -04:00
arkon
fbf13efe74 Bump minimum extension lib and WebView versions 2020-04-18 14:51:20 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
morcefaster
4fc8800a37
Webtoon zoom out (#2892)
* Increased added support for zoom out on webtoons to help with horizontal layout reading

* Renamed var
2020-04-18 14:43:54 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon
31b94fd3ff Fix string key typo 2020-04-18 14:25:29 -04:00
arkon
df69559b39 Collapsable manga summary/genre section 2020-04-18 12:40:47 -04:00
arkon
85e7b78b21 Fix for library tags not triggering search 2020-04-18 11:53:25 -04:00
arkon
42a97f8c40 Add function in interface to get list of genres 2020-04-18 11:36:05 -04:00
arkon
f115691365 Revert attempted WebView process fix 2020-04-17 22:42:14 -04:00
arkon
deb66436cb Remove redundant call to set extension badge in bottom nav 2020-04-17 20:22:46 -04:00
arkon
b8152dd7f9 More FlowPreferences migrations 2020-04-17 20:15:33 -04:00
arkon
678c004a64 Add parent class for view configs 2020-04-17 20:10:29 -04:00
arkon
d9f44c1f7d Extension function instead of redefining uiScope everywhere 2020-04-17 20:06:33 -04:00
arkon
088160ed32 Extra genre chip text trimming 2020-04-17 19:51:57 -04:00
raslmenea
8de004d281
toggle reader menu if transition by tapping are disabled (#2887)
Co-authored-by: raslmenea.rm@gmail.com <xpuf4MQNzDtnaqR>
2020-04-17 18:35:04 -04:00
arkon
401210da44 More FlowPreferences migrations 2020-04-17 18:30:05 -04:00
arkon
beb81b657e Migrate some RxSharedPreferences to FlowSharedPreferences 2020-04-17 09:28:58 -04:00
arkon
f7b3450d65 More rxbindings migration 2020-04-17 09:28:26 -04:00
arkon
29776c739a Use HTTPS for crash reports 2020-04-17 09:27:36 -04:00
arkon
bdf322ceb0 Mostly migrate rxbinding to Kotlin Flow version 2020-04-16 23:04:00 -04:00
arkon
fae763dbb0 Manga info action buttons 2020-04-16 22:16:15 -04:00
arkon
c0792522a4 Scrolling manga info view 2020-04-16 22:16:15 -04:00
arkon
c67e62bac3 Remove some relayed chapter info from main manga info view 2020-04-16 22:16:15 -04:00
arkon
9dc184adff Make immersive mode slightly more reliable on rotation 2020-04-16 22:00:10 -04:00
morcefaster
5d03eef051
Prevented overzealous preloading (#2882) 2020-04-16 17:22:44 -04:00
arkon
48f7b06549 Minor edits 2020-04-16 17:21:58 -04:00
arkon
4e111cebbe Update Acra 2020-04-15 22:57:34 -04:00
arkon
0bb6e1cdc2 Crash fixes 2020-04-14 17:13:45 -04:00
arkon
9058536406 Use native fontFamily support for library titles 2020-04-12 22:22:26 -04:00
arkon
a0a8899801 Tweak tracking card UI 2020-04-12 22:00:19 -04:00
Jay
aedb4749a2 Controllers now properly remove their toolbar items on pop (fixes #2864) 2020-04-12 12:34:56 -04:00
arkon
f52d49ad00 Replace some icons 2020-04-12 12:34:06 -04:00
arkon
a1e7592bd8 Rename catalogue classes/layouts -> source 2020-04-12 12:21:47 -04:00
arkon
c784d24fa6 Default reader theme to black 2020-04-12 11:32:02 -04:00
arkon
0375c0b2c5 Prioritize pinned sources in global search (closes #1739) 2020-04-11 11:46:05 -04:00
arkon
1ed291086a Hide filter FAB in source latest 2020-04-11 11:02:32 -04:00
arkon
f6e25627de Temporary workaround for chapter FAB being invisible 2020-04-10 23:55:18 -04:00
arkon
8fe79a1fb5 Add source pinning (closes #2322) 2020-04-10 18:38:24 -04:00
MCAxiaz
a1df78517f
use explicit file url instead of download manager's content url (#2859) 2020-04-10 18:11:24 -04:00
arkon
92fa8d683a Remove maxWidth logic from SimpleNavigationView since it's not a sidebar anymore 2020-04-10 18:11:04 -04:00
arkon
df27138401 Fix webview back/forward button color 2020-04-10 18:07:23 -04:00
arkon
7c7d40ea44 Fix status/navigation bar colors (fixes #2858) 2020-04-10 18:07:09 -04:00
arkon
aa70be525d Add text to chapter FAB, shrink extended FABs on scroll 2020-04-10 15:39:28 -04:00
arkon
5183848250 Add padding for catalogue filter FAB 2020-04-10 15:00:56 -04:00
arkon
9a28cbc1e4 Use FAB for catalogue filter 2020-04-10 14:43:13 -04:00
arkon
1a50f7062a Migrate to ViewBinding in ReaderActivity 2020-04-10 14:23:38 -04:00
arkon
8cfd80ba84 Move catalogue filters to bottom sheet 2020-04-10 14:23:27 -04:00
arkon
e5e14e1f9e Fix invisible back/forward webview icons in white them 2020-04-10 14:09:08 -04:00
arkon
51d93f0217 Open decode error pages in webview instead of browser 2020-04-10 11:49:51 -04:00
arkon
fdc7981d18 Tweak webtoon margin setting 2020-04-10 11:45:30 -04:00
arkon
145a744ce0 Merge branch 'feature/webtoon-margins' of git://github.com/jleehey/tachiyomi into jleehey-feature/webtoon-margins
# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderSettingsSheet.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonConfig.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonPageHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/util/preference/PreferenceDSL.kt
#	app/src/main/res/values/strings.xml
2020-04-10 11:14:09 -04:00
arkon
21c1a499ac Migrate to ViewBinding in WebviewActivity 2020-04-10 10:02:51 -04:00
FlaminSarge
9044760a10
Change color of 'last page read' in chapter description (#2855)
Change color of 'last page read' in chapter description
2020-04-10 08:37:58 -04:00
arkon
627a720d4b Migrate to ViewBinding from Kotlin synthetics in controllers 2020-04-08 23:06:28 -04:00
arkon
05fd8e2a38 Add continuous vertical to default reader options 2020-04-07 22:51:39 -04:00
arkon
dd59748bf0 Minor cleanup 2020-04-07 22:44:37 -04:00
jobobby04
38ceaf5253
Add Continuous vertical reading mode (#2833)
* Add Continuous Vertical reader mode

* Remove separate webtoon padding option

(cherry picked from commit 3e7d15e51856297210e46e9f5bb0b8394067ce1a)

* Continuas vertical Lowercase v

(cherry picked from commit 515cca7d6704343eb9acb1a38a2bdcda01e7395a)
2020-04-07 22:35:43 -04:00
arkon
b2fba5083b Duplicate Hebrew strings on build for legacy locale code 2020-04-07 22:32:27 -04:00
arkon
be6a209fe9 Sort languages, add Hebrew 2020-04-07 22:15:47 -04:00
arkon
d5350fd719 Tweak string comparison to account for length (fixes #2831) 2020-04-07 21:40:36 -04:00
arkon
de8e530b37 Update tracker icons 2020-04-07 16:58:08 -04:00
MCAxiaz
bff927c6eb
close response before proceeding chain (#2832) 2020-04-07 06:41:05 -04:00
arkon
985bb44559 Add select inverse action 2020-04-05 15:55:35 -04:00
arkon
6872455922 Perform catalogue search when genre tag is tapped 2020-04-04 12:10:00 -04:00
arkon
d7c13cc291 Perform local search when source is tapped from manga info 2020-04-04 10:10:00 -04:00
arkon
022c0746c0 Show error toast when extensions list fails to load 2020-04-03 22:54:52 -04:00
arkon
06c3f57f62 Cache source package icons 2020-04-03 21:39:55 -04:00
arkon
9da27cc56e Show extension icons in source filtering view (closes #2814) 2020-04-02 19:52:09 -04:00
arkon
92c5497eab Fix shortcuts popping up library sheet or duplicating controllers in backstack 2020-04-02 19:46:44 -04:00
Jay
f115fe47fe Using extension icon instead of letter for catalogues (closes #2261) 2020-04-01 23:03:20 -04:00
arkon
224f08279b Reword "Catalogues" to "Sources" for user-facing consistency 2020-04-01 22:42:08 -04:00
arkon
a3b660a2c9 Respect chapter list filtering when reading (closes #2810) 2020-04-01 22:37:28 -04:00
FlaminSarge
cce3b3a559
Make migration manga-centric rather than source-centric (#2786) 2020-03-31 22:36:23 -04:00
arkon
61fb4d584c Replace genre tags on refresh (fixes #2787) 2020-03-30 22:17:07 -04:00
arkon
859e9ca653 Add update library menu item 2020-03-29 16:43:00 -04:00
arkon
441e2a69d8 Minor edits 2020-03-29 16:41:14 -04:00
arkon
af937f2e31 Hide catalogue empty view properly (fixes #2783) 2020-03-29 16:20:48 -04:00
arkon
912629c2dc Replace TagGroup library with Material chips 2020-03-29 14:11:13 -04:00
arkon
879fa484f6 Remove dead code from DownloadQueue 2020-03-29 12:44:17 -04:00
arkon
e86103fdcc Tweak error button appearance 2020-03-29 12:10:36 -04:00
arkon
920ffa8c24 Add fast scroller to library 2020-03-28 17:17:28 -04:00
arkon
488f81ef74 Use bottom sheet for library settings 2020-03-28 17:17:21 -04:00
arkon
40c934c544 Revert "Move library display settings out of filter sidebar"
This reverts commit a0a077eaaa
2020-03-28 16:12:42 -04:00
arkon
bb43e2aa03 Show empty catalogue error view with actions 2020-03-28 15:57:50 -04:00
arkon
ed277357cf Bookmark via reader (closes #1413) 2020-03-28 14:38:47 -04:00
arkon
bf1fb8b7bd Limit foreground extension checks to once a day 2020-03-28 13:40:23 -04:00
arkon
896b34d1a2 Prompt user to open WebView on HTTP errors 2020-03-24 18:19:15 -04:00
arkon
0b318a19c6 Fix spacing in chapters notification 2020-03-24 13:14:36 -04:00
arkon
3f4140900d Tweak button styles 2020-03-22 18:43:16 -04:00
arkon
b434bc93a3 Add fast scroller in catalogues/extensions lists 2020-03-22 12:43:53 -04:00
arkon
d86b030796 Add icon for mark previous as read 2020-03-22 12:22:47 -04:00
arkon
a7e4657752 Rename "Last updated" sort to "Last checked" 2020-03-21 14:41:46 -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
arkon
fd4876be24 Tint chapter filter icon if filters are enabled 2020-03-18 18:15:53 -04:00
morcefaster
31e2fe6a4c
Faulty preload fix (#2731)
* Condition for preload

* Added preload fix for webtoon viewer. Replaced incorrect last-page logic

* Requested refactoring

* Requested changes

* Requested changes
2020-03-18 09:45:22 -04:00
arkon
33c0c6ff3b Mostly revert back to old filled icons (#2723) 2020-03-16 17:55:53 -04:00
arkon
d65a8e84f0 Always recreate activity on light theme change (fixes #2720) 2020-03-16 17:27:55 -04:00
morcefaster
cd867f800e
Fix for perpetually loading chapters (#2718)
* Fix for perpetually loading chapters

* Removed page count check
2020-03-16 12:20:35 -04:00
arkon
fb897e37d1 Add download queue features from J2K fork 2020-03-15 22:42:40 -04:00
arkon
3e5a48e5e4 Use actual dialog title for tracker login dialogs 2020-03-15 17:31:36 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
morcefaster
088f8b8b54
Changed default pager zoom style to ZOOM_FOCUS_CENTER (#2713)
Changed default pager zoom style to ZOOM_FOCUS_CENTER
2020-03-15 16:02:40 -04:00
arkon
446c254bc8 Use immersive sticky flag when hiding reader UI (closes #2705) 2020-03-15 11:56:55 -04:00
arkon
e41edc1fb7 Pure white light theme 2020-03-15 11:36:38 -04:00
arkon
e77db309b8 Move filter icon tint color to resources 2020-03-15 11:05:11 -04:00
arkon
ace54f8175 Use outlined icons in settings 2020-03-14 15:46:36 -04:00
arkon
d7043bcaeb Use outlined icons in bottom nav and more controller 2020-03-14 14:00:07 -04:00
arkon
91f7056767 Bump updates/history limit to 3 months (closes #2702) 2020-03-14 13:33:45 -04:00
arkon
8299093bf8 Add dev notice about background jobs, move dialog titles for localization 2020-03-13 18:27:49 -04:00
arkon
a0dffcf51f Address some build warnings 2020-03-13 18:23:07 -04:00
arkon
b3daf7d760 Replace deprecated Gson JsonParser usages 2020-03-13 18:16:38 -04:00
arkon
724e1d33b6 Ensure background jobs are recreated after next stable update 2020-03-13 17:29:51 -04:00
arkon
7d0ea614da Migrate to MaterialComponents themes 2020-03-11 22:59:37 -04:00
arkon
cd1abb60d7 Fix overlapping shadow in history controller 2020-03-11 18:27:54 -04:00
arkon
937fb85376 Use accent color for refresh circle 2020-03-10 22:53:49 -04:00
arkon
208552f0b4 Tweak compact tracker card design 2020-03-10 21:13:55 -04:00
arkon
c7cdb950ce Simplify viewer check 2020-03-10 18:23:14 -04:00
arkon
921169b3ad Fix sheet pager setting visibility when default is webtoon 2020-03-09 19:51:38 -04:00
arkon
d7d3731567 Random kaomoji for empty view 2020-03-09 19:47:12 -04:00
arkon
d5ff5fd6f8 More consistent usage of visibility extensions 2020-03-09 18:42:41 -04:00
arkon
e195257d2a Update visible pager settings on change (fixes #2143) 2020-03-09 17:07:08 -04:00
arkon
466ec7b962 Compact tracker card 2020-03-09 16:27:23 -04:00
arkon
8bfe59c8a8 Change new chapters string key (closes #2686) 2020-03-09 16:03:57 -04:00
arkon
de512216c4 Start preloading next chapter if within last 3 pages instead of last page 2020-03-09 15:09:17 -04:00
morcefaster
9936b402a6
Added config to hide transition page when not needed (#2682)
* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
2020-03-09 14:36:29 -04:00
Thiago França da Silva
bd2dfaad2e
Add an UserAgent Interceptor to Cloudflare Client (#2685) 2020-03-09 14:10:10 -04:00
arkon
022cde2c00 Fix secure screen option subscription memory leak 2020-03-09 14:03:47 -04:00
MCAxiaz
07e2bdac81
Fix bug where status cannot be updated when all chapters have been read. (#2683)
Minor cleanup.
2020-03-09 11:32:59 -04:00
arkon
fb00929ee9 Minor cleanup 2020-03-08 22:38:38 -04:00
Thiago França da Silva
fb5da15746
Fix Cloudflare Interceptor when User-Agent is Empty (#2677) 2020-03-08 22:34:57 -04:00
arkon
090a7794b5 Hide download/delete actions when sensible, make bookmark/read toggle actions 2020-03-08 17:42:50 -04:00
arkon
c63d8e7a30 Bottom action menu in chapters list 2020-03-08 17:37:42 -04:00
arkon
d6ea69a115 Action toolbar code cleanup 2020-03-08 17:23:26 -04:00
arkon
af2ef36d68 Bottom action menu in library 2020-03-08 15:50:07 -04:00
arkon
316211372c Tweak how bottom action menu is configured 2020-03-08 15:38:42 -04:00
arkon
9f8046324d Abstract bottom action menu code to main activity 2020-03-08 13:57:50 -04:00
arkon
af05c34da3 Bottom action menu for updates 2020-03-08 12:16:17 -04:00
arkon
a4410f3a02 Remove unnecessary lint suppression 2020-03-07 23:01:49 -05:00
arkon
c275adbb91 Remove chapter item popup menu 2020-03-07 23:00:29 -05:00
arkon
4061232fe3 Remove chapter updates popup menu 2020-03-07 22:46:13 -05:00
arkon
507471e318 Label Kitsu login field as email address instead of username 2020-03-07 22:19:45 -05:00
arkon
f0f613e2cf Reorder start screen options to match bottom nav 2020-03-07 18:01:37 -05:00
arkon
0ec8def0d8 Avoid passing max chapter number from tracker (fixes #2131) 2020-03-07 18:01:26 -05:00
arkon
e4dc84a5d8 Minor lint fixes 2020-03-07 17:01:53 -05:00
onlymash
5fb3b0e0e3
Show page number only when toolbar is hidden (#2601)
* Show pagenumber only when toolbar is hidden

* Fix fullscreen issue

* Remove unneeded dependency

* Fix menubar padding

* Revert ReaderSeekBar height

* Refine code

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-03-07 16:57:14 -05:00
arkon
2854fb5f6c Add shortcut to disabling battery optimization 2020-03-07 15:51:46 -05:00
arkon
a9adb2f1a2 Page # before scanlator in chapters list 2020-03-07 15:42:55 -05:00
arkon
51383afd50 Revert DialogController syncing change 2020-03-07 15:37:16 -05:00
arkon
4b02ecd6e8 Fix activity UI state when activity is killed (closes #2547) 2020-03-07 13:40:43 -05:00
arkon
1c978f64b1 Tweak saved filename byte size limiting logic
Based on comment from 6940ad3fd9
2020-03-07 13:15:35 -05:00
arkon
5e9496ef36 Enable app auto update by default 2020-03-07 13:11:02 -05:00
arkon
8b6268966e Pass context to get WorkManager instance 2020-03-07 13:06:06 -05:00
arkon
52434819c3 Add history date section headers 2020-03-06 23:14:30 -05:00
arkon
29eb87b7ef Rename recently read / recent updates classes/layouts to match new names 2020-03-06 22:55:44 -05:00
arkon
c38026886a Combine chapter date/scanlator lines 2020-03-06 22:46:21 -05:00
arkon
63e330b83d Use recognized chapter number boolean field for filter 2020-03-06 22:44:55 -05:00
arkon
164da0fd9f Hide bottom nav on non-root controllers 2020-03-06 22:14:24 -05:00
arkon
e30b1de100 Linting fixes: extend AppCompat classes 2020-03-04 22:37:15 -05:00
arkon
6940ad3fd9 Limit saved page filenames to 127 characters (fixes #2638) 2020-03-04 22:33:16 -05:00
arkon
8ae15141f6 Move security settings to separate section 2020-03-04 22:32:45 -05:00
arkon
4c10b9844b Change catalogue hiding dialog to accommodate more options in the future 2020-03-04 19:06:24 -05:00
arkon
f3d69599aa Add setting to hide manga content from update/download notifications 2020-03-04 18:55:19 -05:00
arkon
853bf3065a Minor code cleanup 2020-03-03 19:40:57 -05:00
arkon
8d712c81d4 Tweak manga favoriting logic
Fixes #2192 and #2489
2020-03-03 19:34:17 -05:00
arkon
a29f33020d Basic implementation of hiding catalogue by long pressing 2020-03-02 22:49:48 -05:00
arkon
fef34dfe82 Tweak new chapters notification wording 2020-03-02 20:20:01 -05:00
arkon
a3dd5c1e92 Tweak WorkManager task cancellation, add flex times 2020-03-02 19:04:57 -05:00
arkon
d873d653d0 Migrate to WorkManager 2020-03-01 13:22:16 -05:00
arkon
0ac33b64b1 Merge branch '0.8.x'
# Conflicts:
#	app/build.gradle
#	app/src/main/java/eu/kanade/tachiyomi/data/backup/models/Backup.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/database/queries/TrackQueries.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/TrackService.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistInterceptor.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/OAuth.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt
#	app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterJob.kt
#	app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/AndroidCookieJar.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/ProgressListener.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/ProgressResponseBody.kt
#	app/src/main/java/eu/kanade/tachiyomi/network/Requests.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/CatalogueSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/Source.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/Filter.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/FilterList.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/MangasPage.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/Page.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SChapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SChapterImpl.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/model/SMangaImpl.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSourceFetcher.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/LoginSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/NucleusController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorDelegate.java
#	app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorLifecycleListener.java
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/filter/SortGroup.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/ChangeMangaCategoriesDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/DeleteLibraryMangasDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryGridHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryNavigationView.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySort.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterItem.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeleteChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeletingChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DownloadChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetDisplayModeDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetSortingDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackChaptersDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackScoreDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackStatusDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackPresenter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchDialog.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/recent_updates/RecentChaptersController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt
#	app/src/main/java/eu/kanade/tachiyomi/widget/ExtendedNavigationView.kt
#	app/src/main/res/drawable/ic_book_white_24dp.xml
#	app/src/main/res/layout/categories_controller.xml
#	app/src/main/res/layout/chapters_controller.xml
#	app/src/main/res/layout/navigation_view_checkbox.xml
#	app/src/main/res/layout/navigation_view_group.xml
#	app/src/main/res/layout/pref_item_source.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/track_item.xml
#	app/src/main/res/values/strings.xml
#	build.gradle
2020-02-29 17:52:49 -05:00
arkon
218313428f Add warning on update check for Android 4.x users 2020-02-29 16:30:40 -05:00
arkon
44b47b49bc Hide null file path on backup creation (closes #1515)
(cherry picked from commit 48d9ad00e1)
2020-02-29 16:24:19 -05:00
arkon
2f69317f5d Enforce maximum extension lib version of 1.2 2020-02-29 13:35:07 -05:00
arkon
e1eff7b744 Remove FAB animation files left over from bad cherry picking 2020-02-29 13:23:42 -05:00
arkon
3aa12281c3 Avoid crash on loading invalid extension
(cherry picked from commit 460fbb18c7)
2020-02-29 13:19:50 -05:00
Mike
72920130c0 CloudflareInterceptor update (#2537) dcd3c709 Mike <51273546+SnakeDoc83@users.noreply.github.com> Jan 25, 2020 at 16:37 2020-02-29 13:17:12 -05:00
arkon
0fd00331e1 Directly pass read chapter when updating tracker
(cherry picked from commit b642e019e8)
2020-02-29 13:13:49 -05:00
MCAxiaz
7a4763ee68 minor reader bugs: (#2491)
- fix preload on last page for R2L reader
 - page 3 bug

(cherry picked from commit 8b0458cdf6)
2020-02-29 13:12:31 -05:00
Jay
647a78b791 Build time now opens changelog
(cherry picked from commit 22bb3463593c060405694da39a0eb1f5ca1d6ba1)
(cherry picked from commit d1db9fb659)
2020-02-29 13:12:21 -05:00
mutsumi
005ac9e732 fix bangumi track will override record to 0 after every track search(bind) (#2486)
* fix bangumi track : the update status api must be called before update chapter api

* fix bangumi track will override record to 0 after every track search(bind)

(cherry picked from commit 427d2fed8c)
2020-02-29 13:11:50 -05:00
arkon
c40e4f6c5a Provide more human readable error when downloading to invalid directory (#2462)
(cherry picked from commit 13a2d3dfdd)
2020-02-29 13:10:55 -05:00
andrecsilva
a24d670f54 Made 'Default' category selectable in global update settings (#2318)
(cherry picked from commit b55814a1c0)
2020-02-29 13:08:51 -05:00
mutsumi
51e049ab78 fix bangumi tracker crash in searching english manga title (#2452) eb5382e0 mutsumi <4182301+mutsumi63@users.noreply.github.com> Jan 6, 2020 at 20:02 2020-02-29 13:08:41 -05:00
Carlos
74087edebb match transition text used by other readers (#2439) 708525ef Carlos <cargo8005@gmail.com> Jan 5, 2020 at 17:59 2020-02-29 13:07:35 -05:00
Carlos
db58c9b77f fix DOWNLOADED text showing after chapters are marked as read (#2434) df14e6d4 Carlos <cargo8005@gmail.com> Jan 5, 2020 at 16:36 2020-02-29 13:06:41 -05:00
arkon
c4dad1c20b Unix line endings 2020-02-29 13:03:29 -05:00
MCAxiaz
cae04656b9 Improve Loading Speed When Skipping Pages in a Chapter (#2426)
* cancel queued loads when the page that requested the queue is destroyed

* use page.status for optimizing removal

(cherry picked from commit dd1e6402c9)
2020-02-29 12:59:37 -05:00
arkon
4e60a81b36 Remove unused LoginSource 2020-02-27 22:43:48 -05:00
arkon
464b4b18a4 Reword unlock string 2020-02-27 22:34:57 -05:00
arkon
e5c0969047 Change system dark mode check
User on Discord reported setting wasn't working on his devices.
2020-02-27 19:56:04 -05:00
arkon
ac3823e10a Add ripple to menu icons
Supersedes https://github.com/inorichi/tachiyomi/pull/2612
2020-02-27 18:58:36 -05:00
arkon
d3a4126e27 Tweak more screen to remove top padding 2020-02-27 18:34:28 -05:00
arkon
3a62acc54d More preference grouping 2020-02-27 18:34:14 -05:00
arkon
7d4f25b354 Add description for secure screen setting 2020-02-26 18:58:13 -05:00
arkon
0f2d480036 More linting fixes 2020-02-26 18:12:44 -05:00
arkon
043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon
11544fe8ef Migrate to bottom navigation 2020-02-25 22:31:54 -05:00
arkon
8776a45ee9 Add shortcut to manage app notifications 2020-02-25 18:32:49 -05:00
arkon
032a6adaab Rename/new icons for updates/history sections 2020-02-23 22:03:34 -05:00
arkon
460fbb18c7 Avoid crash on loading invalid extension 2020-02-23 21:51:55 -05:00
arkon
978ac50015 Move crash reports setting to advanced 2020-02-23 16:23:21 -05:00
arkon
b323b9c843 Refresh webtoon adapter on image property changed 2020-02-23 14:58:51 -05:00
arkon
1afcf34829 Set webtoon page padding on page bind 2020-02-23 14:48:53 -05:00
arkon
48d9ad00e1 Hide null file path on backup creation (closes #1515) 2020-02-23 13:05:39 -05:00
Unlocked
ca10356fd9
Added Webtoon with Padding viewer (#2618)
* Added Webtoon with Padding viewer

* Change webtoon padding to be a config option

* Removed obselete padded_webtoon

* Switch ambiguous padding to vertical padding
2020-02-23 12:44:50 -05:00
arkon
275bd44e15 Reword "Clear" to "Cancel all" in download queue 2020-02-23 11:46:47 -05:00
arkon
61d2107e9c Add secure screen setting 2020-02-22 13:32:05 -05:00
arkon
b06f1c81bc Remove usages of incorrect platform yes/no strings 2020-02-22 12:38:06 -05:00
arkon
8bb83782c7 Biometrics lock (closes #1686) 2020-02-21 23:04:37 -05:00
arkon
5b24a8f21d Revert usage of AndroidX Webkit library (closes #2611) 2020-02-21 18:36:05 -05:00
arkon
2c23c42c98 Default to light theme prior to Oreo 2020-02-19 18:38:40 -05:00
Simon M
edcadb7dd1
Change default theme to System Default (#2608)
* Change default theme to System Default

Hopefully this was the only string that dictated the default setting.

* Update PreferencesHelper.kt
2020-02-19 18:34:21 -05:00
arkon
9942227c6c Minor system theme tweaks 2020-02-18 22:05:54 -05:00
onlymash
02b5c3da71
Support follow system theme[Android 10] (#2603)
* Support follow system theme

* Show [follow system theme] only on Oreo and newer

* Update preference values of theme

* Refine theme preference
2020-02-18 21:58:52 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
a1fadce7c6 Change chapter update notification to show chapter numbers 2020-02-17 16:23:48 -05:00
arkon
79bc1290ae Perform mark as read action in IO coroutine scope to avoid freezing app 2020-02-17 16:20:12 -05:00
arkon
10272ef395 Refactor notification manga cover logic, decrease size 2020-02-17 16:14:15 -05:00
arkon
f03c49850b Separate group for extensions with updates 2020-02-17 15:29:03 -05:00
arkon
3223a3ac54 More notification code cleanup 2020-02-17 12:25:20 -05:00
arkon
497fe1e68a Minor cleanup 2020-02-17 12:19:42 -05:00
arkon
3b334c4230 Simplify "and n more" string 2020-02-17 11:29:11 -05:00
Jays2Kings
7f115f2e83
Group notifcations for Library updates (#2582) 2020-02-17 10:56:23 -05:00
onlymash
12aa04be93
Fix fullscreen reader for notch device (#2595)
* Fix fullscreen reader for notch device

* Make cutout mode configurable

* Rename cutout option
2020-02-17 10:40:49 -05:00
arkon
a7ece4fdf3 Add bookmarking to chapter selection menu (closes #1065) 2020-02-16 17:46:31 -05:00
arkon
57d1ed1073 Hide share icon for manga info if not from online source 2020-02-16 17:41:21 -05:00
arkon
b04ebb1782 Allow selecting default category for auto download 2020-02-16 17:17:23 -05:00
arkon
958dbfdfa5 Compare recent updates by both date and chapter number 2020-02-16 17:08:07 -05:00
arkon
eb724336f5 Additionally sort by chapter number in recent updates (fixes #2586) 2020-02-16 16:30:39 -05:00
arkon
9cdd4bee97 Simplify selected count to just show the number 2020-02-16 16:00:41 -05:00
arkon
74cc77400c
Merge pull request #2596 from FlaminSarge/migrate
Move empty-chapterlist manga to end of Latest Chapter sort in Library view
2020-02-16 15:18:14 -05:00
FlaminSarge
247a39c0a9 Move empty-chapterlist manga to end of Latest Chapter sort in Library view 2020-02-16 07:19:38 -07:00
arkon
1b0c13a417 Show URL in Webview subtitle 2020-02-15 17:44:35 -05:00
arkon
abb2e231f6 Switch to AndroidX Webkit library 2020-02-15 17:30:30 -05:00
arkon
50ef4cc5da Slightly increase chapter cache size (closes #2091) 2020-02-14 09:27:42 -05:00
arkon
34bf9b729e More coroutine network call fixes 2020-02-14 09:23:54 -05:00
Jay
0a6f607e22 Fixed extensions call running on main thread
(cherry picked from commit 2b85bb5fb816c531982a1878e55fd88814452a2c)
2020-02-14 09:21:33 -05:00
arkon
9e4c61c139 Remove library sort by source 2020-02-11 19:05:16 -05:00
arkon
144418434b Library search for source 2020-02-11 19:02:04 -05:00
arkon
a20ad68fe3
Library View: Add latest chapter sorting and revert last updated sorting changes (#2563)
* Library View: Add latest chapter sorting and revert last updated sorting changes

Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)

* Change latest chapter sort string to "Latest chapter" instead of "Last chapter"
2020-02-11 18:41:31 -05:00
arkon
a50a3df716 Only show Webview update prompt if CF bypass fails 2020-02-11 18:36:51 -05:00
arkon
f29124773b Lower minimum Webview version warning 2020-02-10 22:45:23 -05:00
arkon
c1235897df Remove unused RxJavaCallAdapterFactory for app updater 2020-02-10 22:28:48 -05:00
FlaminSarge
4a52869d23 Change latest chapter sort string to "Latest chapter" instead of "Last chapter" 2020-02-10 05:06:22 -08:00
arkon
6a95ff56df Use coroutines for updater 2020-02-09 22:36:44 -05:00
arkon
340829bb71 Remove star icon option 2020-02-09 17:32:41 -05:00
arkon
8aa48effaa Refactor notification builder extension 2020-02-09 17:28:09 -05:00
arkon
f515674dff Show message if WebView version is too low 2020-02-09 11:03:17 -05:00
arkon
a0a077eaaa Move library display settings out of filter sidebar 2020-02-05 22:58:20 -05:00
arkon
8feb4365dd Minor edit to onOptionsItemSelected fallthrough logic 2020-02-05 22:53:49 -05:00
arkon
f3adff1da1 Move PreferenceDSL 2020-02-04 22:19:17 -05:00
arkon
0473c36c6f Restore setting controller fade
Removes help button in each section, which is jumpy. Fade is nicer though.
2020-02-04 22:16:31 -05:00
arkon
c9cb75aee1 Group tracking setting activities 2020-02-04 22:14:49 -05:00
arkon
b9420040f5 Move help into settings menu 2020-02-04 21:23:16 -05:00
arkon
59b925a028 Include commit SHA in dev version info 2020-02-03 19:15:23 -05:00
arkon
7af075633b Explicitly switch between IO/UI dispatchers when updating list of extensions
Potentially fixes #2566
2020-02-03 19:11:18 -05:00
arkon
09891bb0ad Throw exception in okhttp coroutine if response isn't successful 2020-02-03 18:56:24 -05:00
arkon
160ebe01d9 Update to Material Design library 1.1.0 2020-02-03 18:54:24 -05:00
FlaminSarge
a096e6b337 Library View: Add latest chapter sorting and revert last updated sorting changes
Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)
2020-02-02 23:16:42 -08:00
arkon
3c41a5e910 Move JsoupExtensions back (fixes #2562) 2020-02-02 23:45:13 -05:00
arkon
a3e39987d4 Migrate extension list fetch to coroutine 2020-02-02 22:57:15 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
faf8f1fbbc Remove unused SharedData object 2020-02-02 22:04:20 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -05:00
arkon
9a3ec56eb4 Move edit categories to library settings 2020-02-02 18:13:13 -05:00
arkon
4f03ee814a Categorize library settings 2020-02-02 18:04:50 -05:00
arkon
6f84815801 Filter out tmp directories for download badge 2020-02-02 18:01:08 -05:00
arkon
9588a582ce Use coroutines for async loading of modules 2020-02-02 17:06:51 -05:00
MCAxiaz
c79ebd4eeb
fix NPE in dateFormat (#2549)
Bug #2548 fix NPE in dateFormat pref
2020-01-29 07:23:26 -05:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon
c707d4bfd8 Minor date format code cleanup 2020-01-28 22:32:56 -05:00
Sam Lewis
aeacdad484
Allow setting a preferred date format (#2175) 2020-01-28 22:23:41 -05:00
MCAxiaz
6d9bec3e0b
reroute all deep links through DeepLinkActivity to provide more control (#2546)
over launch behavior/intent flags
2020-01-28 22:15:15 -05:00
arkon
bf140be75e Rename sources settings to filter 2020-01-26 17:39:06 -05:00
arkon
eb4c7c6841 Remove display/sorting mode dialogs 2020-01-26 17:35:48 -05:00
Mike
dcd3c709fe CloudflareInterceptor update (#2537)
* CloudflareInterceptor update

* Changes

* Max-Age

* Tweaks
2020-01-25 16:37:59 -05:00
arkon
f966187ea4 Add ability to explicitly remove tracking from track search dialog (closes #2532) 2020-01-24 14:27:53 -05:00
arkon
a746d4cc3a Tweak initial tracker card appearance 2020-01-24 12:18:55 -05:00
arkon
f1cca207fc Minor formatting 2020-01-23 20:51:37 -05:00
arkon
f4bb9b604a Fix sources/extension filters toggles being indented 2020-01-23 20:50:55 -05:00
arkon
7be6ee9a68 Remove fast scroller from library
Interferes with filter sidebar too much currently.
2020-01-22 18:32:32 -05:00
arkon
a22c79c58a Tweak manga last updated time based on chapter upload instead of fetch time 2020-01-22 18:28:33 -05:00
arkon
b642e019e8 Directly pass read chapter when updating tracker 2020-01-20 21:59:36 -05:00
Jay
81c14ba610 Download dialog in chapters removed, now using submenu
(cherry picked from commit a253c255e8e1ee0cc0e158c3bf61f5352b06e656)
2020-01-20 18:53:56 -05:00
Jay
4b84fb5ac5 Tracker status naming edits
Cherry picked from ad8c69aa15e7c27879c2a528a45b0744f7e45197
2020-01-20 18:50:39 -05:00
MCAxiaz
7f5e650796 Bug/2513 edit text preference crash (#2522)
* use themedContext for preference

* use inflater with themed context
remove icon space

* v14 preferenceThemes are deprecated
2020-01-20 18:37:42 -05:00
[pʲɵs]
c22e2e8159 Do not suppress a type system error (#2524)
This code was sort of fine when it used raw Java types, but the Kotlin
equivalent technically calls a method that takes a Nothing-typed
argument with a value that is not of type Nothing. Whether that works
depends on how lenient kotlinc is about inserting casts in bytecode.

The solution is to give the unknown type represented by a star an
explicit name by capturing it in a type variable, then cast to that type
instead of Nothing. This is guaranteed to be an unchecked, but valid,
cast.
2020-01-20 18:34:59 -05:00
Jay
ee8a53188c Set manga last update field based on chapter fetch time (closes #2217)
Based on 3c81f60041 (diff-7e5179d048c3dfaf75b444b7277fc840)
2020-01-19 22:21:49 -05:00
arkon
98f86a44ef Add tracker logout dialog (closes #2475) 2020-01-19 17:03:11 -05:00
Jay
1b3169e0d0 Update tracking controller after logging in to Bangumi 2020-01-19 16:42:59 -05:00
arkon
8273a396c8 Anilist: rename "On hold" to "Paused" 2020-01-19 16:29:43 -05:00
arkon
5bad914411 Remove reflection to show tracking checkmark
Icon now shows up on the left, but code is less fragile.
2020-01-19 16:26:38 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
f30622424a Add select all menu option for library category
Based on ae5ad2a9a6
2020-01-18 20:33:43 -05:00
arkon
09e7d56ff2 Move "Open in browser" option to webview only 2020-01-16 22:13:34 -05:00
arkon
5ca23b5363 Use smaller CustomTarget for shortcut creation
Same thing as Neko/Jay's fork
2020-01-16 22:13:02 -05:00
arkon
f7e70d25ea Minor cleanup 2020-01-16 21:47:46 -05:00
arkon
4338c41112 Filter library items by artist as well 2020-01-16 21:46:45 -05:00
Jays2Kings
01f9b25be2 Local genre tag searching (#2423)
Using the search bar in My Library, you can search tags for manga (ie. "Romance") or exclude (ie. "-Comedy") You can also search multiple by seperating by commas (ie. "Romance, -Comedy")

Clicking the tag in manga info from the library also performs a local serach
2020-01-16 21:45:37 -05:00
MCAxiaz
8b0458cdf6 minor reader bugs: (#2491)
- fix preload on last page for R2L reader
 - page 3 bug
2020-01-16 21:45:06 -05:00
MCAxiaz
bed978a26a force menu invalidation when expanding actionView from user interaction to properly layout menu items (#2503) 2020-01-16 21:44:22 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
Jay
d1db9fb659 Build time now opens changelog
(cherry picked from commit 22bb3463593c060405694da39a0eb1f5ca1d6ba1)
2020-01-16 08:57:46 -05:00
Jay
b74fb2ef5e Fixed extensions showing as obsolete when call fails
(cherry picked from commit a44e9a19b0cfceeaeecd8ad378f14ccd47c8683c)
2020-01-16 08:57:37 -05:00
arkon
f3e228e8a4
Indicate obsolete extensions (#2494)
* Indicate obsolete extensions

* Make obsolete indicators red

* Move obsolete extensions up the list

* Add base button theme for holder

* Use red button color state instead of explicit text color
2020-01-12 18:27:04 -05:00
MCAxiaz
6b5742c1ff Fix catalogue search focus automatically being removed (#2396)
Fix catalogue search focus automatically being removed
2020-01-12 15:02:21 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
arkon
44f406b4b9 Fix Bangumi class formatting 2020-01-11 22:06:23 -05:00
mutsumi
427d2fed8c fix bangumi track will override record to 0 after every track search(bind) (#2486)
* fix bangumi track : the update status api must be called before update chapter api

* fix bangumi track will override record to 0 after every track search(bind)
2020-01-11 22:05:03 -05:00
arkon
3892b93bca Rename tracker icon images 2020-01-11 22:01:26 -05:00
Chris Allan
1b37c61b5a JSON metadata for local manga (#1658)
* JSON metadata for local manga

* Simplification

* Lazy load local data
2020-01-11 15:59:43 -05:00
Jay
2d3bfa9a89 Implement long hold selection for Manga Chapters and library
Co-Authored-By: zhuoyang <zhuoyang@users.noreply.github.com>

Co-Authored-By: Jays2Kings <Jays2Kings@users.noreply.github.com>
2020-01-11 15:40:00 -05:00
arkon
e414b9edf1 Minor extension filter cleanup 2020-01-11 15:13:51 -05:00
MCAxiaz
62d3fc65e0 Filter Extensions By Language (#2275)
* add options menu item to filer extensions by languages

* resolve merge conflicts
changes per pr comments

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-01-11 15:06:54 -05:00
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
ff999a6dda Show selected preference for "Library update order" 2020-01-11 10:11:30 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
745f8d32b5 Use OutlineSpan approach from CarlosEsco/Neko to avoid infinite redraws
Based on work by @arsonistAnt: 1876f850f6
2020-01-09 22:13:25 -05:00
arkon
f715478070 Revert "Remove reflection to get TextView color field (closes #2469)"
This reverts commit 5f2aaeac57.
2020-01-09 21:51:34 -05:00
arkon
5f2aaeac57 Remove reflection to get TextView color field (closes #2469) 2020-01-09 21:32:30 -05:00
arkon
044a4f7575 Split general settings into general and library 2020-01-09 21:22:58 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
f7669b6797 Replace left/right layout attributes with start/end 2020-01-09 19:10:55 -05:00
arkon
489f981e40 Convert tracker icons to webp 2020-01-09 18:54:07 -05:00
arkon
13a2d3dfdd Provide more human readable error when downloading to invalid directory (#2462) 2020-01-09 08:39:40 -05:00
arkon
d62f0de862 Tweaks based on PR comments, simplify some more strings 2020-01-08 21:53:08 -05:00
arkon
e411f54236
Remove up/down animation for FAB, add list padding (#2456) 2020-01-08 21:33:10 -05:00
arkon
6025b44e5b
Add fast scroller to library (#2459) 2020-01-08 21:32:07 -05:00
arkon
f4f427dd2a Restore equals/hashCode in ChapterTransition (closes #2461) 2020-01-08 21:31:32 -05:00
arkon
26c5c9c839 Replace usage of deprecated Glide SimpleTarget 2020-01-07 20:24:12 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
andrecsilva
b55814a1c0 Made 'Default' category selectable in global update settings (#2318) 2020-01-07 18:46:08 -05:00
mutsumi
eb5382e0de fix bangumi tracker crash in searching english manga title (#2452)
fix bangumi tracker crash in searching english manga title
2020-01-06 20:02:28 -05:00
arkon
b3f1714ba9
Convert remaining Java files (#2435) 2020-01-05 19:39:25 -05:00
Carlos
708525ef9d match transition text used by other readers (#2439) 2020-01-05 17:59:05 -05:00
Carlos
df14e6d43e
fix DOWNLOADED text showing after chapters are marked as read (#2434)
* fix DOWNLOADED text showing after chapters are marked as read
2020-01-05 16:36:23 -05:00
arkon
600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
MCAxiaz
dd1e6402c9 Improve Loading Speed When Skipping Pages in a Chapter (#2426)
* cancel queued loads when the page that requested the queue is destroyed

* use page.status for optimizing removal
2020-01-05 12:18:02 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Carlos
aa57b1bc77
adjust so downloader doesnt autostart when queue was paused (#2413)
adjust so downloader doesnt autostart when queue was paused
2020-01-03 15:33:17 -05:00
MCAxiaz
491d476cac auto attempt a login refresh once if MAL returns http 400 (#32) (#2403) 2019-12-29 17:45:58 -05:00
Carlos
f0053a2f78 add width and height to listview for browseCatalogueController (#2406)
* add width and height to listview for browseCatalogueController

* readd recycler has fixed size
add width and height to list view
2019-12-28 14:57:44 -05:00
MCAxiaz
4147fd6b19 recycler is not fixed size (#2402) 2019-12-28 14:10:34 -05:00
arkon
2ebaacfc89
Replace dependency for case insensitive natural sorting (#2389)
Replace dependency for case insensitive natural sorting
2019-12-27 07:18:30 -05:00
Eugene
c339bd49d0
Address minor Kotlin compiler warnings 2019-12-26 17:48:39 -05:00
Eugene
bc825bdefa
Minor dependency updates 2019-12-26 16:47:01 -05:00
arkon
ff8e3f0af4
Update to SDK 28 (#2394) 2019-12-26 16:01:16 -05:00
Anthony Nguyen
698e17178a Increase default text size of the transition chapter page (#2285) 2019-12-26 12:40:56 -05:00
FlaminSarge
ebeee70931 Allow back button to navigate to previous URL in WebView, add Forward, Refresh, and Close menu options (#2176) 2019-12-26 12:40:11 -05:00
arkon
b8b118bdeb
Add .nomedia file in each chapter download folder (#2199)
* Move .nomedia creation to directory fetch

* Add .nomedia file to all chapter download directories
2019-12-26 12:39:20 -05:00
arkon
a0fb1eff4a
Merge branch 'master' into update-kotlin-coroutines-gradle 2019-12-23 09:49:53 -05:00
Eugene
89dc240a22
Clean up Anilist GraphQL query formatting 2019-12-22 22:19:15 -05:00
Ken Swenson
ee4f069341 fix: Don't send newlines and whitespace in API calls (#2348) 2019-12-22 22:13:27 -05:00
Eugene
08b06e1b4e
Update to latest version of Android support libraries
Should make migration to AndroidX a bit smoother
2019-12-22 15:56:25 -05:00
Eugene
0416a2ff15
Extract some hardcoded strings (closes #1989) 2019-12-22 15:48:36 -05:00
John Leehey
f14af7cf83 Bind the margin ratio as a float preference and rename variables
- Fixed the floatListPreference that was used in the SettingsReaderController
- Created new extension for binding float preferences in the ReaderSettingsSheet
- Renamed the ratio variables to include the `webtoon` naming
2019-12-02 14:19:22 -08:00
John Leehey
4014c48c62 Revert "Remove no-longer-needed FloatListPreference"
This reverts commit 19993199db.
2019-12-02 13:38:33 -08:00
John Leehey
19993199db Remove no-longer-needed FloatListPreference 2019-11-30 18:41:52 -08:00
John Leehey
5b9f362925 Add support for margins in Webtoon view
On larger tablets, matching the page width to the screen width in
webtoon mode causes eye strain due to the image looking so magnified.
Adding a page margin to the image can resolve this by effectively
scaling the image down.
2019-11-30 18:37:52 -08:00
FlaminSarge
80ea9001b3 Allow 'Default' category as the default for adding manga (#2292) 2019-11-03 13:52:33 +01:00
funkyhippo
24bb94ceac Implemented extension search functionality. (#2211) 2019-10-14 11:15:00 +02:00
Ken Swenson
0f16351f5f Set glide to use the gif loop count (#2263) 2019-10-14 11:11:11 +02:00
arkon
86e53e08de Group available extensions by language (#2210) 2019-10-11 19:07:55 +02:00
Simon M
cc0fe0a1a9 Change "Help" link from Github Wiki to Website (#2265)
Change "Help" link from Github Wiki to Website
2019-10-04 11:44:52 -04:00
Samuel Bronson
9276c491bc Upgrade Kotlin (to 1.3), Coroutines, Gradle and Android gradle plugin.
Kotlin:                1.2.71 -> 1.3.50
Coroutines:            0.30.2 -> 1.3.1
Gradle:                4.6    -> 5.4.1
Android gradle plugin: 3.2.1  -> 3.5.0

This brings us down to *one* experimental coroutine API, and we've
opted in to using it in just *one* place.

(The fact that the API to opt-in to using an experimental API in a
specific place is *also* experimental surely will not come back to
bite us later.)
2019-09-18 22:45:54 -04:00
Samuel Bronson
fa59b4f8a7 Fix coroutine deprecations again 2019-09-18 17:41:09 -04:00
Samuel Bronson
5362f62078 Update deprecated coroutines code 2019-09-18 13:32:42 -04:00
Samuel Bronson
5a2e8a838c Update to kotlinx.coroutines 0.23.4 2019-09-18 01:31:15 -04:00
fei long
3abae1cc75 Add chinese track website "bangumi" (#2032)
* copy from shikimori and change parmater

* add login activity

* fix

* login sucess

* search

* add...

* auth fix

* save status

* revert shikimori

* fix oauth error

* add bangumi info

* update read chapter index

* refersh token

* remove outdate file

* drop comment

* change icon

* drop search result which type not comic

* fix bind logic

* set status

* add ep status

* format code

* disable cache for `collection` api
2019-07-23 12:35:38 +02:00
Eugene
d5f5ba95bb Add automatic updates for dev builds (#2128) 2019-07-13 19:36:30 +02:00
MCAxiaz
e8638cb0b3 Hide Empty Search Results in Catalogues (#2066)
* test2

* remove nothing_found view and associated resources
2019-07-01 13:06:19 +02:00
Eugene
62f9071adc Avoid infinite loading in global search if a single catalogue fails (#2097) 2019-06-29 22:27:58 +02:00
inorichi
cccb56bda1 Change default update priorization 2019-06-09 14:35:24 +02:00
Harsh Parekh
5d8dc241d8 Update ranking (#1772)
* Add LibraryUpdateRanker

This class provides various functions to generate Comparators that can 
be used to order the manga to update.

One such ordering is by relevance:
It prioritises manga that were updated more recently.

Another Ordering is by lexicographic order:
This is the default behaviour.

* Use relevanceRanking scheme

Instead of default(noRanking/lex ranking) now mangaList is sorted with 
relevanceRanking.

* Add UI and associated variables & strings for Update Ranking.

* Use user preferences to determine update ranking scheme.

* Refactor relevanceRanking to latestFirstranking.

This name seems to better reflect the ranking scheme and frees up the 
name relevanceRanking for future use.

* Set latestFirst scheme as default.

(Changing over from lexicographic scheme)

* Fix 1

[Convert LibraryUpdateRanker to a object.](./files/82f263749f0ae775385b23dd919f1865360db969#r287513539)

[Nitpick: Add lines](./files/82f263749f0ae775385b23dd919f1865360db969#r287540256)

[Replace Java comparator](./files/82f263749f0ae775385b23dd919f1865360db969#r287539976)

[Nitpick: Add local variable](./files/82f263749f0ae775385b23dd919f1865360db969#r287514805)

* Fix 2

[Weird import](./files/82f263749f0ae775385b23dd919f1865360db969#r287513709)

[Default value](./files/82f263749f0ae775385b23dd919f1865360db969#r287540064)

[Use existing Strings](./files/82f263749f0ae775385b23dd919f1865360db969#r287514476)

[Use Library update order](./files/82f263749f0ae775385b23dd919f1865360db969#r287540204)
2019-06-09 14:32:12 +02:00
MCAxiaz
9ba7312caf Make MAL Tracking Slightly Less Shitty (#2042)
* * fix cookieManager not clearing cookies properly
* manually clear tracking prefs when !isLogged (e.g. cookies were cleared)

* use full url for removing cookies

* add interceptor for all non-login network calls
* attempt auto login if cookies are missing
* move handling of csrf token to interceptor

* * move methods around to improve readability
* fix TrackSearchAdapter not updating other fields if cover_url is missing
* revert accidental removal of feature in https://github.com/inorichi/tachiyomi/issues/65
* avoid login if credentials are missing

* fix eol

* *separate login flow from rxjava for reuse in sync

* *use less expensive method of finding manga

* *move variable declaration

* formatting

* set total chapters in remote track
2019-06-09 14:31:19 +02:00
Harsh Parekh
8ebda219c4 Fix the category selection bug (#2052)
Fixes #2051
2019-05-26 11:37:47 +02:00
Harsh Parekh
47f14e8555 Long click to manage categories (#2045) 2019-05-25 13:47:53 +02:00
Eugene
974a24d03b Add help link to nav drawer (#2049) 2019-05-25 13:46:42 +02:00
Jannis Becker
15f225537e Update tracking sites after finishing chapter (#2044)
* Added second updateTrackLastChapterRead() called whenever a chapter has been read in the reader

* Removed old updateTrackLastChapterRead() so that it's not called twice.
2019-05-25 13:46:20 +02:00
Harsh Parekh
a32572fc96 Ignore case while sorting Library (#2048)
* Ignore case while sorting Library

* Simplify code

As suggested by @arkon
2019-05-24 09:57:05 +02:00
BlueCat300
a0939e1c48 Update Shikimori (#2038)
Domain name change due to blocking by local authorities.
2019-05-16 18:21:54 +02:00
Pavka
003dca9d45 Bugfix. Sharing images with very long name (#1999)
* Fix sharing with very long images name

* Fix dropLast to take
2019-05-07 11:06:38 +02:00
Deumiankio
021dde66eb Add color filter blend modes (#2013)
* Add color filter blend modes

* Only show modes supported by currently used API level.

* Fix arrays.xml for API level <=27.
2019-04-29 19:32:49 +02:00
Pavka
5840a3e1e2 Shikomori -> Shikimori. Fix update chapters (#1996)
* Shikomori -> Shikimori. Fix update chapters

* Removed logs and format code
2019-04-29 18:40:26 +02:00
FlaminSarge
7c6478fe6b Force Migration to display titles from source rather than from local DB, and update local titles when migrated (#1670) 2019-04-29 18:38:59 +02:00
Eugene
68aca55e6f Add options to open catalogue in browser/webview (#1979) 2019-04-16 17:34:52 +02:00
inorichi
ba674935f4 Release 0.8.4 2019-04-13 15:10:44 +02:00
inorichi
3533359fae Use single task activity 2019-04-13 13:09:01 +02:00
inorichi
0a988d1c69 Enable new translations 2019-04-12 19:19:35 +02:00
inorichi
0e3464457c Remove internal sources 2019-04-12 19:05:18 +02:00
inorichi
56195434e7 Add intent filter for external queries 2019-04-12 18:40:04 +02:00
inorichi
ba2194f435 Load urls inside webview 2019-04-12 17:29:02 +02:00
inorichi
e7df172da1 Provide default web view client so that redirections work 2019-04-08 10:13:58 +02:00
inorichi
e7606e6dca Add option to open manga details in a WebView 2019-04-08 02:08:40 +02:00
inorichi
8d4c0f505c Fix shared files not deleted from internal cache 2019-04-07 14:58:40 +02:00
Amine A
8f2878a841 Added search intent handler and Google Search Action, for the global search (#1787)
* Added search intent handler

* Added support for Google Search actions
2019-04-03 10:25:52 +02:00
Carlos
77296348a0 add option to skip chapters marked read (#1791) 2019-04-03 10:22:32 +02:00
Pavka
a62a7d5330 Feature/shikomori track (#1905)
* Add shikomori track

* Fix char 'M'

* Fix date in search
2019-04-03 10:14:37 +02:00
inorichi
bf60aae9d8 Fix crashes below L 2019-04-03 09:47:07 +02:00
inorichi
ecc1520100 Use OkHttp to solve the challenge 2019-04-02 00:26:03 +02:00
inorichi
f1f6a2b341 Test solving Cloudflare's challenge with WebView 2019-04-01 17:20:13 +02:00
Deumiankio
e47dd3d587 Add 32-bit color mode to reader settings (#1941)
* add ARGB_8888 mode to reader settings

* Only show option on Oreo or later.
Only show option in settings screen.
2019-03-30 14:21:35 +01:00
Pavka
dbe8f3cfbe Fix bug with update lib and parse chapters (#1927)
* Fix bug with update lib and parse chapters

* Fix else condition
2019-03-25 14:53:17 +01:00
inorichi
08cdac968d Fix strings and add new languages 2019-03-25 14:52:07 +01:00
inorichi
f12d5ba689 Storio imported from Jitpack. Also fix an issue with the progress bar animation on the reader 2019-03-22 23:06:05 +01:00
DitFranXX
7551941ef2 [Cloudflare] Fix recent CF JS Challenge error that calls DOM (#1919)
* [Cloudflare] Fix recent CF JS Challenge error that calls DOM

* Replace `atob` to pure js version. (was node.js API which invalid)

* Use `atob` as native function `Base64.decode()``

* Use okio Base64 decoder instead of Android one.
2019-03-22 19:25:21 +01:00
DitFranXX
9ca0307e1c [Cloudflare] Fix 503 due to missing value in js challenge. (#1913)
Related issues: inorichi/tachiyomi-extensions#951
2019-03-21 08:48:03 +01:00
inorichi
cf293642fb Fix Glide exceptions 2019-03-14 21:44:20 +01:00
DitFranXX
10e1106760 [Cloudflare] Fix SyntaxError due to recent js challenge changes. (#1876)
From Anorov/cloudflare-scrape#193
Related issues: inorichi/tachiyomi-extensions#894
2019-03-14 17:45:21 +01:00
inorichi
3f2d375a53 Reduce priority of jcenter repository 2019-03-14 17:32:08 +01:00
DitFranXX
f8e121ee06 [Anilist] Fix date parsing error (#1805)
fix #1804
2019-01-28 09:03:03 +01:00
Ken Swenson
0ee005579b [Anilist] Fix tracking for re-reading status (#1795) 2019-01-12 17:08:13 +01:00
inorichi
aeaf4d78f8 Bundle SQLite. Fixes tachiyomi not working on KitKat. Making a backup before using this version is recommended, but everything should work. 2018-11-26 13:05:42 +01:00
inorichi
d79e141fe5 Fix issue with center zoom position 2018-11-17 16:23:03 +01:00
MCAxiaz
9cbf226cfd MAL API Workaround (#1647)
* Mal API workaround

* remove unused import

* Reuse existing token preference

* Minor code format
2018-11-11 14:00:47 +01:00
inorichi
36aabf23e1 Optimize library query 2018-11-09 11:59:17 +01:00
Carlos
8b67255186 kitsu search fix (#1681) 2018-10-27 19:34:05 +02:00
Chris Allan
3186661420 Filter local manga as downloaded (#1674)
* Filter local manga as downloaded

* Filter local manga chapters as downloaded
2018-10-27 19:33:43 +02:00
Taumer
46896d9e86 Fix potential NPE at cover image selector (#1665) 2018-10-27 19:17:35 +02:00
inorichi
2c4fd340c8 Restore dark blue theme. Closes #1302 2018-10-27 19:10:11 +02:00
Ken Swenson
ae6d052978 Update Anilist API search to return 50 results (#1657)
* Update Anilist API search to return 50 results

This will help alleviate not being able to find manga with generic names
such as Monster

* Add description to Anilist search dialogue
2018-10-27 19:02:10 +02:00
FlaminSarge
974891a085 Allow pausing downloads from progress notification (#1637) 2018-10-27 19:01:56 +02:00
inorichi
23e99a3ed8 Add new translations to settings 2018-10-09 16:13:26 +02:00
inorichi
788cb843fc Minor fixes when updating the manga viewer 2018-10-09 14:27:00 +02:00
inorichi
790e0908a3 Better page transition text alignment 2018-10-09 13:46:44 +02:00
inorichi
7a45cd5b56 Don't use full-width page sheet on big landscape screens 2018-10-09 13:46:27 +02:00
arkanoide
fcce29a467 Update mangasee URL (#1633)
The old URL http://mangaseeonline.net is obsolete, the new URL is http://mangaseeonline.us
2018-10-07 12:55:36 +02:00
Ian Harmon
5f568733f3 AniList 5-star/smiley <-> 100-point values differ from the AniList website (#1631)
* adjusted anilist alternate rating values to match website

* addition to: adjusted anilist alternate rating values to match website
2018-09-27 19:20:37 +02:00
FlaminSarge
3611f67fb4 Handle manga info fetch errors in the same way as chapter fetch errors (#1541)
(Using a toast)
2018-09-21 09:51:37 +02:00
FlaminSarge
353ccbd444 For migration, put the selected source at the top of the search list instead of excluding it (#1542)
* For migration, put the selected source at the top of the search list rather than excluding it

* Indicate which source is currently selected during migration

Currently uses ▶
2018-09-21 09:51:10 +02:00
Carlos
3c1179d27b Fix NSFW Manga not showing in Kitsu (#1622)
* add interceptor to kitsu

* switch to shared client
2018-09-21 08:20:06 +02:00
inorichi
da8b870670 Update image decoder library. Remove deprecated ask update tracking setting 2018-09-17 14:50:44 +02:00
Taumer
6b26859983 Add categories for readmanga/mintmanga (#1607)
* Add categories for readmanga/mintmanga

* Fix pages with site static resources
2018-09-12 17:08:53 +02:00
inorichi
7afd224aff Fix volume keys intercepted even if the setting was off 2018-09-12 17:08:31 +02:00
inorichi
62e7bead73 Show menu when there's no next chapter 2018-09-09 17:43:06 +02:00
inorichi
116f7d1c4a Several reader fixes 2018-09-08 12:46:36 +02:00
inorichi
18f89cc341
New reader (#1550)
* Delete old reader

* Add utility methods

* Update dependencies

* Add new reader

* Update tracking services. Extract transition strings into resources

* Restore delete read chapters

* Documentation and some minor changes

* Remove content providers for compressed files, they are not needed anymore

* Update subsampling. New changes allow to parse magic numbers and decode tiles with a single stream. Drop support for custom image decoders. Other minor fixes
2018-09-01 17:12:59 +02:00
FlaminSarge
7c99ae1b3b Set notification number for library updates to number of new updates (#1551) 2018-07-29 23:01:15 +02:00
FlaminSarge
16dc4d298d Update manga.last_update when any ChapterSourceSync.syncChaptersWithSource() occurs rather than only during LibraryUpdateService.updateChapterList() (#1535)
Viewing a manga's info page for the first time forces a chapter sync.
Prior behavior would cause new chapters to be retrieved for that manga, but with manga.last_update remaining at 0 (until a library update occurred in which chapters were changed).
The new behavior updates last_update any time the chapters are changed via syncChaptersWithSource().
2018-07-07 14:05:02 +02:00
Carlos
762c378bd6 Kitsu search fix (#1524)
* fixed start date,
fixed filtering of novel

* removed init switched ?.let
2018-07-07 11:35:03 +02:00
inorichi
515289134e Only include URL in the share functionality 2018-06-30 20:02:04 +02:00
inorichi
3d1afe7cf2 Show manga with no installed source. Based on PR #1345 2018-06-30 19:55:46 +02:00
Carlos
fd825b1049 Changed Kitsu to use Algoria search directly (#1514)
* Changed Kitsu to use Algoria search directly, was recommended by the Kitsu Dev team

* remove extra line

* fixed end date bug
added filtering out novel back in

* save the retrofit instances locally for search.
2018-06-30 12:07:37 +02:00
Sklan
9bf071132d Update AnilistModels.kt (#1481)
* Update Anilist.kt

* Update AnilistModels.kt

* Update Anilist.kt
2018-06-18 22:32:15 +02:00
Taumer
014bb2f426 Update date selector and chapter number recognition (#1459)
Close #1455
2018-06-11 12:07:38 +02:00
inorichi
56927927c8 Update user agent on kissmanga ¯\_(ツ)_/¯ 2018-06-06 12:42:57 +02:00
ddmgy
b19a4d2977 Change AniList search query to show some previously hidden entries. (#1435) 2018-05-28 22:54:41 +02:00
inorichi
c6cfd24f19 Fix kissmanga not loading for some people after the previous update 2018-05-26 15:24:38 +02:00
inorichi
10f36f40d6 Bugfix on save instance state. Also improve initial page loading on Kissmanga 2018-05-23 13:16:11 +02:00
inorichi
9d5cf9163a Release v0.7.4 2018-05-13 11:56:24 +02:00
Jozef Hollý
9abce0cca3 Vanity url (#1408)
* vanity url

* vanity url

* vanity url
2018-05-13 11:36:08 +02:00
inorichi
c6245f4fa3 Reenable cipher suites after upgrading to okhttp 3.10. Fixes #1411 2018-05-11 15:08:12 +02:00
inorichi
263198dd89 Minor fix 2018-05-05 15:29:08 +02:00
inorichi
345f96055d Fix indonesian language. Closes #1387 2018-05-05 14:23:34 +02:00
Ken Swenson
51144aa45e Implement Anilist API v2 (closes #1159) (#1383)
* Implement Anilist API v2 (closes #1159)

Switches to using the Anilist v2 API.
Login is now done by implicit grant and tokens are good for one year.
Users will need to login again after token expiration.
"clientId" on line 289 of AnilistApi.kt should be changed to Tachiyomi's
own client ID number.

* Code style formatting

Revert to kotlin 1.2.30
Use correct client ID
Rename AnilistApi.login to AnilistApi.createOAuth to reflect changed implementation
Rename json mimetype variable from json to jsonMime for clarity
Don't read response if it's ignored
Remove unused parameters from api requests

* Close netResponse after read

* Refactor remote_id into media_id and library_id

* DB: Refactor RemoteId

Refactor RemoteId into library_id and media_id
Implement function to fetch library_id if user is migrating rom APIv1

* Remove logging interceptor

* Compatability and sql simplification

* Fix score and minor improvements

* Revert changes to Kitsu API
2018-05-05 14:05:02 +02:00
jFields99
86a599d13f Added Github link to about. (#1389)
* Added Github link to about.

* Added github link to About page (Fixed)

Fixed based on jogerj's comment in #1389

* Changed Github link to correct URL.

* Balanced brackets
2018-05-04 16:36:06 +02:00
inorichi
8874fe973c Bugfixes 2018-04-30 18:31:31 +02:00
inorichi
32db1e3045 Run downloader in foreground service 2018-04-28 10:54:27 +02:00
inorichi
303e6c0102 Reorganize reader settings. Update Conductor version 2018-04-28 10:40:08 +02:00