AntsyLich
0657a52924
Cleanup history repository ( #8297 )
...
* Cleanup history repository
* Lint
2022-10-27 18:03:52 -04:00
arkon
d5b4bb49b1
Refactor network to local manga logic
...
Maybe fixes #8289
2022-10-26 23:01:21 -04:00
arkon
ca06516900
Avoid some crashes
2022-10-26 18:12:11 -04:00
Andreas
8d97b980e3
Tweak library view ( #8240 )
...
- Move category join to improve performance
- Move bookmark calculation into query
- Move unread calculation into domain
2022-10-18 16:33:26 -04:00
AntsyLich
d6cbff2837
Tweak library query ( #8214 )
...
* Tweak library query
Co-Authored-By: Quang Kieu <kieuq@wit.edu >
* Update app/src/main/sqldelight/migrations/21.sqm
* Update app/src/main/java/eu/kanade/domain/library/model/LibraryManga.kt
* Update app/src/main/sqldelight/view/libraryView.sq
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Update app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
* Update app/src/main/java/eu/kanade/data/manga/MangaMapper.kt
* Bump version
Co-authored-by: Quang Kieu <kieuq@wit.edu >
2022-10-16 15:33:12 -04:00
Swords
3fdcd636d7
Add bookmark filter ( #8198 )
...
* feat: add bookmark filter
* feat: add getBookmarkChaptersByMangaId query + interactor to be used for filtering
2022-10-15 11:33:09 -04:00
arkon
bc1fbfac9d
Minor cleanup
2022-10-14 16:13:50 -04:00
AntsyLich
ea8383978b
Move LibraryManga to domain layer ( #8126 )
2022-10-01 11:30:51 -04:00
Ivan Iskandar
42b0e3e438
HistoryScreen: Remove paging ( #8125 )
...
* HistoryScreen: Remove paging
Per my testing performance-wise there's virtually no
difference in loading time.
* cleanups
* add key and contentType
2022-10-01 10:50:25 -04:00
AntsyLich
5c22cbf28e
Remove mangaChapterMapper ( #8124 )
...
Was used by updates screen previously
2022-10-01 10:33:03 -04:00
Alessandro Jean
ba533f30ce
Add support to update strategy on global update ( #7902 )
...
* Add support to update strategy.
* Add JavaDoc and bump the LIB_VERSION_MAX constant.
* Fix a word typo.
* Store update strategy enum as integer in the DB.
2022-09-25 10:12:36 -04:00
nzoba
07d1b9f3ba
Fix download ahead missing out 1 chapter ( #7927 )
...
* Fix download ahead missing out 1 chapter
* Move toLong() function
* Add check whether the next chapter is queued
2022-09-09 22:29:24 -04:00
Andreas
cc6aef693e
Merge Latest and Browse into one screen ( #7921 )
...
* Merge Latest and Browse into one
* Add back Latest button
* Change context to IO instead of launching a job
* Use loading screen when loading initial page
2022-09-03 10:16:30 -04:00
AntsyLich
ff4a217730
Cleanup chapter name when syncing chapter with source ( #7910 )
2022-09-02 10:07:50 -04:00
Andreas
d4b764fa31
Use Compose on BrowseSourceScreens ( #7901 )
2022-08-31 14:41:35 -04:00
Andreas
880407442c
Tweak flag classes for Library ( #7829 )
...
* Tweak flag classes for Library
- Add interface for Flag and Mask
- Merge Sort Type and Direction into one class
- Use custom serializers for preferences
- Mainly to not break the old
* Review changes
2022-08-29 13:10:30 -04:00
Andreas
914831d51f
Move default category into database ( #7676 )
2022-08-05 09:32:10 -04:00
Andreas
99ac30e59f
Use Compose on Clear Database screen ( #7639 )
2022-07-30 11:51:47 -04:00
AntsyLich
d8fb6b893f
Migrate Updates screen to compose ( #7534 )
...
* Migrate Updates screen to compose
* Review Changes + Cleanup
Remove more unused stuff and show confirmation dialog when mass deleting chapters
* Review Changes 2 + Rebase
2022-07-17 22:17:40 -04:00
Andreas
35ec593658
Use Flow in ExtensionManager and SourceManager ( #7547 )
...
- Replace ExtensionManager relay and observable with Flow
- Inverse SourceManager dependency
- SourceManager observers ExtensionManager flow
- Separate SourceData from SourceRepository as it created a circular dependency
2022-07-16 15:08:15 -04:00
Andreas
86bacbe586
Use Compose for Category screen ( #7454 )
...
* Use Compose for Category screen
* Use correct string for CategoryRenameDialog title
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com >
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com >
2022-07-09 12:31:14 -04:00
Andreas
069bd90c0f
Cleanup data layer ( #7450 )
2022-07-03 15:48:13 -04:00
Andreas
17951cfd68
Use SQLDelight for all Manga related queries ( #7447 )
2022-07-03 10:17:41 -04:00
Andreas
29633b64aa
Use SQLDelight for all Chapter related queries ( #7440 )
2022-07-02 18:51:33 -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
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
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
arkon
7e4c45858f
Bump dependencies
2022-06-29 22:45:22 -04:00
AntsyLich
04f0ca7846
Use sqldelight for direct db calls in MangaPresenter ( #7366 )
2022-06-26 15:54:34 -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
Ivan Iskandar
8fedd2d5f1
Convert cover dialog view to compose ( #7346 )
2022-06-20 22:31:36 -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
Andreas
3fd9e021fa
Use custom QueryPagingSource ( #7321 )
...
* Use custom QueryPagingSource
- Adds placeholder to make the list jump around less
- Fixes issue where SQLDelight QueryPagingSource would throw IndexOutOfBounds
* Review Changes
2022-06-18 14:55:58 -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
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
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
arkon
5ccde61ae1
Minor cleanup
2022-06-12 11:29:48 -04:00
AntsyLich
b96686e6ad
Fix chapter list live update ( #7296 )
2022-06-12 11:23:41 -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
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
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
Andreas
4560033e66
feat: add read last read chapter shortcut ( #7230 )
...
Supersedes #6861
Co-authored-by: Pierre-Monier <65488471+Pierre-Monier@users.noreply.github.com >
Co-authored-by: Pierre-Monier <65488471+Pierre-Monier@users.noreply.github.com >
2022-05-31 22:55:58 -04:00
arkon
cd0294b1b6
Replace history query with actual upsert
2022-05-29 12:12:06 -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
FourTOne5
28be423e65
Fix LogPriority in HistoryRepositoryImpl ( #7173 )
2022-05-20 08:05:23 -04:00
FourTOne5
08fb2fe467
Add option to reset viewer flags ( #7062 )
...
* Add option to reset viewer flags
* Review Changes
* Run `resetViewerFlags()` content with `launchIO`
2022-05-12 09:00:57 -04:00