Commit graph

2 commits

Author SHA1 Message Date
Joseph Milazzo
9b2e61695a
Double Page Rendering (#1333)
* First commit

Enabling double layout mode (and minor fixes)

* Second commit

* bug-fix/side-nav-icon

Side nav icons were not aligned to centred.

* bug-fix/side-nav-icon

Side navigation icons were not aligned centred.

* Squashed commit of the following:

commit d796bcdc0a
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 26 00:24:25 2022 +0000

    Bump versions by dotnet-bump-version.

commit 3c92b6d8a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 19:11:01 2022 -0500

    Fixed the logic for caluclating time to read on comics

commit e7617862a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 17:49:45 2022 -0500

    Don't use plural if there is only 1 hour for reading

commit 713e20ebf4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 17:48:50 2022 -0500

    Tweaked when we calculate min reading time

commit c0f7dd39a2
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 22:10:42 2022 +0000

    Bump versions by dotnet-bump-version.

commit c1490d6e86
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 16:53:39 2022 -0500

    Word Count (#1286)

    * Adding some code for Robbie

    * See more on series detail metadata area is now at the bottom on the section

    * Cleaned up subtitle headings to use a single class for offset with actionables

    * Added some markup for the new design, waiting for Robbie to finish it off

    * styling age-rating badge

    * Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.

    * Hooked up analyze ui to backend

    * Refactored Series Detail metadata area to use a new icon/title design

    * Cleaned up the new design

    * Pushing for robbie to do css

    * Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.

    * Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.

    * Hooked up actual reading time based on user's words per hour

    * Refactor some magic numbers to consts

    * Hooked in progress reporting for series word count

    * Hooked up analyze files

    * Re-implemented time to read on comics

    * Removed the word Last Read

    * Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.

    * Reworked error handling

    * Fixed some security vulnerabilities in npm.

    * Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.

    * Tweaked the styles a bit on the icon-and-title

    * Code cleanup

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 0a70ac35dc
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 19:39:11 2022 +0000

    Bump versions by dotnet-bump-version.

commit a9a1ec02ca
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 14:25:53 2022 -0500

    Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)

commit 1247f450e2
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 17:21:56 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1a128a3af4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 12:05:16 2022 -0500

    Implemented the ability to read format tag and force special status. (#1284)

commit a0e1ba8d67
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 23 23:30:19 2022 +0000

    Bump versions by dotnet-bump-version.

commit e0a2fc615f
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Mon May 23 18:19:52 2022 -0500

    UX Changes, Tasks, WebP, and More! (#1280)

    * When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.

    * Some cleanup on the user preferences to remove some calls we don't need anymore.

    * Removed old bulk cleanup bookmark code as it's no longer needed.

    * Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.

    * Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.

    * Implemented the ability to bulk convert bookmarks (as many times as the user wants).

    Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.

    * Tweaked the wording around the convert switch.

    * Moved System actions to the task tab

    * Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.

    * Fixed the unit tests

commit dd83b6a9a1
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 23:36:25 2022 +0000

    Bump versions by dotnet-bump-version.

commit 16eb1e3e8e
Author: Joseph Milazzo <josephmajora@gmail.com>
Date:   Sat May 21 18:24:18 2022 -0500

    version bump (#1271)

commit f4f91fa5a9
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 23:03:49 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1801afd4a7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sat May 21 17:52:57 2022 -0500

    Updated the readme to reflect new UX and some tweaks to wordings. (#1270)

commit bcad2e4a55
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 02:18:06 2022 +0000

    Bump versions by dotnet-bump-version.

commit 81082508f2
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 20 21:05:09 2022 -0500

    Release Shakeout Part 2 (#1267)

    * Fixed manga reader and removed debug code

    * Removed some console.logs

commit 92010379f1
Author: majora2007 <josephmajora@gmail.com>
Date:   Fri May 20 23:00:48 2022 +0000

    Bump versions by dotnet-bump-version.

commit a062341564
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 20 17:50:17 2022 -0500

    Release Shakeout (#1266)

    * Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough.

    * Fixed pagination placement on original scaling

    * Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader.

    * Fixing select on black book-reader theme

    * Fixing canvas split centering

    * Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day.

    * Use grid on related tab

    * Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden

    * Fixed bug where filter might stay open between pages

    * Fixed typo on relationship for Adaptation

    * Contains was missing from series relation modal

    * Tweaked some methods and wording on reading list page

    * Cleaned up the phrasing when we abort a scan.

    * Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options

    * Fixed some typeahead bugs and decreased interval for docker health check

    * Cleaned up and fixed some logic with receiving cover image update events

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 49d8a7c6ca
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 19 12:24:13 2022 +0000

    Bump versions by dotnet-bump-version.

commit f2b1cd55f0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Thu May 19 07:14:18 2022 -0500

    Remove Light and E-Ink theme (#1263)

    * Refactored code to show action bar instead of drawer in immersive mode

    * Card grid

    * adding margin for pagination gap

    * Fixed a rare routing case that wouldn't redirect

    * Fixed a bug where series detail would show blank filtering

    * Fixing image scaling and library card spacing

    * Refactored some methods to be static

    * Adding card grid to series detail

    * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.

    * Ensure emails are trimmed when trying to invite.

    * Don't show More In if there is only 1 item in there on library recommended tab

    * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.

    * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).

    * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense

    * Refactored the series detail to use Robbie's new grid system.

    * some styling fixes

    * Styling fixes

    - Removing select border gap
    - fixing switches on lite theme
    - fixing search result text-light

    * better css var naming

    * changing search lite text color override

    * fixing as per feedback

    * Removing boolean from being visible in bookreader

    * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.

    * Wrote basic code to remove other themes. Need a migration instead.

    * Added a migration to remove light/e-ink themes and migrate users over to Dark theme by default.

    * Fixed unit tests

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 876e19177e
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 19 00:46:22 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1961b41268
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 18 19:31:49 2022 -0500

    Last batch of bugfixes (#1262)

    * Refactored code to show action bar instead of drawer in immersive mode

    * Card grid

    * adding margin for pagination gap

    * Fixed a rare routing case that wouldn't redirect

    * Fixed a bug where series detail would show blank filtering

    * Fixing image scaling and library card spacing

    * Refactored some methods to be static

    * Adding card grid to series detail

    * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.

    * Ensure emails are trimmed when trying to invite.

    * Don't show More In if there is only 1 item in there on library recommended tab

    * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.

    * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).

    * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense

    * Refactored the series detail to use Robbie's new grid system.

    * some styling fixes

    * Styling fixes

    - Removing select border gap
    - fixing switches on lite theme
    - fixing search result text-light

    * better css var naming

    * changing search lite text color override

    * fixing as per feedback

    * Removing boolean from being visible in bookreader

    * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 6f23a3bc6d
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 15 21:31:42 2022 +0000

    Bump versions by dotnet-bump-version.

commit 92fb185f20
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Sun May 15 17:21:17 2022 -0400

    Adding code to make sure bottom actionbar is applied on layout change (#1258)

commit bb791b7789
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 15 19:44:47 2022 +0000

    Bump versions by dotnet-bump-version.

commit cdc4931770
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 15 14:34:53 2022 -0500

    Reader scroll area fix (#1257)

    * Changes to make the pagination area scrollable (not working, debug code for Robbie)

    * Adjusted the html to be easier to understand and more streamlined

    * Fixed inability to scroll in manga reader over pagination areas for everything but the bottom bar

    * Book reader now allows you to scroll over pagination area

commit ccb6414e9e
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 14 22:13:24 2022 +0000

    Bump versions by dotnet-bump-version.

commit d458a823ef
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sat May 14 17:02:58 2022 -0500

    More Reader Bugfixes (#1255)

    * Added css to center images

    * Better scaling css

    * Removing vertical height css for actionbar calc

    * Fixed a bug where book settings couldn't be saved due to typo in model

    * fixing height across layouts

    * Fixed an issue where column mode would reset to user preference default between continuous reader loads

    * Fixing some more logic

    * Reading direction arrow keys now flip

    * Small code cleanup on Robbie's code

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit be5b997259
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 14 00:40:11 2022 +0000

    Bump versions by dotnet-bump-version.

commit f701f8e599
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 13 19:30:37 2022 -0500

    Book Reader Bugfixes (#1254)

    * Fixed image scoping breaking and books not being able to load images

    * Cleaned up a lot of variables and added more jsdoc. After shifting the margin, we try to recover the column layout width,height, and scroll posisiton.

    * Tap to paginate is working on first load now

    * On resize, rescroll to attempt to avoid breakage

    * Fixed transparent background for action bar on white theme

    * Moved some lists to immutable arrays

    * Actually fixed backgournd now

    * Fixed some settings not updating in book reader on load

    * Put some code in place to test out opening menu with clicking on the document

    * Fixed settings not propagating to the reader

    * Fixing 2 column when loading annd ios mobile

    * Fixed an issue where paging to prev page would sometimes skip the first page.

    * Fixing previous page skipping first page of chapter

    * removing console logs

    * Save progress when we page

    * Click on document to show the side nav

    * Removed columns auto because it could render more columns than applicable. Don't explicitly call saveProgress on prev page, as we already do in another call.

    Adjusted the logic to calculate windowHeight and width to be the same throughout the reader.

    * Setting select fix and settings polish

    * Fixed awkward tooltip wording

    * Added a message for when there is nothing to show on recommended tab

    * Removed bug marker, there was no bug after all

    * Fixing book title truncation in action bar

    * When counting volumes or chapters that have range, count the max part of the range for publication status.

    * Fixing TOC rendering issue

    * Styling fixes

    - Fixed an issue where the image height in the book reader was the column height plus padding so it was breaking pagination calc.
    - Centered book reader setting pills
    - Made inactive setting pill into a ghost button
    - Fixed spacing across the reader settings drawer

    * Added a bit of code to allow us to disable buttons before we click for next chapter load

    * Removed titles from action bars

    * The next page button will now show as the primary color to indicate to the user what the next forward page is.

    * Added a view series to bookmark page and removed actions from header since it didn't work

    * Fixed a bug where pagination wasn't mutating url state

    * Lots of changes, code is kinda working.

    Added Immersive Mode, but didn't generate migration.

    Added concept of virtual pages with ability to see them. Math is still slightly off.

    Cleaned up prefetching code so we do it much earlier.

    Added some code that doesn't work to disable buttons with virtual paging included.

    * When turning immersive mode on, force tap to paginate

    * Refactored out the book reader state as it wasn't very beneficial

    * Fixed total virtual page calculation

    * Next/prev page seems to be working pretty well

    * Applied Robbie's virtual page logic and fixed a bug in prev page code

    * Changed the next page to use same virtual page logic

    * Getting back and forward working...somehow.

    * removing redundant code

    * Fixing book title overflow from new action bar changes

    * Polishing pagination styles

    * Changing chapter to section

    * Fixing up other book reader themes

    * Fixed the login header being off-center

    * Fixing styling to follow approach

    * Refactored the pagination buttons to properly call next/prev page based on reading direction

    * Drawer pagination buttons now respect when there is no chapters (prev/next)

    * Everything except disabling buttons when on last possible page working

    * Added Book Reader immersive mode migration

    * Disable next/prev buttons for continuous reading before we request next/prev chapter if there is no chapter.

    * Show a tooltip for the title

    * Fixed unit test

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit dfcc2f0813
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 9 01:01:46 2022 +0000

    Bump versions by dotnet-bump-version.

commit 2723a6cd10
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 8 19:52:15 2022 -0500

    Book Reader Redesign with e-ink focus (#1246)

    * Refactored the drawer into offcanvas component. Had to write some hacks to emulate how bootstrap's javascript implementation works as ngBootstrap doesn't have a component yet.

    * Cleaned up some of the code

    * Rewrote drawer to align it with the new design

    * First pass, refactored table of content into it's own component

    * Refactored all of the settings logic into a separate component. Everything is broken.

    * More settings on on reactive form

    * More code cleanup on settings

    * Misc fixes around the drawer code. Fixed a bug where range sliders were inheriting background color of normal text inputs

    * Fixed dark mode with book reader.

    We now clear the theme from the main app so book reader is self-contained. Styles for dark mode are injected into the reading-section. Styles that were previously in scss are now only for the actual menu system.

    * Cleaned up drawer styling on header

    * Removed an ngIf statement for click to paginate

    * Tweaked the accent style to have smaller font size and adjusted style on light mode. Cleaned up some clearTimeout code in a further effort to streamline codebase.

    * Refactored Dark mode into a basic theme. Currently styles are hardcoded.

    * Patched book theme in from themes branch

    * Patched in the backend for Book Theme (not tested yet)

    * Fixed a bug in seeding code for book themes. Started integration of themes into the reader settings

    * Everything except managing themes is working. Themes are a bit shakey, having second thoughts if we should have them or not.

    * Reverted the ability to do custom user book themes. Code is stable with system themes.

    * Stablize the Styles (#1128)

    * Fixed a bug where adding multiple series to reading list would throw an error on UI, but it was successful.

    * When a series has a reading list, we now show the connection on Series detail.

    * Removed all baseurl code from UI and not-connected component since we no longer use it.

    * Fixed tag badges not showing a border. Added last read time to the series detail page

    * Fixed up error interceptor to remove no-connection code

    * Changed implementation for series detail. Book libraries will never send chapters back. Volume 0 volumes will not be sent in volumes ever. Fixed up more renaming logic on books to send more accurate representations to the UI.

    * Cleaned up the selected tab and tab display logic

    * Fixed a bad where statement in reading lists for series

    * Fixed up tab logic again

    * Fixed a small margin on search backdrop

    * Made badge expander button smaller to align with badges

    * Fixed a few UIs due to .form-group and .form-row being removed

    * Updated Theme component page to help with style testing

    * Added more components to theme tester

    * Cleaned up some styling

    * Fixed opacity on search item hover

    * Bump versions by dotnet-bump-version.

    * Tweaked the accordion styles for light mode

    * Set dark book theme as default. Refactored resetSettings to be much cleaner

    * Started the refactor to allow book themes to affect global css variables

    * Fixed some issues with my css variable declarations

    * Fixed a close model state update

    * Lots of work, but dark mode on the book reader is basically done. We have to code the themes much like the site themes

    * Some black theme enhancements

    * Started working on column layout in book reader.

    * Cleaned up the CSS on Reader Settings

    * Hooked up reading direction

    * Got column and double column layout working

    * Implemented some basic virtual paging and hooked in book color theme and layout mode into user preferences.

    * Migration wrote, can edit page layout and color theme on book reader. Removed book dark mode since no longer needed.

    Fixed a bug on login/register forms where when input is focused, text is white and not black.

    * When loading book reader, apply column layout.

    * Lots of work around 2 column layout, working on images not splitting. Still not working, committing so i can merge develop in and validate code with new manga reader.

    * Fixed images being split into 2 BUT regression on each page boundary, total reading height is smaller and smaller

    * Fixed some rendering bugs where toggling column layouts would shrink images on screen constantly.

    Fixed a bug where bottom bar wouldn't render on column layout in some conditions (this might need to be reworked)

    * Started progress on progress work

    * Updated .NET to 6.0.4

    * Fixed a bug where DataContextModelSnapshot was being removed on build thus new migrations were broken.

    * Tweaked the code around progress saving so that we don't loose track of last scroll element on page load

    * Trying to restore progress, but stuck

    * Extra merge stuff

    * Fixed a bug where volumes that are a range fail to generate series detail

    * No gutters on whole app. Book reader backend now applies the image class automatically at the backend.

    * Added wiki documentation into invite user flow and register admin user to help users understand email isn't required and they can host their own service.

    * Removed bottom padding

    * Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.

    * Fixed the height of the action bar to simplify logic and keep the code cleaner. Refactored book service image scoping to be much more streamlined and efficient

    * Fixed the height of action bar to 62px and adjusted code to use the hardcoded px. (code commented)

    * Removed commented out code from fixed action bar height

    * Progress restoration seems to be working

    * Code cleanup

    * Ensure the bottom action bar is at the bottom of the viewport on small pages

    * Fixed book fonts not setting properly and added OpenDyslexic font.

    * Fixed up some font issues

    * Updated drawer so all sections are open by default

    * Switched some LINQ to use MinBy

    * When navigating between pages and column layout, adjust the shift for the user.

    * Removed some debug code

    * Blacklist .qpkg folders and don't scan Recently-Snapshot or recycle folders.

    * Renamed the scale width to be scoped to kavita to avoid conflicts.

    * Refactored ngx-sliders out to use normal range instead. Changed up the preferences to separate image and book settinngs into own accordion.

    * updated user preferences for new migration options (not committed yet)

    * Removed some debug code

    * Remove console.logs

    * Migration committed, let's release this to users.

    * A lot of crazy code just to ensure that when you close drawer the toggle reflectst that state.

* bug-fix/typos and linting

* Update API.csproj

* Squashed commit of the following:

commit d796bcdc0a
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 26 00:24:25 2022 +0000

    Bump versions by dotnet-bump-version.

commit 3c92b6d8a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 19:11:01 2022 -0500

    Fixed the logic for caluclating time to read on comics

commit e7617862a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 17:49:45 2022 -0500

    Don't use plural if there is only 1 hour for reading

commit 713e20ebf4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 17:48:50 2022 -0500

    Tweaked when we calculate min reading time

commit c0f7dd39a2
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 22:10:42 2022 +0000

    Bump versions by dotnet-bump-version.

commit c1490d6e86
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 16:53:39 2022 -0500

    Word Count (#1286)

    * Adding some code for Robbie

    * See more on series detail metadata area is now at the bottom on the section

    * Cleaned up subtitle headings to use a single class for offset with actionables

    * Added some markup for the new design, waiting for Robbie to finish it off

    * styling age-rating badge

    * Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.

    * Hooked up analyze ui to backend

    * Refactored Series Detail metadata area to use a new icon/title design

    * Cleaned up the new design

    * Pushing for robbie to do css

    * Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.

    * Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.

    * Hooked up actual reading time based on user's words per hour

    * Refactor some magic numbers to consts

    * Hooked in progress reporting for series word count

    * Hooked up analyze files

    * Re-implemented time to read on comics

    * Removed the word Last Read

    * Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.

    * Reworked error handling

    * Fixed some security vulnerabilities in npm.

    * Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.

    * Tweaked the styles a bit on the icon-and-title

    * Code cleanup

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 0a70ac35dc
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 19:39:11 2022 +0000

    Bump versions by dotnet-bump-version.

commit a9a1ec02ca
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 14:25:53 2022 -0500

    Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)

commit 1247f450e2
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 17:21:56 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1a128a3af4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 12:05:16 2022 -0500

    Implemented the ability to read format tag and force special status. (#1284)

commit a0e1ba8d67
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 23 23:30:19 2022 +0000

    Bump versions by dotnet-bump-version.

commit e0a2fc615f
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Mon May 23 18:19:52 2022 -0500

    UX Changes, Tasks, WebP, and More! (#1280)

    * When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.

    * Some cleanup on the user preferences to remove some calls we don't need anymore.

    * Removed old bulk cleanup bookmark code as it's no longer needed.

    * Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.

    * Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.

    * Implemented the ability to bulk convert bookmarks (as many times as the user wants).

    Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.

    * Tweaked the wording around the convert switch.

    * Moved System actions to the task tab

    * Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.

    * Fixed the unit tests

commit dd83b6a9a1
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 23:36:25 2022 +0000

    Bump versions by dotnet-bump-version.

commit 16eb1e3e8e
Author: Joseph Milazzo <josephmajora@gmail.com>
Date:   Sat May 21 18:24:18 2022 -0500

    version bump (#1271)

commit f4f91fa5a9
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 23:03:49 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1801afd4a7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sat May 21 17:52:57 2022 -0500

    Updated the readme to reflect new UX and some tweaks to wordings. (#1270)

commit bcad2e4a55
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 02:18:06 2022 +0000

    Bump versions by dotnet-bump-version.

commit 81082508f2
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 20 21:05:09 2022 -0500

    Release Shakeout Part 2 (#1267)

    * Fixed manga reader and removed debug code

    * Removed some console.logs

commit 92010379f1
Author: majora2007 <josephmajora@gmail.com>
Date:   Fri May 20 23:00:48 2022 +0000

    Bump versions by dotnet-bump-version.

commit a062341564
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 20 17:50:17 2022 -0500

    Release Shakeout (#1266)

    * Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough.

    * Fixed pagination placement on original scaling

    * Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader.

    * Fixing select on black book-reader theme

    * Fixing canvas split centering

    * Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day.

    * Use grid on related tab

    * Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden

    * Fixed bug where filter might stay open between pages

    * Fixed typo on relationship for Adaptation

    * Contains was missing from series relation modal

    * Tweaked some methods and wording on reading list page

    * Cleaned up the phrasing when we abort a scan.

    * Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options

    * Fixed some typeahead bugs and decreased interval for docker health check

    * Cleaned up and fixed some logic with receiving cover image update events

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 49d8a7c6ca
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 19 12:24:13 2022 +0000

    Bump versions by dotnet-bump-version.

commit f2b1cd55f0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Thu May 19 07:14:18 2022 -0500

    Remove Light and E-Ink theme (#1263)

    * Refactored code to show action bar instead of drawer in immersive mode

    * Card grid

    * adding margin for pagination gap

    * Fixed a rare routing case that wouldn't redirect

    * Fixed a bug where series detail would show blank filtering

    * Fixing image scaling and library card spacing

    * Refactored some methods to be static

    * Adding card grid to series detail

    * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.

    * Ensure emails are trimmed when trying to invite.

    * Don't show More In if there is only 1 item in there on library recommended tab

    * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.

    * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).

    * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense

    * Refactored the series detail to use Robbie's new grid system.

    * some styling fixes

    * Styling fixes

    - Removing select border gap
    - fixing switches on lite theme
    - fixing search result text-light

    * better css var naming

    * changing search lite text color override

    * fixing as per feedback

    * Removing boolean from being visible in bookreader

    * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.

    * Wrote basic code to remove other themes. Need a migration instead.

    * Added a migration to remove light/e-ink themes and migrate users over to Dark theme by default.

    * Fixed unit tests

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 876e19177e
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 19 00:46:22 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1961b41268
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 18 19:31:49 2022 -0500

    Last batch of bugfixes (#1262)

    * Refactored code to show action bar instead of drawer in immersive mode

    * Card grid

    * adding margin for pagination gap

    * Fixed a rare routing case that wouldn't redirect

    * Fixed a bug where series detail would show blank filtering

    * Fixing image scaling and library card spacing

    * Refactored some methods to be static

    * Adding card grid to series detail

    * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.

    * Ensure emails are trimmed when trying to invite.

    * Don't show More In if there is only 1 item in there on library recommended tab

    * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.

    * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).

    * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense

    * Refactored the series detail to use Robbie's new grid system.

    * some styling fixes

    * Styling fixes

    - Removing select border gap
    - fixing switches on lite theme
    - fixing search result text-light

    * better css var naming

    * changing search lite text color override

    * fixing as per feedback

    * Removing boolean from being visible in bookreader

    * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 6f23a3bc6d
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 15 21:31:42 2022 +0000

    Bump versions by dotnet-bump-version.

commit 92fb185f20
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Sun May 15 17:21:17 2022 -0400

    Adding code to make sure bottom actionbar is applied on layout change (#1258)

commit bb791b7789
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 15 19:44:47 2022 +0000

    Bump versions by dotnet-bump-version.

commit cdc4931770
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 15 14:34:53 2022 -0500

    Reader scroll area fix (#1257)

    * Changes to make the pagination area scrollable (not working, debug code for Robbie)

    * Adjusted the html to be easier to understand and more streamlined

    * Fixed inability to scroll in manga reader over pagination areas for everything but the bottom bar

    * Book reader now allows you to scroll over pagination area

commit ccb6414e9e
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 14 22:13:24 2022 +0000

    Bump versions by dotnet-bump-version.

commit d458a823ef
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sat May 14 17:02:58 2022 -0500

    More Reader Bugfixes (#1255)

    * Added css to center images

    * Better scaling css

    * Removing vertical height css for actionbar calc

    * Fixed a bug where book settings couldn't be saved due to typo in model

    * fixing height across layouts

    * Fixed an issue where column mode would reset to user preference default between continuous reader loads

    * Fixing some more logic

    * Reading direction arrow keys now flip

    * Small code cleanup on Robbie's code

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit be5b997259
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 14 00:40:11 2022 +0000

    Bump versions by dotnet-bump-version.

commit f701f8e599
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 13 19:30:37 2022 -0500

    Book Reader Bugfixes (#1254)

    * Fixed image scoping breaking and books not being able to load images

    * Cleaned up a lot of variables and added more jsdoc. After shifting the margin, we try to recover the column layout width,height, and scroll posisiton.

    * Tap to paginate is working on first load now

    * On resize, rescroll to attempt to avoid breakage

    * Fixed transparent background for action bar on white theme

    * Moved some lists to immutable arrays

    * Actually fixed backgournd now

    * Fixed some settings not updating in book reader on load

    * Put some code in place to test out opening menu with clicking on the document

    * Fixed settings not propagating to the reader

    * Fixing 2 column when loading annd ios mobile

    * Fixed an issue where paging to prev page would sometimes skip the first page.

    * Fixing previous page skipping first page of chapter

    * removing console logs

    * Save progress when we page

    * Click on document to show the side nav

    * Removed columns auto because it could render more columns than applicable. Don't explicitly call saveProgress on prev page, as we already do in another call.

    Adjusted the logic to calculate windowHeight and width to be the same throughout the reader.

    * Setting select fix and settings polish

    * Fixed awkward tooltip wording

    * Added a message for when there is nothing to show on recommended tab

    * Removed bug marker, there was no bug after all

    * Fixing book title truncation in action bar

    * When counting volumes or chapters that have range, count the max part of the range for publication status.

    * Fixing TOC rendering issue

    * Styling fixes

    - Fixed an issue where the image height in the book reader was the column height plus padding so it was breaking pagination calc.
    - Centered book reader setting pills
    - Made inactive setting pill into a ghost button
    - Fixed spacing across the reader settings drawer

    * Added a bit of code to allow us to disable buttons before we click for next chapter load

    * Removed titles from action bars

    * The next page button will now show as the primary color to indicate to the user what the next forward page is.

    * Added a view series to bookmark page and removed actions from header since it didn't work

    * Fixed a bug where pagination wasn't mutating url state

    * Lots of changes, code is kinda working.

    Added Immersive Mode, but didn't generate migration.

    Added concept of virtual pages with ability to see them. Math is still slightly off.

    Cleaned up prefetching code so we do it much earlier.

    Added some code that doesn't work to disable buttons with virtual paging included.

    * When turning immersive mode on, force tap to paginate

    * Refactored out the book reader state as it wasn't very beneficial

    * Fixed total virtual page calculation

    * Next/prev page seems to be working pretty well

    * Applied Robbie's virtual page logic and fixed a bug in prev page code

    * Changed the next page to use same virtual page logic

    * Getting back and forward working...somehow.

    * removing redundant code

    * Fixing book title overflow from new action bar changes

    * Polishing pagination styles

    * Changing chapter to section

    * Fixing up other book reader themes

    * Fixed the login header being off-center

    * Fixing styling to follow approach

    * Refactored the pagination buttons to properly call next/prev page based on reading direction

    * Drawer pagination buttons now respect when there is no chapters (prev/next)

    * Everything except disabling buttons when on last possible page working

    * Added Book Reader immersive mode migration

    * Disable next/prev buttons for continuous reading before we request next/prev chapter if there is no chapter.

    * Show a tooltip for the title

    * Fixed unit test

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit dfcc2f0813
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 9 01:01:46 2022 +0000

    Bump versions by dotnet-bump-version.

commit 2723a6cd10
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 8 19:52:15 2022 -0500

    Book Reader Redesign with e-ink focus (#1246)

    * Refactored the drawer into offcanvas component. Had to write some hacks to emulate how bootstrap's javascript implementation works as ngBootstrap doesn't have a component yet.

    * Cleaned up some of the code

    * Rewrote drawer to align it with the new design

    * First pass, refactored table of content into it's own component

    * Refactored all of the settings logic into a separate component. Everything is broken.

    * More settings on on reactive form

    * More code cleanup on settings

    * Misc fixes around the drawer code. Fixed a bug where range sliders were inheriting background color of normal text inputs

    * Fixed dark mode with book reader.

    We now clear the theme from the main app so book reader is self-contained. Styles for dark mode are injected into the reading-section. Styles that were previously in scss are now only for the actual menu system.

    * Cleaned up drawer styling on header

    * Removed an ngIf statement for click to paginate

    * Tweaked the accent style to have smaller font size and adjusted style on light mode. Cleaned up some clearTimeout code in a further effort to streamline codebase.

    * Refactored Dark mode into a basic theme. Currently styles are hardcoded.

    * Patched book theme in from themes branch

    * Patched in the backend for Book Theme (not tested yet)

    * Fixed a bug in seeding code for book themes. Started integration of themes into the reader settings

    * Everything except managing themes is working. Themes are a bit shakey, having second thoughts if we should have them or not.

    * Reverted the ability to do custom user book themes. Code is stable with system themes.

    * Stablize the Styles (#1128)

    * Fixed a bug where adding multiple series to reading list would throw an error on UI, but it was successful.

    * When a series has a reading list, we now show the connection on Series detail.

    * Removed all baseurl code from UI and not-connected component since we no longer use it.

    * Fixed tag badges not showing a border. Added last read time to the series detail page

    * Fixed up error interceptor to remove no-connection code

    * Changed implementation for series detail. Book libraries will never send chapters back. Volume 0 volumes will not be sent in volumes ever. Fixed up more renaming logic on books to send more accurate representations to the UI.

    * Cleaned up the selected tab and tab display logic

    * Fixed a bad where statement in reading lists for series

    * Fixed up tab logic again

    * Fixed a small margin on search backdrop

    * Made badge expander button smaller to align with badges

    * Fixed a few UIs due to .form-group and .form-row being removed

    * Updated Theme component page to help with style testing

    * Added more components to theme tester

    * Cleaned up some styling

    * Fixed opacity on search item hover

    * Bump versions by dotnet-bump-version.

    * Tweaked the accordion styles for light mode

    * Set dark book theme as default. Refactored resetSettings to be much cleaner

    * Started the refactor to allow book themes to affect global css variables

    * Fixed some issues with my css variable declarations

    * Fixed a close model state update

    * Lots of work, but dark mode on the book reader is basically done. We have to code the themes much like the site themes

    * Some black theme enhancements

    * Started working on column layout in book reader.

    * Cleaned up the CSS on Reader Settings

    * Hooked up reading direction

    * Got column and double column layout working

    * Implemented some basic virtual paging and hooked in book color theme and layout mode into user preferences.

    * Migration wrote, can edit page layout and color theme on book reader. Removed book dark mode since no longer needed.

    Fixed a bug on login/register forms where when input is focused, text is white and not black.

    * When loading book reader, apply column layout.

    * Lots of work around 2 column layout, working on images not splitting. Still not working, committing so i can merge develop in and validate code with new manga reader.

    * Fixed images being split into 2 BUT regression on each page boundary, total reading height is smaller and smaller

    * Fixed some rendering bugs where toggling column layouts would shrink images on screen constantly.

    Fixed a bug where bottom bar wouldn't render on column layout in some conditions (this might need to be reworked)

    * Started progress on progress work

    * Updated .NET to 6.0.4

    * Fixed a bug where DataContextModelSnapshot was being removed on build thus new migrations were broken.

    * Tweaked the code around progress saving so that we don't loose track of last scroll element on page load

    * Trying to restore progress, but stuck

    * Extra merge stuff

    * Fixed a bug where volumes that are a range fail to generate series detail

    * No gutters on whole app. Book reader backend now applies the image class automatically at the backend.

    * Added wiki documentation into invite user flow and register admin user to help users understand email isn't required and they can host their own service.

    * Removed bottom padding

    * Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.

    * Fixed the height of the action bar to simplify logic and keep the code cleaner. Refactored book service image scoping to be much more streamlined and efficient

    * Fixed the height of action bar to 62px and adjusted code to use the hardcoded px. (code commented)

    * Removed commented out code from fixed action bar height

    * Progress restoration seems to be working

    * Code cleanup

    * Ensure the bottom action bar is at the bottom of the viewport on small pages

    * Fixed book fonts not setting properly and added OpenDyslexic font.

    * Fixed up some font issues

    * Updated drawer so all sections are open by default

    * Switched some LINQ to use MinBy

    * When navigating between pages and column layout, adjust the shift for the user.

    * Removed some debug code

    * Blacklist .qpkg folders and don't scan Recently-Snapshot or recycle folders.

    * Renamed the scale width to be scoped to kavita to avoid conflicts.

    * Refactored ngx-sliders out to use normal range instead. Changed up the preferences to separate image and book settinngs into own accordion.

    * updated user preferences for new migration options (not committed yet)

    * Removed some debug code

    * Remove console.logs

    * Migration committed, let's release this to users.

    * A lot of crazy code just to ensure that when you close drawer the toggle reflectst that state.

* bug-fix/typos & linting

* Add files via upload

* bug-fix/double layout

html: image-1 <img> needed closing
scss: full-height needed display: inline-block (not grid)

* bug-fix/itemsPerPage

Set items per page to 112 (%8=0, %7=0)

* Revert "Add files via upload"

This reverts commit 446e3e0f04.

Revert upload package.json

* bugfix/user-preferences

Fixed a bug with the BookReader panel id missing brackets which prevented the accordion from functioning correctly.

* Squashed commit of the following:

commit ebbb3ec86b
Merge: 24d90527 2ed0aca8
Author: marcelo <mguimaraes@okanagan.bc.ca>
Date:   Fri Jun 17 21:15:42 2022 -0700

    Merge remote-tracking branch 'upstream/develop' into develop

commit 2ed0aca866
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu Jun 16 17:20:39 2022 +0000

    Bump versions by dotnet-bump-version.

commit 9c851b0f0e
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Thu Jun 16 12:08:09 2022 -0500

    Directory Picker Rework (#1325)

    * Started on the directory picker refactor.

    * Coded some basic working version. Needs styling and variable cleanup

    * code cleanup

    * Implemented the ability to expose swagger on non-development servers.

    * Implemented the ability to expose swagger on non-development servers.

commit 0f5a7ee6fa
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu Jun 16 14:09:35 2022 +0000

    Bump versions by dotnet-bump-version.

commit c8418d127c
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Thu Jun 16 09:50:23 2022 -0400

    Bugfix for sticky tabs on firefox (#1322)

    * Updating calcs for firefox

    * Removing unused code

    * Fixed up browser discrepencies

    * Review updates

    * Review updates

    * Added debouncing to scroll

    * Fixed a janky scroll issue with overscrolling

    * Cleaned up the code to use renderer and injectable document for SSR.

    * Removing sticky tabs

    Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>

commit 5b829af531
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed Jun 15 21:57:45 2022 +0000

    Bump versions by dotnet-bump-version.

commit 3ab3a10ae7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed Jun 15 16:43:32 2022 -0500

    New PDF Reader (#1324)

    * Refactored all the code that opens the reader to use a unified function. Added new library and setup basic pdf reader route.

    * Progress saving is implemented. Targeting ES6 now.

    * Customized the toolbar to remove things we don't want, made the download button download with correct filename. Adjusted zoom setting to work well on first load regardless of device.

    * Stream the pdf file to the UI rather than handling the download ourselves.

    * Started implementing a custom toolbar.

    * Fixed up the jump bar calculations

    * Fixed filtering being broken

    * Pushing up for Robbie to cleanup the toolbar layout

    * Added an additional button. Working on logic while robbie takes styling

    * Tried to fix the code for robbie

    * Tweaks for fonts

    * Added button for book mode, but doesn't seem to work after renderer is built

    * Removed book mode

    * Removed the old image caching code for pdfs as it's not needed with new reader

    * Removed the interfaces to extract images from pdf.

    * Fixed original pagination area not scaling correctly

    * Integrated series remove events to library detail

    * Cleaned up the getter naming convention

    * Cleaned up some of the manga reader code to reduce cluter and improve re-use

    * Implemented Japanese parser support for volume and chapters.

    * Fixed a bug where resetting scroll in manga reader wasn't working

    * Fixed a bug where word count grew on each scan.

    * Removed unused variable

    * Ensure we calculate word count on files with their own cache timestamp

    * Adjusted size of reel headers

    * Put some code in for moving on original image with keyboard, but it's not in use.

    * Cleaned up the css for the pdf reader

    * Cleaned up the code

    * Tweaked the list item so we show scrollbar now when fully read

commit 384fac68c4
Author: majora2007 <josephmajora@gmail.com>
Date:   Tue Jun 14 15:18:27 2022 +0000

    Bump versions by dotnet-bump-version.

commit 78f0bad144
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Tue Jun 14 11:01:06 2022 -0400

    dynamic height for series detail (#1321)

    * Adding dynamic height function

    * pushing change requests

    * Moved method to getter

    * Changed carousel reel to onpush strat

    Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>

commit 1edf23d8c3
Author: majora2007 <josephmajora@gmail.com>
Date:   Tue Jun 14 12:20:50 2022 +0000

    Bump versions by dotnet-bump-version.

commit 791e852596
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Tue Jun 14 08:07:28 2022 -0400

    Fixing sticky tabs overlapping title on longer titles (#1320)

commit 549b889639
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon Jun 13 21:51:00 2022 +0000

    Bump versions by dotnet-bump-version.

commit bbc48a5f5b
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Mon Jun 13 16:37:49 2022 -0500

    Infinite Scroll + List View + Cover Upload Redesign (#1319)

    * Started with the redesign of the cover image chooser redesign to be less click intensive for volume/chapter images.

    Made some headings bold in card detail drawer.

    * Tweaked the styles

    * Moved where the info cards show

    * Added an ability to open a page settings drawer

    * Cleaned up some old code that isn't needed anymore.

    * Started implementing a list view. Refactored some title code to a dedicated component

    * List view implemented but way too many API calls. Either need caching or adjusting the SeriesDetail api.

    * Fixed a bug where if the progress bar didn't render on a card item while a download was in progress, the download indicator would be removed.

    * Large refactor to move a lot of the needed fields to the chapter and volume dtos for series detail. All fields are noted when only used in series detail.

    * Implemented cards for other tabs (except related)

    * Fixed the unit test which needed a mocked reader service call.

    * More cleanup around age rating and removing old code from the refactor. Commented out sorting till i feel motivated to work on that.

    * Some cleanup and restored cards as initial layout. Time to test this out and see if there is value add.

    * Added ability for Chapters tab to show the volume chapters belong to (if applicable)

    * Adding style fixes

    * Cover image updates, don't allow the first image (which is what is currently set) to respond to cover changes.

    Hide the ID field on list item for series detail.

    * Refactored the title for list item to be injectable

    * Cleaned up the selection code to make it less finicky on mobile when tap scrolling.

    * Refactored chapter tab to show volume as well on list view.

    * Ensure word count shows for Volumes

    * Started adding virtual scrolling, pushing up so Robbie can mess around

    * Started adding virtual scrolling, pushing up so Robbie can mess around

    * Fixed a bug where all chapters would come under specials

    * Show title data as accent if set.

    * Style fixes for virtual scroller

    * Restyling scroll

    * Implemented a way to show storyline with virtual scrolling

    * Show Word Count for chapters and cleaned up some logics.

    * I might have card layout working with virtual scroll code.

    * Some cleanup to hide more system like properties from info bar on series detail page. Fixed some missing time estimate info on storyline chapters.

    * Fixed a regression on series service when I integrated VolumeTitle.

    * Refactored read time to the backend. Added WordCount to the volume itself so we don't need to calculate on frontend. When asking to analyze files from a series, force the calculation.

    * Fixed SeriesDetail api code

    * Fixed up the code in the drawer to better update list/card mode

    * Basic infinite scroll implemented, however due to how we are updating the list to render, we are re-rending cards that haven't been touched.

    * Updated how we render and layout data for infinite scroll on library detail. It's almost there.

    * Started laying foundation for loading pages backwards.

    Removed lazy loading of images since we are now using virtual paging.

    * Hooked in some basic code to allow user to load a prev page with infinite scroll.

    * Fixed up series detail api and undid the non-lazy loaded images.

    Changed the router to help with this infinite loading on Firefox issue.

    * Fixed up some naming issues with Series Detail and added a new test.

    * This is an infinite scroll without pagination implementation. It is not fully done, but off to a good start. Virtual scroller with jump bar is working pretty well, def needs more polishing and tweaking. There are hacks in this implementation that need to be revisited.

    * Refactored code so that we don't use any pagination and load all results by default.

    * Misc code cleanup from build warnings.

    * Cleaned up some logic for how to display titles in list view.

    * More title cleanup for specials

    * Hooked up page layout to user preferences and renamed an existing user pref name to match the dto.

    * Swapped out everything but storyline with virtual-scroller over CDK

    * Removed CDK from series detail.

    * Default value for migration on page layout

    * Updating card layout for library detail page

    * fixing height for mobile

    * Moved scrollbar

    * Tweaked some styling for layouts when there is no data

    * Refactored the series cards into their own component to make it re-usable.

    * More tweaks on series info cards layout and enhanced a few pages with trackby functions.

    * Removed some dead code

    * Added download on series detail to actionables to fit in with new scroll strategy.

    * Fixed language not being updated and sent to the backend for series update.

    * Fixed a bad migration (if you ran any prior migration in this branch, you need to undo before you use this commit)

    * Adding sticky tabs

    * fixed mobile gap on sticky tab

    * Enhanced the card title for books to show number up front.

    * Adjusted the gutters on admin dashboard

    * Removed debug code

    * Removing duplicate book title

    * Cleaned up old references to cdk scroller

    * Implemented a basic jump bar scaling algorithm. Not perfect, but works pretty well.

    * Code smells

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit f0f0e23e88
Author: majora2007 <josephmajora@gmail.com>
Date:   Fri Jun 10 15:05:27 2022 +0000

    Bump versions by dotnet-bump-version.

commit 54e94bfcb2
Author: Marcelo Guimarães Junior <75567460+magujun@users.noreply.github.com>
Date:   Fri Jun 10 07:52:42 2022 -0700

    bugfix/user-preferences-accordion (#1307)

    * Add files via upload

    * Revert "Add files via upload"

    This reverts commit 446e3e0f04.

    Revert upload package.json

    * bugfix/user-preferences

    Fixed a bug with the BookReader panel id missing brackets which prevented the accordion from functioning correctly.

commit 0124620e36
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed Jun 8 00:06:51 2022 +0000

    Bump versions by dotnet-bump-version.

commit 77b8551620
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Tue Jun 7 18:48:25 2022 -0500

    Bugfix/reader issues (#1311)

    * Updated the design of icon and text to show a label.

    * Fixed a bug when fit to height and there is overflow on horizontal, the pagination area is stuck to the original width and after scrolling right, the pagination area doesn't move.

    * Attempt to fix a border showing on eink readers white mode with book reader

    * Removed debug code

    * Added back in pagination controls

    * fixing viewport overflow issue

    * Ensure volume detail drawer shows all pages for the volume, not just first chapter. Don't show release date when it's not a real date. Non-ongoing series will now show a different icon.

    * Fixing drawer viewport issue

    * Fix for book cover extending across multiple pages (#1269)

    * Attaching book-reader scale style to parent instead of image

    * Fixing some width issues on images

    * Making sure max-height is respected

    * Fixing duplicate styles which caused excessive breaks

    * Updated the readme to reflect new UX and some tweaks to wordings. (#1270)

    * Bump versions by dotnet-bump-version.

    * version bump (#1271)

    * Bump versions by dotnet-bump-version.

    * UX Changes, Tasks, WebP, and More! (#1280)

    * When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.

    * Some cleanup on the user preferences to remove some calls we don't need anymore.

    * Removed old bulk cleanup bookmark code as it's no longer needed.

    * Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.

    * Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.

    * Implemented the ability to bulk convert bookmarks (as many times as the user wants).

    Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.

    * Tweaked the wording around the convert switch.

    * Moved System actions to the task tab

    * Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.

    * Fixed the unit tests

    * Bump versions by dotnet-bump-version.

    * Implemented the ability to read format tag and force special status. (#1284)

    * Bump versions by dotnet-bump-version.

    * Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)

    * Bump versions by dotnet-bump-version.

    * Word Count (#1286)

    * Adding some code for Robbie

    * See more on series detail metadata area is now at the bottom on the section

    * Cleaned up subtitle headings to use a single class for offset with actionables

    * Added some markup for the new design, waiting for Robbie to finish it off

    * styling age-rating badge

    * Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.

    * Hooked up analyze ui to backend

    * Refactored Series Detail metadata area to use a new icon/title design

    * Cleaned up the new design

    * Pushing for robbie to do css

    * Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.

    * Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.

    * Hooked up actual reading time based on user's words per hour

    * Refactor some magic numbers to consts

    * Hooked in progress reporting for series word count

    * Hooked up analyze files

    * Re-implemented time to read on comics

    * Removed the word Last Read

    * Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.

    * Reworked error handling

    * Fixed some security vulnerabilities in npm.

    * Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.

    * Tweaked the styles a bit on the icon-and-title

    * Code cleanup

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

    * Bump versions by dotnet-bump-version.

    * Tweaked when we calculate min reading time

    * Don't use plural if there is only 1 hour for reading

    * Fixed the logic for caluclating time to read on comics

    * Bump versions by dotnet-bump-version.

    * Drawers, Estimated Reading Time, Korean Parsing Support (#1297)

    * Started building out idea around detail drawer. Need code from word count to continue

    * Fixed the logic for caluclating time to read on comics

    * Adding styles

    * more styling fixes

    * Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon.

    * Pulled Robbie's changes in and partially migrated them to the drawer.

    * Add offset overrides for offcanvas so it takes our header into account

    * Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges.

    * Cleaned up the drawer code.

    * Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time.

    * Quick catchups implemented

    * Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan.

    * Fixing drawer overflow

    * Fixed a calculation bug with average reading time.

    * Small spacing changes to drawer

    * Don't show estimated reading time if the user hasn't read anything

    * Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web

    Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2.
    - [Release notes](https://github.com/EventSource/eventsource/releases)
    - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
    - [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2)

    ---
    updated-dependencies:
    - dependency-name: eventsource
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Added image to series detail drawer

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * Bump versions by dotnet-bump-version.

    * Time Estimation Cleanup (#1301)

    * Moved the calculation for time to read to the backend. Tweaked some logic around showing est time to complete.

    * Added debug logging to help pinpoint a duplicate issue in Kavita.

    * More combination logic is error checked in a special way for Robbie to reproduce an issue.

    * Migrated chapter detail card to use backend for time calculation. Ensure we take all chapters into account for volume time calcs

    * Tweaked messaging for some critical logs to include file

    * Ensure pages count uses comma separated number

    * Moved Hangfire annotations to interface level. Adjusted word count service to always recalculate when user requests via analyze series files.

    * Bump versions by dotnet-bump-version.

    * Jump Bar Testing (#1302)

    * Implemented a basic jump bar for the library view. This currently just interacts with existing pagination controls and is not inlined with infinite scroll yet. This is a first pass implementation.

    * Refactored time estimates into the reading service.

    * Cleaned up when the jump bar is shown to mimic pagination controls

    * Cleanup up code in reader service.

    * Scroll to card when selecting a jump key that is shown on the current page.

    * Ensure estimated times always has the smaller number on left hand side.

    * Fixed a bug with a missing vertical rule

    * Fixed an off by 1 pixel for search overlay

    * Bump versions by dotnet-bump-version.

    * Jumpbar Tweaks (#1305)

    * Adjusted the detail drawer to be slightly larger.

    * Attempted to shorten the jump bar on smaller screens. Robbie needs to take a look at this.

    * Adding plex-like styling to jumpbar

    * style fixes

    * style fixes

    * More fixes *sigh*

    * fix height issue

    * Fixing jumpbar on mobile

    * viewport height fix

    * added --primary-color-scrollbar for overflow across the app

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

    * Bump versions by dotnet-bump-version.

    Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
    Co-authored-by: majora2007 <josephmajora@gmail.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * Bump versions by dotnet-bump-version.

    * Close drawer when opening a chapter to read

    * The actionables were not working on chapters in the detail drawer for a volume. Added a distinct read action instead of having the user to have hidden knowledge you can click the cover images.

    * Debug code in.

    Fixed a bug where book reader pagination wasn't covering from top to bottom when immersive mode was on.

    Trying to better ensure images don't span multiple virtual pages in column mode.

    Changed icon/title so label is bolded

    * Updated some dependencies for security issues. Fixed up the fix for images on column view wrapping to next virtual page. Lots of css tweaks to the layout code to make it easier to work with.

    * When switching from column layout to default, scroll back to where the user was.

    * Fixed some overlap on default mode with bottom bar

    * Series Detail uses the cover image update mechanism builtin, instead of the old way to handle.

    Added some text when there is no summary on a volume/chapter.

    * Side nav filter now has clear button within field. Filter no longer shows when side nav is collapsed.

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 0906ca49a9
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon Jun 6 15:02:51 2022 +0000

    Bump versions by dotnet-bump-version.

commit da312e3cee
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Mon Jun 6 10:47:19 2022 -0400

    Fix for book cover extending across multiple pages (#1269)

    * Attaching book-reader scale style to parent instead of image

    * Fixing some width issues on images

    * Making sure max-height is respected

    * Fixing duplicate styles which caused excessive breaks

    * Updated the readme to reflect new UX and some tweaks to wordings. (#1270)

    * Bump versions by dotnet-bump-version.

    * version bump (#1271)

    * Bump versions by dotnet-bump-version.

    * UX Changes, Tasks, WebP, and More! (#1280)

    * When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.

    * Some cleanup on the user preferences to remove some calls we don't need anymore.

    * Removed old bulk cleanup bookmark code as it's no longer needed.

    * Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.

    * Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.

    * Implemented the ability to bulk convert bookmarks (as many times as the user wants).

    Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.

    * Tweaked the wording around the convert switch.

    * Moved System actions to the task tab

    * Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.

    * Fixed the unit tests

    * Bump versions by dotnet-bump-version.

    * Implemented the ability to read format tag and force special status. (#1284)

    * Bump versions by dotnet-bump-version.

    * Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)

    * Bump versions by dotnet-bump-version.

    * Word Count (#1286)

    * Adding some code for Robbie

    * See more on series detail metadata area is now at the bottom on the section

    * Cleaned up subtitle headings to use a single class for offset with actionables

    * Added some markup for the new design, waiting for Robbie to finish it off

    * styling age-rating badge

    * Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.

    * Hooked up analyze ui to backend

    * Refactored Series Detail metadata area to use a new icon/title design

    * Cleaned up the new design

    * Pushing for robbie to do css

    * Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.

    * Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.

    * Hooked up actual reading time based on user's words per hour

    * Refactor some magic numbers to consts

    * Hooked in progress reporting for series word count

    * Hooked up analyze files

    * Re-implemented time to read on comics

    * Removed the word Last Read

    * Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.

    * Reworked error handling

    * Fixed some security vulnerabilities in npm.

    * Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.

    * Tweaked the styles a bit on the icon-and-title

    * Code cleanup

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

    * Bump versions by dotnet-bump-version.

    * Tweaked when we calculate min reading time

    * Don't use plural if there is only 1 hour for reading

    * Fixed the logic for caluclating time to read on comics

    * Bump versions by dotnet-bump-version.

    * Drawers, Estimated Reading Time, Korean Parsing Support (#1297)

    * Started building out idea around detail drawer. Need code from word count to continue

    * Fixed the logic for caluclating time to read on comics

    * Adding styles

    * more styling fixes

    * Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon.

    * Pulled Robbie's changes in and partially migrated them to the drawer.

    * Add offset overrides for offcanvas so it takes our header into account

    * Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges.

    * Cleaned up the drawer code.

    * Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time.

    * Quick catchups implemented

    * Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan.

    * Fixing drawer overflow

    * Fixed a calculation bug with average reading time.

    * Small spacing changes to drawer

    * Don't show estimated reading time if the user hasn't read anything

    * Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web

    Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2.
    - [Release notes](https://github.com/EventSource/eventsource/releases)
    - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
    - [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2)

    ---
    updated-dependencies:
    - dependency-name: eventsource
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Added image to series detail drawer

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

    * Bump versions by dotnet-bump-version.

    * Time Estimation Cleanup (#1301)

    * Moved the calculation for time to read to the backend. Tweaked some logic around showing est time to complete.

    * Added debug logging to help pinpoint a duplicate issue in Kavita.

    * More combination logic is error checked in a special way for Robbie to reproduce an issue.

    * Migrated chapter detail card to use backend for time calculation. Ensure we take all chapters into account for volume time calcs

    * Tweaked messaging for some critical logs to include file

    * Ensure pages count uses comma separated number

    * Moved Hangfire annotations to interface level. Adjusted word count service to always recalculate when user requests via analyze series files.

    * Bump versions by dotnet-bump-version.

    * Jump Bar Testing (#1302)

    * Implemented a basic jump bar for the library view. This currently just interacts with existing pagination controls and is not inlined with infinite scroll yet. This is a first pass implementation.

    * Refactored time estimates into the reading service.

    * Cleaned up when the jump bar is shown to mimic pagination controls

    * Cleanup up code in reader service.

    * Scroll to card when selecting a jump key that is shown on the current page.

    * Ensure estimated times always has the smaller number on left hand side.

    * Fixed a bug with a missing vertical rule

    * Fixed an off by 1 pixel for search overlay

    * Bump versions by dotnet-bump-version.

    * Jumpbar Tweaks (#1305)

    * Adjusted the detail drawer to be slightly larger.

    * Attempted to shorten the jump bar on smaller screens. Robbie needs to take a look at this.

    * Adding plex-like styling to jumpbar

    * style fixes

    * style fixes

    * More fixes *sigh*

    * fix height issue

    * Fixing jumpbar on mobile

    * viewport height fix

    * added --primary-color-scrollbar for overflow across the app

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

    * Bump versions by dotnet-bump-version.

    Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
    Co-authored-by: majora2007 <josephmajora@gmail.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit 24d905275c
Author: magujun <guimaraesjunior.marcelo@gmail.com>
Date:   Sun Jun 5 23:41:02 2022 -0700

    bugfix/user-preferences

    Fixed a bug with the BookReader panel id missing brackets which prevented the accordion from functioning correctly.

commit fbdf8dfe8a
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu Jun 2 14:40:21 2022 +0000

    Bump versions by dotnet-bump-version.

commit a19f4641f4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Thu Jun 2 09:22:21 2022 -0500

    Jumpbar Tweaks (#1305)

    * Adjusted the detail drawer to be slightly larger.

    * Attempted to shorten the jump bar on smaller screens. Robbie needs to take a look at this.

    * Adding plex-like styling to jumpbar

    * style fixes

    * style fixes

    * More fixes *sigh*

    * fix height issue

    * Fixing jumpbar on mobile

    * viewport height fix

    * added --primary-color-scrollbar for overflow across the app

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 7f51ea2d0f
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 30 22:02:06 2022 +0000

    Bump versions by dotnet-bump-version.

commit 742cfd3293
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Mon May 30 16:50:12 2022 -0500

    Jump Bar Testing (#1302)

    * Implemented a basic jump bar for the library view. This currently just interacts with existing pagination controls and is not inlined with infinite scroll yet. This is a first pass implementation.

    * Refactored time estimates into the reading service.

    * Cleaned up when the jump bar is shown to mimic pagination controls

    * Cleanup up code in reader service.

    * Scroll to card when selecting a jump key that is shown on the current page.

    * Ensure estimated times always has the smaller number on left hand side.

    * Fixed a bug with a missing vertical rule

    * Fixed an off by 1 pixel for search overlay

commit 64c0b5a71e
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 29 15:01:47 2022 +0000

    Bump versions by dotnet-bump-version.

commit 8e69b6cfc0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 29 09:50:59 2022 -0500

    Time Estimation Cleanup (#1301)

    * Moved the calculation for time to read to the backend. Tweaked some logic around showing est time to complete.

    * Added debug logging to help pinpoint a duplicate issue in Kavita.

    * More combination logic is error checked in a special way for Robbie to reproduce an issue.

    * Migrated chapter detail card to use backend for time calculation. Ensure we take all chapters into account for volume time calcs

    * Tweaked messaging for some critical logs to include file

    * Ensure pages count uses comma separated number

    * Moved Hangfire annotations to interface level. Adjusted word count service to always recalculate when user requests via analyze series files.

commit 99d603bb80
Author: magujun <guimaraesjunior.marcelo@gmail.com>
Date:   Sat May 28 08:08:25 2022 -0700

    Revert "Add files via upload"

    This reverts commit 446e3e0f04.

    Revert upload package.json

commit 446e3e0f04
Author: Marcelo Guimarães Junior <75567460+magujun@users.noreply.github.com>
Date:   Fri May 27 17:45:38 2022 -0700

    Add files via upload

commit 85b4ad0c58
Author: majora2007 <josephmajora@gmail.com>
Date:   Fri May 27 14:20:33 2022 +0000

    Bump versions by dotnet-bump-version.

commit 63475722ea
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 27 09:08:54 2022 -0500

    Drawers, Estimated Reading Time, Korean Parsing Support (#1297)

    * Started building out idea around detail drawer. Need code from word count to continue

    * Fixed the logic for caluclating time to read on comics

    * Adding styles

    * more styling fixes

    * Cleaned up the styles a bit more so it's at least functional. Not sure on the feature, might abandon.

    * Pulled Robbie's changes in and partially migrated them to the drawer.

    * Add offset overrides for offcanvas so it takes our header into account

    * Implemented a basic time left to finish the series (or at least what's in Kavita). Rough around the edges.

    * Cleaned up the drawer code.

    * Added Quick Catch ups to recommended page. Updated the timeout for scan tasks to ensure we don't run 2 at the same time.

    * Quick catchups implemented

    * Added preliminary support for Korean filename parsing. Reduced an array alloc that is called many thousands of times per scan.

    * Fixing drawer overflow

    * Fixed a calculation bug with average reading time.

    * Small spacing changes to drawer

    * Don't show estimated reading time if the user hasn't read anything

    * Bump eventsource from 1.1.1 to 2.0.2 in /UI/Web

    Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.1.1 to 2.0.2.
    - [Release notes](https://github.com/EventSource/eventsource/releases)
    - [Changelog](https://github.com/EventSource/eventsource/blob/master/HISTORY.md)
    - [Commits](https://github.com/EventSource/eventsource/compare/v1.1.1...v2.0.2)

    ---
    updated-dependencies:
    - dependency-name: eventsource
      dependency-type: direct:production
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    * Added image to series detail drawer

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

commit d796bcdc0a
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 26 00:24:25 2022 +0000

    Bump versions by dotnet-bump-version.

commit 3c92b6d8a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 19:11:01 2022 -0500

    Fixed the logic for caluclating time to read on comics

commit e7617862a5
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 17:49:45 2022 -0500

    Don't use plural if there is only 1 hour for reading

commit 713e20ebf4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 17:48:50 2022 -0500

    Tweaked when we calculate min reading time

commit c0f7dd39a2
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 22:10:42 2022 +0000

    Bump versions by dotnet-bump-version.

commit c1490d6e86
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 16:53:39 2022 -0500

    Word Count (#1286)

    * Adding some code for Robbie

    * See more on series detail metadata area is now at the bottom on the section

    * Cleaned up subtitle headings to use a single class for offset with actionables

    * Added some markup for the new design, waiting for Robbie to finish it off

    * styling age-rating badge

    * Started hooking up basic analyze file service and hooks in the UI. Basic code to implement the count is implemented and in benchmarks.

    * Hooked up analyze ui to backend

    * Refactored Series Detail metadata area to use a new icon/title design

    * Cleaned up the new design

    * Pushing for robbie to do css

    * Massive performance improvement to scan series where we only need to scan folders reported that have series in them, rather than the whole library.

    * Removed theme page as we no longer need it. Added WordCount to DTOs so the UI can show them. Added new pipe to format numbers in compact mode.

    * Hooked up actual reading time based on user's words per hour

    * Refactor some magic numbers to consts

    * Hooked in progress reporting for series word count

    * Hooked up analyze files

    * Re-implemented time to read on comics

    * Removed the word Last Read

    * Show proper language name instead of iso tag on series detail page. Added some error handling on word count code.

    * Reworked error handling

    * Fixed some security vulnerabilities in npm.

    * Handle a case where there are no text nodes and instead of returning an empty list, htmlagilitypack returns null.

    * Tweaked the styles a bit on the icon-and-title

    * Code cleanup

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 0a70ac35dc
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 19:39:11 2022 +0000

    Bump versions by dotnet-bump-version.

commit a9a1ec02ca
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 14:25:53 2022 -0500

    Implemented the ability to parse some volume and chapter keywords for chinese. (#1285)

commit 1247f450e2
Author: majora2007 <josephmajora@gmail.com>
Date:   Wed May 25 17:21:56 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1a128a3af4
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 25 12:05:16 2022 -0500

    Implemented the ability to read format tag and force special status. (#1284)

commit a0e1ba8d67
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 23 23:30:19 2022 +0000

    Bump versions by dotnet-bump-version.

commit e0a2fc615f
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Mon May 23 18:19:52 2022 -0500

    UX Changes, Tasks, WebP, and More! (#1280)

    * When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt.

    * Some cleanup on the user preferences to remove some calls we don't need anymore.

    * Removed old bulk cleanup bookmark code as it's no longer needed.

    * Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented.

    * Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features.

    * Implemented the ability to bulk convert bookmarks (as many times as the user wants).

    Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release.

    * Tweaked the wording around the convert switch.

    * Moved System actions to the task tab

    * Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route.

    * Fixed the unit tests

commit dd83b6a9a1
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 23:36:25 2022 +0000

    Bump versions by dotnet-bump-version.

commit 16eb1e3e8e
Author: Joseph Milazzo <josephmajora@gmail.com>
Date:   Sat May 21 18:24:18 2022 -0500

    version bump (#1271)

commit f4f91fa5a9
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 23:03:49 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1801afd4a7
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sat May 21 17:52:57 2022 -0500

    Updated the readme to reflect new UX and some tweaks to wordings. (#1270)

commit bcad2e4a55
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 21 02:18:06 2022 +0000

    Bump versions by dotnet-bump-version.

commit 81082508f2
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 20 21:05:09 2022 -0500

    Release Shakeout Part 2 (#1267)

    * Fixed manga reader and removed debug code

    * Removed some console.logs

commit 92010379f1
Author: majora2007 <josephmajora@gmail.com>
Date:   Fri May 20 23:00:48 2022 +0000

    Bump versions by dotnet-bump-version.

commit a062341564
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 20 17:50:17 2022 -0500

    Release Shakeout (#1266)

    * Fixed an issue with fit to screen where spread images would fail to generate a paging area long enough.

    * Fixed pagination placement on original scaling

    * Fixed an issue with webtoon reader not reporting scroll events due to a fix from manga reader.

    * Fixing select on black book-reader theme

    * Fixing canvas split centering

    * Fixed a bug with white mode in book reader not rendering correctly. When bookmarking new pages after previously have viewing bookmarks for a series, ensure we clear out the temp cache else your new files wont be visible till next day.

    * Use grid on related tab

    * Clear bookmarks was not hooked up. Bulk add to collection didn't have label hidden

    * Fixed bug where filter might stay open between pages

    * Fixed typo on relationship for Adaptation

    * Contains was missing from series relation modal

    * Tweaked some methods and wording on reading list page

    * Cleaned up the phrasing when we abort a scan.

    * Fixed issue where typeahead wasn't reopening and it wasn't filtering selected options

    * Fixed some typeahead bugs and decreased interval for docker health check

    * Cleaned up and fixed some logic with receiving cover image update events

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 49d8a7c6ca
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 19 12:24:13 2022 +0000

    Bump versions by dotnet-bump-version.

commit f2b1cd55f0
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Thu May 19 07:14:18 2022 -0500

    Remove Light and E-Ink theme (#1263)

    * Refactored code to show action bar instead of drawer in immersive mode

    * Card grid

    * adding margin for pagination gap

    * Fixed a rare routing case that wouldn't redirect

    * Fixed a bug where series detail would show blank filtering

    * Fixing image scaling and library card spacing

    * Refactored some methods to be static

    * Adding card grid to series detail

    * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.

    * Ensure emails are trimmed when trying to invite.

    * Don't show More In if there is only 1 item in there on library recommended tab

    * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.

    * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).

    * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense

    * Refactored the series detail to use Robbie's new grid system.

    * some styling fixes

    * Styling fixes

    - Removing select border gap
    - fixing switches on lite theme
    - fixing search result text-light

    * better css var naming

    * changing search lite text color override

    * fixing as per feedback

    * Removing boolean from being visible in bookreader

    * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.

    * Wrote basic code to remove other themes. Need a migration instead.

    * Added a migration to remove light/e-ink themes and migrate users over to Dark theme by default.

    * Fixed unit tests

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 876e19177e
Author: majora2007 <josephmajora@gmail.com>
Date:   Thu May 19 00:46:22 2022 +0000

    Bump versions by dotnet-bump-version.

commit 1961b41268
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Wed May 18 19:31:49 2022 -0500

    Last batch of bugfixes (#1262)

    * Refactored code to show action bar instead of drawer in immersive mode

    * Card grid

    * adding margin for pagination gap

    * Fixed a rare routing case that wouldn't redirect

    * Fixed a bug where series detail would show blank filtering

    * Fixing image scaling and library card spacing

    * Refactored some methods to be static

    * Adding card grid to series detail

    * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen.

    * Ensure emails are trimmed when trying to invite.

    * Don't show More In if there is only 1 item in there on library recommended tab

    * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend.

    * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system).

    * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense

    * Refactored the series detail to use Robbie's new grid system.

    * some styling fixes

    * Styling fixes

    - Removing select border gap
    - fixing switches on lite theme
    - fixing search result text-light

    * better css var naming

    * changing search lite text color override

    * fixing as per feedback

    * Removing boolean from being visible in bookreader

    * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color.

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit 6f23a3bc6d
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 15 21:31:42 2022 +0000

    Bump versions by dotnet-bump-version.

commit 92fb185f20
Author: Robbie Davis <robbie@therobbiedavis.com>
Date:   Sun May 15 17:21:17 2022 -0400

    Adding code to make sure bottom actionbar is applied on layout change (#1258)

commit bb791b7789
Author: majora2007 <josephmajora@gmail.com>
Date:   Sun May 15 19:44:47 2022 +0000

    Bump versions by dotnet-bump-version.

commit cdc4931770
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 15 14:34:53 2022 -0500

    Reader scroll area fix (#1257)

    * Changes to make the pagination area scrollable (not working, debug code for Robbie)

    * Adjusted the html to be easier to understand and more streamlined

    * Fixed inability to scroll in manga reader over pagination areas for everything but the bottom bar

    * Book reader now allows you to scroll over pagination area

commit ccb6414e9e
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 14 22:13:24 2022 +0000

    Bump versions by dotnet-bump-version.

commit d458a823ef
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sat May 14 17:02:58 2022 -0500

    More Reader Bugfixes (#1255)

    * Added css to center images

    * Better scaling css

    * Removing vertical height css for actionbar calc

    * Fixed a bug where book settings couldn't be saved due to typo in model

    * fixing height across layouts

    * Fixed an issue where column mode would reset to user preference default between continuous reader loads

    * Fixing some more logic

    * Reading direction arrow keys now flip

    * Small code cleanup on Robbie's code

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit be5b997259
Author: majora2007 <josephmajora@gmail.com>
Date:   Sat May 14 00:40:11 2022 +0000

    Bump versions by dotnet-bump-version.

commit f701f8e599
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Fri May 13 19:30:37 2022 -0500

    Book Reader Bugfixes (#1254)

    * Fixed image scoping breaking and books not being able to load images

    * Cleaned up a lot of variables and added more jsdoc. After shifting the margin, we try to recover the column layout width,height, and scroll posisiton.

    * Tap to paginate is working on first load now

    * On resize, rescroll to attempt to avoid breakage

    * Fixed transparent background for action bar on white theme

    * Moved some lists to immutable arrays

    * Actually fixed backgournd now

    * Fixed some settings not updating in book reader on load

    * Put some code in place to test out opening menu with clicking on the document

    * Fixed settings not propagating to the reader

    * Fixing 2 column when loading annd ios mobile

    * Fixed an issue where paging to prev page would sometimes skip the first page.

    * Fixing previous page skipping first page of chapter

    * removing console logs

    * Save progress when we page

    * Click on document to show the side nav

    * Removed columns auto because it could render more columns than applicable. Don't explicitly call saveProgress on prev page, as we already do in another call.

    Adjusted the logic to calculate windowHeight and width to be the same throughout the reader.

    * Setting select fix and settings polish

    * Fixed awkward tooltip wording

    * Added a message for when there is nothing to show on recommended tab

    * Removed bug marker, there was no bug after all

    * Fixing book title truncation in action bar

    * When counting volumes or chapters that have range, count the max part of the range for publication status.

    * Fixing TOC rendering issue

    * Styling fixes

    - Fixed an issue where the image height in the book reader was the column height plus padding so it was breaking pagination calc.
    - Centered book reader setting pills
    - Made inactive setting pill into a ghost button
    - Fixed spacing across the reader settings drawer

    * Added a bit of code to allow us to disable buttons before we click for next chapter load

    * Removed titles from action bars

    * The next page button will now show as the primary color to indicate to the user what the next forward page is.

    * Added a view series to bookmark page and removed actions from header since it didn't work

    * Fixed a bug where pagination wasn't mutating url state

    * Lots of changes, code is kinda working.

    Added Immersive Mode, but didn't generate migration.

    Added concept of virtual pages with ability to see them. Math is still slightly off.

    Cleaned up prefetching code so we do it much earlier.

    Added some code that doesn't work to disable buttons with virtual paging included.

    * When turning immersive mode on, force tap to paginate

    * Refactored out the book reader state as it wasn't very beneficial

    * Fixed total virtual page calculation

    * Next/prev page seems to be working pretty well

    * Applied Robbie's virtual page logic and fixed a bug in prev page code

    * Changed the next page to use same virtual page logic

    * Getting back and forward working...somehow.

    * removing redundant code

    * Fixing book title overflow from new action bar changes

    * Polishing pagination styles

    * Changing chapter to section

    * Fixing up other book reader themes

    * Fixed the login header being off-center

    * Fixing styling to follow approach

    * Refactored the pagination buttons to properly call next/prev page based on reading direction

    * Drawer pagination buttons now respect when there is no chapters (prev/next)

    * Everything except disabling buttons when on last possible page working

    * Added Book Reader immersive mode migration

    * Disable next/prev buttons for continuous reading before we request next/prev chapter if there is no chapter.

    * Show a tooltip for the title

    * Fixed unit test

    Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

commit dfcc2f0813
Author: majora2007 <josephmajora@gmail.com>
Date:   Mon May 9 01:01:46 2022 +0000

    Bump versions by dotnet-bump-version.

commit 2723a6cd10
Author: Joseph Milazzo <joseph.v.milazzo@gmail.com>
Date:   Sun May 8 19:52:15 2022 -0500

    Book Reader Redesign with e-ink focus (#1246)

    * Refactored the drawer into offcanvas component. Had to write some hacks to emulate how bootstrap's javascript implementation works as ngBootstrap doesn't have a component yet.

    * Cleaned up some of the code

    * Rewrote drawer to align it with the new design

    * First pass, refactored table of content into it's own component

    * Refactored all of the settings logic into a separate component. Everything is broken.

    * More settings on on reactive form

    * More code cleanup on settings

    * Misc fixes around the drawer code. Fixed a bug where range sliders were inheriting background color of normal text inputs

    * Fixed dark mode with book reader.

    We now clear the theme from the main app so book reader is self-contained. Styles for dark mode are injected into the reading-section. Styles that were previously in scss are now only for the actual menu system.

    * Cleaned up drawer styling on header

    * Removed an ngIf statement for click to paginate

    * Tweaked the accent style to have smaller font size and adjusted style on light mode. Cleaned up some clearTimeout code in a further effort to streamline codebase.

    * Refactored Dark mode into a basic theme. Currently styles are hardcoded.

    * Patched book theme in from themes branch

    * Patched in the backend for Book Theme (not tested yet)

    * Fixed a bug in seeding code for book themes. Started integration of themes into the reader settings

    * Everything except managing themes is working. Themes are a bit shakey, having second thoughts if we should have them or not.

    * Reverted the ability to do custom user book themes. Code is stable with system themes.

    * Stablize the Styles (#1128)

    * Fixed a bug where adding multiple series to reading list would throw an error on UI, but it was successful.

    * When a series has a reading list, we now show the connection on Series detail.

    * Removed all baseurl code from UI and not-connected component since we no longer use it.

    * Fixed tag badges not showing a border. Added last read time to the series detail page

    * Fixed up error interceptor to remove no-connection code

    * Changed implementation for series detail. Book libraries will never send chapters back. Volume 0 volumes will not be sent in volumes ever. Fixed up more renaming logic on books to send more accurate representations to the UI.

    * Cleaned up the selected tab and tab display logic

    * Fixed a bad where statement in reading lists for series

    * Fixed up tab logic again

    * Fixed a small margin on search backdrop

    * Made badge expander button smaller to align with badges

    * Fixed a few UIs due to .form-group and .form-row being removed

    * Updated Theme component page to help with style testing

    * Added more components to theme tester

    * Cleaned up some styling

    * Fixed opacity on search item hover

    * Bump versions by dotnet-bump-version.

    * Tweaked the accordion styles for light mode

    * Set dark book theme as default. Refactored resetSettings to be much cleaner

    * Started the refactor to allow book themes to affect global css variables

    * Fixed some issues with my css variable declarations

    * Fixed a close model state update

    * Lots of work, but dark mode on the book reader is basically done. We have to code the themes much like the site themes

    * Some black theme enhancements

    * Started working on column layout in book reader.

    * Cleaned up the CSS on Reader Settings

    * Hooked up reading direction

    * Got column and double column layout working

    * Implemented some basic virtual paging and hooked in book color theme and layout mode into user preferences.

    * Migration wrote, can edit page layout and color theme on book reader. Removed book dark mode since no longer needed.

    Fixed a bug on login/register forms where when input is focused, text is white and not black.

    * When loading book reader, apply column layout.

    * Lots of work around 2 column layout, working on images not splitting. Still not working, committing so i can merge develop in and validate code with new manga reader.

    * Fixed images being split into 2 BUT regression on each page boundary, total reading height is smaller and smaller

    * Fixed some rendering bugs where toggling column layouts would shrink images on screen constantly.

    Fixed a bug where bottom bar wouldn't render on column layout in some conditions (this might need to be reworked)

    * Started progress on progress work

    * Updated .NET to 6.0.4

    * Fixed a bug where DataContextModelSnapshot was being removed on build thus new migrations were broken.

    * Tweaked the code around progress saving so that we don't loose track of last scroll element on page load

    * Trying to restore progress, but stuck

    * Extra merge stuff

    * Fixed a bug where volumes that are a range fail to generate series detail

    * No gutters on whole app. Book reader backend now applies the image class automatically at the backend.

    * Added wiki documentation into invite user flow and register admin user to help users understand email isn't required and they can host their own service.

    * Removed bottom padding

    * Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.

    * Fixed the height of the action bar to simplify logic and keep the code cleaner. Refactored book service image scoping to be much more streamlined and efficient

    * Fixed the height of action bar to 62px and adjusted code to use the hardcoded px. (code commented)

    * Removed commented out code from fixed action bar height

    * Progress restoration seems to be working

    * Code cleanup

    * Ensure the bottom action bar is at the bottom of the viewport on small pages

    * Fixed book fonts not setting properly and added OpenDyslexic font.

    * Fixed up some font issues

    * Updated drawer so all sections are open by default

    * Switched some LINQ to use MinBy

    * When navigating between pages and column layout, adjust the shift for the user.

    * Removed some debug code

    * Blacklist .qpkg folders and don't scan Recently-Snapshot or recycle folders.

    * Renamed the scale width to be scoped to kavita to avoid conflicts.

    * Refactored ngx-sliders out to use normal range instead. Changed up the preferences to separate image and book settinngs into own accordion.

    * updated user preferences for new migration options (not committed yet)

    * Removed some debug code

    * Remove console.logs

    * Migration committed, let's release this to users.

    * A lot of crazy code just to ensure that when you close drawer the toggle reflectst that state.

* Current Develop

* First commit

Enables double page rendering
Fixes typos

* Enabling double page rendering

. Changed image-2 src to canvasImage2 (handled by the server)
. Enabled the layout mode selector in the reader menu
. Changed the display to inline-block for the .full-height class
. Disabled the position and transform for the .fit-to-height-double-offset class
. Enabled the layout mode selector in the user preferences menu
. Fixed some typos =)

* Double page rendering fixes

. Added instantiation of canvasImagePrev and canvasImageNext
. Changed loadPage() checking of wide images before loading canvasImage2
. Changed nextPage() and prevPage() to correctly handle wide images
. Fixed some typos =)

* Fixed Double (Manga)

. Fixed: Checking ReverseDoublePage to handle manga reading direction
. Changed: Commented out some console logging
. Added: Wide class CSS to handle wide images with height < window height
. Changed: ShouldRenderDoublePage & ShouldRenderReverseDouble
. Changed: nextPage() & prevPage() to correctly set pageAmount
. Changed: isCoverImage() to accept pageNum param
. Changed: loadPage() to set canvasImagePrev.src & canvasImageNext.src depending on DoubleReversed
. Added: tsconfig.json esModuleInterop & allowSyntheticDefaultImports

* Fixed Double (Manga)

.Removed: Old commented out code
.Added: Check isCoverImage() on nextPage()

* Fixed a bug where page wasn't re-rendering about layout change.

Optimized the loadPage code to render faster.

Fixed a bug where whole renderPage() function was executing when it shouldn't.

* Indentation cleanup

* Allow the user to update their user settings and persist for new layout mode in manga reader

* Merged more develop in

* Bump versions by dotnet-bump-version.

* Fixed a bug where there was no pagination on the dashboard and it would take some time to load (#1329)

* Bump versions by dotnet-bump-version.

* More rebasing

* Bump versions by dotnet-bump-version.

* Fixed up some missing refactors from mag.

* Hopefully the last rebase

* Double Page Rendering (#1334)

* Fixed Double (Manga)

. Changed: Layout mode set to preferencesDto on UsersController
. Removed ConsoleLogger import
. Removed console.logs
. Added: HostListener for changing layout to Single on portrait device orientation
. Fixed: renderPage() bug
. Changed: Simplified loadPage()
. Added: ChangeOccurred to call loadPage() on layoutMode change
. Fixed: Dragable vs Draggable typos
.

* Fixed Double Orientation Check

. Fixed: Orientation check to switch from Double to Single on Portrait (HostListener) comparison sign was inverted.

* Reader orientation change

. Changed: Removed unnecessary innerWidth x innerHeight check

* Reader orientation change fixes

. Added: Check for innerWidth > innerHeight as guard clause

* Cleaned up some debug code

Co-authored-by: magujun <guimaraesjunior.marcelo@gmail.com>
Co-authored-by: Marcelo Guimarães Junior <75567460+magujun@users.noreply.github.com>
Co-authored-by: marcelo <mguimaraes@okanagan.bc.ca>
2022-06-27 09:00:01 -07:00
Joseph Milazzo
2a34fe4cc7
The big one (#396)
* Refactored library card to have a custom implemenation using icons rather than images. In addition, swapped out font awesome with official version.

* Replaced pull-right with float-right due to updated bootstrap version.

* Added a new section to admin dashboard

* Added some menu system for reader, fit to width, height or original. Temp hack to make background black.

* Ability to set nav bar completely off from some pages. Removed test case that isn't used.

* Restore nav bar after reading

* Implemented ability to delete a series directly and scan from a series.

* Implemented some basic prefetching capabilities (just next page) and implemented proper reading direction support with a toggle.

* Added a no connection route for if backend goes down. Removed go to page functionality as it isn't really needed and overly complicated.

* Implemented ability to track progress and view it at a series level

* Read status enhancements, cleaned up card code a bit, styling changes on nav bar dropdown, read or continue functionality for series detail page.

* Fixed a few bugs around registering and refactored APIs to match backend.

* Lots of cleanup of the code and TODOs. Improved responsiveness on series detail page.

* Missed some changes

* Implemented ability to rate a series. review text will come in v0.2.

* Reverted some debug code for reader menu always being open. Added loader to reader as well.

* Setup for building prod for releasing Kavita server.

* After we create an admin for first time flow, refresh page so they can login.

* Small change to help user get to server settings to setup libraries

* Implemented ability to save what tab you are on or link directly to tab for admin dashboard.

* Implemented ability to reset another users password. Tweaked how error interceptor reacted to OK messages.

* Implemented general settings. Have ability to change cache directory, but disabled on BE.

* Remove SSL

* Implemented Volume 0's for series detail.

* Compressed image-placeholder and implemented refresh metadata. Refresh metadata will update cover images while scan library will just fix matching, etc.

* Refactored for backened architectural changes. Fixed some bugs around read progress off by one.

* Fixed some styling around grid layout for volume then chapters.

* On unauthorized, force logout then redirect to login page.

* Don't throw multiple toasters when somthing goes wrong due to backend going down.

* Implemented the ability to see and update server settings.

* Implemented user preferences and ability to update them. Fixed a bug in production code such that API requests are made on current domain.

* Small fixes around the app and server setting for port.

* Fixed some styling to look better on mobile devices and overflow text to eclipse.

* Cleanup and implemented card details for Volume/Chapters.

* Small tweak to card details

* Mark as Read/unread on Volumes now implemented.

* Cleaned up some code, integrated user settings into manga reader, took care of some todos.

* Forgot to sort chapters

* Fixed issue in card details with string concatentation

* Updated the Manga Reader to be better looking and simplier (code) on Desktop devices.

* Added more responsive breakpoints for overlay to look much better on more screen sizes

* Some changes for tablet. Clear out localStorage that is older than 1 page of what you're reading.

* Fix bug for continuing where you last left off.

* Fixed a bug where continue reading didn't take into account chapters.

* Cleaned up imports and added autocomplete skeleton.

* Small UX enhancements

* Moved manga-reader into it's own module to lessen default package size

* Removed route guards from reader module as it is handled by parent module.

* Responsive pass through on Series Detail page.

* Cleaned up containers and tooltips.

* Tooltip for icon only buttons

* Library editor modal cleanup

* Implemented nav bar for directory picker.

* Removed console.log

* Implemented a basic search for Kavita. Along the way did some CSS changes and error interceptor messages are better.

* Implemented a re-usable base64 image that can be styled. Not as easy as using inline styling, but easy to use.

* View encapsulation off so we can easily size these images.

* Implemented typeahead search for nav bar.

* Fix a bug when route parameters change, the series detail page wasn't updating with new information

* Implemented page splitting

* Cleaned up Card Details and split into 2 separate versions with unified Look and Feel.

* Implemented ability to mark a series as read/unread.

* Implemented Jump to First/Last page functionality as shortcuts to goToPage.

* Implemented pagination on Library Detail page

* Restore scroll position to the top on page route change

* Not sure if this changes anything, but IDE doesn't complain

* Added a cutsom favicon and small tweak on UI for library pagination controls.

* Bugfix to take into account currently reading chapter for read/continue button

* Implemented user reviews

* Forgot to hook up one click handler

* Only admins can edit a series

* Implemented edit series page. Many fields are not yet supported for modification.

* Hooked in Edit Series into backend. Fixed an ngIf on edit review button.

* Switched over existing series info modal to use the new edit one.

* Partially implemented download logs. Removed some files not needed and trialing css changes on actions menu for card items.

* Integrated Jest for Unit Testing and added one test case. Will expand and integrate into work flow.

* Cleaned up some mobile breakpoint styles. Looks much better on a phone.

* A bit more css around phones to make reader menu useable.

* Removed series-card-detail since it's been replaced with edit-series-modal.

* Implemented save logs

* Small cleanup

* More responsive breakpoint tweaks for nav bar.

* Fetching logs is fixed

* Bugfix: Search bar was visible for non-authenticated users

* Implemented the ability to correct (manually) a series title and for it to persist between scans. Small QoL changes throughout codebase.

* Added some broken test setup.

* Disable comments must start with space lint rule.

* Fixed issue where tablets wouldn't be able to render all images.

* Migrated code off localStorage and used one api to get information about chapter.

* Cleaned up the code now that we are loading images differently.

* Use circular array to cache image requests so that we can ensure next image is instantaneously available.

* Some fixes around ensuring we don't prefetch when going back a page and ensuring prefetch doesn't fetch more pages than there are left.

* Fixed #70: When marking as read from volume level, completion was off by 1 thus series level didn't show as completed.

* Fixed #72. Missing an else statement which allowed another navigate to override the correct code. Refactored hasReadingProgress to be set in setContinuePoint

* Cleaned up the User button in nav bar to be cleaner

* Implemented a custom confirm/alert service so that I have complete control over style.

* Missed LGTM exception

* First pass at removing base64 strings for images and using lazy loaded binary file images.

* Only load images that are within view (scroll port)

* Not connected message needs more top margin

* Move image handling to it's own service. Add transition for loading images and some cleanup

* Misc cleanup

* Refactored action items to a factory

* Refactored the card item actionables into factory and moved actionable rendering into one component

* Added an optional btn class input to allow styling menu as a button.

* Implemented the ability to reset your individual password.

* Wrong reset after resetting password

* Don't let user set log level. Not sure it's possible to implement in ASP.NET

* Implemented a carousel for streams component. Still needs some CSS and tweaking. Added some temp API endpoints for streams. Fixed a bug where after editing name on series underlying card didn't reflect.

* Everything but the css is done

* CSS done. Carousel components implemented

* More CSS stuff

* Small css change

* Some cleanup on code

* Add  aria-hidden="true" on icons

* Fixed css issue due to missing class

* Made scrolling carousel feel better on more screen sizes

* Fixed bug where confirm default buttons would all be cancel.

* Replaced placeholder image with a kavita placeholder. Added a theme folder for standardizing colors. Cleaned up some css here and there.

* Removed a dependency no longer needed. Implemented history based pagination for library detail page.

* Changed MangaFile numberOfPages to Page to match with new migration

* Fixed issue where if no chapters, we were just doing console.error instead of informing the user (should never happen)

* Add a todo for a future feature

* Implemented loading on series-detail volume section and fixed an issue where the whole series is just one volume and it's a special aka we can't parse vol/chapter from it, so it renders appropriately

* Fixed a rare issue where split pages would quickly flash both sides due to previously that page being fetched via onload and thus when render called, render got recalled.

* Fixed an off by 1 issue due to the fact that reading is 0-based and everything else is 1 based. (#94)

* Fixed an off by 1 issue due to the fact that reading is 0-based and everything else is 1 based. (#94) (#95)

* Fixed an issue where special case that handles no volumes was showing also when chapters also existed. Renamed "Chapter 0" as "Specials" (#96)

* Bugfixes! (#99)

* Fixed an issue where special case that handles no volumes was showing also when chapters also existed. Renamed "Chapter 0" as "Specials"

* Fixed a typo resulting in pages not rendering on edit series modal. Ensure chapters are sorted on edit series and card details modal.

* Fixed the date format showing days before months.

* Fixed a bug with scrollable modals for context info modals.

* Fixed a bug where adding a folder to a library added a / before the path, thus breaking on linux. (#101)

* Bugfixes (#103)

* Fixed an issue where special case that handles no volumes was showing also when chapters also existed. Renamed "Chapter 0" as "Specials"

* Fixed a typo resulting in pages not rendering on edit series modal. Ensure chapters are sorted on edit series and card details modal.

* Fixed the date format showing days before months.

* Fixed a bug with scrollable modals for context info modals.

* Last modified on chapters didn't really s how well and made no sense to show, removed it.

* Preparing for feature

* CSS adjustment for admin dashboard

* First flow, ensure we go directly to library tab

* When a user registers for first time, put them on login instead of relying on home page redirection.

* Fixed an issue with directory picker where the path separators didn't work for both linux and windows systems.

* Implement comic support (#104)

* Implement comic support

* Any disabled controls should show not-allowed pointer.

* Fixed a scroll bug on modal

* On connection lost, restore to previous page (#106)

* Implement comic support

* Any disabled controls should show not-allowed pointer.

* Fixed a scroll bug on modal

* If the server goes down between sessions and we go to not-connected page, try to restore previous route when connection regained.

* Fixed an issue where context menus weren't resetting when an admin logs out and a new non-admin logs in. (#108)

* Error Cards (#110)

* Fixed an issue where context menus weren't resetting when an admin logs out and a new non-admin logs in.

* Implemented a marker to inform the user that some archives can't be parsed.

* Don't show scrollbar if we don't have enough height to overflow

* Shows an error card when the underlying archive could not be read at all.

* Changed the card up

* Special grouping (#115)

* Implemented splitting specials into their own section for individual reading. Requires up to date backend for db changes.

* Cleaned up the code

* Replace underscores on specials if they exist. A simple name cleaning.

* Lots of Fixes (#126)

* Fixed After editing a user's library access, the Sharing details aren't updating without a refresh #116

* Fixed Series Summary & Review do not respect newline characters #114

* Default to non-specials tab and don't destroy DOM between tab changes

* Align UI api with backend

* Library icon should be "manga" for comic and Manga

* Fixed Mark Series as Read in series detail page doesn't update the volume/chapter cards unless page is refreshed. #118

* Fixed Defect: 2 Split pages in a row causes second page to not split #112

* Fixed an issue if last page is a splitpage, we wouldn't be able to see the other side of the split.

* When jumping to begining and end and both first page and last page are splitpages, make sure we set the paging direction so user can view both pages.

* Make sure we take into account splits when we try jump to first page then try to go "back" to the other split.

* Cleaned up split code a bit

* Fixed Go to Page is off by one #124

* Fixed Read button is showing continue when a show doesn't have any progress on it #121

* Implemented Read more component (Fixes #117)

* Fixed a bug in gotopage where if you went to maxPages or greater, we would always - 1 from page number.

* Forgot to commit this for Readmore component

* tslint cleanup

* Implemented Refactor Review to be bound to the star control rather than having a text review so the user can review without rating. #125

* Fixes #119 - 0 Volumes with 0 chapters were showing as specials, but should be in the special tab.

* Fixed an issue from reverting scanSeries code.

* Handle specials with a little more care

* Fixed #138. Search wasn't showing localizedName due to a rendering issue.

* Fixed an issue where L2R didn't handle multiple split pages in a row.

* Code smells

* Ensure we wipe context actions for library between login/logouts

* Fixed loading series after marking searies unread/read (#135)

* Removed isSpecial from volume (#137)

* Bugfix/gotopage (#139)

* Fixed #138

* Fixed #131 - getStem no longer removes the substring if lastPath is same as path.

* Implements Issue #129 - There is now a close book button on the menu

* Book Support (#141)

* Refactored Library Type dropdown to use an API so UI/Backend is in sync.

* Implemented the ability to load the book reader

* Book support but none of this works. Just here to keep track as I switch to other bugs

* Basic iframe implementation is now working

* Needed changes to load the content into native div rather than via iframe.

* We now have the ability to customize how we render the text.

* Removed console.log

* Implemented the ability to loadpages from remapped anchors from backend.

* Removed epubjs references and implemented table of contents api.

* Code now works for chapters with nested chapters

* Lots of changes, most of the reader is half baked, but foundation is there.

* Changed styles up a bit

* Implemented the ability to scroll to a part within a book. Added a custom font to test out.

* Show active page with a bolding when there are nested chapters

* Chapter group titles are now clickable

* Added the ability to set top offset in drawer

* Finally got style overrides to work and some other stuff

* User can now toggle menu with space

* Ensure styles don't leak. Drawer bottom was cutoff. On phone devices, default margins should be 0%.

* Use smooth scrolling when navigating between pages with scroll offset

* Added some code for checking when all images on page are loaded, added a fade in animation (doesnt work) and some media queries for top bar.

* Refactored all data structures in application into shared module

* CSS changes

* Fixed part selector query due to improper ids, now we use a more robust query type. Implemented a stack for adhoc clicks, so user can explore a bit but pagination is based on current page.

* Reverted sidenav changes. Fixed scrollTo to be more reliable with how the content comes into view.

* When you make an adhoc link jump, we now restore page and scroll position.

* Hooked in basic preferences for books and force margin settings for mobile devices.

* Book overrides now work all the time. Added a bunch of fonts for users to try out.

* Added all font faces

* A bit hacky, but darkMode now works for the reader.

* Remove styles on destroy

* First time users will have their menu open automatically

* Book format now shows on card details modal

* changed how margin updates to make more sense

* Fixed flashing by applying an opacity transition on page change.

* Code cleanup

* Reverted changes to unify series-detail page. Added some extra accessibility for book reader.

* Implement the ability to close drawer by clicking into the reader area

* Don't let the user page past where they should be able to

* Allow user to see the underlying values of customizations and when they save them, actually reset to their preferences

* Responsive top for sticky header

* Code smells

* Implemented the ability to update book settings from user settings

* code smells

* Code smells and max/mins on reader should match the user pref area

* Feature/feats and fixes (#144)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Feature/feats and fixes (#146)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Use margin-top instead of top for offsetting top

* Add a little extra spacing just in case

* Updated carousel to use a swpier

* Increased the budget and changed how vendor module is created

* Added some todos

* Implemented the ability to suppress library link on cards

* Fixed an issue with top offset for reading section

* Added the action bar to the bottom when user scrolls all the way down (Feedback)

* Added in a skip to content link for top nav

* After performing an action on library page, refresh the data on page.

* Implemented the ability to refresh metadata of a single series directly

* Implemented a progress bar for reading and a go to page by clicking the progress bar

* Only show the bottom action bar when there is a scrollbar

* Implemented the ability to tap the sides of book reader to paginate

* Book Feedback and Fixes (#147)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Use margin-top instead of top for offsetting top

* Add a little extra spacing just in case

* Updated carousel to use a swpier

* Increased the budget and changed how vendor module is created

* Added some todos

* Implemented the ability to suppress library link on cards

* Fixed an issue with top offset for reading section

* Added the action bar to the bottom when user scrolls all the way down (Feedback)

* Added in a skip to content link for top nav

* After performing an action on library page, refresh the data on page.

* Implemented the ability to refresh metadata of a single series directly

* Implemented a progress bar for reading and a go to page by clicking the progress bar

* Only show the bottom action bar when there is a scrollbar

* Implemented the ability to tap the sides of book reader to paginate

* Cleaned up carousel and fixed breakpoints so we always at least show 2 cards.

* Cleaned up menu for manga reader and changed how automatic scaling works, based on ratio of width to height rather than raw numbers.

* Fixed an issue where using left/right keys on book reader wouldn't behave like clicking left/right pagination buttons.

* Dark mode and click to paginate was conflicting. The hint overlay still doesn't work when dark mode is on.

* Book Feedback (#148)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Use margin-top instead of top for offsetting top

* Add a little extra spacing just in case

* Updated carousel to use a swpier

* Increased the budget and changed how vendor module is created

* Added some todos

* Implemented the ability to suppress library link on cards

* Fixed an issue with top offset for reading section

* Added the action bar to the bottom when user scrolls all the way down (Feedback)

* Added in a skip to content link for top nav

* After performing an action on library page, refresh the data on page.

* Implemented the ability to refresh metadata of a single series directly

* Implemented a progress bar for reading and a go to page by clicking the progress bar

* Only show the bottom action bar when there is a scrollbar

* Implemented the ability to tap the sides of book reader to paginate

* Cleaned up carousel and fixed breakpoints so we always at least show 2 cards.

* Cleaned up menu for manga reader and changed how automatic scaling works, based on ratio of width to height rather than raw numbers.

* Fixed an issue where using left/right keys on book reader wouldn't behave like clicking left/right pagination buttons.

* Dark mode and click to paginate was conflicting. The hint overlay still doesn't work when dark mode is on.

* Fixed issue where errors from login flow would not throw a toastr

* Moved the progress bar and go to page into the side drawer to be less distracting when reading

* Removed console.logs

* Cleaned up styles on slider to be closer to size of cards

* Fixed an issue with swiper not allowing use of touch (#149)

* Fixed in progress by on last page incrementing to maxPages itself, thus ensuring it matches the sum of pages. (#151)

* Bugfix/in progress (#156)

* Fixed in progress by on last page incrementing to maxPages itself, thus ensuring it matches the sum of pages.

* Actually fix in progress by only incrementing page num on bookmark when we are on the last page

* Impleents tap to paginate user setting. (#157)

* Feature/manga reader (#160)

* Implemented pressing G to open go to page. Enhanced the dialog to give how many pages you can go to. On page splitting button press, if the current page needs splitting, we will re-render with the new option.

* Added gotopage shortcut key for book reader

* Setup for new feature

* Swiper now respects card sizes

* Fixes #51 and updates dependencies for security vulnerabilities

* Implemented back to top button

* Remove the - 1 hack from series-detail

* Remove hack from carad item

* Fix a regression where book reader would +1 pageNum for bookmarking on last page, but because books don't start at 0 for page nums, it isn't necessariy

* Implemented the ability to move between volumes automatically

* Additional security fix

* Code smells

* Cleaned up the implementation to properly prevent pagination when loading next chapter/volume

* v0.4 Last touches (#162)

* PurgeCSS integration

* Changed some icons to have titles

* Automatic scaling changes

* Removed 2 font families that didn't make the release cut. Fixed an off by 1 regression with setContinuePoint

* Backed out purge css after testing

* Some cleanup of the package

* Automatic scaling adjustments

* Bugfix/release shakeout (#164)

* Fixed body color not being reset due to capturing it too late

* Removed some dead code

* v0.4 merge to stable (#165)

* Fixed an off by 1 issue due to the fact that reading is 0-based and everything else is 1 based. (#94)

* Fixed an issue where special case that handles no volumes was showing also when chapters also existed. Renamed "Chapter 0" as "Specials" (#96)

* Bugfixes! (#99)

* Fixed an issue where special case that handles no volumes was showing also when chapters also existed. Renamed "Chapter 0" as "Specials"

* Fixed a typo resulting in pages not rendering on edit series modal. Ensure chapters are sorted on edit series and card details modal.

* Fixed the date format showing days before months.

* Fixed a bug with scrollable modals for context info modals.

* Fixed a bug where adding a folder to a library added a / before the path, thus breaking on linux. (#101)

* Bugfixes (#103)

* Fixed an issue where special case that handles no volumes was showing also when chapters also existed. Renamed "Chapter 0" as "Specials"

* Fixed a typo resulting in pages not rendering on edit series modal. Ensure chapters are sorted on edit series and card details modal.

* Fixed the date format showing days before months.

* Fixed a bug with scrollable modals for context info modals.

* Last modified on chapters didn't really s how well and made no sense to show, removed it.

* Preparing for feature

* CSS adjustment for admin dashboard

* First flow, ensure we go directly to library tab

* When a user registers for first time, put them on login instead of relying on home page redirection.

* Fixed an issue with directory picker where the path separators didn't work for both linux and windows systems.

* Implement comic support (#104)

* Implement comic support

* Any disabled controls should show not-allowed pointer.

* Fixed a scroll bug on modal

* On connection lost, restore to previous page (#106)

* Implement comic support

* Any disabled controls should show not-allowed pointer.

* Fixed a scroll bug on modal

* If the server goes down between sessions and we go to not-connected page, try to restore previous route when connection regained.

* Fixed an issue where context menus weren't resetting when an admin logs out and a new non-admin logs in. (#108)

* Error Cards (#110)

* Fixed an issue where context menus weren't resetting when an admin logs out and a new non-admin logs in.

* Implemented a marker to inform the user that some archives can't be parsed.

* Don't show scrollbar if we don't have enough height to overflow

* Shows an error card when the underlying archive could not be read at all.

* Changed the card up

* Special grouping (#115)

* Implemented splitting specials into their own section for individual reading. Requires up to date backend for db changes.

* Cleaned up the code

* Replace underscores on specials if they exist. A simple name cleaning.

* Lots of Fixes (#126)

* Fixed After editing a user's library access, the Sharing details aren't updating without a refresh #116

* Fixed Series Summary & Review do not respect newline characters #114

* Default to non-specials tab and don't destroy DOM between tab changes

* Align UI api with backend

* Library icon should be "manga" for comic and Manga

* Fixed Mark Series as Read in series detail page doesn't update the volume/chapter cards unless page is refreshed. #118

* Fixed Defect: 2 Split pages in a row causes second page to not split #112

* Fixed an issue if last page is a splitpage, we wouldn't be able to see the other side of the split.

* When jumping to begining and end and both first page and last page are splitpages, make sure we set the paging direction so user can view both pages.

* Make sure we take into account splits when we try jump to first page then try to go "back" to the other split.

* Cleaned up split code a bit

* Fixed Go to Page is off by one #124

* Fixed Read button is showing continue when a show doesn't have any progress on it #121

* Implemented Read more component (Fixes #117)

* Fixed a bug in gotopage where if you went to maxPages or greater, we would always - 1 from page number.

* Forgot to commit this for Readmore component

* tslint cleanup

* Implemented Refactor Review to be bound to the star control rather than having a text review so the user can review without rating. #125

* Fixes #119 - 0 Volumes with 0 chapters were showing as specials, but should be in the special tab.

* Fixed an issue from reverting scanSeries code.

* Handle specials with a little more care

* Fixed #138. Search wasn't showing localizedName due to a rendering issue.

* Fixed an issue where L2R didn't handle multiple split pages in a row.

* Code smells

* Ensure we wipe context actions for library between login/logouts

* Fixed loading series after marking searies unread/read (#135)

* Removed isSpecial from volume (#137)

* Bugfix/gotopage (#139)

* Fixed #138

* Fixed #131 - getStem no longer removes the substring if lastPath is same as path.

* Implements Issue #129 - There is now a close book button on the menu

* Book Support (#141)

* Refactored Library Type dropdown to use an API so UI/Backend is in sync.

* Implemented the ability to load the book reader

* Book support but none of this works. Just here to keep track as I switch to other bugs

* Basic iframe implementation is now working

* Needed changes to load the content into native div rather than via iframe.

* We now have the ability to customize how we render the text.

* Removed console.log

* Implemented the ability to loadpages from remapped anchors from backend.

* Removed epubjs references and implemented table of contents api.

* Code now works for chapters with nested chapters

* Lots of changes, most of the reader is half baked, but foundation is there.

* Changed styles up a bit

* Implemented the ability to scroll to a part within a book. Added a custom font to test out.

* Show active page with a bolding when there are nested chapters

* Chapter group titles are now clickable

* Added the ability to set top offset in drawer

* Finally got style overrides to work and some other stuff

* User can now toggle menu with space

* Ensure styles don't leak. Drawer bottom was cutoff. On phone devices, default margins should be 0%.

* Use smooth scrolling when navigating between pages with scroll offset

* Added some code for checking when all images on page are loaded, added a fade in animation (doesnt work) and some media queries for top bar.

* Refactored all data structures in application into shared module

* CSS changes

* Fixed part selector query due to improper ids, now we use a more robust query type. Implemented a stack for adhoc clicks, so user can explore a bit but pagination is based on current page.

* Reverted sidenav changes. Fixed scrollTo to be more reliable with how the content comes into view.

* When you make an adhoc link jump, we now restore page and scroll position.

* Hooked in basic preferences for books and force margin settings for mobile devices.

* Book overrides now work all the time. Added a bunch of fonts for users to try out.

* Added all font faces

* A bit hacky, but darkMode now works for the reader.

* Remove styles on destroy

* First time users will have their menu open automatically

* Book format now shows on card details modal

* changed how margin updates to make more sense

* Fixed flashing by applying an opacity transition on page change.

* Code cleanup

* Reverted changes to unify series-detail page. Added some extra accessibility for book reader.

* Implement the ability to close drawer by clicking into the reader area

* Don't let the user page past where they should be able to

* Allow user to see the underlying values of customizations and when they save them, actually reset to their preferences

* Responsive top for sticky header

* Code smells

* Implemented the ability to update book settings from user settings

* code smells

* Code smells and max/mins on reader should match the user pref area

* Feature/feats and fixes (#144)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Feature/feats and fixes (#146)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Use margin-top instead of top for offsetting top

* Add a little extra spacing just in case

* Updated carousel to use a swpier

* Increased the budget and changed how vendor module is created

* Added some todos

* Implemented the ability to suppress library link on cards

* Fixed an issue with top offset for reading section

* Added the action bar to the bottom when user scrolls all the way down (Feedback)

* Added in a skip to content link for top nav

* After performing an action on library page, refresh the data on page.

* Implemented the ability to refresh metadata of a single series directly

* Implemented a progress bar for reading and a go to page by clicking the progress bar

* Only show the bottom action bar when there is a scrollbar

* Implemented the ability to tap the sides of book reader to paginate

* Book Feedback and Fixes (#147)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Use margin-top instead of top for offsetting top

* Add a little extra spacing just in case

* Updated carousel to use a swpier

* Increased the budget and changed how vendor module is created

* Added some todos

* Implemented the ability to suppress library link on cards

* Fixed an issue with top offset for reading section

* Added the action bar to the bottom when user scrolls all the way down (Feedback)

* Added in a skip to content link for top nav

* After performing an action on library page, refresh the data on page.

* Implemented the ability to refresh metadata of a single series directly

* Implemented a progress bar for reading and a go to page by clicking the progress bar

* Only show the bottom action bar when there is a scrollbar

* Implemented the ability to tap the sides of book reader to paginate

* Cleaned up carousel and fixed breakpoints so we always at least show 2 cards.

* Cleaned up menu for manga reader and changed how automatic scaling works, based on ratio of width to height rather than raw numbers.

* Fixed an issue where using left/right keys on book reader wouldn't behave like clicking left/right pagination buttons.

* Dark mode and click to paginate was conflicting. The hint overlay still doesn't work when dark mode is on.

* Book Feedback (#148)

* In case a migration is poorly implemented, default on first load of bookreader.

* If there is no table of contents in epub file, inform the user

* Fixed #143 by ensuring we properly flatten the correct property when catching errors.

* Fixed #140. Search bar in nav is now more responsive than ever and properly scales down to even the smallest phone sizes (less than 300px)

* For Cards, moved the action menu into the bottom area, added Library link that said series belongs to.

* Added library to the series detail card

* Implemented the ability to automatically scale the manga reader based on screen size.

* Fix code smells

* Use margin-top instead of top for offsetting top

* Add a little extra spacing just in case

* Updated carousel to use a swpier

* Increased the budget and changed how vendor module is created

* Added some todos

* Implemented the ability to suppress library link on cards

* Fixed an issue with top offset for reading section

* Added the action bar to the bottom when user scrolls all the way down (Feedback)

* Added in a skip to content link for top nav

* After performing an action on library page, refresh the data on page.

* Implemented the ability to refresh metadata of a single series directly

* Implemented a progress bar for reading and a go to page by clicking the progress bar

* Only show the bottom action bar when there is a scrollbar

* Implemented the ability to tap the sides of book reader to paginate

* Cleaned up carousel and fixed breakpoints so we always at least show 2 cards.

* Cleaned up menu for manga reader and changed how automatic scaling works, based on ratio of width to height rather than raw numbers.

* Fixed an issue where using left/right keys on book reader wouldn't behave like clicking left/right pagination buttons.

* Dark mode and click to paginate was conflicting. The hint overlay still doesn't work when dark mode is on.

* Fixed issue where errors from login flow would not throw a toastr

* Moved the progress bar and go to page into the side drawer to be less distracting when reading

* Removed console.logs

* Cleaned up styles on slider to be closer to size of cards

* Fixed an issue with swiper not allowing use of touch (#149)

* Fixed in progress by on last page incrementing to maxPages itself, thus ensuring it matches the sum of pages. (#151)

* Bugfix/in progress (#156)

* Fixed in progress by on last page incrementing to maxPages itself, thus ensuring it matches the sum of pages.

* Actually fix in progress by only incrementing page num on bookmark when we are on the last page

* Impleents tap to paginate user setting. (#157)

* Feature/manga reader (#160)

* Implemented pressing G to open go to page. Enhanced the dialog to give how many pages you can go to. On page splitting button press, if the current page needs splitting, we will re-render with the new option.

* Added gotopage shortcut key for book reader

* Setup for new feature

* Swiper now respects card sizes

* Fixes #51 and updates dependencies for security vulnerabilities

* Implemented back to top button

* Remove the - 1 hack from series-detail

* Remove hack from carad item

* Fix a regression where book reader would +1 pageNum for bookmarking on last page, but because books don't start at 0 for page nums, it isn't necessariy

* Implemented the ability to move between volumes automatically

* Additional security fix

* Code smells

* Cleaned up the implementation to properly prevent pagination when loading next chapter/volume

* v0.4 Last touches (#162)

* PurgeCSS integration

* Changed some icons to have titles

* Automatic scaling changes

* Removed 2 font families that didn't make the release cut. Fixed an off by 1 regression with setContinuePoint

* Backed out purge css after testing

* Some cleanup of the package

* Automatic scaling adjustments

* Bugfix/release shakeout (#164)

* Fixed body color not being reset due to capturing it too late

* Removed some dead code

* Implemented dark mode (#166)

* Implemented dark mode

* Bump version to v0.4.1, moved dark styles to own stylesheet (some files need dark overrides) and ensured all pages are styled correctly.

* Switched the code over to use bootstrap theme with Kavita color

* Bugfix/manga issues (#169)

* Fixes #168

* Fixed a bug on the manga reader that caused the background color to inherit from body rather than be forced black.
Fixed an issue where a long filename on a phone could make it hard to close menu once open.

* Sentry Integration (#170)

* Basic version of sentry is implemented

* Enhanced continuous reading to show a warning when we couldn't find the next reading point. This will also short circuit after the first warning is shown

* Implemented Sentry. Currently src maps aren't uploading

* Bugfixes/misc (#174)

* Fixes #171

* Ensure btn-information is properly styled in dark mode

* no trace sampling for UI

* Fixed an issue where when we had no read progress, when choosing firs… (#176)

* Fixed an issue where when we had no read progress, when choosing first volume, we'd use first chapter, but sometimes chapters wouldn't be ordered.

* Code smell

* Collection Support (#179)

* Home button should go to library page, so we can use back and return to where we clicked from.

* Implemented Collection Support

* Fixed an issue for search in nav bar in darkmode

* Move loading to the top of the book reader

* Added DOMHelper to help with accessibility

* Implemented a re-usable layout component for all card layout screens. Handles pagination.

* Fixes #175

* Additional RBS check for tags where the tag fragment is invalid or there are no libraries that a user has access to

* Introduced an edit collection tag modal and actionables for collection tags.

* Bump version of Sentry SDK.

* Ability to remove series from a tag in a bulk manner.

* Continue Reading Regression (#186)

* Added a dark placeholder image for dark mode and hooked it up to Image service to load correct placeholder

* Fixed #181. Rewrote the continue logic to only check chapters and removed the concept of volumes (since every volume has a chapter). Opening a volume now does it's own check if there is progress on the volume, it will open to where the user left off. Otherwise, it will grab the first chapter and start at the beginning.

* Added dark error placeholder image (#187)

* Bugfix/misc (#188)

* Fixed an issue where carousel series cards scan library would kick off for wrong library id.

* Refactored the tab code to be dynamic based on the volume/chapter/specials of the data. The correct tab will be default selected and tabs that don't need to exist wont.

* Some css adjustments for typeaheads

* Move the loader out of the action bar so if settings menu is open when navigating pages, the math doesn't break

* Fixed a bug where highlight wasn't updating correctly when we type or after we add a tag via keyboard

* Fix an exception when tags are null (due to a bug in release)

* Accessibility bugs

* Collection Tweaks (#190)

* Fixed an issue where carousel series cards scan library would kick off for wrong library id.

* Refactored the tab code to be dynamic based on the volume/chapter/specials of the data. The correct tab will be default selected and tabs that don't need to exist wont.

* Some css adjustments for typeaheads

* Move the loader out of the action bar so if settings menu is open when navigating pages, the math doesn't break

* Fixed a bug where highlight wasn't updating correctly when we type or after we add a tag via keyboard

* Fix an exception when tags are null (due to a bug in release)

* Accessibility bugs

* Fixed #189 and cleaned up series pagination.

* Major cleanup of the typeahead code. One bug remaining

* Fixed highlight issue

* Fixed #183. When using continuous manga reading, moving to another chapter within the reader now updates the url. (#191)

* Book Parity: Reading direction for books (#192)

* Fixed pagination issue on library-detail

* Implemented left to right/right to left reading mode in book reader

* feat: remove Webtoon option from Library Types (#194)

#251

* Book Reading Progress Enhancement (#196)

* Implemented the ability to bookmark and restore reading progress (scroll) for books.

* Check to make sure we have something to search before we perform a querySelectorAll

* Don't reload a page when we've hit the boundaries of min/max pages and are trying to spam left/right key.

* Fixed a bug where if kavita-part marker was on the same page, the conditional was always true, meaning that when it was on a different one, we wouldn't load it up.

* Bugfix/tab refactor (#197)

* Fixed a logic bug which hid the specials tab too aggressively

* Unsubscribe from observables on destroy of account service

* Recently Added Page (#198)

* Recently Added Page
* Changed default pagination to 30

* Update to CSS for homepage section title links (#201)

* Update to CSS for homepage section title links

* Adding :active and :focus selectors

- :active for accessibility best practice and UX.
- :focus for mobile.

* Fixed #202 - Scope list item hover styles in darkmode to only typeahead (#204)

* Double Flashing Fix (#206)

* Fixed #202 - Scope list item hover styles in darkmode to only typeahead

* Fixed #199 - Flickering when paginating

* Fixed an issue with Continue Reading not working after manually updating a volume with multiple chapters as read/unread (#211)

* Directory Picker UX Enhancements (#214)

* Added a filter and some css to the directory picker to make it more useable

* Fixed a bug where last goBack didn't reload the disks and kept the directories from the last selected node.

* Allow user to change port (#215)

* Allow the admin to configure the log level from the UI. Add a warning informing them restart is required for port and log level. (#217)

* Cleaned up some console.logs and tweaked the logic of scroll position remembering. Now the side nav chapter list will show what part you are on (if applicable). (#220)

* Specials Sort (#223)

* Implemented a natural sort (same as BE) to sort the specials so the order isn't completely random

* Added ability to push source maps tagged to a release on push to main and develop (#219)

* Create Library Feedback (#224)

# Added
- Library type and number of folders shared is now visible on Manage Libraries page

# Changed
- Directory Picker will now let you share the current folder from any time in the picker flow
- Headings are now consistent between User Preferences and Admin screen

* Fixing folder structure for sentry github action (#225)

* Updating workflow environment (#226)

Sentry workflow was giving an error: "Error: Container action is only supported on Linux"

* Fixing build dist path for sentry (#227)

* Updating workflow environment

Sentry workflow was giving an error: "Error: Container action is only supported on Linux"

* update build dist path for sentry

* fix: unable to select lib type when creating a new lib (#231)

* fix: unable to select lib type when creating a new lib

fixed #230

* fix: able to change lib type after it's creation

* Download Support (#229)

* Implemented the ability to download series/chapter/volume from server. Uses RBS to determine if a user can or cannot download.

* Safety Checks (#233)

* Fixes a safety check from Sentry ANGULAR-1Z

* Fixed a build issue from downloading branch

* Fix/234 235 login redirection and dark theme not working (#236)

* fix: login redirection not happening

#234

* fix: dark theme not working after logout

#235

* Remove SP marker from specials and also remove extension from specials. (#238)

* Remove SP marker from specials and also remove extension from specials.

* Sort first so we can take advantage of the SP number

* Error Handling Rework (#237)

* Updated ngx-toastr version (includes new styles), updated style.scss to be cleaner. Began adding Title service for accessibility.

* Reworked error interceptor and toastr service to reduce duplicates and properly show errors.

Co-authored-by: Milazzo, Joseph (jm520e) <jm520e@us.att.com>

* Fixed a prod only issue due to multi: true for provider (#243)

* Feat/usage stats collection (#245)

* feat: add client anonymous data collection

* fix: sonar issues

* Implemented a server setting to opt-out of usage collection

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>

* Book Progress Enhancements (#250)

* Implemented the ability to bookmark any part of the book, not just the chapter parts

* Added total pages label to the book reader

* Manga Reader Redesign + Webtoon Reader (#247)

# New
- Bottom drawer has a scroller to jump to pages, jump to first/last page, and jump between volume/chapters. 
- Quick actions easily available to change reading direction, change reader mode, color tones, and access extended settings
- Extended settings area for settings unlikely changed
- Ability to auto close menu (setting)
- Ability to apply extra darkness or a sepia tone to reduce blue light
- New reader modes: Left/Right, Up/Down, Webtoon (scroll up and down)
- Information about the volume/chapter you are reading is now showed in the top drawer

# Changed
- When applying reader modes or reading directions, the clickable areas will now show an overlay to help you understand where to click.
- Image scaling and Image splitting now show some contextual icons to help the user understand what they do
- Close book button is now in the top drawer menu

* Bugfix/toastr css updates (#249)

* CSS Updates

- Removed BS4 toastr styles
- Reinstituted default non-BS4 toastr styles
- Centered login (accounting for header)
- Adjusted the carousel section heading font-size.
- Added a small padding (5px) on top of the padding for the nav, so the text isn't so close to the nav.

* Login refresh & toaster styles

- Added new font for login
- Updated login styles
- Hide nav bar on logout
- show nav bar on login
- Added images for new login
- dark styles for login
- dark styles for toastr

* minified images

* sonar bug fix

* updating style url for minified asset

* Fixes and code smells

- fix for login bg image showing up elsewhere
- fix for code smells
- added font family to nav bar

* Fixed missing label/input linking

* resized, compressed, and minified bg image

- change opacity to dark mode login

* Changed Spartan font files to variable weight

* Change requests

- Added font license
- Renamed image used for login bg
- Fixed path in styles where above file was used
- Removed now unused bs4 toastr style import

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>

* Fix a bad version number

* hotfix for docker build issue (#251)

* updating angular.json

changing output folder

* change path

* Fixed build issues (#252)

* Bugs! (#254)

* Fix style issue where bootstrap components weren't taking kavita overrides

* Fixed a bug where after updating certain things within a card on library page, the feeds wouldn't update

* Fixed a bug where chapter sort would not behave the same way as on chrome

* Release canidate bugs (#255)


  *  Auto Close menu wasn't updating within reader
  *  (Book Reader) Enhanced scroll part code to limit elements we count for bookmarking, only calculating intersection once fully visible and saving when scroll ends
 *   Removed Image Smoothing option (chrome only) from this release. No noticeable difference having it.
 * Fixed a page reload when clicking on In Progress section title on home page

* Bugfix/webtoons (#256)

* Fixed issue where first load would not start capturing scroll events due to not knowing the scroll to an element finished.

* Changed how to figure out when to end scrolling event by calculating if the target element is visible in the viewport.

* Seems to be working pretty well. Cleaned up some of the messages for debugging.

* Simplified the intersection logic drastically

* Fixed a color issue on slider for non-dark mode

* Disable first/last page buttons if we are already on those respective pages

* Added documentation to circular array class

* Some debug code but scrolling no longer results in jank due to scrollToPage getting executed too often

* Backing out ability to use webtoon reader

* Css fix for book reader progress and light mode toastr (#257)

* Changing dark mode to default (#262)

- Changed user-preferences site dark mode to default true

* added logo and css for logo (#260)

* added logo and css for logo

- max-height is to prevent the image from increasing the height of the navbar.
- middle middle vertical align didn't look to match up as expected, so a top middle was implemented based on chrome and firefox renderings.

* Adding requested accessibility changes

* Added Kavita-webui repo to UI/Web

* Special parsing issues (#361)

* Update README.md

Added demo link to Readme and tweaked Sentry icon

* Adds some regex cases from manga downloaded through FMD2. For parsing specials, if the marker is found, try to overwrite the series with the folder the manga is in, rather than what we parse from filename.

* Version bump

* Changed company to point to our domain

* Fixed copyright to point to our domain

* Adding test github workflow and test build file (#362)

* Fixing copy fail in monorepo-test workflow

* fixing shell script to be executable

* fixing permission issue

* Folder Parsing (#366)

* New: Ability to parse volume and chapter from directory tree, rather than exclusively from filename. (#313)
* Fixed: Fixed an edge case where GetFoldersTillRoot if given a non-existent root in the file path, would result in an infinite loop.

* Book Reader Bugs (#367)

* Fixed:  Fixed an issue where when tap to paginate is on, clicking off the settings menu doesn't close it.
* Fixed: Fixed the tint color on book reader being different from manga reader.
* Fixed: Reworked the clickable overlay for tap to paginate so links are still clickable when tap to paginate is on.

* Build on monorepo

* Book Reader Intersection Handler not firing  (#369)

* Fixed: Fixed an issue where intersection observer wouldn't be triggered when book page had no images (Book reader bookmark not firing while scrolling #360)

* Raw Image Support (#375)

* New: Ability to add Raw Image folders to Kavita via new library Types Images (Comic) and Images (Manga). Images must belong to a folder, they cannot exist in the root directory. It is important to at least put a second folder (minimum) with a Volume of Chapter, else you will end up with each image as a special which is not easily readable.
* Changed: When caching images for raw images, do it much faster and return earlier if the files have already been cached.


Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>

* Fixed a bug in the circular array which would not properly roll index over for applyFor (#377)

* Fixed: Manga reader's prefetching buffer had issues with rolling over index, which would require a manual image load every 7 pages. (#372)

* Adding new ui dist folder to gitignore

* Added stats folder persistence (#382)

* Added demo link to Readme and tweaked Sentry icon

* Added a symbolic link to persist the stats folder between docker container updates.

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>

* Lots of UI fixes and changes (#383)

* After we flatten, remove any non image files as we shouldn't iterate over them

* Fixed a case for next/prev chapter where if we have a volume then chapters attached afterwards, there would be improper movement due to how sorting works.

* Fixed an issue where no-connection would not resume where the loss of connection occured

* Fixed an issue where after creating a new user, their Last Active Date would show as a weird date, instead of "Never"

* Sort files in card detail to mimic reading order

* Implemented a single source of executing actions (card or main page) and added actionables on library detail page.

* Refactored series actions into action service

* Implemented common handling for entity actions in a dedicated service

* Fixed build script for new monorepo layout.

* Cleaned up nav header subscriptions

* Updated the favicon/icons to work on different devices as home screen shortcuts


* Fixed: Fixed issue where if you had a volume with 1 volume based file and a chapter file, the next/prev chapters wouldn't work (Fixes #380)
* Fixed: When connection is lost to backend, saving current page url and resuming when connection reestablished was not working (Fixes #379)
* Fixed: When creating a new user, a strange date format was shown in Last Active due to not having been active. Now "Never" shows (Fixes #376)
* Fixed: When showing files for a volume/chapter, the files are now sorted in the order you will read them in (Fixes #378)
* Added: Library detail now has actionable menu next to header, so you can kick off a scan or metadata refresh (Closes #363)
* Changed: When performing actions like marking as read/unread on series detail page, the actionable button will disable until the request finishes. (Closes #381)
* Changed: Favicon and Icons have been updated so when saving webpage to home screen, it should show a proper icon (Closes #356)

* Lots of Bugfixes and Tweaks (#387)

* Fixed: Fixed a bug in how we get images. When dealing with raw images, we need special logic (Monorepo)
* Added: (Manga Reader) When we are within 10 pages of the beginning of a manga, prefetch the prev chapter
* Fixed: (Manga Reader) The slider would sometime skip pages and would have leftover track on last page. 
* Fixed: (Raw Images) When calculating cover image for Raw Image entities, only select image files
* Fixed: Fixed a logic bug where raw image based entities wouldn't send back the correct page (Monorepo)
* Changed: When deleting a library, it can take a long time. Disable delete buttons until the deletion finishes
* Added: (Parser) Added a regex case for "Series - Ch. 20 - Part"
* Changed: Try to show the files in volume/chapter detail modal in the reading order. 
* Fixed: Next/Previous chapter was not working in all cases from previous Monorepo commit.

* Bugfix/locked name reset (#389)

* Fixed: Fixed an issue where if you manually rename a series, then remove/modify an entity related to the series, the series would be deleted and re-created with the original, parsed name.

* Scan Series (#390)

* Refactored Library delete to use a transaction.

* Ensure we parse "Series Name - Chapter XXX" before "Series Name - Vol XXX"

* Ensure if GetFoldersTillRoot is called with a fullPath containing a file, that we ignore the file for returned folders.

* Changed: From the series actionable menu, instead of scan library, which would kick off a filesystem scan on the library the series belonged to, instead we have "scan series" which will scan the folders represented by that series. If that series has files in the root of the library, the library root is scanned, but only said series files will be processed. This can make a refresh occur in under 500 ms (Fixes #371)
* Fixed: Fixed a bad parsing case for "Series Name - Vol.01 Chapter 029 8 Years Ago" where somehow the chapter would parse as "029 8", thus making the file a special rather than chapter 29.

* Fixes a bug where the root path and the full path share a common word, like root: "/Test library" and full path "/Test library/Test" which caused "/Test" to be taken out of root and thus GetFoldersTillRoot would never finish

* About Section (#394)


* Added: Added an about section with version, links to discord, github, donations, etc.
* Fixed: Fixed some parsing issues that caused "Series Name - Volume X Chapter Y" to parse as "Series Name - Volume X" from a previous change in develop.

* Cleaning up monorepo build files

* Fixing permission issues

Co-authored-by: Leonardo Dias <leo.rock14@gmail.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: Leonardo Dias <contato.leonardod@yahoo.com>
Co-authored-by: Milazzo, Joseph (jm520e) <jm520e@us.att.com>
Co-authored-by: Chris Plaatjes <kizaing@gmail.com>
2021-07-17 14:03:11 -05:00