Commit graph

187 commits

Author SHA1 Message Date
Cuong-Tran
2f33754c20
Fix App's preferences referencing deleted categories (mihonapp/mihon#1734) 2025-02-25 16:41:11 +07:00
Cuong-Tran
4c08f61f68
Fix: ktlint config for SY code (#712)
* Add more editor configs and move ktlint config to it (mihonapp/mihon#1731)

(cherry picked from commit 34d1e6fa278846dd8eb6ea82c936818d4610d3c2)

* more ktlint config

* fix compile

* restore comment-wrapping

* restore all of them

* disable in gradle.kts

* cleanup

* remove filenamktlint_standard_filename

* fix filename

* remove unused EhAssets

* ktlint_standard_multiline-expression-wrapping

* property-naming & function-naming

* ktlint_standard_argument-list-wrapping

* fix argument-list-wrapping

* Improve  in case source is null

related to commit 343cd372

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* comment

* Revert "Improve  in case source is null"

This reverts commit 08e317bb075b4b634f0c6f19f11eb78b99406e59.

* Revert "remove unused EhAssets"

This reverts commit e2cfc3e0c2b8d5b8bac41f2dfc4d9baef332f83e.

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
2025-02-18 13:44:57 +07:00
Cuong-Tran
ff8d48bf4c Fix (PreferenceRestorer): correctly backup/restore preferences related to category 2025-02-14 12:21:26 +07:00
Cuong-Tran
235dec019d Fix (EXH): Migrate old source to new source for merge references 2025-02-14 12:21:26 +07:00
Cuong-Tran
4b8d0331f6
Merge branch 'release' 2025-02-13 22:55:28 +07:00
Cuong-Tran
d127ce9805
rename repo 2025-02-13 22:53:19 +07:00
Cuong-Tran
967bbe6c04
Merge branch 'release' 2025-02-01 13:36:27 +07:00
Cuong-Tran
9d2a030bf5
Remove extensions repo 2025-02-01 03:35:58 +07:00
Cuong-Tran
2e744ed5e9
built-in EH compatible with extension (#613)
* switch off integrated H to show E-H source & extension

* More languages for E-H/ExH, also more popular with rate 5

* Don't hide Multi source when toggle Integrated H

* Avoid crash trying to load ehentaiBrowseDisplayMode

* change source ID to matching general extension

* migration old source ID to new source ID

* Allow importing of EHentai extension backups

* limit library update & metadata source to only Multi lang

* update app version

* fix spotless

* also migrate saved search/feed & pinned EH/EXH source ID when restore from backup or update app
2025-01-26 02:20:06 +07:00
Cuong-Tran
af77a962c1
Drag to reorder feeds (#660) 2025-01-26 01:56:11 +07:00
Cuong-Tran
5fc9e202e8
Fast browsing (#612)
* BrowseTab: serialized data object must have readResolve

* simplify usage of bulk-selection select-all/reverse

* hide bulk-selection select-all/reverse

* fast browsing by avoid insert every entries into DB
2024-12-31 11:52:04 +07:00
Cuong-Tran
23d53a4560
Drag & Drop to reorder category quickly in Settings/Category screen (#508)
* drag to reorder Category list

* smaller padding

* cleanup code

* fix build
2024-12-31 11:26:40 +07:00
Cuong-Tran
c72ea1e1ac
Allow disable app auto-update 2024-12-28 17:56:37 +07:00
Cuong-Tran
f0cacc1650
cleanup duplicate random library sort mode 2024-12-25 15:41:43 +07:00
Cuong-Tran
a8c587829c
Auto install app update (#561)
* migrating

* - Fix Broadcaster
- Include Updater for Debug
- json to emulate Github call

* - resetup AppUpdateJob when changing settings
- Fix ACTION_MY_PACKAGE_REPLACED

* improve notification

* update icon

* app update to high important

* - Run auto install on AppUpdateJob
- Add release link to job

* idle state & network aware

* fix duplicated job start

* don't show notification & start job for peek-into-preview

* allow cancel auto update job when set to NEVER

* always notify on install complete

* rearm AppUpdateJob each time MainActivity already checked for update

* MainActivity checks every 2 days, rearm AutoUpdateJob in 3 days

* - fix install error notification ID
- add timeout for manual installation if package manager crash

* settings & spotless

* restriction settings & auto run download-install if not in restrictions

* clean up
2024-12-05 15:41:50 +07:00
Cuong-Tran
aea249ad96
remove preview-to-stable update 2024-11-06 20:48:41 +07:00
AntsyLich
3c0c45eb81
Address some build warnings and cleanup (mihonapp/mihon#1412)
(cherry picked from commit a1c60897916f418726107fec80ad79b2a4b8d500)
2024-11-01 10:37:52 +07:00
AntsyLich
3490273afe
Auto format extension repo URLs
Closes mihonapp/mihon#1392
Closes mihonapp/mihon#1393

(cherry picked from commit 22d8aad598bea8f00f2831779e45a6645392ca0f)
2024-11-01 10:37:52 +07:00
Cuong-Tran
fde71c0b70
Fix release update version checking & update release note template 2024-10-29 16:21:30 +07:00
Cuong-Tran
6b6e6a7fba
fix dependencies 2024-10-28 23:12:15 +07:00
Cuong-Tran
451fe433cf
Error screen (#462)
- A dedicated screen in Settings for error list when updating library
- Allow to jump to Error screen if click on notification
- Allow to migrate error entry
- Create error on each entry updated instead of waiting for the whole updating list to finished
- Overwrite entry's error if new error happens after updating
- Clear entry's error if it successfully updated
- Clear un-relevant errors (entry which was removed from Library) on next update
- List of errors can jump to top/bottom or next/previous errors group
- Won't create error file anymore

* Added library update errors screen

(cherry picked from commit 7cf37d52f959ac65f53cf7657563fb4428bd9188)

* Open library update errors screen on clicking library update error notification

(cherry picked from commit d2d22f437a1d61b086f1e19dfbcd2c0a2bc125f4)

* LibraryUpdateErrorScreen's bottom UI with scroll to top/bottom buttons

(cherry picked from commit 859ce54474d456232510e21f4f6795af65489be2)

* migrate to AppBar

* sticky header

* scroll to next/previous group of errors

* insert error entry one by one

* delete error from DB when successfully updated

* clean un-relevant errors from DB on every updates

* fix errors & clean up

* catch exception & fix notification intent

---------

Co-authored-by: ImaginaryDesignation <108343184+ImaginaryDesignation@users.noreply.github.com>
2024-10-28 23:12:14 +07:00
Cuong-Tran
6fd67bd240
show all entries going to be checked for Smart update on Upcoming screen 2024-10-23 14:19:45 +07:00
AntsyLich
7d8f96d856
Cleanup .gitignore files
(cherry picked from commit afa50029882655af8d5eea40aed7644fce4564d8)
2024-10-23 14:19:38 +07:00
Roshan Varughese
f839334c1c
Add option to backup non-library read entries (mihonapp/mihon#1324)
Co-authored-by: jobobby04 <jobobby04@gmail.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit de36357da834bff4110dbb56dd7ce7aad04d3c7d)

(cherry picked from commit 943555c0af49b48abaa18a47395e5516f3357bae)
2024-10-23 13:08:42 +07:00
Jack Hamilton
dacea90f10
Added random library sort (mihonapp/mihon#1317)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit a72db41bf1746db095fd27bbbce9765c06453581)
2024-10-23 13:08:41 +07:00
Cuong-Tran
147a36a709
feat(ui): Panorama cover
* support panorama cover

* bigger panorama cover size in GlobalSearchCardRow

* setting to enable/disable

* panorama cover for History items

* Keep panorama cover position in Library View centered for better visual

* fix: update ratio in Detail page if cover doesn't reload anew

* adjust ratio to switch to panorma

* panorama cover for Migration items

* center panorama cover & add dominant background color

* panorama cover for EditMangaInfo

* Fix size on GlobalSearchCardRow

* display mode for manual panorama cover

* Fix LibraryFlagsTest
2024-09-27 11:58:16 +07:00
Cuong-Tran
b10fe0fc15
Default disable Integrated hentai features 2024-09-23 12:50:22 +07:00
Cuong-Tran
a4a18361c9
enable hidden categories by default 2024-09-23 12:49:23 +07:00
Cuong-Tran
ef58951bac
feat: feed reorder screen (#356)
* feat: Add screen to reorder Feeds

* refactor: Update icons/title and add preview for FeedOrderListItem

* refactor & cleanup

* feat(source): Add functionality to reorder feeds in source feed screen.

* feat: Add sorting functionality to source feed order screen

* refactor: Update SourceFeedScreen AppBar buttons

* refactor: Reuse FeedDeleteConfirmDialog and FeedSortAlphabeticallyDialog

* refactor: Reuse FeedOrderListItem
2024-09-18 13:54:43 +07:00
kana-shii
ba43e5584c
disable smart-update for individual & fix custom interval (#318)
* set custom disabled interval

* fix wrong calculation of nextUpdate when setting custom fetchInterval

---------

Co-authored-by: Cuong-Tran <cuongtran.tm@gmail.com>
2024-09-13 00:48:13 +07:00
Cuong-Tran
6c9dfb82f4
feat: Hidden categories (#348)
* support hide categories (merged from Aniyomi)

* styling CategoryScreen: always showing all categories & shading the hidden one

* Hide categories directly on Library tab and load it as a flow

* fix: hidden categories got reset after delete/reorder

* remove unnecessary code
2024-09-11 18:06:37 +07:00
AntsyLich
81d70c5ce3
Use new library for injekt with inorichi patch
(cherry picked from commit 83fd4746eda1b99f35292b0c2211e606a421b3eb)
2024-09-08 23:04:57 +07:00
Smol Ame
8845c2c317
Enable 'Split Tall Images' by default (mihonapp/mihon#1185)
(cherry picked from commit 9c1905ede750f0229fad1a01431058b1cc9fb32d)
2024-09-04 19:07:51 +07:00
Dani
10d155b9a0
Support skip-downloading-duplicate-read-chapters for merged entries
(cherry picked from commit e19c62a8aef2203eb287ef2f450c95b642f7f2f0)
2024-09-04 17:22:29 +07:00
AntsyLich
6d78d96850
Add stable marker to Manga data class
Co-authored-by: ivan <12537387+ivaniskandar@users.noreply.github.com>
(cherry picked from commit 4ee31bfea5b6908e7131e2c46e4cb46155005abf)
2024-09-04 16:27:35 +07:00
Tran M. Cuong
228abc31c4
feat: allow ext from multiple repos & show their name (#294)
* show repo name

* Fix Obsolete status when disable/enable repo

* find extension's repo correctly using pkgName together with signature

* Don't filter out extension with same pkgname from different repo (signature)

* Preview

* Revert "Update CrashLog to include Unofficial ext’s info"

This reverts commit 7c11ddfc1e.

* remove Unofficial status

* show repo's short name if possible
2024-08-26 12:56:14 +07:00
Tran M. Cuong
2536e5a77e
Remove built-in Komikku repo (#286)
* Add Help to Repo EmptyScreen

* Migration: insert Official Repo for old users

* button to auto fill official KMK extension repo

* 'More extensions' button to go to Repo page

* Remove default official repo

* fix spotless
2024-08-26 00:08:38 +07:00
Dani
94acbb08d7
Add option to skip downloading duplicate read chapters (mihonapp/mihon#1125)
* Add query to get chapter count by manga and chapter number

* Add functions to get chapter count by manga and chapter number

* Only count read chapters

* Add interactor

* Savepoint

* Extract new chapter logic to separate function

* Update javadocs

* Add preference to toggle new functionality

* Add todo

* Add debug logcat

* Use string resource instead of hardcoding title

* Add temporary logcat for debugging

* Fix detekt issues

* Update javadocs

* Update download unread chapters preference

* Remove debug logcat calls

* Update javadocs

* Resolve issue where read chapters were still being downloaded during manual manga fetch

* Apply code review changes

* Apply code review changes

* Revert "Apply code review changes"

This reverts commit 1a2dce78acc66a7c529ce5b572bdaf94804b1a30.

* Revert "Apply code review changes"

This reverts commit ac2a77829313967ad39ce3cb0c0231083b9d640d.

* Group download chapter logic inside the interactor GetChaptersToDownload

* Update javadocs

* Apply code review

* Apply code review

* Apply code review

* Update CHANGELOG.md to include the new feature

* Run spotless

* Update domain/src/main/java/mihon/domain/chapter/interactor/FilterChaptersForDownload.kt

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit ca968f162ef7a61a9036b7ab9bea407a6334801d)
2024-08-26 00:08:38 +07:00
kana-shii
266f449614
Smart updates fix (#268)
* Allow check completed entries for update if un-tick option "Skip completed..."
* Always predict next-release date for all entries, even if it's completed.
2024-08-26 00:08:38 +07:00
Cuong-Tran
48d874342e
Address more spotless lint errors from KMK & SY 2024-08-26 00:08:37 +07:00
AntsyLich
e7ca892f65
Address spotless lint errors (mihonapp/mihon#1138)
* Add spotless (with ktlint)

* Run spotlessApply

* screaming case screaming case screaming case

* Update PagerViewerAdapter.kt

* Update ReaderTransitionView.kt

(cherry picked from commit d6252ab7703d52ecf9f43de3ee36fd63e665a31f)
2024-08-26 00:08:37 +07:00
AntsyLich
335f0956b4
Remove detekt (mihonapp/mihon#1130)
Annoying. More annoying in this project.

(cherry picked from commit 777ae2461e1eb277a3aa0c998ff69e4f100387a1)
2024-08-26 00:08:37 +07:00
Tran M. Cuong
8c6cca09a4
feat (ui): source language flags (#272)
* add countries flags
add flags & simplify/sizing
add flagkit

* add flags to Extensions Filter

* add flags to Sources & Extensions screen

* show language flag in Library
2024-08-26 00:07:56 +07:00
Tran M. Cuong
29eeccad1b
feat (ui): showing source icon in library (#261)
* showing source icon in library

* Change language icon for local source from Folder to Globe

* adjust size & padding for icon & badge

* Setting enable/disable source icon
2024-08-19 12:50:16 +07:00
Tim Schneeberger
8fe7dcb167
feat(migration): add option to only show entries with new chapters (jobobby04/TachiyomiSY#1238)
(cherry picked from commit f7202e67cc3452676f5e2532015741811cd505bb)
2024-08-12 23:55:23 +08:00
Tran M. Cuong
c6165c3c51
feat: change feed's order (#220)
allow change feed's order manually by moving up/down

partially implement #130

* add feed_order

- add/migrate feed_order column
- auto increament feed_order when adding new feed
- showing feed in order using feed_order

* refactor code to support feedOrder

* swap feed order

* Fix generating feed's order when no feed existed
2024-08-04 03:02:19 +07:00
renovate[bot]
a0971e36a9 chore(deps): update kotlin and compose compiler to v2 (major) (#26, #82, mihonapp/mihon#819)
* chore(deps): update kotlin and compose compiler to v2

* Update .gitignore

* Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 46003ec25139319079abc9fde89b3afd344a1a11)
2024-07-27 02:13:27 +07:00
Tran M. Cuong
050c661c9e
progress-banner (#163)
* feat: banner showing updating status

* showing progress for updating

* showing progress for syncing & backup restoring too

* preferences for progress banner
2024-07-09 15:00:37 +07:00
Cuong-Tran
7c63f84f5f feat: Add support for backing up and storing source's feeds along with saved searches 2024-07-05 10:37:43 +07:00
Tran M. Cuong
ddc7801436
update cover color state when set cover in reader 2024-06-20 18:54:32 +07:00