Commit Graph

3269 Commits

Author SHA1 Message Date
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