Commit graph

5232 commits

Author SHA1 Message Date
c183802096
refactor(db): Migrate GetTrack to SQLDelight 2024-11-28 20:53:26 +07:00
5d2a08f2b0
chore(backup/create): Remove fixme note [skip ci]
The issues I was having with auto backup was caused by my device's Power
Saving, unfortunately I don't think there's a way around it...
2024-11-27 13:47:49 +07:00
34818eb7de
fix(settings/general): Incorrect sorting 2024-11-27 13:37:34 +07:00
65682bb5bd
refactor(locale): Simplify locale list parsing 2024-11-27 13:24:44 +07:00
0c6f86c1ae
fix(webview): Add imePadding 2024-11-26 23:04:13 +07:00
ba837c75e7
fix(webview): Don't try to get binding 2024-11-26 22:41:29 +07:00
arkon
5e84586ff5
refactor(webview): Replace WebView with its Compose counterpart
Co-authored-by: null2264 <palembani@gmail.com>
2024-11-26 22:26:33 +07:00
a199ff326d
refactor(db): Replace deleteHistoryNoLastRead StorIO with SQLDelight eqv 2024-11-26 09:05:36 +07:00
f14118a8c1
chore: Clean up 2024-11-26 08:50:16 +07:00
128e14882d
refactor(source/local): Convert to list after .map() 2024-11-26 08:42:33 +07:00
b8a2a4de47
chore(source/local): Create local dir when possible 2024-11-26 08:17:28 +07:00
7df619ac13
fix(source/local): Double orEmpty 2024-11-25 14:49:18 +07:00
8f9194c4a9
feat(source/local): Scan external storage for entries (GH-197)
An experimental feature that allow user to store local entries on `/storage/sdcard/Android/data/<yokai>/local/`
2024-11-25 14:44:57 +07:00
f9bfb0b423
refactor(DiskUtil): Simplify code 2024-11-25 13:18:37 +07:00
4f9e5bfe62
refactor(db): Replace some more StorIO queries with SQLDelight 2024-11-24 19:08:42 +07:00
nonproto
e9d22f4dba
fix: Up the delay for tryToSetForeground 2024-11-24 10:32:14 +07:00
6e76ab125e
fix(chapter): Read state is not saved 2024-11-23 20:37:29 +07:00
00b7ac6c25
sync: Sync project 2024-11-23 20:14:40 +07:00
5378d2a99b
refactor(db): Replace some more StorIO queries with SQLDelight
- Manga: db.getManga -> getManga.await*
- History
- Chapter: db.updateChapter* -> updateChapter.await; db.getChapter -> getChapter.await*
2024-11-23 19:28:59 +07:00
822cfa56a6
refactor(backup): Inject storageManager inside getAutomaticBackupLocation func 2024-11-23 08:12:26 +07:00
a7a6dc96d3
sync: Sync project 2024-11-23 07:46:03 +07:00
060b40e59d
fix: Crashes cause by Bangumi invalid status 2024-11-23 07:44:54 +07:00
d7160db53a
fix: Add modified version of RollingFileLogWriter 2024-11-22 19:02:38 +07:00
5fa5815541
fix: Some attempt 2024-11-22 17:04:08 +07:00
cea9da9c6d
fix: Disable log file for now 2024-11-22 15:46:22 +07:00
53ea5bafee
fix: Log file is not being created 2024-11-22 15:31:15 +07:00
b1766ebb94
feat: Write logs to file 2024-11-22 12:57:52 +07:00
Cuong-Tran
350c5f35dd
fix: Fix app update error notification disappearing 2024-11-22 07:56:29 +07:00
95504d7582
chore(reader): Adjust error handler for webtoon too 2024-11-21 14:00:03 +07:00
AntsyLich
9322836e48
refactor(reader): Improve hardware bitmap threshold option 2024-11-21 13:50:09 +07:00
37ba0634ac
docs: Some note [skip ci] 2024-11-21 13:31:11 +07:00
d25a857b7a
feat(reader): Debug mode 2024-11-21 11:31:49 +07:00
b1f2c30892
chore(settings): Add "danger zone" category 2024-11-21 10:28:29 +07:00
d163dc500c
fix: Revert the check for now 2024-11-21 00:06:15 +07:00
1f17965d24
fix: Wrong value 2024-11-20 23:50:49 +07:00
AntsyLich
fd73958923
feat: Add option to lower the threshold for hardware bitmaps 2024-11-20 23:31:53 +07:00
27002a20ef
docs: FIXME note [skip ci] 2024-11-20 22:26:01 +07:00
d003e85b6b
fix: Regression caused by 01fcd7d122 2024-11-20 22:19:41 +07:00
74168c0f1d
fix: Wrong variable name 2024-11-20 22:02:14 +07:00
AntsyLich
01fcd7d122
fix: Switch to hardware bitmap in reader only if device can handle it 2024-11-20 21:56:00 +07:00
fbe2d8c701
refactor(metadata): Simplify code 2024-11-20 20:20:39 +07:00
AntsyLich
736b4e6b68
fix: Handle Android SDK 35 API collision 2024-11-20 14:32:08 +07:00
renovate[bot]
5996a8a863
fix(deps): Update shizuku to v13 (major) (#256)
* fix(deps): Update shizuku to v13

* fix: Use reflection to fix shizuku

* docs: Sync changelog [skip ci]

* fix: Ignore shizuku's minSdk

We have desugaring enabled

* fix: Missing import

* fix: Move newProcess declaration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jobobby04 <jobobby04@users.noreply.github.com>
Co-authored-by: Ahmad Ansori Palembani <palembani@gmail.com>
2024-11-20 14:02:15 +07:00
Redjard
fa0e565fa5
fix: Fix shizuku being buggy for multi user setups
Fetch the current userid separately because shizuku always runs as the main user and would otherwise install and update for the main user
2024-11-20 13:26:47 +07:00
renovate[bot]
14efd1b96d
fix(deps): Update xml.serialization to v0.90.3 (#254)
* fix(deps): Update xml.serialization to v0.90.3

* fix: Fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ahmad Ansori Palembani <palembani@gmail.com>
2024-11-20 13:19:31 +07:00
6dc5c1e608
fix: Fix build 2024-11-20 11:40:27 +07:00
MajorTanya
7ee44f1fe5
feat(tracker): Some improvements to Bangumi tracker search
In short:
- fetch & show actual summary
- fallback to "name" if "name_cn" is empty
- request larger responseGroup to get & display the summary & rating
- add type filter query param to make Bangumi filter, not us

Previously, we only displayed the "name" in the summary area and used
"name_cn" as the entry name. However, "name_cn" (Chinese name) can be
an empty string at times, resulting in an awkward looking search
result list where some, many, or even all the results have no title
displayed and only show the "name" (Japanese name) in the summary
area. This has been solved by using "name" as a fallback value should
"name_cn" be empty.

If a Chinese name is available, the original name is prepended to the
summary with the addition "作品原名:" (meaning "original series title").

By using the "responseGroup=large" query parameter, we can request
the required data we need to display the actual summary for an entry
and the entry's average rating.
The "name" is prepended to the summary contents, if any exist, so it
is still accessible for series identification if a "name_cn" exists
too and was used for the result title.

Adding the "type=1" filter query parameter means Bangumi will only
return entries of type 1 ("book") instead of all types and Mihon
needing to filter, resulting in potentially missed entry matches.
2024-11-20 11:32:06 +07:00
76de509ae5
chore(reader): Adjust error handler 2024-11-20 08:14:25 +07:00
dbdafafba7
sync: Sync project 2024-11-19 08:46:13 +07:00
0a7a65aa33
fix(GH-228): Fixed filtered scanlator not working properly 2024-11-19 08:17:53 +07:00