arkon
a3ab8746bf
More domain model usage
2022-07-03 16:12:31 -04:00
Andreas
069bd90c0f
Cleanup data layer ( #7450 )
2022-07-03 15:48:13 -04:00
arkon
68697e59d7
More domain model usage
2022-07-03 13:46:09 -04:00
arkon
b3dd8b7355
More domain model usage
2022-07-03 13:21:48 -04:00
Andreas
eb2a904b61
Remove SQLiteOpenHelper as database is migrated to SQLDelight ( #7448 )
2022-07-03 11:48:59 -04:00
Andreas
17951cfd68
Use SQLDelight for all Manga related queries ( #7447 )
2022-07-03 10:17:41 -04:00
Andreas
9e3b454b1b
Use SQLDelight for all MangaCategory related queries ( #7441 )
2022-07-02 19:05:38 -04:00
Andreas
29633b64aa
Use SQLDelight for all Chapter related queries ( #7440 )
2022-07-02 18:51:33 -04:00
arkon
76c0ead1db
Migrate to more use of domain models
2022-07-02 17:14:19 -04:00
Andreas
2674570792
Use SQLDelight for a Category related queries ( #7438 )
2022-07-02 16:12:06 -04:00
arkon
21771e62aa
More SQLDelight migrations
2022-07-02 15:19:52 -04:00
arkon
2dfbfd0958
Remove more unused StorIO code
2022-07-02 13:08:08 -04:00
Andreas
05085fe57f
Use SQLDelight on Library screen ( #7432 )
...
- Uses the new `asObservable` function to change the database calls to use SQLDelight, which should make the impact minimal when it comes to bugs.
- Use interactors where they already exist
- The todos are for the Compose rewrite
- Removed unused StorIO methods/queries
- Tested loading library, move manga to new category, unfavorite multiple manga, move multiple manga from one category to another, change filter, sort and display settings (with and without per category settings), (un)mark chapters, start/delete downloads
Thank Syer for asObservable
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com >
Co-authored-by: jobobby04 <17078382+jobobby04@users.noreply.github.com >
2022-07-02 12:55:34 -04:00
AntsyLich
ff32ab09fb
Downloader: Optimize split tall image ( #7435 )
2022-07-02 12:49:50 -04:00
AntsyLich
deaded5af2
Reimplement chapter download indicator longpress ( #7412 )
2022-07-02 12:43:18 -04:00
Andreas
1f10b79ee8
Use SQLDelight on Updates screen ( #7423 )
2022-06-30 22:18:12 -04:00
AntsyLich
e1525a5125
DownloadProvider: Only provide necessary info and not whole chapter/manga class ( #7411 )
2022-06-30 09:20:55 -04:00
arkon
7e4c45858f
Bump dependencies
2022-06-29 22:45:22 -04:00
arkon
53decfd47b
Migrate usages of SyncChaptersWithTrackServiceTwoWay
2022-06-26 21:34:54 -04:00
arkon
65264e3ef5
Migrate more track DB calls to SQLDelight
2022-06-26 19:46:41 -04:00
arkon
4ca0fc7a4d
Fix app update install notification disappearing
2022-06-26 19:11:34 -04:00
Osyx
ad106bd884
Add new "Lavender" theme ( #7343 )
...
* Add new "Lavender" theme
* Add light theme values for Lavender theme
* Fix order of enums
* Fix accented UI elements in set categories sheet being different colors
Co-authored-by: CrepeTF <trungnguyen02@outlookcom>
2022-06-26 10:01:31 -04:00
jobobby04
470a576441
Fix downloader crash related to UnmeteredSource ( #7365 )
...
Fix crash when starting a download with chaqpters from a UnmeteredSource
2022-06-25 11:09:41 -04:00
Ivan Iskandar
33a778873a
MangaController overhaul ( #7244 )
2022-06-25 11:03:48 -04:00
AntsyLich
e3b1053c03
Use sqldelight in migration ( #7331 )
...
* Use sqldelight in migration
* Some more changes
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
* Review Changes
* Review changes 2
* Review Changes 3
* Review Changes 4
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
2022-06-21 17:27:55 -04:00
Taco
c2520bff12
Utilize more KTX extensions ( #7348 )
2022-06-20 22:54:42 -04:00
arkon
254f021903
Minor cleanup
2022-06-20 22:51:04 -04:00
arkon
9f66c85281
Migrate duplicate manga check to SQLDelight
...
Extracted from #7244
Co-authored-by: ivaniskandar <ivaniskandar@users.noreply.github.com >
2022-06-19 10:15:24 -04:00
arkon
dd983c803b
Delete unused database queries/resolvers
2022-06-17 22:35:21 -04:00
Ivan Iskandar
1b804e61cb
Fix cover fetching in compose views ( #7315 )
...
Make sure it passed thru the custom fetcher
2022-06-17 22:21:29 -04:00
Andreas
c5d84b4f24
Fix History not being added when restoring backup ( #7324 )
2022-06-17 17:29:07 -04:00
Andreas
017f6b22f0
Use SQLDelight on Category screen ( #7310 )
...
* Use SQLDelight on Category screen
* Include category name in DuplicateNameException
2022-06-16 10:59:10 -04:00
nicki
fdf384b809
Add Cancel button to App Update Notification ( #7309 )
...
* Add cancel button in app update download notif
Since stuck downloads are a common issue and only solution until now was
to force close the app or download and update the app manually by
downloading from GitHub (which clears the notif away)
Based on commit
4dea924337
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com >
* Linting by Android Studio
* commit PR Review Suggestion
Update app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt
Co-authored-by: arkon <arkon@users.noreply.github.com >
* Use `launchIO`
copied this over from how j2k was doing it. Launching in IO Thread like
how it was before this PR is sufficient
* Clear previous actions before adding `Cancel`
Otherwise, it led to two identical Cancel buttons
Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com >
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-06-15 18:07:01 -04:00
AntsyLich
9d5b7de1d8
Maintain source info in the database. ( #6389 )
...
* Maintain Source Info in database
* Review changes and cleanups
* Review changes 2
* Review Changes 3
2022-06-14 09:10:40 -04:00
Andreas
fd5da2de3a
Use SQLDelight in Backup/Restore ( #7295 )
...
* Use SQLDelight in Backup/Restore
* Use CoroutineWorker
2022-06-12 14:33:48 -04:00
AntsyLich
5bb78eb77f
Update manga metadata on library update with sqldelight ( #7293 )
...
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
2022-06-12 10:21:45 -04:00
arkon
d098eca69d
Remove unused database resolvers/queries
2022-06-11 11:51:14 -04:00
AntsyLich
120943a8b3
Make syncChaptersWithSource use sqldelight ( #7263 )
...
* Make `syncChaptersWithSource` use sqldelight
Will break chapter list live update on current ui
Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
* Review Changes
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com >
2022-06-11 11:38:39 -04:00
arkon
e15a867106
Convert clear database queries to SQLDelight
2022-06-10 21:33:56 -04:00
Ivan Iskandar
59837bbb90
Change cover memory key ( #7276 )
...
Use different key for custom cover and add last modified time for updating
cover without clearing the whole memory cache
2022-06-10 09:33:59 -04:00
arkon
7fdbf40cd2
Minor cleanups
...
Pulling out some of the smaller changes that aren't related to the manga controller changes in #7244
2022-06-04 16:01:49 -04:00
arkon
d1be221d7a
Remove logic for restoring legacy JSON backups
...
- Protobuf backups have been around for 1.5 years now
- The ability to restore online-dependant data from JSON backups gets harder as time goes on and sources drift
- If users really need a way to restore them, they can use an older version of the app, or a separate tool for translating between the formats could be created
2022-05-29 12:24:39 -04:00
arkon
cd0294b1b6
Replace history query with actual upsert
2022-05-29 12:12:06 -04:00
Andreas
b36ca92dd9
Make Storio follow new database table structure ( #7217 )
2022-05-28 18:36:40 -04:00
Andreas
c8468c29f1
MangaUpdates tweaks ( #7205 )
...
* MangaUpdates tweaks
* Review changes
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com >
* Use built in functions instead of Jsoup
Co-authored-by: arkon <4098258+arkon@users.noreply.github.com >
2022-05-28 18:36:28 -04:00
arkon
3c40010aff
Minor cleanups
2022-05-28 09:12:15 -04:00
Chris
63238b388d
Fix global update ignoring network constraint ( #7188 )
...
* update library update network constraint logic
* add explicit 'only on unmetered network' update constraint
2022-05-28 09:09:53 -04:00
AntsyLich
809da49301
Reader: Save reading progress with SQLDelight ( #7185 )
...
* Use SQLDelight in reader to update history
* Move chapter progress to sqldelight
* Review Changes
Co-Authored-By: inorichi <len@kanade.eu >
* Review Changes 2
Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com >
Co-authored-by: inorichi <len@kanade.eu >
2022-05-28 09:09:27 -04:00
arkon
87661eb85a
Minor cleanup
2022-05-24 18:16:07 -04:00
Andreas
0c631a4990
Add MangaUpdates as a tracker ( #7170 )
...
* Add MangaUpdates as a tracker
- jobobby04 co-authored for suggestion in BackupTracking.kt
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com >
* Changes from code review
Co-authored-by: arkon <arkon@users.noreply.github.com >
Co-authored-by: jobobby04 <jobobby04@users.noreply.github.com >
Co-authored-by: arkon <arkon@users.noreply.github.com >
2022-05-24 18:00:33 -04:00