arkon
f754b081ce
Use data class to parse extensions list
2021-09-25 14:57:54 -04:00
arkon
4b2a9bc621
Clean up imports
2021-08-27 16:45:59 -04:00
Long
0ab0dd95ae
DNS-over-HTTPS (Adguard) ( #5715 )
...
* Update DohProviders.kt
* Update NetworkHelper.kt
* Update SettingsAdvancedController.kt
* fix typo
* Fix typo
* Fix typo
2021-08-15 11:20:52 -04:00
arkon
71d225c562
Address some build warnings
2021-06-05 17:49:20 -04:00
arkon
3d9383ce67
Try to avoid some Webview-related crashes
...
Related to #5218
2021-05-28 22:38:36 -04:00
arkon
70d9b0c390
Organize some classes
2021-05-24 12:34:54 -04:00
Gauthier
e57a999c9c
pull the rate limit interceptors from the extensions repo ( #5163 )
...
apply a rate limit to anilist, current limit is 90 per minute
2021-05-24 11:29:20 -04:00
arkon
0afe3011bc
Better handling of coroutine cancellations for http calls
...
Based on b94b7eeb6d
2021-04-28 08:53:41 -04:00
Ivan Iskandar
93e6136795
Use Coil ( #4870 )
...
* Use Coil
* Remove coil-transformations lib
* Add MangaCoverFetcher
* Remove Glide
* MangaCoverFetcher: Allow skipping custom cover usage
* Adjust coil caching policy for some non-library items
* Allow coil to use RGB565 only on low ram devices
* Fix image loading progress view not showing
a
* Increase coil crossfade duration
Same as default glide duration
* Add back request clearing
2021-04-28 08:32:00 -04:00
arkon
71c9df5279
Lint fixes
2021-04-27 17:46:34 -04:00
arkon
89619b7836
Drop support for Android 5.x
2021-04-27 09:29:05 -04:00
arkon
b2d4e5ab84
Add Google DoH provider
2021-04-11 13:10:03 -04:00
arkon
f7a6cbe5e2
Revert "Drop support for Android 5.x"
...
This reverts commit 443024cebb
. Guess I'll do this a bit later so scb can get another major update first.
April Fools or whatever.
2021-03-31 22:20:59 -04:00
arkon
443024cebb
Drop support for Android 5.x
...
It's 5-6 years old, and only accounts for 2% of users in the Firebase analytics.
2021-03-30 23:15:17 -04:00
arkon
747879b4ec
Remove __cfduid cookie check
...
As per email:
Cloudflare is deprecating the __cfduid cookie and the cf-request-id headers. The __cfduid cookie will be removed on 10 May 2021 and the cf-request-id headers will be removed on 1 July. We expect that most customers will not have to take action as a result of this removal. [...] Starting on 10 May 2021, we will stop adding a “Set-Cookie” header on all HTTP responses. The last __cfduid cookies will expire 30 days after that.
2021-03-14 16:24:14 -04:00
arkon
3566072f4a
Revert attempt to programmatically determine user agent string; fallback to Edge
2021-02-07 17:54:28 -05:00
arkon
0685382083
Extract user agent string from WebView
2021-01-23 15:57:59 -05:00
arkon
17b70ab38c
Refactor Kitsu API to remove Retrofit usage
2021-01-04 12:13:14 -05:00
arkon
2e8791a101
Refactor tracker response parsing
2020-12-27 17:46:14 -05:00
arkon
8f98055e9e
Refactor response parsing helper function
2020-12-27 10:22:24 -05:00
arkon
61a594493c
Remove usage of Retrofit for update check and extensions list
2020-12-26 16:59:24 -05:00
arkon
1268caf3e0
Make OkHttp coroutine calls always throw exceptions on errors
2020-12-24 15:36:57 -05:00
arkon
76f6fe4601
Use Kolinter Gradle plugin for linting instead of ktlint directly
2020-09-13 18:48:20 -04:00
arkon
9920ff617b
Clean up X-Requested-With change
...
This only really affects the initial request, subsequent requests may still use the package name.
2020-08-22 12:49:00 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts ( #3681 )
2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa
Automatic linting fixes
2020-08-13 09:02:15 -04:00
arkon
4857073f30
Revert "Use AndroidX WebKit library"
...
This reverts commit 7e7eb9f39f
.
2020-08-02 16:12:05 -04:00
arkon
ccc0a61158
Shift WebView checks to necessary places only to allow for basic usage
2020-07-31 14:27:35 -04:00
arkon
a928d9fa0b
Enable more WebView settings to better mimic regular browser
2020-07-12 22:40:51 -04:00
arkon
963cf4c996
Fallback to default UA string for all network requests
2020-07-04 10:33:31 -04:00
arkon
b3f5f13c39
Lazily instantiate Cloudflare client
2020-06-24 18:07:29 -04:00
arkon
3645d19135
Add advanced option for DNS over HTTPS via Cloudflare ( closes #3377 )
2020-06-23 22:42:53 -04:00
arkon
3b4b1185e2
Add network header logging in debug builds
2020-06-23 22:26:37 -04:00
arkon
7e7eb9f39f
Use AndroidX WebKit library
2020-06-10 23:01:11 -04:00
arkon
bf5065d16b
Minor cleanup, remove some usages of ArrayList
2020-05-30 23:42:11 -04:00
arkon
1d51b06d3e
Increase default connect/read timeouts
2020-04-28 09:10:12 -04:00
arkon
3f63b320c4
Linting fixes
2020-04-25 14:24:45 -04:00
arkon
96618e9517
[CI SKIP] More consistent "WebView" wording
2020-04-19 20:53:31 -04:00
Thiago França da Silva
bd2dfaad2e
Add an UserAgent Interceptor to Cloudflare Client ( #2685 )
2020-03-09 14:10:10 -04:00
arkon
fb00929ee9
Minor cleanup
2020-03-08 22:38:38 -04:00
Thiago França da Silva
fb5da15746
Fix Cloudflare Interceptor when User-Agent is Empty ( #2677 )
2020-03-08 22:34:57 -04:00
arkon
0ac33b64b1
Merge branch '0.8.x'
...
# Conflicts:
# app/build.gradle
# app/src/main/java/eu/kanade/tachiyomi/data/backup/models/Backup.kt
# app/src/main/java/eu/kanade/tachiyomi/data/database/queries/TrackQueries.kt
# app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferenceKeys.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/TrackManager.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/TrackService.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/Anilist.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistApi.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/AnilistInterceptor.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/anilist/OAuth.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/Bangumi.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/BangumiApi.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/bangumi/OAuth.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/Kitsu.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/kitsu/OAuth.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/myanimelist/MyAnimeList.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/OAuth.kt
# app/src/main/java/eu/kanade/tachiyomi/data/track/shikimori/Shikimori.kt
# app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterJob.kt
# app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubApi.kt
# app/src/main/java/eu/kanade/tachiyomi/network/AndroidCookieJar.kt
# app/src/main/java/eu/kanade/tachiyomi/network/CloudflareInterceptor.kt
# app/src/main/java/eu/kanade/tachiyomi/network/NetworkHelper.kt
# app/src/main/java/eu/kanade/tachiyomi/network/OkHttpExtensions.kt
# app/src/main/java/eu/kanade/tachiyomi/network/ProgressListener.kt
# app/src/main/java/eu/kanade/tachiyomi/network/ProgressResponseBody.kt
# app/src/main/java/eu/kanade/tachiyomi/network/Requests.kt
# app/src/main/java/eu/kanade/tachiyomi/source/CatalogueSource.kt
# app/src/main/java/eu/kanade/tachiyomi/source/Source.kt
# app/src/main/java/eu/kanade/tachiyomi/source/SourceManager.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/Filter.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/FilterList.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/MangasPage.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/Page.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/SChapter.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/SChapterImpl.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt
# app/src/main/java/eu/kanade/tachiyomi/source/model/SMangaImpl.kt
# app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSource.kt
# app/src/main/java/eu/kanade/tachiyomi/source/online/HttpSourceFetcher.kt
# app/src/main/java/eu/kanade/tachiyomi/source/online/LoginSource.kt
# app/src/main/java/eu/kanade/tachiyomi/source/online/ParsedHttpSource.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/NucleusController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorDelegate.java
# app/src/main/java/eu/kanade/tachiyomi/ui/base/presenter/NucleusConductorLifecycleListener.java
# app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/filter/SortGroup.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardAdapter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/global_search/CatalogueSearchCardItem.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/ChangeMangaCategoriesDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/DeleteLibraryMangasDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryAdapter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryAdapter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryCategoryView.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryGridHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryItem.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryListHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryNavigationView.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibrarySort.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/main/ChangelogDialogController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterItem.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersAdapter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersPresenter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeleteChaptersDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DeletingChaptersDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/DownloadChaptersDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetDisplayModeDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/SetSortingDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoPresenter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackChaptersDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackScoreDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/SetTrackStatusDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackAdapter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackPresenter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchAdapter.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackSearchDialog.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/more/AboutController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/reader/loader/HttpPageLoader.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/recent_updates/RecentChaptersController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsGeneralController.kt
# app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsMainController.kt
# app/src/main/java/eu/kanade/tachiyomi/widget/ExtendedNavigationView.kt
# app/src/main/res/drawable/ic_book_white_24dp.xml
# app/src/main/res/layout/categories_controller.xml
# app/src/main/res/layout/chapters_controller.xml
# app/src/main/res/layout/navigation_view_checkbox.xml
# app/src/main/res/layout/navigation_view_group.xml
# app/src/main/res/layout/pref_item_source.xml
# app/src/main/res/layout/reader_activity.xml
# app/src/main/res/layout/track_item.xml
# app/src/main/res/values/strings.xml
# build.gradle
2020-02-29 17:52:49 -05:00
Mike
72920130c0
CloudflareInterceptor update ( #2537 ) dcd3c709
Mike <51273546+SnakeDoc83@users.noreply.github.com> Jan 25, 2020 at 16:37
2020-02-29 13:17:12 -05:00
arkon
c4dad1c20b
Unix line endings
2020-02-29 13:03:29 -05:00
arkon
0f2d480036
More linting fixes
2020-02-26 18:12:44 -05:00
arkon
043e3784e8
Run linter
2020-02-26 18:03:34 -05:00
arkon
5b24a8f21d
Revert usage of AndroidX Webkit library ( closes #2611 )
2020-02-21 18:36:05 -05:00
arkon
3ecc883944
Run default Android Studio formatter on code
2020-02-17 17:23:37 -05:00
arkon
abb2e231f6
Switch to AndroidX Webkit library
2020-02-15 17:30:30 -05:00
arkon
a50a3df716
Only show Webview update prompt if CF bypass fails
2020-02-11 18:36:51 -05:00