Commit Graph

2239 Commits

Author SHA1 Message Date
Jay
b1fa07aedd Fixing imports for before commit 2020-04-22 23:49:12 -04:00
Jay
39aceea9da Using Controller Extensions
Cleanup some unused backup consts/methods
2020-04-22 20:56:11 -04:00
Jay
bd4a839b9e Setting light status bar in light reader themes for android O+ 2020-04-22 20:39:08 -04:00
Jay
204a784895 Added Last Used header to browse, hides if it is a pinned source 2020-04-22 20:33:43 -04:00
Jay
f5cc879a7e Fixing some filter bugs
Fixed not tracked + pressing 2 filters at once
2020-04-22 20:33:17 -04:00
Jay
af3fadd62a Fixed weird changing size of the fab in browse source view
Co-Authored-By: Soitora <simon.mattila@protonmail.com>
2020-04-22 20:32:54 -04:00
Jays2Kings
a0859148e0
Merge pull request #206 from CarlosEsco/minorCodeCleanup
cleaned up some code in the reader sections
2020-04-22 20:24:50 -04:00
CarlosEsco
f6c2558722 run standard xml format on reader files 2020-04-22 13:31:02 -04:00
CarlosEsco
4407d8774a delete scope since unused 2020-04-22 13:21:50 -04:00
CarlosEsco
a029fc950e improve if readability
improve bottom edge readability
2020-04-22 13:20:22 -04:00
CarlosEsco
1d92c4474f no reason for nested if 2020-04-22 13:19:49 -04:00
CarlosEsco
e5d3890ead move windowInset check for bottom into extension 2020-04-22 13:19:36 -04:00
CarlosEsco
f0cf0f4106 pass in the color value for the attribute instead of looking up again 2020-04-22 13:00:19 -04:00
CarlosEsco
c035745b94 add some ContextExtensions to wrap ContextCompat.getDrawable and ContextCompat.getColor 2020-04-22 12:57:03 -04:00
CarlosEsco
ca633b1f95 wrap more if's and else with braces 2020-04-22 12:50:52 -04:00
CarlosEsco
4e44ee3605 wrap if's in {} for readability 2020-04-22 12:47:47 -04:00
CarlosEsco
3240260a91 replace same line if else to when for readability 2020-04-22 12:43:55 -04:00
CarlosEsco
7399c87601 adjust setting reader system ui easier to follow 2020-04-22 12:42:03 -04:00
CarlosEsco
a47704071b add ability to adjust side padding in main reader settings 2020-04-22 11:45:49 -04:00
CarlosEsco
f331b24386 code should hide this button if the dialog was not tracked.
currently it just adds blue action color but always shows
2020-04-22 11:19:34 -04:00
Jay
12dfad2432 Fixed manga details being blank 2020-04-22 01:48:47 -04:00
Jay
aab4e7fe5a Minor refactoring/documentation of manga details controller
It aint much but its something
2020-04-22 01:18:08 -04:00
Jay
efb28e21a7 Removing launchUI from library presenter
Also fixed library not having an alpha when coming to the screen from restoring
2020-04-22 00:27:23 -04:00
Thiago França da Silva
4e54690229 Add an UserAgent Interceptor to Cloudflare Client 2020-04-21 16:51:12 -04:00
arkon
329e8f1988 Migrate to WorkManager 2020-04-21 14:04:37 -04:00
Jay
beeabe17c4 Checking alpha component when check if a color is dark
Because turns out some scanalors leave an uncropped alpha in their pages
2020-04-20 01:48:31 -04:00
Jay
a2e7b48501 Fixes to collasped category showing items + fixed single categoery named as Library 2020-04-20 01:08:19 -04:00
Jay
0d6730d5d9 Remove glide transform
forgot to commit it
also upgdating firebase
2020-04-19 20:48:53 -04:00
Jay
2fa1c71fbd More attr cleanup 2020-04-19 20:46:53 -04:00
Jay
776e75cb6c Swiping up on bottom nav with an expanded filter sheet now opens display options 2020-04-19 18:37:38 -04:00
arkon
b08a5d6596 Remove manga homescreen shortcuts 2020-04-19 18:26:54 -04:00
Jay
b53d571a1c Add option to hide start reading button 2020-04-19 18:22:12 -04:00
Jay
b38b74d95d Using appbar for reader, removing tablayout in main activity xml
and a pill in the reader chapters sheet
2020-04-19 17:57:35 -04:00
Jay
732b7c3414 Update dividers 2020-04-19 17:41:50 -04:00
Jay
541b026fa8 Fixed restored but errored manga ending up in default category 2020-04-19 17:29:28 -04:00
Jay
5b5239c5eb Reader now using app theme, clean up of unused drawables; attrs; colors 2020-04-19 17:28:59 -04:00
Jay
aef79bafad Converted long press for hide and pin into a swipe and button
respectively
2020-04-19 14:52:22 -04:00
Jay
5871572442 Renaming a bunch of files as Source instead of Catalogue 2020-04-19 04:33:57 -04:00
Jay
83990793a2 Part 1 of updating source controller 2020-04-19 04:17:47 -04:00
Jay
5e56f80709 Added source icon to filter sources 2020-04-19 01:20:56 -04:00
arkon
1373a0d61c Add source pinning (closes #2322) 2020-04-19 00:18:25 -04:00
arkon
849cb4208f Change catalogue hiding dialog to accommodate more options in the future 2020-04-18 23:40:10 -04:00
arkon
5276e25b22 Basic implementation of hiding catalogue by long pressing 2020-04-18 23:31:38 -04:00
morcefaster
0629bf982c Webtoon zoom out (#2892)
* Increased added support for zoom out on webtoons to help with horizontal layout reading

* Renamed var
2020-04-18 23:19:52 -04:00
arkon
08cb46b145 Tweak library icon 2020-04-18 23:17:40 -04:00
Jay
2df67c5691 Bolding current chapter in reader's chapter list 2020-04-18 23:09:27 -04:00
arkon
3438d72232 Fix extension setting dialogs not handling duplicate keys (fixes #2876) 2020-04-18 22:53:39 -04:00
Jay
7ef5e59421 Forcing webtoon mode on manhwa and long strip 2020-04-17 23:23:57 -04:00
Jay
f0cb967f6a Added ability to search manga titles in collasped category 2020-04-17 01:03:57 -04:00
arkon
a4178f5d28 Add shortcut to disabling battery optimization 2020-04-17 00:36:07 -04:00
Jay
0af41005f8 Adding webtoon side margins + continuous vertical
Co-Authored-By: arkon <arkon@users.noreply.github.com>
Co-Authored-By: morcefaster <51055657+morcefaster@users.noreply.github.com>
2020-04-17 00:04:44 -04:00
Jay
907c4b77a8 Fixed Traditional Chinse being set as LTR reader 2020-04-16 22:46:22 -04:00
Jay
71352a6fe1 Fixed being able to hide chaptersbottom sheet on reader when recreating activity 2020-04-16 22:44:47 -04:00
Jay
b6c0efd875 Some super light logic change/cleanup for library presenter 2020-04-16 22:03:29 -04:00
Jay
6bdbf59041 Pressing on category name in library allows managing of it
Can rename, set download new chapters, or include in global update
2020-04-16 20:41:07 -04:00
Jay
877cb43043 Option to collaspe categories
Sort button on category now shows category direction
Category name now a bit larger
2020-04-16 15:58:10 -04:00
Jay
3d6ad28437 Fixed selected chapter in list not updating 2020-04-15 00:03:30 -04:00
Jay
02896679fe Added Chapter list to reader activity
Also using this as a test bed for fast adapter
2020-04-14 23:56:50 -04:00
Jay
472ba92fe6 Downloaded button arrow is back to always white 2020-04-14 15:38:17 -04:00
Jay
2d9f19e8db Updating some of the sheets to be more modern 2020-04-14 15:37:49 -04:00
Jay
5d0ce6cb3f Add documentation to library presenter 2020-04-13 23:54:50 -04:00
Jay
9bd57903d0 Readding resources that shouldn't have been removed 2020-04-13 23:24:15 -04:00
Jay
7fa0280e91 appending ic_ to the icon drawables 2020-04-13 23:18:00 -04:00
Jay
13ab4655b3 Removed unused resources 2020-04-13 23:13:13 -04:00
Jay
716f7f422f Minor cleanup + local source string change to "local library" 2020-04-13 23:09:18 -04:00
Jay
bdf73da0ba Fixed unread badge type issues 2020-04-13 22:42:41 -04:00
Jay
fb7599c833 Update download colors 2020-04-13 22:36:54 -04:00
Jays2Kings
ffa83e3677
Merge pull request #187 from CarlosEsco/MD2minorchanges
minor changes
2020-04-13 22:15:39 -04:00
Jay
a5db1ff417 Dismiss popup menu for chapters when scrolled off screen 2020-04-13 20:35:27 -04:00
Jay
69214984e4 Fix fast scroll when using a single category
No longer shows the refresh button for single category
2020-04-13 20:34:19 -04:00
Jay
14c2ac6067 Added a tablet layout to manga details
The 3 people who can use this you better appericate it
2020-04-13 20:10:50 -04:00
Jay
d09d3e0bda Adding elevation to appbar on scroll
I'd love to just do this with coordiator but alas...
2020-04-13 20:04:28 -04:00
Jay
e87f0c48ce Fix recent item not showing after swiped 2020-04-13 02:51:23 -04:00
Jay
f297444d19 Update category indicator spacing 2020-04-13 02:51:06 -04:00
Jay
60bb7d919d Showing category change via the fastscroll indicator, Library title is now always "Library" 2020-04-13 02:26:19 -04:00
Jay
ea0b4c2bc3 Fixed remove downloads option escaping the overflow menu 2020-04-13 01:13:49 -04:00
Jay
2ce8f544f3 Setting foreground extensions check to 6 hours 2020-04-13 01:07:23 -04:00
Jay
8d88d1a739 Setting cover in reader sets the custom cover flag 2020-04-13 01:07:10 -04:00
Jay
6533689539 Recents can now be filtered for only history or updates 2020-04-13 00:46:01 -04:00
Jay
cb6de21804 Using bookmark icon for chapter bookmarking, heart for favoriting manga 2020-04-12 20:19:07 -04:00
Jay
3f31152968 Fix "no description" not showing sometimes 2020-04-12 18:54:17 -04:00
Jay
3a4780e19b Added option to migrate manga from manga details
Also copying manga date added to migrated manga
2020-04-12 18:53:56 -04:00
Jay
0b0f985e24 Keeping a private static list of recents for recreation of recents controller 2020-04-11 14:54:11 -04:00
Jay
ed3e819829 Library's first load is now async + private scope in library presenter 2020-04-11 14:26:01 -04:00
Jay
3cd74ce05e Readding Hide Table Column
Since it fails to load browse without it
2020-04-11 13:58:40 -04:00
Jay
d5605d162c Hide Fab in latest updates 2020-04-11 01:59:57 -04:00
Jay
2a8f4fd1c0 Adding naviagtion buttons for recents if ungrouped and theres no recents 2020-04-11 01:04:44 -04:00
Jay
34692cdc93 Added Proper logout button to tracker login dialog 2020-04-11 01:04:11 -04:00
Jay
f4ce43787c Controllers now properly remove their toolbar items on pop 2020-04-11 00:06:25 -04:00
Jay
b5699154f4 Added option to ungroup recents 2020-04-11 00:05:59 -04:00
Jay
26c5214d2e UI changes for library
Sort Arrow now point to the right direction for date add/latest chapter/last read
Fast scroll now has an option to reach the bottom
2020-04-10 18:11:02 -04:00
Carlos
6b55d84ac8 add refresh trackers when opening details 2020-04-10 17:59:07 -04:00
Carlos
124bb63442 switch to use color accent 2020-04-10 17:58:22 -04:00
Jay
3a941fa0e7 Fixed #184 2020-04-09 23:47:55 -04:00
Jay
2dd8c8810a Clean up of library presenter
Using progress bar again for when a category is updating and ripple for sort button
Fixed #165
2020-04-09 23:45:44 -04:00
Jay
55b7b8ca2a Reducing New chapters fetch on recents to a week instead of a month 2020-04-09 23:30:00 -04:00
Jay
d3579706d3 Possibly fixing some freezes and crashes 2020-04-09 23:29:26 -04:00
Jay
1aebd3aced light Manga details refactoring 2020-04-09 02:01:56 -04:00
Jay
a73c847e3f Added Remove Downloads to manga details
Collasaping downloads if theres no downloads when its not in view
2020-04-09 00:50:22 -04:00
Jay
05428b308f Reordering the strings xml
and slightly more cleanup
2020-04-09 00:25:38 -04:00
Jay
fb529f52d3 Big refactoring of strings
Removing some of the unused, removing the prefixes on some strings
Cleaning up some of the unused resoures and dialogs
2020-04-08 20:32:36 -04:00
Carlos
4c45e3b217 switch to accent color for the downloaded 2020-04-08 17:55:39 -04:00
Carlos
5f8643a33d switch tracker cards to use the background_card attr 2020-04-08 17:49:35 -04:00
Jay
4828f934b5 Cleanup & adding comments 2020-04-08 00:02:35 -04:00
Jay
00bd80b5fa Removing hide title from manga
Since there's comfortable grid there's no need for it now
2020-04-07 23:45:52 -04:00
Jay
26571a2508 Fixes for grid sizes on all device sizes
Catalouge grid now matches library grid type
2020-04-07 22:32:28 -04:00
Jay
839bfb8807 Updated app shortcuts 2020-04-07 01:39:50 -04:00
Jay
4daa577d39 Fixed #175 2020-04-07 01:39:16 -04:00
Jay
963e125d64 Fixing #178 and adding #171 2020-04-07 00:34:23 -04:00
Jay
4d8340a0c3 New fast scroller used on chapter list
Scrolls by volume now
Updated to jsoup 1.13.1 since there was some errors with 1.12.2
2020-04-06 23:52:15 -04:00
Jay
21953424c0 Added theme style to swipe refresh
Also fixed #161
2020-04-06 15:06:17 -04:00
Jay
e571fcb1be Update extensions/downloads text 2020-04-06 13:36:10 -04:00
Jay
faa7cd3d26 Recents page now shows the first newest chapter in 12 hours 2020-04-06 13:30:34 -04:00
Jay
0bcd8f2f68 Made description text selectable
+ fixes to when set default chapter sort should show
2020-04-06 13:27:06 -04:00
Jay
3ccaf92770 Move manga to default category (#166)
Also removed option for how to move manga between categories, will always keep category's sorting
2020-04-06 04:16:26 -04:00
Jay
7325a79318 Long pressing library button fix
With no categories just toggle favorite status (closes #179)
2020-04-06 03:42:23 -04:00
Jay
ddb4092e16 Added Undo button for swiping in manga details 2020-04-06 03:34:34 -04:00
Jay
651682df4a Cleaning the library controller + removing the side swipe
^Since the fast scroll exists now
Root controlllers can all now swipe up from the bottom bar to expose sheet
Added option to refresh tracking for a manga
2020-04-06 03:10:53 -04:00
Jay
83206ded5e Update Recents updates items to new style
Also removed newly added manga from flooding recent updates (closing #52)
2020-04-04 20:18:27 -04:00
Jay
4e33b93c08 Small UI tweaks
Download 3 dots hidden when theres a single chapter downloading
Recents now shows the chapter as the title, manga as subtitle
Library List view: moved start reading button outside of the manga
Reenabled freeform covers
Also never commited the fast scroll the gradle, oops
2020-04-04 16:48:15 -04:00
Jay
73373cab56 Added option to globally sort all manga's chapters
Fyi this is going to break your current sorting
Also made it more obvious the entire chapter filter header is clickable
2020-04-04 16:11:00 -04:00
Jay
58d416d16c Merge branch 'MD2' of https://github.com/Jays2Kings/tachiyomi into MD2 2020-04-04 14:07:20 -04:00
Jays2Kings
dd11367331
Merge pull request #169 from CarlosEsco/MD2Tracker
update icons for shikimori and bangumi
2020-04-04 14:05:59 -04:00
Jay
b79eb3f1d3 Remove old download controller 2020-04-04 14:01:46 -04:00
Jay
d0def563c8 New fast scroller for library
Updated Drag handle icon
Removed outline fron update button in extensions
Moved "view options" to filter sheet as "display options"
Removed freeform cover option from library 😔
Added swipe refresh to recents page
Removed a few overflows
2020-04-04 13:47:32 -04:00
Jay
836291a59a Cleaning out the old LibraryController 2020-04-03 19:15:29 -04:00
Jay
19c1192233 Fix crash with gif covers in manga details + more pading for category headers 2020-04-03 15:17:21 -04:00
Jay
c13b6cbe91 Added swipe to refresh to library
Plus increased horizonatal swipe distance
2020-04-03 02:33:05 -04:00
Jay
1ce426d1c9 Download queue moved to recents
We're at 7 bottom sheets now
Using vibrant color for manga cover background
2020-04-03 01:04:44 -04:00
Jay
9a4894ba95 Cleaning up Recents and MainActivity 2020-04-01 21:51:36 -04:00
Jay
5963c09691 Updates to Date Added
On upgrade, assign date added to the earliest chapter fetch
Added "Newly Added" section to recents
Reformated Recents to use a single recyclerview
2020-04-01 21:26:32 -04:00
Carlos
af45fa4a20 renamed webp files with prefix ic_ since these are icons for the trackers 2020-03-31 13:51:14 -04:00
Carlos
1176c7a758 updated bangumi and shikimori to accurate icons
changed bangumi to rgb color vs hex to match other trackers
2020-03-31 10:52:39 -04:00
Carlos
15567cc3c3 removed unused navigation header 2020-03-31 10:52:00 -04:00
Carlos
8f58419ddc fix casing for string 2020-03-30 12:31:07 -04:00
Carlos
a7765146fd Add sort by date added 2020-03-30 11:16:20 -04:00
Jay
362a088367 Fixed sorting chapters not updating properly 2020-03-29 13:31:06 -04:00
Jay
e43be48074 Delete app-standard-debug.apk 2020-03-29 00:49:11 -04:00
Jay
44446b8f8a Disabled Tabbed Library
Likely to be removed forever
Also global update no longer shows download paused notification when queing up
Also bumped up to vCode 62 since 0.9.82 is out
Also fixed issue when the manga details header is taller than the screen
2020-03-29 00:08:09 -04:00
Jay
b48cff63e4 Fixes to manga details when app is locked + scrolling toolbar fixes 2020-03-28 19:11:32 -04:00
Jay
9e67c00465 Disabled ktlint's import organizer 2020-03-28 18:21:11 -04:00
Jay
497f965cba Parallax scrolling to Manga details page 2020-03-28 18:13:36 -04:00
Jay
0d658d4b05 Refactoring ChapterItem to make the download button more reusable 2020-03-28 15:07:21 -04:00
Jay
d82b6fbe04 Resume on last used tab 2020-03-28 14:11:19 -04:00
Jay
5e45c29f58 Filter library by non tracked services 2020-03-28 14:10:35 -04:00
Jay
6a7762212b New Recents Page + Download updates
Recent tab is now a combination of recent reads and updates, filtered by unread and an option to go to both old pages (which will be updated later)
Download button now has an option to start downloading a chapter now, which unpauses downloading and moves it to the top of the queue
If a chapter is added to a paused download queue with the notification swiped away, the notification returns
2020-03-28 01:23:22 -04:00
Jay
719aa751b8 Fixed extensions notifcation action 2020-03-25 00:48:24 -04:00
Jay
d361f41b35 Searching chapters collapses manga header
Fixed fade in of chapters on first load of manga details
2020-03-24 02:47:40 -04:00
Jay
f57e19a894 Fix crash when resuming tachi while broswing catalogue 2020-03-24 02:16:49 -04:00
Jay
1a661f5d04 Optimize Imports 2020-03-24 02:07:36 -04:00