Commit Graph

3364 Commits

Author SHA1 Message Date
Jays2Kings
ef166dd712 Fix insets in landscape for browse and recents 2021-07-13 19:26:42 -04:00
Jays2Kings
000be36722 Kitsu now defaults to plan to read for new unread entries
closes #913
2021-07-12 20:30:33 -04:00
Jays2Kings
27e6ddd816 Fix MAL remove date showing old date 2021-07-12 20:25:04 -04:00
Jays2Kings
72a74ea488 Fixed sidenav's padding
since google doesn't know how to
2021-07-12 15:09:01 -04:00
Jays2Kings
e0e6ffb6d8 Fixed bottom sheets in recents/browse ignoring insets on lower devices 2021-07-12 14:05:13 -04:00
Jays2Kings
53ade52487 removed duplicate ACCESS_NETWORK_STATE
Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-07-11 21:28:01 -04:00
Jays2Kings
8a0c0f2de4 Update dependencies
Kotlin -> 1.5.20
oss-licenses-plugin -> 0.10.4
coroutines -> 1.5.1
2021-07-11 21:24:32 -04:00
Jays2Kings
5b98b09ce3 Refactoring the logic for the last few commits 2021-07-11 18:18:09 -04:00
Jays2Kings
7ad228d19f Set default for chapter filtering + hide title
This flag is different from the one that saves sorting so theres 2 flags for local sort and local filter
Recents now also now shows only chapter number if titles are hidden
2021-07-11 17:49:13 -04:00
Jays2Kings
469db068e3 Set default for chapter sorting method + ui updates + sort by upload date
* New Class: ChapterSort, to handle sorting chapter list with the defaults + filtering if wanted
* Said class is used now to find the next unread chapter, in case sort method is not source order
* Remove close button in chapter filter sheet
* Added "reset" button to sort in filter sheet, to go back to default sort
* New view: SortTextView, like tristatebox but with arrows instead
2021-07-11 16:17:36 -04:00
Jays2Kings
074321865e Making checkbox animations closer to how the native checkbox animation is
+ rename of one anim
2021-07-11 13:43:44 -04:00
Jays2Kings
c4ebc6b58e Filter chapters by not d/l'd, not bookmarked
Closes #736
2021-07-11 13:26:04 -04:00
Jays2Kings
b44e343466 Adding animation for 3 states of checkboxes in settings
since im stuck with illustrator we're back to using it
2021-07-11 01:59:16 -04:00
Jays2Kings
e840e622df Using bit shift left instead of manually adding flag values 2021-07-10 23:26:37 -04:00
Jays2Kings
5911ad2fd4 Add manga-wised rotation mode settings
Co-Authored-By: Andreas <6576096+ghostbear@users.noreply.github.com>
2021-07-10 17:33:09 -04:00
Jays2Kings
2ac761729d Laxing on the all files permission for a11
The permission will now show only once, aside from trying to download manga or trying to read local manga

close #910
2021-07-10 15:12:01 -04:00
Jays2Kings
70fc7c3b3b setting isDarkTheme in themes to a true val 2021-07-10 14:50:28 -04:00
Jays2Kings
0ebdbe174f add Yin Yang Theme
Co-Authored-By: Riztard Lanthorn <16263232+Riztard@users.noreply.github.com>
2021-07-10 14:50:14 -04:00
Jays2Kings
248d57600c Add warning for MIUI users when trying to install extensions with MIUI Optimization enabled
miui sucks so much
2021-07-10 14:30:55 -04:00
arkon
b92a93a8f3 Add warning for MIUI users when trying to restore backups with MIUI Optimization disabled 2021-07-10 14:25:15 -04:00
Ivan Iskandar
ae65677a37 Simplify locale override (#5509)
Closes #906
2021-07-10 14:19:23 -04:00
Jays2Kings
70529c85a8 Default sideNavIconAlignment to center 2021-07-10 13:41:58 -04:00
Jays2Kings
1dac7c1ed2 Using nav rail only for landscape (phone + tablet)
Tablet layout will extend the toolbar past the nav rail
Phone layout will contain the toolbar inside the controller's bounds and is collaspable
2021-07-10 13:41:21 -04:00
Jays2Kings
29eec83389 Only use launchWhenCreated when the context isn't in nightmode already 2021-07-10 13:34:20 -04:00
Jays2Kings
a3f210dbf0 Lighten shadows on bottom sheets in controllers 2021-07-10 13:28:31 -04:00
Jays2Kings
05cff20b71 Option to hide bottom sheets in controller by swiping down the side nav 2021-07-10 13:13:14 -04:00
Jays2Kings
f2851f2549 fix format in ExtensionUpdateJob 2021-07-09 23:53:02 -04:00
Jays2Kings
8d5c339b34 truly...hopefully fix the install update notification not showing 2021-07-09 23:52:07 -04:00
Jays2Kings
c30b56693c clean unused value from MaterialFastScroll 2021-07-09 22:12:19 -04:00
Jays2Kings
784bd22989 Fixed crash when using a reader mode from main tachi
The else case will default to R2L reader when the index is out of range
2021-07-09 22:10:33 -04:00
Jays2Kings
c438236bf7 formatting changes in ChapterSourceSync 2021-07-07 18:19:07 -04:00
Jays2Kings
02fa9841e7 fix chapter source order not working correctly and allow refresh to update source order
Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-07-07 18:13:04 -04:00
Jays2Kings
5f7069437e using copyto method and also closing stream for extension installs 2021-07-05 23:40:52 -04:00
Jays2Kings
da76d4854f Fix crash when set theme not in use no longer exists 2021-07-05 23:40:04 -04:00
Jays2Kings
d0bc413581 Fix amoled themes not showing correctly
Fixes #886
2021-07-05 20:24:05 -04:00
Jays2Kings
ad4c932134 Remove space in covercache 2021-07-05 16:31:54 -04:00
Jays2Kings
a9272c31e7
Weblate translations (#885)
Co-authored-by: Abdallah Mehiz <abdallahmehiz0@gmail.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Chiara V <chiara.virdone@gmail.com>
Co-authored-by: Christian Elbrianno <christian.elbrianno41@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Dhimas Admaja <dhimasadmaja@gmail.com>
Co-authored-by: Edmerson Pizarra <edmerpizarra@gmail.com>
Co-authored-by: Elosy <gaudic99@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Femto <yusufackerman10@gmail.com>
Co-authored-by: HeavenShadow <heavenshadow@outlook.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jacque Fresco <aidter@use.startmail.com>
Co-authored-by: Jarel Sawangin <jarelsawangin18@gmail.com>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: K. Sz. Bence <tudi20@protonmail.com>
Co-authored-by: Khane Mcdaddy <kumakichi.houtarou@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: LigthA_ <ligthaa@gmail.com>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Maxime Dias <maxime-dias_student2021@wilder.school>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Narin <narin.tana@hotmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Sebastian Mihai Crap <sebastiancrap@gmail.com>
Co-authored-by: Shashank Pujari <shashankppujari@gmail.com>
Co-authored-by: Shippo <shiposhouyou@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Silvio Pastore <silvioppastore@gmail.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Wise <phxwise@gmail.com>
Co-authored-by: Wojciech Kosztyła <wojtex1221@gmail.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
Co-authored-by: 殺Mustafa <mustafasheref8@gmail.com>
Co-authored-by: 莊景翔 <sean1781031@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ar/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ca/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cs/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/cv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fil/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/hu/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/id/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/it/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ro/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/th/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/uk/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hant/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Abdallah Mehiz <abdallahmehiz0@gmail.com>
Co-authored-by: Alessandro Jean <alessandrojean@gmail.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: C201 <derasetad@gmail.com>
Co-authored-by: Chiara V <chiara.virdone@gmail.com>
Co-authored-by: Christian Elbrianno <christian.elbrianno41@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Dhimas Admaja <dhimasadmaja@gmail.com>
Co-authored-by: Edmerson Pizarra <edmerpizarra@gmail.com>
Co-authored-by: Elosy <gaudic99@gmail.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Eugene <e.shlyapkin99@gmail.com>
Co-authored-by: Femto <yusufackerman10@gmail.com>
Co-authored-by: HeavenShadow <heavenshadow@outlook.com>
Co-authored-by: Huang Zhiyi <hzy980512@126.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Jacque Fresco <aidter@use.startmail.com>
Co-authored-by: Jarel Sawangin <jarelsawangin18@gmail.com>
Co-authored-by: Jendrej <ejjendrej@gmail.com>
Co-authored-by: Jetspectre <jetspectre1@gmail.com>
Co-authored-by: K. Sz. Bence <tudi20@protonmail.com>
Co-authored-by: Khane Mcdaddy <kumakichi.houtarou@gmail.com>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: LigthA_ <ligthaa@gmail.com>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Lzmxya <lzmxya@gmail.com>
Co-authored-by: Marco Santos <enum.scima@gmail.com>
Co-authored-by: Matteo Gaeta <matteo.gaeta.1998@gmail.com>
Co-authored-by: Matyáš Caras <contact@hernikplays.cz>
Co-authored-by: Maxime Dias <maxime-dias_student2021@wilder.school>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Narin <narin.tana@hotmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Rostyslav <info@ubilling.net.ua>
Co-authored-by: Sebastian Mihai Crap <sebastiancrap@gmail.com>
Co-authored-by: Shashank Pujari <shashankppujari@gmail.com>
Co-authored-by: Shippo <shiposhouyou@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: Silvio Pastore <silvioppastore@gmail.com>
Co-authored-by: Tooster <max@polarczyk.pl>
Co-authored-by: Wise <phxwise@gmail.com>
Co-authored-by: Wojciech Kosztyła <wojtex1221@gmail.com>
Co-authored-by: Zero O <godarms2010@live.com>
Co-authored-by: f0roots <f0rootss@gmail.com>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: whenwesober <naomi16i_1298q@cikuh.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
Co-authored-by: 殺Mustafa <mustafasheref8@gmail.com>
Co-authored-by: 莊景翔 <sean1781031@gmail.com>
2021-07-05 16:12:44 -04:00
Jays2Kings
f2abddbf8f Update yotsuba theme preview with new color 2021-07-05 15:25:43 -04:00
Jays2Kings
480719bb1a Adding ACCESS_NETWORK_STATE permission to manifest 2021-07-05 15:15:05 -04:00
Carlos
ff82157da4 fix default search not respecting content rating filter 2021-07-05 15:15:05 -04:00
Carlos
9ac99023d9 clear coil memory cache when clearing non library covers 2021-07-05 15:07:39 -04:00
Jays2Kings
91498139da Refactor themepref to use isDarkTheme 2021-07-05 14:45:01 -04:00
Jays2Kings
225a580018 Update yotsuba colors to use a darker orange 2021-07-05 14:38:50 -04:00
Jays2Kings
f098a9c47a Adding "preserveLegacyExternalStorage" to manifest 2021-07-05 14:12:33 -04:00
Jays2Kings
19e1d87dee Fixed extension search breaking after installing an ext
Fixes #880
2021-07-05 14:12:19 -04:00
Jays2Kings
32976b0d0a Commit isTablet in MangaHeaderHolder to val 2021-07-05 14:11:51 -04:00
Jays2Kings
664f487cd1 Move window setSoftInputMode for older devices to change completed instead of started 2021-07-05 13:30:16 -04:00
Jays2Kings
11f05133af New tablet layouts for manga details
Portrait: Bigger cover
Landscape:
* flipped summary items. From top to bottom: Start Reading, Tags, Summary
* Tags will always show in this layout, and summary will always be expanded
2021-07-05 13:17:49 -04:00
Jays2Kings
183f984cc5 Fixed theme preview not showing black theme in toolbar 2021-07-04 17:08:56 -04:00
Jays2Kings
acd6d5cd90 fix format for last commit 2021-07-04 17:07:46 -04:00
Jays2Kings
d49bb4dfc8 fix for that last commit 2021-07-04 16:46:16 -04:00
Jays2Kings
8ac340eff0 Fixed double page layout showing pages from other chapters 2021-07-04 16:43:07 -04:00
Jays2Kings
5ce97ee540 Adding some missing changes from commits
such as chocolate strawberries' missing tab bar color preview and string changes
2021-07-04 14:39:22 -04:00
Jays2Kings
756f285675 Display animated webp whenever possible
Support AVIF and HEIF images
Handle HEIF images
Using new decoder

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-07-04 14:38:33 -04:00
Jays2Kings
a8a23c153d Upgrading bunch of libraries
gradle -> 4.2.2
appcompat -> 1.3.0
material -> 1.4.0
recyclerview -> 1.2.1
core-ktx -> 1.6.0
kotlin serialization -> 1.2.1
conductor-support-preference -> upstream 3.0.0
firebase -> 19.0.0
junit -> 4.13.2
conscrypt -> 2.5.2
2021-07-04 14:27:28 -04:00
Jays2Kings
3a6507101a Hide notification content
Closes #843

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-07-04 13:58:58 -04:00
Jays2Kings
c4d9b66485 Fixed not being able to remove dates on Anilist
Fixes #833
2021-07-04 13:48:51 -04:00
Jays2Kings
505fa871e6 Update backup name/icon to match upstream 2021-07-04 13:21:18 -04:00
Jays2Kings
25c5f6dd36 Remove legacy backup creation
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-07-04 13:14:20 -04:00
Jays2Kings
704a741f73 Allow all dark themes to be amoled + dark theme reworking
AMOLED theme ded
Black 'n' Red ded (replaced with Chocolate Strawberries) (closes #763)
Hot pink ded (now use Midnight Dusk + Purl black)

Using those old themes will now revert back to default dark

Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2021-07-04 02:00:44 -04:00
Jays2Kings
6224dc293f Reading while offline will update trackers once back online 2021-07-03 21:26:51 -04:00
Jays2Kings
bb3168cdb1 Using context for workmanager
been needing to
2021-07-03 20:13:50 -04:00
Jays2Kings
a3a4edbde0 Allow excluding categories from auto-download
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-07-03 19:53:28 -04:00
Jays2Kings
d5a387b056 Allow excluding categories from library update
closes #571

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-07-03 19:42:24 -04:00
Jays2Kings
24583e4cc5 Material dialog now follows theme background 2021-07-03 19:34:14 -04:00
Jays2Kings
d8df17a274 Removed unused theme 2021-07-03 19:33:35 -04:00
Jays2Kings
249190d85c ImageView.setVectorCompat now uses AttrRes 2021-07-03 19:32:16 -04:00
Jays2Kings
656192f7cd Remove 1 or 2 hour library updates to avoid DDoSing sources
Also adding weekly option

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-07-03 16:27:24 -04:00
Jays2Kings
6717f7dd3b Add Komga as an unattended track service
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
Co-Authored-By: Gauthier <2139133+gotson@users.noreply.github.com>
2021-07-03 14:26:04 -04:00
Jays2Kings
dfe125fa5f remove unused strings 2021-07-03 13:28:11 -04:00
Jays2Kings
513034b431 Fixed searching not updating category count 2021-07-03 03:55:37 -04:00
Jays2Kings
3ad57497c9 Set ripple colors of nav views to match accent
Co-Authored-By: Soitora <simon.mattila@protonmail.com>
2021-07-03 03:38:53 -04:00
Jays2Kings
ea4c41988c Adding Strawberry Daiquiri and Yotsuba
These requests come at a price Soi

Co-Authored-By: Zakhar Timoshenko <61558546+ztimms73@users.noreply.github.com>
Co-Authored-By: Soitora <simon.mattila@protonmail.com>
2021-07-03 03:36:19 -04:00
Jays2Kings
f7c08e9957 fixing documentation on themes enum vars 2021-07-03 03:30:39 -04:00
Jays2Kings
883ae04d08 remove parent in themes.xml 2021-07-03 03:29:32 -04:00
Jays2Kings
bed52c7b86 Splitting Light and Dark Theme setting
Soi you can stop complaining now
2021-07-03 03:28:24 -04:00
Jays2Kings
49e0d561b2 Merge branch 'ExtensionsUsingPackageInstaller' 2021-07-03 00:52:04 -04:00
Jays2Kings
d2a2849b4f CustomMangaManager refactor 2021-07-03 00:51:48 -04:00
Jays2Kings
73fd7fcd7c cleanup 2021-07-03 00:30:30 -04:00
Jays2Kings
a751f0b396 revert method name 2021-07-03 00:28:14 -04:00
Jays2Kings
97519884b6 Fixed #849 2021-07-02 22:30:16 -04:00
Jays2Kings
2dc61cb070 Fixed #878 2021-07-02 21:40:14 -04:00
Jays2Kings
226bb18d46 option to add manga count to the category headers
closes
2021-07-02 21:37:04 -04:00
arkon
1e138ab476 Allow center aligned side nav icons 2021-07-02 20:44:48 -04:00
arkon
b7f5ed751d Remove en-GB option since we don't actually localize different English locales 2021-07-02 20:24:10 -04:00
Jays2Kings
84d73fd910 update random string 2021-07-02 20:11:41 -04:00
DaviDeMeo
4393e9d9b3
Add a button that pick a random manga to read (#876)
* add random button functionality

* Add random manga setting, this should close #873

It open only manga with unread chapter, if we feel is needed we could add a setting to open even read manga

* Add random manga functionality to hopper long press

Also revert previous changes to preference and ui
2021-07-02 20:10:45 -04:00
Jays2Kings
56bfa65a54 Manga app shortcuts now open the newest chapter
With the option to turn it off
Also refactoring app shortcut settings to turn off only series or sources or both, as well as disable the shortcut jumping straight to the reader
2021-07-02 20:09:12 -04:00
Jays2Kings
f2ad4725d8 Fix extension updates showing up in installed list 2021-07-02 19:40:05 -04:00
Jays2Kings
6ba677f9a4 Add toast if extension could not be installed 2021-06-24 01:37:37 -04:00
Jays2Kings
0b9754c5fa Using typealias for extension session pair
also fix issue with progress flashing away after selecting install from package installer popup

Also setting the rate to 500ms for install status
2021-06-23 21:26:27 -04:00
Jays2Kings
c8049b2307 Swap cancel button and install button around 2021-06-23 18:56:56 -04:00
Jays2Kings
11d24281d6 Optimize imports of ExtensionHolder 2021-06-23 18:37:54 -04:00
Jays2Kings
565da98c0a Using Package Installer for installing extensions 2021-06-23 18:37:01 -04:00
Jays2Kings
050213a4a3 Updating Extension heading text style 2021-06-23 18:32:55 -04:00
Jays2Kings
d9ef6f8e3f Updating style and logic for extension update/install button
Not similar to upstream but almost similar to upstream
2021-06-23 17:52:06 -04:00
Jays2Kings
3f1869cab6 Seperate pending updates for extensions into a seperate heading
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-06-23 17:30:29 -04:00
Jays2Kings
cee7c30a02 Refactoring BrowseSourceListHolder and download files 2021-06-22 22:40:18 -04:00
Carlos
97c4f6979b
use a badge instead of in library text for list view since it can get cut off (#868) 2021-06-22 22:35:04 -04:00
Jays2Kings
6194423d17 Same as last commit but removing extra space 2021-06-22 22:33:41 -04:00
Jays2Kings
03dd3e3456 Text change for force download cache refresh summary 2021-06-22 22:33:05 -04:00
Carlos
7585c24566
Add refresh download cache, and remove size check for force delete non library cover cache (#872)
* add option to force refresh download cache.
Removed size check on clear non library covers because what it does did not match what it said it did

* forgot }
2021-06-22 22:31:25 -04:00
Jays2Kings
d0b4b33466 Some fixes to temporarily showing/hiding the reading menu in some cases
like showing system bars or opening notification drawer etc.
2021-06-22 22:25:19 -04:00
Jays2Kings
34fc0a662c Using lastOrNull in mainactivity to prevent a crash 2021-05-27 23:26:12 -04:00
Jays2Kings
11467cdb01 Using adjust nothing softinput mode for Android 11
Setting category controller to auto adjust itself
2021-05-27 15:51:31 -04:00
Jays2Kings
da8d6f3fa4 Using maxByOrNull in more places
needed for newer versions of kotlin
2021-05-27 15:36:20 -04:00
Jays2Kings
1f54bacb98 suppressing warnings in android manifest 2021-05-27 15:35:39 -04:00
Jays2Kings
3224398510 Update Acra 2021-05-27 13:48:28 -04:00
Jays2Kings
0fa3eef40e Animated insets for the fabs when keyboard shows
The reason I'm on android 11's sdk in the first place

Also gonna need a lot of checks because android just deprecated all the inset stuff for pre 11

Some of these changes actually optimzed the tab bar animations a lot
2021-05-26 23:25:28 -04:00
Jays2Kings
47c2f5f97f Adding a popup to tell users to enable all files access on A11
For now I'm just committing this so translators can get a headstart, but it's too soon to tell if target/compile to sdk 30 in the last commit will stay
2021-05-26 23:12:33 -04:00
Jays2Kings
e2d3164c51 target/compile to sdk 30 2021-05-26 16:35:43 -04:00
Jays2Kings
c84526274a Option to move nav rail buttons to bottom of screen 2021-05-26 13:43:00 -04:00
Jays2Kings
d82d738f38 Initial tablet NavigationRailView implementation
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-26 13:43:00 -04:00
Jays2Kings
3dce788c94 move bottom_nav_item_selector to color folder 2021-05-26 13:43:00 -04:00
Jays2Kings
b3646b8f5f Upping to Material lib 1.4.0 beta
Which has tablet changes for the bottom sheets and makes it easier to do edge2edge for bottom sheets
2021-05-26 13:43:00 -04:00
Jays2Kings
1fba86886c Move PageLayout to enum and new file 2021-05-22 19:29:11 -04:00
Jays2Kings
a99b9b7fcc Fix reselecting a int list preference 2021-05-22 19:26:21 -04:00
Jays2Kings
bfa336a3df Remove buildtools version as no longer needed 2021-05-22 19:26:09 -04:00
Jays2Kings
88ba5544fe Fixed #811 2021-05-12 14:03:44 -04:00
Jays2Kings
1a8d724d0a Fixed #508 2021-05-12 14:00:39 -04:00
Jays2Kings
bc6a181530 Fix download custom range menu option not working 2021-05-12 00:14:10 -04:00
Jays2Kings
ae044021ba Fix update download complete notification not showing 2021-05-11 16:47:27 -04:00
Jays2Kings
ab1a92619c
Weblate translations (#799)
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/de/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/el/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/es/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/fr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ja/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ms/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/nl/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/ru/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sc/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/sv/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/tr/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/vi/
Translate-URL: https://hosted.weblate.org/projects/tachiyomi/tachiyomi-j2k/zh_Hans/
Translation: Tachiyomi/Tachiyomi J2K

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ajeje Brazorf <lmelonimamo@yahoo.it>
Co-authored-by: Ava <Sasu.ruotsalainen@live.fi>
Co-authored-by: Bùi Nguyễn Hoàng Thọ <buinguyenhoangtho97@gmail.com>
Co-authored-by: DarKCroX <darkcrox.2020@outlook.com>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Kurocon <weblate@kurocon.nl>
Co-authored-by: Lusuho <jevpsychox@gmail.com>
Co-authored-by: Lyfja <yassinelaoud@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Pitpe11 <giorgos2550@gmail.com>
Co-authored-by: Samuel Carvalho de Araújo <samuelnegro12345@gmail.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: waitingmoon <takeda.s1027@gmail.com>
Co-authored-by: Роман <Rozhenkov69@gmail.com>
2021-05-11 15:54:04 -04:00
Jays2Kings
80c127bc10 Using a global scope to delete chapters 2021-05-11 15:24:51 -04:00
Jays2Kings
887d2fb293 for now, disable the logic to hide more/less button in details 2021-05-11 15:19:33 -04:00
Jays2Kings
b3f42659ce New chapters for manga from deeplinks now have a date fetched saved 2021-05-11 15:15:37 -04:00
Jays2Kings
5727b1541a remove mangadex intent temporality
since the frontend could return at a moments notice, better to disable it now before users ask why its broken
2021-05-11 00:20:41 -04:00
Jays2Kings
63df493cb4 More fixes to text selection in manga details
Thought about using a dialog popup to select text but it's just so unfriendly I'll stick to the bugs

Once again leave it to google to not fix bugs https://issuetracker.google.com/issues/37095917
2021-05-10 23:42:49 -04:00
Jays2Kings
cb7159d22e adding doOnError for pager holder to close stream as well
just to be safe
2021-05-10 19:42:04 -04:00
Jays2Kings
154c6d0320 Fallback to single page mode for images that cant be decoded in double page layout 2021-05-10 18:59:55 -04:00
Jays2Kings
31980abf28 fix starting top padding of recyclers
doesn't change anything really but still
2021-05-10 17:33:15 -04:00
Jays2Kings
0099dd5523 Fix global search scrolling up one section after coming from manga details 2021-05-10 17:32:27 -04:00
Jays2Kings
c020d4d45d Fix filter sheet bottom buttons when keyboard was previously showing 2021-05-10 15:06:27 -04:00
Jays2Kings
8ead904def Add up arrow eye icons for those who sort by ascending chapters 2021-05-10 14:23:28 -04:00
Jays2Kings
4c06966870 Set newly tracked manga as "Plan to read" if nothing has been read yet
and it'll be set automatically to reading status when read in the reader
2021-05-10 13:58:33 -04:00
Jays2Kings
c884963672 Fixed Anilist start/end date not being set when starting to read/completing manga 2021-05-10 13:57:24 -04:00
Jays2Kings
c06c93a002 Added Cubari as a deeplink target
Also in my findings setting a host with a starting wildcard does not work in android 12 dev preview (you have to enabled links in a12, and links with a starting wildcard do not show)

I'll open an issue for cubari extension later when I do some more digging
2021-05-09 18:50:59 -04:00
Jays2Kings
33e54609cd Removed jaiminisbox's from delegate source list as well 2021-05-09 18:46:51 -04:00
Jays2Kings
8df63bd384 More prevention fixes to make sure db doesn't add dup chapters when deeplinked 2021-05-09 18:46:22 -04:00
Jays2Kings
dcf3f56a05 Fix refreshing in manga details not fixing corrupt covers 2021-05-09 18:45:55 -04:00
Jays2Kings
59f27c494d Remove jaiminisbox in manifest
removed the delegate but never this
2021-05-09 18:32:30 -04:00
Jays2Kings
22f2ef18b1 Using an enum to represent download states
no need for the value int in upsteam, since enums can compare already

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-09 14:21:01 -04:00
Jays2Kings
8cadb283f8 Fix snack for updating library being behind the nav bar sometimes 2021-05-09 13:52:11 -04:00
Jays2Kings
5927ca6976 Fixes to the download status/fab/errors in ui 2021-05-09 13:51:55 -04:00
Jays2Kings
e669f4eba5 Move down arrow for eye previous chapters drawables a bit lower 2021-05-09 00:14:21 -04:00
Jays2Kings
f7baf124a6 Fix saved images paths 2021-05-09 00:05:04 -04:00
Jays2Kings
13e50d35f1 Updating to androidx of work-runtime 2021-05-08 23:41:53 -04:00
Jays2Kings
b8af6e0049 Instantiate extension preferences with proper datastore earlier
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-05-08 23:15:09 -04:00
Jays2Kings
4999db33f4 Tablet UI for manga details
It returns for some reason... even I'm trying to figure out why

enjoy my 8 tablet users

Also kinda fix the view scrolling down a bit when tapping on the expanded summary when the summary is extremely long
2021-05-08 22:48:43 -04:00
Jays2Kings
0c2262ccba Fix warning about using layout_constraintWidth_default 2021-05-08 22:38:25 -04:00