Commit graph

10085 commits

Author SHA1 Message Date
Roshan Varughese
9183c19cd2
Fix an issue where tracker reading progress is changed to a lower value (mihonapp/mihon#1795)
(cherry picked from commit 2e2f1ed82d63a93ebf87ee8494434c1bad2e268c)
2025-03-08 01:26:07 +07:00
Cuong-Tran
7d38c10776
Fix: delegate nhentai failed to load cover
Site might intended putting cover's type 'w' in JSON while it's in fact using 'cover.jpg.webp'
2025-03-07 22:24:39 +07:00
NarwhalHorns
974cc4d239
Update track search preview (mihonapp/mihon#1825)
(cherry picked from commit 0e6d6c087e5a4d889b9153b390d8335d7add1e87)
2025-03-05 18:52:28 +07:00
Smol Ame
f1d4e030f9
Tweak and adjust issue template (mihonapp/mihon#1817)
Co-authored-by: BrutuZ <brutuz@users.noreply.github.com>
(cherry picked from commit 4f7122d6f09f87930ccd7dae7c557f4b236bbc4b)
2025-03-05 18:52:24 +07:00
AwkwardPeak7
4892e858f9
Fix webview crash caused by 6bfb80fe (mihonapp/mihon#1819)
(cherry picked from commit 9957fff2fbb6dad6f9df89bb2c16db34d9e4da96)
2025-03-04 22:38:44 +07:00
scb261
f0fcdbe816
Update website when a new version is released (mihonapp/mihon#1818)
(cherry picked from commit 1313ff7a16c46ed1e340918c1cff03a9d3e5edff)
2025-03-03 23:09:58 +07:00
Cuong-Tran
cb63c893f8
correct non-nullable of TrackMangaMetadata 2025-03-03 16:00:29 +07:00
AntsyLich
5a5b86d3c6
Add option to mark new duplicate read chapters as read (mihonapp/mihon#1785)
(cherry picked from commit cd0481592c09dc9cfb331805e90e6e5c3752a08c)
2025-03-03 14:34:16 +07:00
Jobobby04
a561d733cf
Guard against NPE in edit info dialog
(cherry picked from commit a64fe8121b4a7250473b7d07f1253783858d3acd)
2025-03-03 14:34:16 +07:00
lord-ne
aba3a30613
Use COMPLETE category when sync finishes (jobobby04/TachiyomiSY#1385)
(cherry picked from commit 8d062cecfd708978472b29fd2406ce5eea00d50d)
2025-03-03 14:34:16 +07:00
Cuong-Tran
249c4bb0c3
Improve Update view's UI & order (always show latest unread chapter first) (#743)
* adjust Updates view item height & caret animation

* reorder Updates view to always show unread chapter first

* revert to Book cover

* reorder read chapter showng latest chapter first

* adjust carret position
2025-03-03 14:34:09 +07:00
Cuong-Tran
84f3826fe8
Hide excluded scanlators from Update view (#742)
* Hide excluded translators from update view

* also migrate database
2025-03-03 14:34:09 +07:00
Cuong-Tran
d4c4686ad1
Merge query for UpdateView & LibraryView (#741)
Remove the inline-code and move it to database

* merge queries for Updates view

* merge queries for Library view

* add comment

* fix spotless

* also migrate database
2025-03-03 14:33:41 +07:00
Weblate (bot)
778d901822
Translations update from Hosted Weblate (jobobby04/TachiyomiSY#1379)
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/as/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/de/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/fil/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/id/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/it/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ja/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/ru/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/tr/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/vi/
Translate-URL: https://hosted.weblate.org/projects/mihon/tachiyomisy/zh_Hant/
Translation: Mihon/TachiyomiSY

Co-authored-by: Corrado Belmonte <corrado.spam@gmail.com>
Co-authored-by: Dexroneum <Rozhenkov69@gmail.com>
Co-authored-by: Eji-san <ejierubani@gmail.com>
Co-authored-by: Frosted <frosted@users.noreply.hosted.weblate.org>
Co-authored-by: Infy's Tagalog Translations <ced.paltep10@gmail.com>
Co-authored-by: Itsmechinmoy <itsmechinmoy@users.noreply.hosted.weblate.org>
Co-authored-by: Lyfja <45209212+lyfja@users.noreply.github.com>
Co-authored-by: Nam Pai <namhg911@gmail.com>
Co-authored-by: Shiratori <kuromaruhatake@gmail.com>
Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de>
Co-authored-by: quangpao <ddquangbao@gmail.com>
Co-authored-by: ɴᴇᴋᴏ <s99095lkjjim@gmail.com>
(cherry picked from commit 28cca4963523e98db2a40d3f29bdc1909f0b672a)
2025-03-03 14:33:41 +07:00
Cuong-Tran
876c952feb
Description showing which sources support batch-add (#740)
* Show description which sources support batch-add

* update remove merged entries text
2025-03-03 11:09:12 +07:00
AwkwardPeak7
6bfb80fe37
Spoof or remove X-Requested-With header from webview (mihonapp/mihon#1812)
(cherry picked from commit 793d7fbe40c87ed233da8cc99d544d01024ed4f5)
2025-03-03 10:48:11 +07:00
Smol Ame
2167ceba04
Update Issue Request Template (mihonapp/mihon#1808)
(cherry picked from commit d7a1ae27346a983f658fb88cb525cf8b785b3bb3)
2025-03-03 10:48:06 +07:00
Cuong-Tran
1520829cb8
update gitignore 2025-03-01 02:51:30 +07:00
Cuong-Tran
389601d2e2
update changelog 2025-03-01 01:19:41 +07:00
Cuong-Tran
181dc1d56e
cancel app update job if updater is not included in build 2025-03-01 00:54:23 +07:00
Cuong-Tran
b831349b37
update haze usage 2025-03-01 00:54:01 +07:00
renovate[bot]
73232c5364
Update dependency dev.chrisbanes.haze:haze to v1.4.0 (#738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 00:33:37 +07:00
renovate[bot]
7803bca619
Update dependency com.google.firebase:firebase-bom to v33.10.0 (#737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 00:19:56 +07:00
renovate[bot]
a31a64cc7c
Update dependency io.mockk:mockk to v1.13.17 (#736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 00:19:44 +07:00
Cuong-Tran
c5be11aec5
Fix Comick recommendations failed due to empty cover list (#735) 2025-02-27 19:23:40 +07:00
AntsyLich
8cd3243709
Remove alphabetical category/feed sort option (mihonapp/mihon#1781)
Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit 2b0c28938bfd74577d2ff0736b2cc72f4e4705cf)
2025-02-27 17:13:27 +07:00
renovate[bot]
d4157803ac
Update dependency com.android.tools.build:gradle to v8.8.2 (#731)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 15:43:27 +07:00
renovate[bot]
9da7e80a89
Update dependency androidx.activity:activity-compose to v1.10.1 (#729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 15:43:18 +07:00
renovate[bot]
754bd9e3f7
Update dependency androidx.exifinterface:exifinterface to v1.4.0 (#732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 15:43:11 +07:00
renovate[bot]
2f85f477bd
Update dependency androidx.constraintlayout:constraintlayout to v2.2.1 (#730)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 15:43:03 +07:00
Cuong-Tran
f5bbf962fa
turn off updater in Debug 2025-02-27 15:28:45 +07:00
Cuong-Tran
1d2064485f
turn off debug overlay by default 2025-02-27 15:28:26 +07:00
Cuong-Tran
bfbc4d44d9
remove build_pull_request_forked 2025-02-27 14:54:50 +07:00
renovate[bot]
5afc845f11
Update GitHub Actions (#713)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 14:54:50 +07:00
renovate[bot]
f03ddea41e
Update dependency gradle to v8.13 (#725)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 23:38:54 +07:00
renovate[bot]
d3ffedb381
Update dependency com.android.tools:desugar_jdk_libs to v2.1.5 (#724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 23:38:54 +07:00
renovate[bot]
ccaa47255e
Update dependency com.google.apis:google-api-services-drive to v3-rev20250216-2.0.0 (#709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 23:38:54 +07:00
renovate[bot]
7699fe0cd2
Update aboutlib.version to v11.6.3 (#706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 23:38:53 +07:00
Cuong-Tran
69adc4605e
Improve support for drag-and-drop category/feed reordering (mihonapp/mihon#1427) 2025-02-26 23:38:53 +07:00
Cuong-Tran
0a6caab64b
Add Xiaomi system app to list of invalid browsers (mihonapp/mihon#1776) 2025-02-26 23:38:53 +07:00
Roshan Varughese
013c40fbb3
Add option to export minimal library information to a CSV file (mihonapp/mihon#1161)
(cherry picked from commit fab8b17d99c44a08555b1f584c56d62a47737ca0)
2025-02-26 23:38:53 +07:00
AntsyLich
76b27ea4ba
Use .toUri() extension function
(cherry picked from commit 0dda64b9d80a47a96fb52d13b5e0ece6d5fca2b1)
2025-02-26 23:38:53 +07:00
MajorTanya
4214781af7
Add private tracking support for Kitsu (mihonapp/mihon#1774)
(cherry picked from commit 1dd81ef1e1b383f379f4e8e53d27a47cf7f0278f)
2025-02-26 23:38:53 +07:00
NarwhalHorns
8fe598d33e
Support for private tracking with AniList and Bangumi (mihonapp/mihon#1736)
Co-authored-by: MajorTanya <39014446+MajorTanya@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 49b2b346b65c2631a8369c8f6643e945720770de)
2025-02-26 23:38:53 +07:00
MajorTanya
54eea7ccb7
Add "Monochrome" theme (mihonapp/mihon#1752)
This theme is mainly geared towards e-Ink displays with limited/no
colour capabilities. Previous themes like Yin & Yang would make heavy
use of greyscale colours which could look off on some devices.

This theme is probably not conformant to Material Design 3 colour
scheme guidelines, but it does boast some amazing WebAIM contrast
ratios (#FFFFFF text on #000000 background gets a ratio of 21:1, vice
versa too).

Initially, this was intended as a purely black and white theme but
some contrast issues arose, such as the download badges (tertiary
background, onTertiary text colour) having the same colour as unread
badges (primary/onPrimary), or the step indicators (stops) not being
visible on sliders (since they use the colours of the opposite state
track (active region stops are the colour of the inactive region track and vice versa).

To mitigate this, each variant (dark/light) of the theme has one
additional grey mixed in for their tertiary and secondaryContainer
colours each. For the dark variant, this is a #A0A0A0 background for
#000000 text (8.03:1 contrast ratio) and for the light variant, it is
a #505050 background for #FFFFFF text (8.06:1 contrast ratio).
This results in distinct unread vs download badges and visible steps
in the sliders.

---------

Co-authored-by: Sunspark-007 <73711243+Sunspark-007@users.noreply.github.com>
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit 8b48d1016b851b425e4f66d44bca098220585c37)
2025-02-26 23:38:53 +07:00
Cuong-Tran
931b7c8b8b
correct non-nullable of TrackMangaMetadata & MUContext 2025-02-26 23:38:53 +07:00
MajorTanya
a1a0d40e91
Fix Bangumi login regression (mihonapp/mihon#1770)
Caused by mihonapp/mihon#1748.

Two different issues actually.

Firstly, the getUsername API call uses the authClient, which uses the
BangumiInterceptor to get the current OAuth data and attach the
Authorization header. However, on login, mihonapp/mihon#1748 did not try to set the
new auth details until after attempting to call getUsername.
This would cause Mihon to think the user was not authenticated with
Bangumi and cancel the process.

This is fixed by having Mihon store the OAuth credentials in the
interceptor first before attempting to call getUsername.

The second issue is a simple trailing dollar sign in the API URL for
the getUsername method. This was removed.

(cherry picked from commit badc229a2312c0c750c34631f303ac4ca970dc71)
2025-02-26 23:38:53 +07:00
MajorTanya
b9da0e57f1
Add back explicit update(track) call to Bangumi (mihonapp/mihon#1771)
Most if not all other trackers do this too. Technically this causes
some request duplication (since things like the BaseTracker's
setRemoteLastChapterRead fire anyway due to the tracker sheet being
open. But considering the reduced number of requests in other places,
I think this is still acceptable.

This change will allow mihonapp/mihon#1736 to proceed, hopefully.

(cherry picked from commit 277d8bad8e8d21cd74dc1681da09a4b980f455e0)
2025-02-26 23:38:53 +07:00
MajorTanya
4bb55a5104
Migrate to Bangumi's newer v0 API (mihonapp/mihon#1748)
This comes with many benefits:
- Starting dates are now available and shown to users
- Lays groundwork to add private tracking for Bangumi, e.g. in mihonapp/mihon#1736
- Mihon makes approximately 2-4 times fewer calls to Bangumi's API
- Simplified interceptor for the access token addition
  - v0 does not allow access tokens in the query string
- There is actively maintained documentation for it

Also shrunk the DTOs for Bangumi by removing attributes we have no
use for either now or in the foreseeable future. Volume data remains
in case Mihon wants to ever support volumes. But attributes such as
user avatars, nicknames, data relating to Bangumi's tag & meta-tag
systems, etc. have been removed or just not added to the DTOs.

Co-authored-by: cuong-tran <cuongtran.tm@gmail.com>
(cherry picked from commit a96fbba3dc354e363b85923c52feceb88dc34447)
2025-02-26 23:38:45 +07:00
Cuong-Tran
707d9854ec
Change backup proto & improve code of backup/restore category related preferences (mihonapp/mihon#1726)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
(cherry picked from commit e1724d1aa0e3340e1404cfd80bd264831d86a879)
2025-02-26 10:29:59 +07:00