Commit Graph

1675 Commits

Author SHA1 Message Date
morcefaster
31e2fe6a4c
Faulty preload fix (#2731)
* Condition for preload

* Added preload fix for webtoon viewer. Replaced incorrect last-page logic

* Requested refactoring

* Requested changes

* Requested changes
2020-03-18 09:45:22 -04:00
arkon
33c0c6ff3b Mostly revert back to old filled icons (#2723) 2020-03-16 17:55:53 -04:00
arkon
d65a8e84f0 Always recreate activity on light theme change (fixes #2720) 2020-03-16 17:27:55 -04:00
morcefaster
cd867f800e
Fix for perpetually loading chapters (#2718)
* Fix for perpetually loading chapters

* Removed page count check
2020-03-16 12:20:35 -04:00
arkon
fb897e37d1 Add download queue features from J2K fork 2020-03-15 22:42:40 -04:00
arkon
3e5a48e5e4 Use actual dialog title for tracker login dialogs 2020-03-15 17:31:36 -04:00
arkon
ef0b546d4c Replace more icons 2020-03-15 16:46:38 -04:00
morcefaster
088f8b8b54
Changed default pager zoom style to ZOOM_FOCUS_CENTER (#2713)
Changed default pager zoom style to ZOOM_FOCUS_CENTER
2020-03-15 16:02:40 -04:00
arkon
446c254bc8 Use immersive sticky flag when hiding reader UI (closes #2705) 2020-03-15 11:56:55 -04:00
arkon
e41edc1fb7 Pure white light theme 2020-03-15 11:36:38 -04:00
arkon
e77db309b8 Move filter icon tint color to resources 2020-03-15 11:05:11 -04:00
arkon
ace54f8175 Use outlined icons in settings 2020-03-14 15:46:36 -04:00
arkon
d7043bcaeb Use outlined icons in bottom nav and more controller 2020-03-14 14:00:07 -04:00
arkon
91f7056767 Bump updates/history limit to 3 months (closes #2702) 2020-03-14 13:33:45 -04:00
arkon
8299093bf8 Add dev notice about background jobs, move dialog titles for localization 2020-03-13 18:27:49 -04:00
arkon
a0dffcf51f Address some build warnings 2020-03-13 18:23:07 -04:00
arkon
b3daf7d760 Replace deprecated Gson JsonParser usages 2020-03-13 18:16:38 -04:00
arkon
724e1d33b6 Ensure background jobs are recreated after next stable update 2020-03-13 17:29:51 -04:00
arkon
7d0ea614da Migrate to MaterialComponents themes 2020-03-11 22:59:37 -04:00
arkon
cd1abb60d7 Fix overlapping shadow in history controller 2020-03-11 18:27:54 -04:00
arkon
937fb85376 Use accent color for refresh circle 2020-03-10 22:53:49 -04:00
arkon
208552f0b4 Tweak compact tracker card design 2020-03-10 21:13:55 -04:00
arkon
c7cdb950ce Simplify viewer check 2020-03-10 18:23:14 -04:00
arkon
921169b3ad Fix sheet pager setting visibility when default is webtoon 2020-03-09 19:51:38 -04:00
arkon
d7d3731567 Random kaomoji for empty view 2020-03-09 19:47:12 -04:00
arkon
d5ff5fd6f8 More consistent usage of visibility extensions 2020-03-09 18:42:41 -04:00
arkon
e195257d2a Update visible pager settings on change (fixes #2143) 2020-03-09 17:07:08 -04:00
arkon
466ec7b962 Compact tracker card 2020-03-09 16:27:23 -04:00
arkon
8bfe59c8a8 Change new chapters string key (closes #2686) 2020-03-09 16:03:57 -04:00
arkon
de512216c4 Start preloading next chapter if within last 3 pages instead of last page 2020-03-09 15:09:17 -04:00
morcefaster
9936b402a6
Added config to hide transition page when not needed (#2682)
* Added config to hide transition page when not needed

* Moved always_show_chapter_transition setting to General group
2020-03-09 14:36:29 -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
022cde2c00 Fix secure screen option subscription memory leak 2020-03-09 14:03:47 -04:00
MCAxiaz
07e2bdac81
Fix bug where status cannot be updated when all chapters have been read. (#2683)
Minor cleanup.
2020-03-09 11:32:59 -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
090a7794b5 Hide download/delete actions when sensible, make bookmark/read toggle actions 2020-03-08 17:42:50 -04:00
arkon
c63d8e7a30 Bottom action menu in chapters list 2020-03-08 17:37:42 -04:00
arkon
d6ea69a115 Action toolbar code cleanup 2020-03-08 17:23:26 -04:00
arkon
af2ef36d68 Bottom action menu in library 2020-03-08 15:50:07 -04:00
arkon
316211372c Tweak how bottom action menu is configured 2020-03-08 15:38:42 -04:00
arkon
9f8046324d Abstract bottom action menu code to main activity 2020-03-08 13:57:50 -04:00
arkon
af05c34da3 Bottom action menu for updates 2020-03-08 12:16:17 -04:00
arkon
a4410f3a02 Remove unnecessary lint suppression 2020-03-07 23:01:49 -05:00
arkon
c275adbb91 Remove chapter item popup menu 2020-03-07 23:00:29 -05:00
arkon
4061232fe3 Remove chapter updates popup menu 2020-03-07 22:46:13 -05:00
arkon
507471e318 Label Kitsu login field as email address instead of username 2020-03-07 22:19:45 -05:00
arkon
f0f613e2cf Reorder start screen options to match bottom nav 2020-03-07 18:01:37 -05:00
arkon
0ec8def0d8 Avoid passing max chapter number from tracker (fixes #2131) 2020-03-07 18:01:26 -05:00
arkon
e4dc84a5d8 Minor lint fixes 2020-03-07 17:01:53 -05:00
onlymash
5fb3b0e0e3
Show page number only when toolbar is hidden (#2601)
* Show pagenumber only when toolbar is hidden

* Fix fullscreen issue

* Remove unneeded dependency

* Fix menubar padding

* Revert ReaderSeekBar height

* Refine code

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-03-07 16:57:14 -05:00
arkon
2854fb5f6c Add shortcut to disabling battery optimization 2020-03-07 15:51:46 -05:00
arkon
a9adb2f1a2 Page # before scanlator in chapters list 2020-03-07 15:42:55 -05:00
arkon
51383afd50 Revert DialogController syncing change 2020-03-07 15:37:16 -05:00
arkon
4b02ecd6e8 Fix activity UI state when activity is killed (closes #2547) 2020-03-07 13:40:43 -05:00
arkon
1c978f64b1 Tweak saved filename byte size limiting logic
Based on comment from 6940ad3fd9
2020-03-07 13:15:35 -05:00
arkon
5e9496ef36 Enable app auto update by default 2020-03-07 13:11:02 -05:00
arkon
8b6268966e Pass context to get WorkManager instance 2020-03-07 13:06:06 -05:00
arkon
52434819c3 Add history date section headers 2020-03-06 23:14:30 -05:00
arkon
29eb87b7ef Rename recently read / recent updates classes/layouts to match new names 2020-03-06 22:55:44 -05:00
arkon
c38026886a Combine chapter date/scanlator lines 2020-03-06 22:46:21 -05:00
arkon
63e330b83d Use recognized chapter number boolean field for filter 2020-03-06 22:44:55 -05:00
arkon
164da0fd9f Hide bottom nav on non-root controllers 2020-03-06 22:14:24 -05:00
arkon
e30b1de100 Linting fixes: extend AppCompat classes 2020-03-04 22:37:15 -05:00
arkon
6940ad3fd9 Limit saved page filenames to 127 characters (fixes #2638) 2020-03-04 22:33:16 -05:00
arkon
8ae15141f6 Move security settings to separate section 2020-03-04 22:32:45 -05:00
arkon
4c10b9844b Change catalogue hiding dialog to accommodate more options in the future 2020-03-04 19:06:24 -05:00
arkon
f3d69599aa Add setting to hide manga content from update/download notifications 2020-03-04 18:55:19 -05:00
arkon
853bf3065a Minor code cleanup 2020-03-03 19:40:57 -05:00
arkon
8d712c81d4 Tweak manga favoriting logic
Fixes #2192 and #2489
2020-03-03 19:34:17 -05:00
arkon
a29f33020d Basic implementation of hiding catalogue by long pressing 2020-03-02 22:49:48 -05:00
arkon
fef34dfe82 Tweak new chapters notification wording 2020-03-02 20:20:01 -05:00
arkon
a3dd5c1e92 Tweak WorkManager task cancellation, add flex times 2020-03-02 19:04:57 -05:00
arkon
d873d653d0 Migrate to WorkManager 2020-03-01 13:22:16 -05: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
arkon
218313428f Add warning on update check for Android 4.x users 2020-02-29 16:30:40 -05:00
arkon
44b47b49bc Hide null file path on backup creation (closes #1515)
(cherry picked from commit 48d9ad00e1)
2020-02-29 16:24:19 -05:00
arkon
2f69317f5d Enforce maximum extension lib version of 1.2 2020-02-29 13:35:07 -05:00
arkon
e1eff7b744 Remove FAB animation files left over from bad cherry picking 2020-02-29 13:23:42 -05:00
arkon
3aa12281c3 Avoid crash on loading invalid extension
(cherry picked from commit 460fbb18c7)
2020-02-29 13:19:50 -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
0fd00331e1 Directly pass read chapter when updating tracker
(cherry picked from commit b642e019e8)
2020-02-29 13:13:49 -05:00
MCAxiaz
7a4763ee68 minor reader bugs: (#2491)
- fix preload on last page for R2L reader
 - page 3 bug

(cherry picked from commit 8b0458cdf6)
2020-02-29 13:12:31 -05:00
Jay
647a78b791 Build time now opens changelog
(cherry picked from commit 22bb3463593c060405694da39a0eb1f5ca1d6ba1)
(cherry picked from commit d1db9fb659)
2020-02-29 13:12:21 -05:00
mutsumi
005ac9e732 fix bangumi track will override record to 0 after every track search(bind) (#2486)
* fix bangumi track : the update status api must be called before update chapter api

* fix bangumi track will override record to 0 after every track search(bind)

(cherry picked from commit 427d2fed8c)
2020-02-29 13:11:50 -05:00
arkon
c40e4f6c5a Provide more human readable error when downloading to invalid directory (#2462)
(cherry picked from commit 13a2d3dfdd)
2020-02-29 13:10:55 -05:00
andrecsilva
a24d670f54 Made 'Default' category selectable in global update settings (#2318)
(cherry picked from commit b55814a1c0)
2020-02-29 13:08:51 -05:00
mutsumi
51e049ab78 fix bangumi tracker crash in searching english manga title (#2452) eb5382e0 mutsumi <4182301+mutsumi63@users.noreply.github.com> Jan 6, 2020 at 20:02 2020-02-29 13:08:41 -05:00
Carlos
74087edebb match transition text used by other readers (#2439) 708525ef Carlos <cargo8005@gmail.com> Jan 5, 2020 at 17:59 2020-02-29 13:07:35 -05:00
Carlos
db58c9b77f fix DOWNLOADED text showing after chapters are marked as read (#2434) df14e6d4 Carlos <cargo8005@gmail.com> Jan 5, 2020 at 16:36 2020-02-29 13:06:41 -05:00
arkon
c4dad1c20b Unix line endings 2020-02-29 13:03:29 -05:00
MCAxiaz
cae04656b9 Improve Loading Speed When Skipping Pages in a Chapter (#2426)
* cancel queued loads when the page that requested the queue is destroyed

* use page.status for optimizing removal

(cherry picked from commit dd1e6402c9)
2020-02-29 12:59:37 -05:00
arkon
4e60a81b36 Remove unused LoginSource 2020-02-27 22:43:48 -05:00
arkon
464b4b18a4 Reword unlock string 2020-02-27 22:34:57 -05:00
arkon
e5c0969047 Change system dark mode check
User on Discord reported setting wasn't working on his devices.
2020-02-27 19:56:04 -05:00
arkon
ac3823e10a Add ripple to menu icons
Supersedes https://github.com/inorichi/tachiyomi/pull/2612
2020-02-27 18:58:36 -05:00
arkon
d3a4126e27 Tweak more screen to remove top padding 2020-02-27 18:34:28 -05:00
arkon
3a62acc54d More preference grouping 2020-02-27 18:34:14 -05:00
arkon
7d4f25b354 Add description for secure screen setting 2020-02-26 18:58:13 -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
11544fe8ef Migrate to bottom navigation 2020-02-25 22:31:54 -05:00
arkon
8776a45ee9 Add shortcut to manage app notifications 2020-02-25 18:32:49 -05:00
arkon
032a6adaab Rename/new icons for updates/history sections 2020-02-23 22:03:34 -05:00
arkon
460fbb18c7 Avoid crash on loading invalid extension 2020-02-23 21:51:55 -05:00
arkon
978ac50015 Move crash reports setting to advanced 2020-02-23 16:23:21 -05:00
arkon
b323b9c843 Refresh webtoon adapter on image property changed 2020-02-23 14:58:51 -05:00
arkon
1afcf34829 Set webtoon page padding on page bind 2020-02-23 14:48:53 -05:00
arkon
48d9ad00e1 Hide null file path on backup creation (closes #1515) 2020-02-23 13:05:39 -05:00
Unlocked
ca10356fd9
Added Webtoon with Padding viewer (#2618)
* Added Webtoon with Padding viewer

* Change webtoon padding to be a config option

* Removed obselete padded_webtoon

* Switch ambiguous padding to vertical padding
2020-02-23 12:44:50 -05:00
arkon
275bd44e15 Reword "Clear" to "Cancel all" in download queue 2020-02-23 11:46:47 -05:00
arkon
61d2107e9c Add secure screen setting 2020-02-22 13:32:05 -05:00
arkon
b06f1c81bc Remove usages of incorrect platform yes/no strings 2020-02-22 12:38:06 -05:00
arkon
8bb83782c7 Biometrics lock (closes #1686) 2020-02-21 23:04:37 -05:00
arkon
5b24a8f21d Revert usage of AndroidX Webkit library (closes #2611) 2020-02-21 18:36:05 -05:00
arkon
2c23c42c98 Default to light theme prior to Oreo 2020-02-19 18:38:40 -05:00
Simon M
edcadb7dd1
Change default theme to System Default (#2608)
* Change default theme to System Default

Hopefully this was the only string that dictated the default setting.

* Update PreferencesHelper.kt
2020-02-19 18:34:21 -05:00
arkon
9942227c6c Minor system theme tweaks 2020-02-18 22:05:54 -05:00
onlymash
02b5c3da71
Support follow system theme[Android 10] (#2603)
* Support follow system theme

* Show [follow system theme] only on Oreo and newer

* Update preference values of theme

* Refine theme preference
2020-02-18 21:58:52 -05:00
arkon
3ecc883944 Run default Android Studio formatter on code 2020-02-17 17:23:37 -05:00
arkon
a1fadce7c6 Change chapter update notification to show chapter numbers 2020-02-17 16:23:48 -05:00
arkon
79bc1290ae Perform mark as read action in IO coroutine scope to avoid freezing app 2020-02-17 16:20:12 -05:00
arkon
10272ef395 Refactor notification manga cover logic, decrease size 2020-02-17 16:14:15 -05:00
arkon
f03c49850b Separate group for extensions with updates 2020-02-17 15:29:03 -05:00
arkon
3223a3ac54 More notification code cleanup 2020-02-17 12:25:20 -05:00
arkon
497fe1e68a Minor cleanup 2020-02-17 12:19:42 -05:00
arkon
3b334c4230 Simplify "and n more" string 2020-02-17 11:29:11 -05:00
Jays2Kings
7f115f2e83
Group notifcations for Library updates (#2582) 2020-02-17 10:56:23 -05:00
onlymash
12aa04be93
Fix fullscreen reader for notch device (#2595)
* Fix fullscreen reader for notch device

* Make cutout mode configurable

* Rename cutout option
2020-02-17 10:40:49 -05:00
arkon
a7ece4fdf3 Add bookmarking to chapter selection menu (closes #1065) 2020-02-16 17:46:31 -05:00
arkon
57d1ed1073 Hide share icon for manga info if not from online source 2020-02-16 17:41:21 -05:00
arkon
b04ebb1782 Allow selecting default category for auto download 2020-02-16 17:17:23 -05:00
arkon
958dbfdfa5 Compare recent updates by both date and chapter number 2020-02-16 17:08:07 -05:00
arkon
eb724336f5 Additionally sort by chapter number in recent updates (fixes #2586) 2020-02-16 16:30:39 -05:00
arkon
9cdd4bee97 Simplify selected count to just show the number 2020-02-16 16:00:41 -05:00
arkon
74cc77400c
Merge pull request #2596 from FlaminSarge/migrate
Move empty-chapterlist manga to end of Latest Chapter sort in Library view
2020-02-16 15:18:14 -05:00
FlaminSarge
247a39c0a9 Move empty-chapterlist manga to end of Latest Chapter sort in Library view 2020-02-16 07:19:38 -07:00
arkon
1b0c13a417 Show URL in Webview subtitle 2020-02-15 17:44:35 -05:00
arkon
abb2e231f6 Switch to AndroidX Webkit library 2020-02-15 17:30:30 -05:00
arkon
50ef4cc5da Slightly increase chapter cache size (closes #2091) 2020-02-14 09:27:42 -05:00
arkon
34bf9b729e More coroutine network call fixes 2020-02-14 09:23:54 -05:00
Jay
0a6f607e22 Fixed extensions call running on main thread
(cherry picked from commit 2b85bb5fb816c531982a1878e55fd88814452a2c)
2020-02-14 09:21:33 -05:00
arkon
9e4c61c139 Remove library sort by source 2020-02-11 19:05:16 -05:00
arkon
144418434b Library search for source 2020-02-11 19:02:04 -05:00
arkon
a20ad68fe3
Library View: Add latest chapter sorting and revert last updated sorting changes (#2563)
* Library View: Add latest chapter sorting and revert last updated sorting changes

Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)

* Change latest chapter sort string to "Latest chapter" instead of "Last chapter"
2020-02-11 18:41:31 -05:00
arkon
a50a3df716 Only show Webview update prompt if CF bypass fails 2020-02-11 18:36:51 -05:00
arkon
f29124773b Lower minimum Webview version warning 2020-02-10 22:45:23 -05:00
arkon
c1235897df Remove unused RxJavaCallAdapterFactory for app updater 2020-02-10 22:28:48 -05:00
FlaminSarge
4a52869d23 Change latest chapter sort string to "Latest chapter" instead of "Last chapter" 2020-02-10 05:06:22 -08:00
arkon
6a95ff56df Use coroutines for updater 2020-02-09 22:36:44 -05:00
arkon
340829bb71 Remove star icon option 2020-02-09 17:32:41 -05:00
arkon
8aa48effaa Refactor notification builder extension 2020-02-09 17:28:09 -05:00
arkon
f515674dff Show message if WebView version is too low 2020-02-09 11:03:17 -05:00
arkon
a0a077eaaa Move library display settings out of filter sidebar 2020-02-05 22:58:20 -05:00
arkon
8feb4365dd Minor edit to onOptionsItemSelected fallthrough logic 2020-02-05 22:53:49 -05:00
arkon
f3adff1da1 Move PreferenceDSL 2020-02-04 22:19:17 -05:00
arkon
0473c36c6f Restore setting controller fade
Removes help button in each section, which is jumpy. Fade is nicer though.
2020-02-04 22:16:31 -05:00
arkon
c9cb75aee1 Group tracking setting activities 2020-02-04 22:14:49 -05:00
arkon
b9420040f5 Move help into settings menu 2020-02-04 21:23:16 -05:00
arkon
59b925a028 Include commit SHA in dev version info 2020-02-03 19:15:23 -05:00
arkon
7af075633b Explicitly switch between IO/UI dispatchers when updating list of extensions
Potentially fixes #2566
2020-02-03 19:11:18 -05:00
arkon
09891bb0ad Throw exception in okhttp coroutine if response isn't successful 2020-02-03 18:56:24 -05:00
arkon
160ebe01d9 Update to Material Design library 1.1.0 2020-02-03 18:54:24 -05:00
FlaminSarge
a096e6b337 Library View: Add latest chapter sorting and revert last updated sorting changes
Latest chapter is as it sounds
Last update is now any changes to the chapter list (addition, removal, rename, etc.)
2020-02-02 23:16:42 -08:00
arkon
3c41a5e910 Move JsoupExtensions back (fixes #2562) 2020-02-02 23:45:13 -05:00
arkon
a3e39987d4 Migrate extension list fetch to coroutine 2020-02-02 22:57:15 -05:00
arkon
47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon
faf8f1fbbc Remove unused SharedData object 2020-02-02 22:04:20 -05:00
arkon
9f9de27a57 Reorganize some util files 2020-02-02 22:04:11 -05:00
arkon
9a3ec56eb4 Move edit categories to library settings 2020-02-02 18:13:13 -05:00
arkon
4f03ee814a Categorize library settings 2020-02-02 18:04:50 -05:00
arkon
6f84815801 Filter out tmp directories for download badge 2020-02-02 18:01:08 -05:00
arkon
9588a582ce Use coroutines for async loading of modules 2020-02-02 17:06:51 -05:00
MCAxiaz
c79ebd4eeb
fix NPE in dateFormat (#2549)
Bug #2548 fix NPE in dateFormat pref
2020-01-29 07:23:26 -05:00
arkon
13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon
c707d4bfd8 Minor date format code cleanup 2020-01-28 22:32:56 -05:00
Sam Lewis
aeacdad484
Allow setting a preferred date format (#2175) 2020-01-28 22:23:41 -05:00
MCAxiaz
6d9bec3e0b
reroute all deep links through DeepLinkActivity to provide more control (#2546)
over launch behavior/intent flags
2020-01-28 22:15:15 -05:00
arkon
bf140be75e Rename sources settings to filter 2020-01-26 17:39:06 -05:00
arkon
eb4c7c6841 Remove display/sorting mode dialogs 2020-01-26 17:35:48 -05:00
Mike
dcd3c709fe CloudflareInterceptor update (#2537)
* CloudflareInterceptor update

* Changes

* Max-Age

* Tweaks
2020-01-25 16:37:59 -05:00
arkon
f966187ea4 Add ability to explicitly remove tracking from track search dialog (closes #2532) 2020-01-24 14:27:53 -05:00
arkon
a746d4cc3a Tweak initial tracker card appearance 2020-01-24 12:18:55 -05:00
arkon
f1cca207fc Minor formatting 2020-01-23 20:51:37 -05:00
arkon
f4bb9b604a Fix sources/extension filters toggles being indented 2020-01-23 20:50:55 -05:00
arkon
7be6ee9a68 Remove fast scroller from library
Interferes with filter sidebar too much currently.
2020-01-22 18:32:32 -05:00
arkon
a22c79c58a Tweak manga last updated time based on chapter upload instead of fetch time 2020-01-22 18:28:33 -05:00
arkon
b642e019e8 Directly pass read chapter when updating tracker 2020-01-20 21:59:36 -05:00
Jay
81c14ba610 Download dialog in chapters removed, now using submenu
(cherry picked from commit a253c255e8e1ee0cc0e158c3bf61f5352b06e656)
2020-01-20 18:53:56 -05:00
Jay
4b84fb5ac5 Tracker status naming edits
Cherry picked from ad8c69aa15e7c27879c2a528a45b0744f7e45197
2020-01-20 18:50:39 -05:00
MCAxiaz
7f5e650796 Bug/2513 edit text preference crash (#2522)
* use themedContext for preference

* use inflater with themed context
remove icon space

* v14 preferenceThemes are deprecated
2020-01-20 18:37:42 -05:00
[pʲɵs]
c22e2e8159 Do not suppress a type system error (#2524)
This code was sort of fine when it used raw Java types, but the Kotlin
equivalent technically calls a method that takes a Nothing-typed
argument with a value that is not of type Nothing. Whether that works
depends on how lenient kotlinc is about inserting casts in bytecode.

The solution is to give the unknown type represented by a star an
explicit name by capturing it in a type variable, then cast to that type
instead of Nothing. This is guaranteed to be an unchecked, but valid,
cast.
2020-01-20 18:34:59 -05:00
Jay
ee8a53188c Set manga last update field based on chapter fetch time (closes #2217)
Based on 3c81f60041 (diff-7e5179d048c3dfaf75b444b7277fc840)
2020-01-19 22:21:49 -05:00
arkon
98f86a44ef Add tracker logout dialog (closes #2475) 2020-01-19 17:03:11 -05:00
Jay
1b3169e0d0 Update tracking controller after logging in to Bangumi 2020-01-19 16:42:59 -05:00
arkon
8273a396c8 Anilist: rename "On hold" to "Paused" 2020-01-19 16:29:43 -05:00
arkon
5bad914411 Remove reflection to show tracking checkmark
Icon now shows up on the left, but code is less fragile.
2020-01-19 16:26:38 -05:00
arkon
ce4d75f62a Replace raster icons 2020-01-18 20:58:07 -05:00
arkon
f30622424a Add select all menu option for library category
Based on ae5ad2a9a6
2020-01-18 20:33:43 -05:00
arkon
09e7d56ff2 Move "Open in browser" option to webview only 2020-01-16 22:13:34 -05:00
arkon
5ca23b5363 Use smaller CustomTarget for shortcut creation
Same thing as Neko/Jay's fork
2020-01-16 22:13:02 -05:00
arkon
f7e70d25ea Minor cleanup 2020-01-16 21:47:46 -05:00
arkon
4338c41112 Filter library items by artist as well 2020-01-16 21:46:45 -05:00
Jays2Kings
01f9b25be2 Local genre tag searching (#2423)
Using the search bar in My Library, you can search tags for manga (ie. "Romance") or exclude (ie. "-Comedy") You can also search multiple by seperating by commas (ie. "Romance, -Comedy")

Clicking the tag in manga info from the library also performs a local serach
2020-01-16 21:45:37 -05:00
MCAxiaz
8b0458cdf6 minor reader bugs: (#2491)
- fix preload on last page for R2L reader
 - page 3 bug
2020-01-16 21:45:06 -05:00
MCAxiaz
bed978a26a force menu invalidation when expanding actionView from user interaction to properly layout menu items (#2503) 2020-01-16 21:44:22 -05:00
arkon
73fbc81067 Webview enhancements
- Pull to refresh
- Loading progress
- Share page
2020-01-16 21:43:10 -05:00
Jay
d1db9fb659 Build time now opens changelog
(cherry picked from commit 22bb3463593c060405694da39a0eb1f5ca1d6ba1)
2020-01-16 08:57:46 -05:00
Jay
b74fb2ef5e Fixed extensions showing as obsolete when call fails
(cherry picked from commit a44e9a19b0cfceeaeecd8ad378f14ccd47c8683c)
2020-01-16 08:57:37 -05:00
arkon
f3e228e8a4
Indicate obsolete extensions (#2494)
* Indicate obsolete extensions

* Make obsolete indicators red

* Move obsolete extensions up the list

* Add base button theme for holder

* Use red button color state instead of explicit text color
2020-01-12 18:27:04 -05:00
MCAxiaz
6b5742c1ff Fix catalogue search focus automatically being removed (#2396)
Fix catalogue search focus automatically being removed
2020-01-12 15:02:21 -05:00
arkon
57595988f5 Restore transparent status bars, allow WebView app bar to scroll away 2020-01-12 11:47:26 -05:00
arkon
44f406b4b9 Fix Bangumi class formatting 2020-01-11 22:06:23 -05:00
mutsumi
427d2fed8c fix bangumi track will override record to 0 after every track search(bind) (#2486)
* fix bangumi track : the update status api must be called before update chapter api

* fix bangumi track will override record to 0 after every track search(bind)
2020-01-11 22:05:03 -05:00
arkon
3892b93bca Rename tracker icon images 2020-01-11 22:01:26 -05:00
Chris Allan
1b37c61b5a JSON metadata for local manga (#1658)
* JSON metadata for local manga

* Simplification

* Lazy load local data
2020-01-11 15:59:43 -05:00
Jay
2d3bfa9a89 Implement long hold selection for Manga Chapters and library
Co-Authored-By: zhuoyang <zhuoyang@users.noreply.github.com>

Co-Authored-By: Jays2Kings <Jays2Kings@users.noreply.github.com>
2020-01-11 15:40:00 -05:00
arkon
e414b9edf1 Minor extension filter cleanup 2020-01-11 15:13:51 -05:00
MCAxiaz
62d3fc65e0 Filter Extensions By Language (#2275)
* add options menu item to filer extensions by languages

* resolve merge conflicts
changes per pr comments

Co-authored-by: arkon <arkon@users.noreply.github.com>
2020-01-11 15:06:54 -05:00
arkon
012b1b56aa Minor grammar fixes 2020-01-11 10:11:39 -05:00
arkon
ff999a6dda Show selected preference for "Library update order" 2020-01-11 10:11:30 -05:00
arkon
797553ce16
Convert webview into an activity (#2470)
Based on 65804ebb3a
2020-01-10 22:22:12 -05:00
arkon
745f8d32b5 Use OutlineSpan approach from CarlosEsco/Neko to avoid infinite redraws
Based on work by @arsonistAnt: 1876f850f6
2020-01-09 22:13:25 -05:00
arkon
f715478070 Revert "Remove reflection to get TextView color field (closes #2469)"
This reverts commit 5f2aaeac57.
2020-01-09 21:51:34 -05:00
arkon
5f2aaeac57 Remove reflection to get TextView color field (closes #2469) 2020-01-09 21:32:30 -05:00
arkon
044a4f7575 Split general settings into general and library 2020-01-09 21:22:58 -05:00
arkon
83d5e458ca
Update to SDK 29 (Android 10) (#2468) 2020-01-09 20:31:27 -05:00
arkon
f7669b6797 Replace left/right layout attributes with start/end 2020-01-09 19:10:55 -05:00
arkon
489f981e40 Convert tracker icons to webp 2020-01-09 18:54:07 -05:00
arkon
13a2d3dfdd Provide more human readable error when downloading to invalid directory (#2462) 2020-01-09 08:39:40 -05:00
arkon
d62f0de862 Tweaks based on PR comments, simplify some more strings 2020-01-08 21:53:08 -05:00
arkon
e411f54236
Remove up/down animation for FAB, add list padding (#2456) 2020-01-08 21:33:10 -05:00
arkon
6025b44e5b
Add fast scroller to library (#2459) 2020-01-08 21:32:07 -05:00
arkon
f4f427dd2a Restore equals/hashCode in ChapterTransition (closes #2461) 2020-01-08 21:31:32 -05:00
arkon
26c5c9c839 Replace usage of deprecated Glide SimpleTarget 2020-01-07 20:24:12 -05:00
arkon
5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon
0d5099f230
Drop support for Android 4.x (#2440)
* Bump minSdkVersion

* Remove Android 4.x specific logic

* Consolidate res assets

* Add note about minimum Android version to README

* Restore incorrectly removed method, remove unneeded Lollipop TargetApi annotations
2020-01-07 18:46:31 -05:00
andrecsilva
b55814a1c0 Made 'Default' category selectable in global update settings (#2318) 2020-01-07 18:46:08 -05:00
mutsumi
eb5382e0de fix bangumi tracker crash in searching english manga title (#2452)
fix bangumi tracker crash in searching english manga title
2020-01-06 20:02:28 -05:00
arkon
b3f1714ba9
Convert remaining Java files (#2435) 2020-01-05 19:39:25 -05:00
Carlos
708525ef9d match transition text used by other readers (#2439) 2020-01-05 17:59:05 -05:00
Carlos
df14e6d43e
fix DOWNLOADED text showing after chapters are marked as read (#2434)
* fix DOWNLOADED text showing after chapters are marked as read
2020-01-05 16:36:23 -05:00
arkon
600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
MCAxiaz
dd1e6402c9 Improve Loading Speed When Skipping Pages in a Chapter (#2426)
* cancel queued loads when the page that requested the queue is destroyed

* use page.status for optimizing removal
2020-01-05 12:18:02 -05:00
arkon
78689e7443
Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
Carlos
aa57b1bc77
adjust so downloader doesnt autostart when queue was paused (#2413)
adjust so downloader doesnt autostart when queue was paused
2020-01-03 15:33:17 -05:00
MCAxiaz
491d476cac auto attempt a login refresh once if MAL returns http 400 (#32) (#2403) 2019-12-29 17:45:58 -05:00
Carlos
f0053a2f78 add width and height to listview for browseCatalogueController (#2406)
* add width and height to listview for browseCatalogueController

* readd recycler has fixed size
add width and height to list view
2019-12-28 14:57:44 -05:00
MCAxiaz
4147fd6b19 recycler is not fixed size (#2402) 2019-12-28 14:10:34 -05:00
arkon
2ebaacfc89
Replace dependency for case insensitive natural sorting (#2389)
Replace dependency for case insensitive natural sorting
2019-12-27 07:18:30 -05:00