Commit Graph

467 Commits

Author SHA1 Message Date
Jays2Kings
0e62516777 Changing Add to/Change in library dialog to a bottom sheet
I just don't get tired of them.

This also has a button to add a new category

Also updating the snackbar when adding to library to show a "change" button to update the categories. In case you have a default category set
2021-04-05 21:07:59 -04:00
Jays2Kings
6d6766a86a
Double pages (#699)
* Start of dual pages

* Fixes to dual pages + added button to shift

Next to add a button to get out of this nightmare

* Adding preference to truly support on and off

* Set double pages correctly for L2R reading mode

* Hide shift double page in single page mode

also fix shift into or out of double pages not going to right page

* Shift page back on loading a new chapter

* Fix back shift when reaching near end of chapter with shifted pages

* Fix chapters not being marked as read when last pages are doubled

* more fixes

* change menu icon and verbage

* Fixed going to previous/next chapter when turning on/off double shift sometimes

* Fix shift icon for double page in R2L

* Adding double page as option in reader sheet

* Adding saving/share/setting cover for second page

* Add back page indicator

* RTL language support for current page in double mode

* Changing to double page always moves the current page to first slot

Also fix bad snap back from single to double or vice versa

* Reset shift icon when going to a new chapter

* Add Double pages to reader settings

* Add padding to current/total pages text

since it gets pretty long with double digits in double pages mode

* Option for automatic single/double layout based on orientation

With option to change mid read

* More fixes

* Lotta reworking to make this work

Lotta reworking to make this work

Seriously a lot of reworking to make this work

* Cleanup + Some documentation

Because I won't "know my own code"

I genuinely do not know what I just coded

* Swapped around icons for double page in chapter sheet bar

Since it was confusing even me

* Fix shifting not updating the ui, nor shifting back to the right page

* Fix changing chapters

* Fixed Prev Chapter transition page jumping back 1

* Fixed progress spinner for single page loading

* Fix the case of a second page shifting for full width while double shift is on

It would unshift the pages in this case, requiring another shift back

If this sounds confusing or complex, it's because it is

Also clean up

* Update Initial dual page bg to match reader bg theme

* More cleanup

* More cleanup + docs + refactoring

* String update

* more cleanup

* Update toolbar ripple based if the menu item is visible

* Fix more issues with shifting + next chapter's first page being a double

* Cleanup ChapterTransision Checks

* Always run shifting logic

* Even more optimizing

which hopefully didnt break something (prolly did)

(spoilers it did I had to undo this local commit)
(more spoilers it still will break again)

* Fix Retry in double mode

* Set gifs as fullpages

* Fix going from automatic to single/double page layout

* More cleanup, more comments

* Fix changing page layout when on a transition page for a manga with a single chapter

The edge cases you can find....man

* Restore shifted pages on activity recrreation

* Adding a "beta" tag to page layout

IMO it's absolutely solid and release candidate ready, but you can get away with so much by calling something a "beta" or an "alpha"
2021-04-05 14:55:22 -04:00
Jays2Kings
d0738f5b00 Fix n/p chapters strings + action for n/p chapter 2021-03-30 22:51:38 -04:00
Jays2Kings
e28a12161a Allow dns_over_https to be translatable 2021-03-30 14:23:50 -04:00
Jays2Kings
538ad09754 Add button to collapse reader filters
Also adding gesture ignoring for custom brightness since its extremely close to the nav bar
2021-03-30 14:23:22 -04:00
Jays2Kings
5c4a6ef8e0 Adding prompt for marking all as unread 2021-03-27 21:13:00 -04:00
Jays2Kings
54a3767eb4 Removing Internal changelog
There's a lot of changes this release and I'm tired of writing them twice each time

Based on tachiyomiorg@88032e1

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-27 16:42:13 -04:00
Jays2Kings
58defbb5d2 Option to change cutout behavior in portrait
Back on my BS, but this was an uncommited change for months that I was too lazy to stash for release
2021-03-27 14:34:37 -04:00
Jays2Kings
093018fd81 Add option to dump crash logs
To tachi-chan: Thank you for your service o7
2021-03-27 12:30:49 -04:00
Jays2Kings
110807bd49 Separating Backup/Restore Progress/Complete 2021-03-26 16:42:07 -04:00
Jays2Kings
b38327c58a Added "Add/Edit" Categories" button in library display sheet
People please. Just make some categories
2021-03-26 14:28:29 -04:00
Jays2Kings
0586ef846a Fix duplicate string names for weblate 2021-03-26 14:21:37 -04:00
Jays2Kings
c21b91bc02 Backing up custom data for manga as well
Using 800s in BackupManga for this
2021-03-26 01:49:39 -04:00
Jays2Kings
dd88dbfa29 Fixed last used text 2021-03-25 22:48:38 -04:00
Jays2Kings
14b04693c8 S-Pen support
Closes #678

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
2021-03-25 01:38:28 -04:00
Jays2Kings
999247d7dd Added option to change navigation type for reader
Taken from upstream with some tweaks:
*Removed always show at start option
*"Left" and "Right" in reader overlay now say "Next" or "Previous" in LRNav
*Changing Inversion also shows navigation overlay
*Show new user the nav overlay the first time for both paged and webview (since j2k has auto webtoon)

Also unrelated, changed "page transitions" to "animate page transitions"

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-24 20:13:14 -04:00
Jays2Kings
380b609847 Reordering reader settings
So it's more in line with upstream
2021-03-24 17:41:56 -04:00
Jays2Kings
fe2543b9d5 Reworking Reader Activity Menus
Reader settings sheet now in a tabbed layout
Reader settings sheet also contains filter options
Reader menu now holds the long tap options (Share, Save, Set as cover)
Reader menu also has option to go to manga details (was on toolbar tap)
Also has the option to jump straight to reader settings
Removing long tap gesture on Reader since no longer needed
2021-03-24 17:10:31 -04:00
Jays2Kings
455ebb6fa4 Filters no longer show on first launch + option to always show hopper
option is on by default
+ renaming 3rd section to "Categories"
+ refactoring
2021-03-24 00:29:21 -04:00
Jays2Kings
eb585e79d8 Added Search for settings
Also added highlighting to the search results as well

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-23 23:40:01 -04:00
Jays2Kings
6654882c1f Option to set starting screen + back returns to start
By default it's same behavior as before, last used between recents or library
Other setting is self-explanatory, on by default
2021-03-23 20:55:50 -04:00
Jays2Kings
9a220073b9 Updated Extensions Settings view
Some changes from upstream plus:
Settings in same view (collapsible)
Sorted by enabled languages
Disabled languages show as off
Disabled sources due to language can be turned on via tapping on them then the snackbar
2021-03-23 20:13:17 -04:00
Jays2Kings
e8cba5c164 Adding NSFW warning to extensions
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-23 14:12:31 -04:00
Jays2Kings
b792504854 Various updates to Browse Tab
Changed filter languages button to a globe and now says "filter languages"
Fix source migration not animated between sources and manga
Leaving the migration tab sends you back to source migration list
2021-03-23 13:16:26 -04:00
Jays2Kings
d6b07b7f40 Added Source Migration to browse section
Don't ask me how I did it.
2021-03-23 12:58:57 -04:00
Jays2Kings
90a6543334 Separated library display options in *tabs*
To all my fellow tab-hating fans: I'm so sorry. Words cannot express the disappointment in myself. I shall be posting a public YouTube apology video soon.
2021-03-22 22:10:40 -04:00
Jays2Kings
9090f87756 Suggested Start/Completed Date for Trackers based on reading history 2021-03-22 01:34:55 -04:00
Jays2Kings
4ccd051cd5 Added Start/Completed Date for MAL
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 22:28:16 -04:00
Jays2Kings
05e3437f49 Update to MAL's new API + Refactoring
To Arkon: no, I'm not hogging your clientId

Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 22:22:46 -04:00
Jays2Kings
434926351c Added support for proto.gz backups
Lotta cleanup to do, but that's a later commit

Co-Authored-By: Carlos <2092019+CarlosEsco@users.noreply.github.com>
Co-Authored-By: arkon <4098258+arkon@users.noreply.github.com>
2021-03-21 00:00:55 -04:00
Jays2Kings
a14c2d49db Option to Auto hide bottom nav while scrolling 2021-03-20 19:21:24 -04:00
Carlos
5989c7119f
add mark previous as read option in chapter list (#632)
add download unread, mark read, mark unread on library view
2020-12-13 12:19:20 -05:00
Jays2Kings
99010acc24 Added option to save/share manga cover when zoomed in 2020-09-16 01:42:27 -04:00
arkon
2bb1427162 Add advanced option for DNS over HTTPS via Cloudflare 2020-08-09 20:39:00 -04:00
Jay
7a87714c88 Sectioning Advanced section 2020-08-09 20:18:45 -04:00
Jay
696ffff401 Added option to clean cache of online covers in advanced 2020-08-09 20:10:33 -04:00
Jay
ad57086d8c Deeplink into chapters for a few sources
So far just mangadex, jamini's, mangaplus, kireicake
2020-08-09 16:46:02 -04:00
Carlos
813a3c6e68
Download updates (#546)
* Add rename download attempt from preview

* clean up renew cache some to help with readability

* Download on WiFi regardless of metered status  (From Tachiyomi)

* no reason to show md2 beta message for new debug installs

* update clean up downloads to be a little faster and hit some edge cases not thought of before

* fix bug where manga name does not match the file name and was deleting manga downloads of manga with special characters

Co-authored-by: Chris Allan <chrisallan@pm.me>
Co-authored-by: Ken Swenson <2048861+flat@users.noreply.github.com>
2020-08-09 14:55:53 -04:00
Carlos
442a439e66
Tracker improvements (#473)
* add tracker logout dialog from upstream

* update for all trackers to have logout dialog

* remove logout button from login screen

* new login button that is more material
had to remove red_error color cause that was in the library that i removed

* return error message if user has blank username/password

* add x button to clear tracked Manga
add dialog that gives option to clear just in app or from tracking service
added mal as first service to allow clearing

* fix string in dialog for remove
ad ability to remove from anilist service

* add ability to delete from kitsu

* made login dialog look more material

* change the dialog for the remove from tracker

* update coil to 0.11.0

* make track search a little nicer
2020-06-06 19:53:13 -04:00
Jay
cac18f16ab Switching "disable zoom" setting to "enable zoom out"
which will be off by default
2020-05-25 20:25:55 -04:00
Jay
59c2da3f91 Batch select sources for pre migrations
Select none/all, pinned sources, enabled sources from the list
2020-05-23 17:07:52 -04:00
Jay
2413d4c91e Pressing category button in hopper opens a mini category jump sheet
instead of opening backdrop
2020-05-23 15:50:50 -04:00
Jay
32aea55f42 Send manga/chapter/page details when sharing a chapter page
closes #443
Also for page_ string, removing the colon in it
2020-05-23 04:07:36 -04:00
Jay
b174b954f5 Update source migration ui
Also fixed library grid back to center crop
2020-05-22 01:30:03 -04:00
Jay
d5fb065111 Update skip pre migration tip 2020-05-21 23:28:25 -04:00
arkon
bd748f6a62 Skip filtered chapters while reading 2020-05-21 14:00:59 -04:00
arkon
62e2a895f5 Update reader settings/rewording form upstream 2020-05-21 13:47:12 -04:00
Jay
172702e177 Change error message for when source is not installed 2020-05-21 13:28:40 -04:00
arkon
12b2da9058 Show notification with error log on update failures + Move notification logic out of LibraryUpdateService 2020-05-21 02:20:07 -04:00
Jay
8e155044f2 Changed sources latest button to just say "latest 2020-05-20 20:29:28 -04:00