Commit graph

219 commits

Author SHA1 Message Date
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
2471f454f8
fix(deps): Update compose to *-beta04
REF: https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.7.0-beta04
2024-06-27 07:41:05 +07:00
a5394c7022
fix(deps): Attempt 2 trying to fix https://issuetracker.google.com/343750859 2024-06-26 06:27:03 +07:00
be0f64f28c
revert: Revert "chore(deps): Update gradle to v8.8"
This reverts commit e979346d96.

I'll deal with this later, since gradle is painful to fix
2024-06-25 21:00:00 +07:00
e979346d96
chore(deps): Update gradle to v8.8 2024-06-25 20:44:11 +07:00
12b69992d9
fix(deps): Use snapshot compose
REF: https://issuetracker.google.com/issues/343750859
REF: 3137316
2024-06-25 20:26:47 +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
b29d51e30e
chore(deps): Kotlin 2.0 2024-06-23 08:18:24 +07:00
1cced95526
chore(deps): Update unifile 2024-06-18 18:53:46 +07:00
fc171c1e0a
refactor: Move database related stuff to data module 2024-06-17 16:15:20 +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
9eef555fee
test: Unit test for Migrator
Co-authored-by: Andreas <andreas.everos@gmail.com>
Co-authored-by: "Cuong M. Tran" <cuongtran.tm@gmail.com>
2024-06-15 12:06:45 +07:00
a8b1c7f05e
refactor: Implement the log writer myself
Kermit's official crashlytics integration enable firebase way too early.
2024-06-13 18:52:47 +07:00
3b2fa5d542
chore(deps): Update and Kermit Crashlytics 2024-06-12 08:50:48 +07:00
981c92043f
style: Fix styling 2024-06-10 12:56:16 +07:00
9d0cefa11f
feat: Composable Data and storage Settings 2024-06-10 12:23:53 +07:00
2c2daa0cd7
fix: Immutables 2024-06-09 16:11:53 +07:00
69d78d6f02
chore(deps): Update okhttp monorepo to v5.0.0-alpha.14 2024-06-09 16:00:06 +07:00
555bcecfbc
refactor: Use Kermit instead of Timber 2024-06-09 15:44:21 +07:00
d0baff197c
refactor: Remove Material 2 2024-06-06 12:32:57 +07:00
Ahmad Ansori Palembani
41a46ba0f8
refactor: Migrate "database migrations" to use SQLDelight (#73)
* chore: Preparing SQLDelight

* chore: Specify some config for SQLDelight

* fix: Commit the thing bruh

* refactor: Migrate (some) sql to SQLDelight

* refactor: Migrate the rest of sql migration to SQLDelight

* chore: Update SQLite to v3.45.0

* refactor: Retrofitting StorIO to work with SQLDelight

* refactor: Removed unnecessary code, already handled by AndroidSqliteDriver

* fix: Database lib too old to use FrameworkSQLiteOpenHelper

* chore: Revert downgrade
2024-06-03 14:00:12 +07:00
579484eba4
refactor: Bundle androidx 2024-05-31 06:02:38 +07:00
66ac6201e5
chore: Prepare ComicInfo 2024-05-29 07:59:12 +07:00
997cbd9103
fix: LocalSource not loading chapter
Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com>
2024-05-29 06:32:07 +07:00
d086df7287
feat: Onboarding screen (partial) 2024-05-26 16:52:06 +07:00
8d7f7c19a0
chore: Update UniFile 2024-05-26 08:47:08 +07:00
bf368e88ed
chore: Update dependencies 2024-05-25 21:01:08 +07:00
154c715287
fix: Test not actually running 2024-05-24 09:02:49 +07:00
b28f905d10
refactor: Migrate to JUnit 5 2024-05-24 07:46:20 +07:00
3412806bfc
refactor: Switch to Coil3 2024-05-23 20:38:59 +07:00
0722cb2f2d
test: Update checker
Also fixed bug found from the test unit
2024-05-22 12:28:29 +07:00
c3faccacd2
chore: Update SSIV and Image Decoder 2024-05-21 11:28:07 +07:00
04078084bd
refactor: Backport Android 12 SplashScreen to older Android versions
Fixes GH-20
2024-02-07 11:52:25 +07:00
b8ccdf5f6e
fix: Missing function 2024-02-03 17:22:25 +07:00
d1e2fd2059
fix: Switch SSIV 2024-02-03 16:39:57 +07:00
01c7795312
chore: Update SSIV 2024-02-03 16:26:11 +07:00
c3713710c8
fix: Dependency hash 2024-02-03 15:03:33 +07:00
747b7bc92b
chore(deps): Bumps image-decoder 2024-02-03 14:56:02 +07:00
2b8fd9d45e
fix: Hacky way to fix visual glitch after dismissing dialog
Not sure why, but alpha turn to 0.0f after dialog is dismissed
2024-01-14 10:50:05 +07:00
534642ea57
feat: Extension repo backend 2024-01-12 21:08:09 +07:00
d03481a348
feat: Bridge XML theme to Compose 2024-01-11 16:27:28 +07:00
af87ccf8f1
refactor: Migrate to upstream's preference abstraction 2024-01-10 17:07:58 +07:00
9a2815d277
refactor: Migrate to gradle version catalog 2024-01-10 12:10:43 +07:00
Jays2Kings
9e9316606f Update gradle-wrapper.properties 2023-10-11 10:23:07 -07:00
Jays2Kings
3140361452
Targeting SDK 33 (Android 13) (#1525)
* starting workmanager updates

* Update Download service to download job

Also making downloader use suspend methods like upstream

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>

* Make BackupRestorer a job

* Make LibraryUpdateJob a datasync service type

* Changing Extension auto installer to a job instead of service

* Changing App auto installer to a job instead of service

With it theres no more services, and nearly ready to up the target sdk

* Add runtime permission for notifications

Shows permission when adding to library, seeing the app update in app prompt, or loading library or recents
Tries to show the permission again (or a warning message) when trying to restore a backup or set library update timing
Same warning messages shows when not allowing notifications

* Set target sdk to 33

we made it.

* Clean up ContextExtensions

* Add notification check for incognito mode

* Add last updated timestamp to updates job

* Update LibraryUpdateJob.kt

minor changes to the notifier's placeholder, and making sure it uses localeContext for versions under A13

* update channel logic in library updater

* Change library update channel to just take a Long instead a whole Manga

* Use extensionManager flow in ExtensionInstallerJob

* Update MainActivity.kt

* Fixes to downloadFlow

* reworking running extensions after library update logic

* Change update channel to shared flow in library job

* More updates to the library updates flow

no longer using a suspend, instead holding a buffer for the flow

* updates to the flow in extensionInstaller

from state to shared, also using "tryEmit" less for it

* Fix extension auto installing notification not dismissing/dismissable

* Version 1.7.0

* Update AppDownloadInstallJob.kt

* Refactor DownloadJob

* Version 1.7.0-b02

* Fix uninstalling extensions not refreshing the list

* Show notification permission prompt when pressing update all

* Chunked the extension install job in case too many extensions are being updated at once

The limit is around 62 extensions, but to be safe it runs 32 per job (which jobs still update 3 at a time)

Closes #1584

* Update Java Version

---------

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2023-07-31 16:19:43 -04:00
Jays2Kings
ff10d15f24 Update GDP to 7.4.1 2023-02-11 20:06:33 -05:00
Jays2Kings
b13777c2da Other gradle updates for ci/cd 2022-04-19 18:31:59 -04:00