Commit Graph

813 Commits

Author SHA1 Message Date
Ivan Iskandar
ef8a87a30f
Bump compileSdk to 30 (#5140) 2021-05-22 14:48:27 -04:00
arkon
c741920ec0 Rename some biometrics things since it's no longer specifically for biometric auth 2021-05-22 12:39:47 -04:00
Gauthier
d6b3b0baf7
Add Komga as an unattended track service (#5049)
* fix: prevent crash if TrackService.getScoreList() is empty

* disabled track score button if service doesn't support scoring

* first implementation of the Komga tracking
this doesn't work for read lists

* auto track when adding to library

* handle refresh

* 2-way sync of chapters for unattended tracking services

* Update app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSheet.kt

Co-authored-by: Andreas <andreas.everos@gmail.com>

* group strings together

* support for read lists

* sync read chapters on bind

* only mark local chapters as read during 2-way sync (incoming)

* local progress from read chapters will be sent to remote tracker on bind/refresh
this enables syncing after reading offline

* remove unused variable

* refactor the 2-way sync in a util function

* handle auto add to track for unattended services from the browse source screen when long clicking
this will also sync chapters, as it is possible to have read or marked as read chapters from there

* 2-way sync when library update for TRACKING

* refactor

* better handling of what has been read server side

* refactor: extract function

* fix: localLastRead could be -1 when all chapters are read

* refactor to rethrow exception so it can be shown in toast

* extract strings

* replace komga logo

Co-authored-by: Andreas <andreas.everos@gmail.com>
2021-05-22 12:07:58 -04:00
arkon
3b11ad8de8 Revert hide updates/history 2021-05-17 17:24:59 -04:00
Riztard Lanthorn
cf4b870846
library update notif text progress (#5098) 2021-05-17 17:20:58 -04:00
arkon
5e37f72d74 Remove legacy backup creation 2021-05-17 11:41:12 -04:00
arkon
8e7c235ff0 Cleanup hide updates/history button settings 2021-05-15 15:03:09 -04:00
simakover
7fb4cbb8a0
Add option to hide "Updates" and "History" buttons (#5077)
* Add otion to hide "Updates" abd "History" buttons

* Add otion to hide "Updates" abd "History" buttons

* explicit imports

* New category Navigation

* Add functionality for SideNav
2021-05-15 15:01:05 -04:00
Riztard Lanthorn
7ba43ae5c2
Add cancel all for series in download queue (#5062)
Co-authored-by: Jays2Kings <jays@outlook.com>
2021-05-13 17:35:47 -04:00
arkon
5700c7a0c7 Instantiate extension preferences with proper datastore earlier 2021-05-08 19:52:49 -04:00
arkon
5069d8dee6 Fix MultiSelectListPreference crash in extensions 2021-05-08 17:23:48 -04:00
Ivan Iskandar
cb203ef02c
Show notification to disable Incognito Mode when it's enabled (#4976)
* Show notification to disable Incognito Mode when it's enabled

* Finish ReaderActivity and BrowseSourceController when incognito is disabled

* CLeanup strings

* Only register DisableIncognitoReceiver when needed
2021-04-30 22:36:54 -04:00
arkon
908c9bc624 Reader grayscale filter (closes #2822) 2021-04-30 22:35:49 -04:00
Andreas
0fef546a0d
Add manga-wised rotation mode settings (#4841)
* Add manga-wised rotation mode settings

Based on #3522

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>

* Fix small mistakes

* Complete TODOs

* Rename functions

rotation -> orientation

* Fix orientation icon not changing

Bug from video

* Fix bug with force portrait not being force if a default value

Bug from video

* Backup viewer_flag as a seperate field in so legacy/forks doesn't crash

* Make viewer_flags nullable so old backups viewer gets restored

* Add migration for old rotation and viewer to new defaults ones

* Rename variable in enums

* Fix migration after OrientationType was changed

* Remove untrue comment

Co-authored-by: bboyz269 <4453811+bboyz269@users.noreply.github.com>
2021-04-28 08:32:47 -04:00
Ivan Iskandar
93e6136795
Use Coil (#4870)
* Use Coil

* Remove coil-transformations lib

* Add MangaCoverFetcher

* Remove Glide

* MangaCoverFetcher: Allow skipping custom cover usage

* Adjust coil caching policy for some non-library items

* Allow coil to use RGB565 only on low ram devices

* Fix image loading progress view not showing

a

* Increase coil crossfade duration

Same as default glide duration

* Add back request clearing
2021-04-28 08:32:00 -04:00
OncePunchedMan
9278407b85
Setting: Creates folders according to manga title (#4861)
* cherry-picking my changes

* Update SettingsDownloadController.kt

* Update SettingsDownloadController.kt

* Update ReaderPresenter.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>
2021-04-27 17:38:56 -04:00
arkon
08a6db7d6e Maybe better handle MAL token expiration 2021-04-24 16:30:53 -04:00
arkon
4cefbce7c3 Make manga and chapter folder name searching case insensitive 2021-04-23 08:44:12 -04:00
arkon
fa31369f99 Sanitize source download folder name (fixes #4945) 2021-04-23 08:43:47 -04:00
arkon
356b7c346a Clean up ChapterCache (remove Gson, Rx usage) 2021-04-18 11:30:16 -04:00
arkon
dfd858034f Avoid duplicate actions in update notifications 2021-04-17 12:58:14 -04:00
arkon
a59e134862 Case insensitive source directory search 2021-04-16 22:27:00 -04:00
arkon
07cb1c237e Allow dismissing download progress notification when paused (closes #4832) 2021-04-13 08:53:46 -04:00
arkon
023311a874 Start download when tapping update notification (closes #4825) 2021-04-12 13:43:46 -04:00
arkon
0dc4862d79 Revert case insensitive source folder check 2021-04-11 18:19:41 -04:00
arkon
a3f1b72126 Lint fixes/ignore some errors 2021-04-11 18:16:15 -04:00
arkon
a82e5f5452 Make library update/backup error log action clearer for non-technical users 2021-04-11 16:19:56 -04:00
arkon
592050c668 Actually ignore the case... 2021-04-11 14:23:24 -04:00
arkon
02c9191525 Make source download folder name case-insensitive
Fixes issues from things like "Mangasee" being renamed to "MangaSee"
2021-04-11 14:03:23 -04:00
arkon
d421401626 Log "Invalid download location" issues to error log 2021-04-11 14:00:45 -04:00
arkon
b2d4e5ab84 Add Google DoH provider 2021-04-11 13:10:03 -04:00
Ken Swenson
f145fd0dec
Move deletion actions to the IO thread (#4808) 2021-04-11 10:49:13 -04:00
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
a3992d9fbe Minor cleanup 2021-04-03 10:12:31 -04:00
arkon
ff36901007 Don't repeatedly vibrate/make sounds on download progress 2021-04-01 12:18:54 -04:00
arkon
d501c02f8b Add crop borders shortcut 2021-03-28 16:25:53 -04:00
mutsumi
cc6ae9d1a8
Fix Some Bangumi Track Bug (#4726) 2021-03-28 11:36:29 -04:00
arkon
3ba078f64c Use more common MIME type for protobuf 2021-03-25 13:46:53 -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
arkon
99ba84c810 Handle null Anilist start dates (fixes #4685) 2021-03-20 16:36:31 -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
6d8c4fb8b1 Fix Bangumi search null image errors 2021-03-20 10:22:11 -04:00
arkon
4a5bceb4e4 Fix offline restore ignoring manga from not installed sources (fixes #4679) 2021-03-20 10:03:13 -04:00
scb261
2145e878a4
Limit query for recent chapters to 500 (#4678) 2021-03-19 23:39:36 -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
b5c2934270 Refactor LibraryUpdateService a bit for future changes 2021-03-14 16:08:00 -04:00