840 Commits

Author SHA1 Message Date
majora2007
25b3305b73 Bump versions by dotnet-bump-version. 2022-06-27 15:36:16 +00:00
majora2007
77cd1bc80a Bump versions by dotnet-bump-version. 2022-06-26 23:00:35 +00:00
majora2007
a885753066 Bump versions by dotnet-bump-version. 2022-06-25 23:03:33 +00:00
majora2007
f2c08092b8 Bump versions by dotnet-bump-version. 2022-06-22 19:24:08 +00:00
majora2007
9f4f6d03f3 Bump versions by dotnet-bump-version. 2022-06-22 17:39:06 +00:00
majora2007
2ed0aca866 Bump versions by dotnet-bump-version. 2022-06-16 17:20:39 +00:00
majora2007
0f5a7ee6fa Bump versions by dotnet-bump-version. 2022-06-16 14:09:35 +00:00
majora2007
5b829af531 Bump versions by dotnet-bump-version. 2022-06-15 21:57:45 +00:00
majora2007
384fac68c4 Bump versions by dotnet-bump-version. 2022-06-14 15:18:27 +00:00
majora2007
1edf23d8c3 Bump versions by dotnet-bump-version. 2022-06-14 12:20:50 +00:00
majora2007
549b889639 Bump versions by dotnet-bump-version. 2022-06-13 21:51:00 +00:00
majora2007
f0f0e23e88 Bump versions by dotnet-bump-version. 2022-06-10 15:05:27 +00:00
majora2007
0124620e36 Bump versions by dotnet-bump-version. 2022-06-08 00:06:51 +00:00
Joseph Milazzo
77b8551620
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>
2022-06-07 16:48:25 -07:00
majora2007
0906ca49a9 Bump versions by dotnet-bump-version. 2022-06-06 15:02:51 +00:00
majora2007
fbdf8dfe8a Bump versions by dotnet-bump-version. 2022-06-02 14:40:21 +00:00
majora2007
7f51ea2d0f Bump versions by dotnet-bump-version. 2022-05-30 22:02:06 +00:00
majora2007
64c0b5a71e Bump versions by dotnet-bump-version. 2022-05-29 15:01:47 +00:00
majora2007
85b4ad0c58 Bump versions by dotnet-bump-version. 2022-05-27 14:20:33 +00:00
majora2007
d796bcdc0a Bump versions by dotnet-bump-version. 2022-05-26 00:24:25 +00:00
majora2007
c0f7dd39a2 Bump versions by dotnet-bump-version. 2022-05-25 22:10:42 +00:00
majora2007
0a70ac35dc Bump versions by dotnet-bump-version. 2022-05-25 19:39:11 +00:00
majora2007
1247f450e2 Bump versions by dotnet-bump-version. 2022-05-25 17:21:56 +00:00
majora2007
a0e1ba8d67 Bump versions by dotnet-bump-version. 2022-05-23 23:30:19 +00:00
Joseph Milazzo
e0a2fc615f
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
2022-05-23 16:19:52 -07:00
majora2007
dd83b6a9a1 Bump versions by dotnet-bump-version. 2022-05-21 23:36:25 +00:00
Joseph Milazzo
16eb1e3e8e
version bump (#1271) 2022-05-21 16:24:18 -07:00
majora2007
f4f91fa5a9 Bump versions by dotnet-bump-version. 2022-05-21 23:03:49 +00:00
majora2007
bcad2e4a55 Bump versions by dotnet-bump-version. 2022-05-21 02:18:06 +00:00
majora2007
92010379f1 Bump versions by dotnet-bump-version. 2022-05-20 23:00:48 +00:00
majora2007
49d8a7c6ca Bump versions by dotnet-bump-version. 2022-05-19 12:24:13 +00:00
majora2007
876e19177e Bump versions by dotnet-bump-version. 2022-05-19 00:46:22 +00:00
majora2007
6f23a3bc6d Bump versions by dotnet-bump-version. 2022-05-15 21:31:42 +00:00
majora2007
bb791b7789 Bump versions by dotnet-bump-version. 2022-05-15 19:44:47 +00:00
majora2007
ccb6414e9e Bump versions by dotnet-bump-version. 2022-05-14 22:13:24 +00:00
majora2007
be5b997259 Bump versions by dotnet-bump-version. 2022-05-14 00:40:11 +00:00
majora2007
dfcc2f0813 Bump versions by dotnet-bump-version. 2022-05-09 01:01:46 +00:00
Joseph Milazzo
2723a6cd10
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.
2022-05-08 17:52:15 -07:00
majora2007
641e0a71e9 Bump versions by dotnet-bump-version. 2022-05-08 16:26:06 +00:00
majora2007
3334b0ce3f Bump versions by dotnet-bump-version. 2022-05-03 15:32:41 +00:00
majora2007
f9299a3e03 Bump versions by dotnet-bump-version. 2022-04-30 17:20:55 +00:00
majora2007
a2d5ee18a0 Bump versions by dotnet-bump-version. 2022-04-29 22:38:10 +00:00
majora2007
743a3ba935 Bump versions by dotnet-bump-version. 2022-04-28 22:08:57 +00:00
Joseph Milazzo
1e51e39f66
Feature/misc (#1234)
* Fixed a bug where publication status could show as filled in when total number is 0 but there is a max count.

Add ComicInfo support for LocalizedSeries which will populate a Series LocalizedName.

Fixed an issue in tag constraint issues.

* Hooked in LocalizedSeries tag into merge step in scanner.

* Hooked in LocalizedSeries from ComicInfo into Kavita and also use it to help during merge phase to avoid 2 different series, if one file is using the name of the localized series.

* Reduced some extra string creation and updated epub library to ignore bad ToCs.

* Bumped dependencies to latest. When an epub doesn't have a dc:date with publication event type, default back to just a normal dc:date tag.

* Fixed a bug where webtoon reader would error out on first load due to how we passed the function to the reader

* Reverted the centering code
2022-04-28 14:50:31 -07:00
majora2007
0eb3d74ff9 Bump versions by dotnet-bump-version. 2022-04-25 19:06:11 +00:00
majora2007
cc8944718d Bump versions by dotnet-bump-version. 2022-04-24 17:13:06 +00:00
majora2007
7253765f1d Bump versions by dotnet-bump-version. 2022-04-23 19:47:16 +00:00
majora2007
e25af3d348 Bump versions by dotnet-bump-version. 2022-04-23 19:08:56 +00:00
therobbiedavis
62715a9977 Bump versions by dotnet-bump-version. 2022-04-20 22:19:26 +00:00
majora2007
cb69768120 Bump versions by dotnet-bump-version. 2022-04-20 20:28:41 +00:00