d02f1bdd11
refactor: Don't use context receiver
...
Deprecated on Kotlin 2.x, scheduled for removal in v2.1.x, will be replaced with context parameters
REF: https://github.com/Kotlin/KEEP/issues/259#issuecomment-2278319746
REF: https://youtrack.jetbrains.com/issue/KT-67119/Migration-warning-from-context-receivers-to-context-parameters
REF: https://github.com/Kotlin/KEEP/issues/367
2025-01-01 07:10:30 +07:00
c09c4045e2
refactor: Rework buildSrc
...
Co-authored-by: AntsyLich <59261191+antsylich@users.noreply.github.com>
2024-12-25 10:37:47 +07:00
17eec5f6aa
revert: "refactor(archive): Move stuff around"
...
This reverts commit e19d048bb1
.
2024-12-19 07:18:14 +07:00
263603616e
fix: Don't target iOS
...
We're not doing this anytime soon
2024-12-15 21:22:46 +07:00
6c1d8d5011
revert "refactor: Some multiplatform bs"
2024-12-15 21:19:28 +07:00
AntsyLich
d800f183e7
chore: Bump default user agent
2024-12-01 08:27:22 +07:00
MajorTanya
e9a68f661f
fix: Add weird Honor app to list of invalid browsers
2024-11-28 11:25:24 +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
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
cdea102fcb
fix: Deprecated function
2024-11-21 11:48:23 +07:00
15ca197c4e
chore: Don't use generic log message
2024-10-10 09:32:47 +07:00
Ahmad Ansori Palembani
9d858cc810
refactor: Replace Injekt with Koin (Experiment) ( #191 )
...
* refactor: Use Koin
An experiment, aims to ditch Injekt and replace it with Koin while providing Injekt API facade for extensions
* fix: Mimic "InjektScope"
* fix: Mimic more classes
Completely fixed source search
* refactor(deps): Use Injekt-Koin library
* fix(r8): Keep Koin
2024-09-19 13:18:02 +07:00
5a1a7063b2
feat: Verbose logging
2024-09-02 09:40:54 +07:00
3199f07363
refactor: Some multiplatform bs
2024-08-27 09:35:05 +07:00
3d7b6b88be
fix(archive): Move common code to android
...
Since these codes still relies heavily on java and iOS doesn't have java support.
2024-08-26 15:25:01 +07:00
c7405e0b33
chore(network): Sync doh provider with upstream
...
Also, actually use all the DoH providers. Not sure why only up to Quad9 is actually being implemented.
2024-08-26 08:02:07 +07:00
ce9a3ea399
refactor(network): Preserve original exception
2024-08-26 07:41:33 +07:00
195613cb1e
refactor(network): Simplify helper
...
Co-authored-by: arkon <arkon@users.noreply.github.com>
2024-08-26 07:33:37 +07:00
arkon
5bd2190980
chore: Don't unnecessarily wrap IOExceptions in UncaughtExceptionInterceptor
2024-08-26 07:08:04 +07:00
c9b302ab21
refactor: Add cover_last_modified
2024-08-17 14:26:57 +07:00
f15fbdc8cb
fix(preference): Minus and Plus assign missing set(...) call
2024-08-16 07:06:22 +07:00
93962b2649
feat(core/preference): Add Darwin implementation
...
Yoinked from my college final project
2024-08-08 07:48:57 +07:00
fb6ee8271f
chore: Vivo notch (pre-Android P) internal API [skip ci]
2024-08-02 09:03:05 +07:00
7fdb4b7c69
chore: Bump default user agent string
2024-07-31 06:47:12 +07:00
3b60b0069b
fix(source/local): Crash when trying to read EPUB file
...
FileInputStream have a safeguard that prevent it from being closed twice, ArchiveInputStream doesn't have that.
Fixes GH-115
REF:
- Jsoup parse javadoc: "in: InputStream – input stream to read. The stream will be closed after reading"
2024-06-30 10:08:49 +07:00
f824583c3f
chore: Explicitly set flavour dimension to "default"
2024-06-27 20:49:58 +07:00
a149d5aeec
chore(deps): Converted more gradle plugins to use version catalog
2024-06-27 19:13:26 +07:00
cbdd16f6d4
chore(deps): Update agp to v8.5.0
...
Also convert some plugins to use version catalog
2024-06-27 19:08:12 +07:00
e19d048bb1
refactor(archive): Move stuff around
...
Hopefully this makes it easier for me to make it KMM compatible in the future
2024-06-27 12:16:18 +07:00
FooIbar
17465f2719
refactor: Use libarchive for Archive support
...
Co-authored-by: Ahmad Ansori Palembani <palembani@gmail.com>
2024-06-27 10:03:41 +07:00
Ahmad Ansori Palembani
875100dd6c
refactor: Migrate i18n to use Moko Resources ( #110 )
...
* fix(deps): "String index out of range" compile error
REF: https://github.com/icerockdev/moko-resources/issues/732
* refactor(i18n): Simplify gradle
* refactor: Migrate i18n files to moko-resources
Also split plurals to their own files
* fix: Only use firebase on releases
* revert: Revert "fix: Only use firebase on releases"
This reverts commit e4f40b450a
.
* ci: Just build standard release
* refactor: Fully migrate to Moko Resources for i18n
2024-06-24 13:46:42 +07:00
3fa07609bb
refactor: Move MokoExtensions to i18n module
2024-06-23 18:07:50 +07:00
a95e95ce66
fix: Fix compile failure
2024-06-23 09:55:32 +07:00
4a7077a9b5
fix(core): Move default user agent to common
...
Also updated user agent
2024-06-23 08:28:48 +07:00
b29d51e30e
chore(deps): Kotlin 2.0
2024-06-23 08:18:24 +07:00
ff08e19880
refactor: Move file that supposed to be in common
...
Also rename launchNonCancellable to launchNonCancellableIO and change the comment in LibraryPresenter to be more accurate.
2024-06-20 09:45:46 +07:00
ebd3213c3d
chore(deps): Move some dependency to common
2024-06-18 19:26:49 +07:00
d5651573b0
chore(deps): Remove some deps that already covered by core module
2024-06-17 19:28:24 +07:00
b43fccacd7
refactor: Split security preferences from PreferencesHelper
2024-06-17 14:19:53 +07:00
4a9a7813e0
chore: Some more effort moving widget to its own module
2024-06-17 13:21:27 +07:00
2b46f94a5a
revert: Revert "Revert "Modularize the app""
...
This reverts commit f59f2346dc
.
2024-06-16 18:44:15 +07:00
f59f2346dc
revert: Revert "Modularize the app"
...
Epic fail, not sure what happened, but I am sure that I don't want to spend the rest of the day debugging no error crash, I'll just try again later. It is what it is, I guess...
2024-06-16 13:26:29 +07:00
Ahmad Ansori Palembani
24ce2683d4
refactor: Modularize the project ( #97 )
...
* refactor: Modularize the project
* chore: Move okhttp stuff back to androidMain
OkHttp decided to cancel multiplatform plan on 5.0
REF: https://square.github.io/okhttp/changelogs/changelog/#version-500-alpha13
* feat: Start using moko for i18n
* fix: Solve some errors
* chore: Remove manga from domain module
We'll do this later
* fix: Duplicate error
* fix: Conflict function name error
* fix: Target SManga
* fix: Breaking changes after the split
* fix: Not enough heap memory
* chore: Update proguard rules
Sorta similar to upstream
* refactor: Fix namespace
2024-06-16 09:34:02 +07:00