Commit Graph

57 Commits

Author SHA1 Message Date
arkon
22e8050fff Handle Cloudflare in default network client and deprecate cloudflareClient 2023-07-15 09:34:20 -04:00
arkon
a629db2884 Address some build warnings 2023-07-14 23:08:45 -04:00
arkon
87bdee5990 Move SettingsItems composables to presentation-core 2023-07-10 17:25:52 -04:00
arkon
0ac5f3b93c Accept third party cookies in WebView instances
May help with Cloudflare.
2023-07-01 09:40:58 -04:00
arkon
e2d6269a38 Bump default user agent string 2023-06-23 22:23:56 -04:00
arkon
e323f3c25a Don't update last page read/read state of chapter if Incognito Mode is enabled
Actually closes , which I forgot was about history more than trackers.
2023-06-13 19:30:02 -04:00
arkon
431f8772f8 Address minor build warnings 2023-05-31 22:47:31 -04:00
arkon
8f4bc71cf7 Remove confirm exit option
Redundant with predictive back, but also just sort of pointless since it doesn't help
with any sort of app state retention.
2023-05-31 18:51:01 -04:00
arkon
46efd4c134 Fix some crashes 2023-05-27 09:53:01 -04:00
arkon
efdff9a21a Update minimum WebView version 2023-05-24 17:55:27 -04:00
arkon
1824adb2ed Update default user agent string 2023-05-24 17:54:16 -04:00
Ivan Iskandar
2c6e025063
Add more info to debug screen ()
* App version
* WebView version
* ART profile status
* Device model
* Android version
2023-04-18 22:59:27 -04:00
arkon
1814b3b22c Don't unnecessarily wrap IOExceptions in UncaughtExceptionInterceptor 2023-03-28 18:16:26 -04:00
arkon
953720472f Add "Rotate wide pages to fit" setting for paged reader
Originally authored in 

Co-authored-by: timothyng-164 <timothyng-164@users.noreply.github.com>
2023-03-24 22:49:35 -04:00
arkon
c6e5f8abd9 Bump default user agent string and minimum WebView version 2023-03-05 10:17:22 -05:00
Andreas
f27dc19b37
Move Local Source to separate module ()
* Move Local Source to separate module

* Review changes
2023-02-26 16:16:49 -05:00
arkon
26d422b0ae Avoid uncaught exceptions from OkHttp interceptors crashing entire app 2023-02-25 15:13:59 -05:00
arkon
fd7c993b0b Move CheckboxState to core module 2023-02-21 22:52:36 -05:00
arkon
93523ef50b Remove dependency injection from core module and data module from presentation-widget module
Includes side effects:
- No longer need to restart app for user agent string change to take effect
- parseAs extension function requires a Json instance in the calling context, which doesn't necessarily need to be the default one provided by Injekt
2023-02-20 19:02:38 -05:00
arkon
b49280e347 Remove unused Rx/Coroutines converters 2023-02-18 10:16:05 -05:00
stevenyomi
0d8f1c8560
Tweak Response.parseAs() to utilize intrinsics () 2023-02-07 22:10:28 -05:00
stevenyomi
7559c133c0
Call.await(): copy exception message when preserving error stack () 2023-02-01 11:09:35 -05:00
arkon
1730dd6af1 Move more things around 2023-01-27 22:31:12 -05:00
Andreas
2501fef9e4
Split UpdatesGridGlanceWidget into smaller bits ()
- Renamed Composables
- Moved Constants to core module
2023-01-27 14:49:57 -05:00
Andreas
12e41b6e6f
Move Glance Widget to seperate module ()
Move Widget to seperate module

- Create a core module for presentation. Widget and App will share some resources and hopefully composables
2023-01-26 17:53:24 -05:00
stevenyomi
448702e5be
OkHttp Call: split await() and awaitSuccess() () 2023-01-24 22:34:31 -05:00
Andreas
aee785a8bb
Move more implementation to data module () 2023-01-22 11:44:39 -05:00
Andreas
2b5d9fd76b
Move shared configuration to subprojects in root Gradle file ()
* Move shared configuration to subprojects in root Gradle file

* Missed but not forgotten

* Review changes
2023-01-20 23:04:22 -05:00
Andreas
c31e75f02f
Create plugin for linting () 2023-01-18 22:33:56 -05:00
arkon
a2ee4e63ae Minor cleanup 2023-01-12 22:53:28 -05:00
arkon
4cd01428ed Only show MIUI extension warning on MIUI >= 13
Related to 
2023-01-08 15:04:06 -05:00
arkon
addd6bffbd Bump default user agent string and minimum WebView version 2023-01-07 11:51:36 -05:00
arkon
db3c98fe72 Update OkHttp 2022-12-25 00:24:53 -05:00
arkon
2a2c6cee5f Allow zooming in WebView
Note that this does not force-enable zooming on pages with set viewports (which typically implies proper mobile scaling).
Closes 
2022-11-21 18:39:16 -05:00
arkon
d12ea86b55 Add shecan DoH provider
Closes 
2022-11-18 22:28:08 -05:00
arkon
21bc0f1952 Don't use default Lenovo "browser" handler 2022-11-09 19:43:52 -05:00
arkon
65387d0089 Bump default user agent string 2022-11-04 09:38:49 -04:00
stevenyomi
073e9f94ff
Reorder parameters of JSON parsing method () 2022-10-28 22:44:31 -04:00
arkon
fbda243c0d Avoid crashing during eager WebView init 2022-10-21 16:57:13 -04:00
stevenyomi
2d19729869
Clean up OkHttp methods and parse from Okio directly () 2022-10-18 12:09:23 -04:00
Ivan Iskandar
890f1a3c7b
Full Compose settings ()
* Uses Voyager for navigation.
* Replaces every screen inside settings except category editor screen since it's
called from several places.
2022-10-15 11:38:01 -04:00
arkon
26a42ba9c0 Upgrade to Kotlin 1.7.20
Also run formatter and address some deprecation warnings.
2022-10-11 22:40:08 -04:00
arkon
7be6863910
Add JavaScriptEngine abstraction to extensions-lib ()
This allows us to swap out the implementation in the future and on different platforms
without major changes to the extensions themselves.
2022-10-08 09:45:06 -04:00
stevenyomi
8b9a06e298
Requests: add GET(HttpUrl) overload ()
Requests: add GET(HttpUrl) overload
2022-09-28 17:35:58 -04:00
AntsyLich
e2ce3f68bf
Increase timeout duration of WebViewInterceptors () 2022-09-27 17:43:46 -04:00
stevenyomi
f4c684b4b8
Remove cache control on already cacheless image request () 2022-09-26 17:13:03 -04:00
AntsyLich
a35f947892
Cleanup webview interceptors ()
* Cleanup webview interceptors

* Review changes + Improvement

* Review Changes 2
2022-09-25 13:09:40 -04:00
arkon
f0af3858e8 Bump minimum WebView version and default user agent string 2022-09-25 10:55:10 -04:00
Andreas
b5dca2eb09
Move chapter preferences from PreferencesHelper to LibraryPrefrences () 2022-09-24 10:14:16 -04:00
Andreas
5cdcc1679f
Split backup preferences from PreferencesHelper () 2022-09-22 08:57:42 -04:00