* Implemented a Want To Read list of series for all users, as a way to keep track of what you want to read.
When canceling a bulk action, like Add to Reading list, the selected cards wont de-select.
* Hooked up Remove from Want to Read
* When making bulk selection, allow the user to click on anywhere on the card
* Added no series messaging
* Code cleanup
* Implemented a workaround for nginx users with BlockCommonExploits enabled, which would interfere with book image escaping done by Kavita when images had ../ in their path.
* Added back to top support on all pages but those that untilize virtual scrolling without a parent scroll.
* Hide jumpbar on pages where there is no scroll
* Refactored jumbar code into a dedicated service
* Stash some jumpkey resume code as I can't get it working with the virtual scroller.
* Don't allow non-admins to see File locations on card detail drawer.
* Some cleanup on GetServerInfo
* When an error occurs in register, delete the user on exception.
* Fixed a NPE in Stat collection for brand new users
* When we catch an exception on registering a new user, delete the user as rolling back doesn't do anything.
* Don't close typeahead when we are selecting options from it
* Added shortcut key H to open shortcut modal on manga reader
* When processing progress updates on cards, for volumes, properly find the chapter to update pages read.
* Hide cover image on reading list if it's not set and fixed a missing closing div tag
* Hide collection poster when nothing is set on collection detail
* Small fix around updating state
* Sped up the bookmark image call by removing one DB call
* Fixed broken test from change in bookmark code
* Fixed an oversight where if there is no tag in ComicInfo after a chapter was updated with People or Genres, then the People/Genres would never be removed.
* Added test with TagHelper
* Fixed a bug where 2 clear buttons would show on search bar due to browser injecting their own. Search bar wont show clear button until text is typed.
* Fixed a bug where InstallID wasn't being selected correctly in converter
* Fixed a bug where cache TTL was using a field which always was 0.
* Updated Scan Series task (from UI) to always re-calculate what's on file and not rely on last update. This leads to more reliable results, despite extra overhead.
* Added image range processing on images for the reader, for slower networks or large files
* On manga (single) try to use prefetched image, rather than re-requesting an image on pagination
* Reduced some more latency when rendering first page of next chapter via continuous reading mode
* Fixed a bug where metadata filter, after updating a typeahead, collapsing filter area then re-opening, the filter would still be applied, but the typeahead wouldn't show the modification.
* Coded an idea around download reporting, commiting for history, might not go with it.
* Refactored the download indicator into it's own component. Cleaning up some code for download within card component
* Another throw away commit. Put in some temp code, not working but not sure if I'm ditching entirely.
* Updated download service to enable range processing (so downloads can resume) and to reduce re-zipping if we've just downloaded something.
* Refactored events widget download indicator to the correct design. I will be moving forward with this new functionality.
* Added Required fields to ProgressDTO
* Cleaned up the event widget and updated existing download progress to indicate preparing the download, rather than the download itself.
* Updated dependencies for security alerts
* Refactored all download code to be streamlined and globally handled
* Updated ScanSeries to find the highest folder path before library, not just within the files. This could lead to scan series missing files due to nested folders on same parent level.
* Updated the caching code to use a builtin annotation. Images are now caching correctly.
* Fixed a bad redirect on an auth guard
* Tweaked how long we allow cache for, as the cover update now doesn't work well.
* Fixed a bug on downloading bookmarks from multiple series, where it would just choose the first series id for the temp file.
* Added an extra check for downloading bookmarks
* UI Security updates, Fixed a bug on bookmark reader, the reader on last page would throw some errors and not show No Next Chapter toast.
* After scan, clear temp
* Code smells
* Updated Series Info Cards to use OnPush and hooked in progress events when we do a mark as read/unread on entities. These events update progress bars but also will now trigger a re-calculation on Read Time Left.
* Removed Library Card Component
* Refactored manga reader title and subtitle calculation to the backend.
* Coverted card actionables to onPush
* Series Card on push cleanup
* Updated edit collection tags for on push
* Update cover image chooser for on push
* Cleaned up carsouel reel
* Updated cover image to allow for uploading gif and webp files
* Bulk add to collection on push
* Updated bulk operation to use on push. Updated bulk operation to have mark as unread and read buttons explicitly. Updated so add to collection is visible and delete.
Fixed a bug where manage library component wasn't invoking the trackBy function
* Updating entity title for on push
* Removed file info component
* Updated Mange Library for on push
* Entity info cards on push
* List item on push
* Updated icon and title for on push and fixed some missing change detection on series detail
* Restricted the typeahead interface to simplify the design
* Edit Series Relation now shows a value in the dropdown for Parent relationships and disables the field.
* Updated edit series relation to focus on new typeahead when adding a new relationship
* Added some documentation and when Scanning a library, don't allow the user to enqueue the same job multiple times.
* Applied the No-enqueue if already enqueued logic to other tasks
* Library detail on push
* Updated events widget to onpush
* Card detail drawer on push. Card detail cover chooser now will show all chapter's covers for selection in cover chooser.
* Chapter metadata detail on push
* Removed Card Detail modal
* All collections on push
* Removed some comments
* Updated bulk selection to use an observable rather than function calls so new on push strategy works
* collection detail now uses on push and scroller is placed on correct element
* Updated library recommended to on push. Ensure that when mark as read occurs, the appropriate streams are refreshed.
* Updated library detail to on push
* Update metadata fiter to onpush. Bugs found and reported to Project
* person badge on push
* Read more on push
* Updated tag badge to on push
* User login on push
* When initing side nav, don't call an authenticated api until we are sure a user is logged in
* Updated splash container to on push
* Dashboard on push
* Side nav slight refactor around some api calls
* Cleaned up series card on push to use same cdRef naming convention
* Updated Static Files to use caching
* Added width and height to logo image
* shortcuts modal on push
* reading lists on push
* Reading list detail on push
* draggable ordered list on push
* Refactored reading-list-detail to use a new item which drastically reduces renders on operations
* series format on push
* circular loader on push
* Badge Expander on push
* update notification modal on push
* drawer on push
* Edit Series Modal on push
* reset password on push
* review series modal on push
* series metadata detail on push
* theme manager on push
* confirm reset password on push
* register on push
* confirm migration email on push
* confirm email on push
* add email to account migration on push
* user preferences on push. Made global settings default open
* edit series relation on push
* Fixed an edge case bug for next chapter where if the current volume had a single chapter of 1 and the next volume had a chapter number of 0, it would say there are no more chapters.
* Updated infinite scroller with on push support
* Moved some animations over to typeahead, not integrated yet.
* Manga reader is now on push
* Reader settings on push
* refactored how we close the book
* Updated table of contents for on push
* Updated book reader for on push. Fixed a bug where table of contents wasn't showing current page anchor due to a scroll calulation bug
* Small code tweak
* Icon and title on push
* nav header on push
* grouped typeahead on push
* typeahead on push and added a new trackby identity function to allow even faster rendering of big lists
* pdf reader on push
* code cleanup
* 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: 24d905272ed0aca8
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>
* Added --card-list-item-bg-color for the card list items
* Updated the card list item progress to match how cards render
* Implemented the ability to configure how many backups are retained.
* Fixed a bug where odd jump keys could cause a bad index error for jump bar
* Commented out more code for the pagination route if we go with that.
* Reverted a move of DisableConcurrentExecution to interface, as it seems to not work there.
* Updated manga format utility code to pipes
* Fixed bulk selection on series detail page
* Fixed bulk selection on all other pages
* Changed card item to OnPush
* Updated image component to OnPush
* Updated Series Card to OnPush
* Updated Series Detail to OnPush
* Lots of changes here. Integrated parentscroll support on card detail layout. Added jump bar (custom js implementation) on collection, reading list and all series pages. Updated UserParams to default to no pagination. Lots of cleanup all around
* Updated some notes on a module use
* Some code cleanup
* Fixed up a broken test due to the mapper not being configured in the test.
* Applied TabID pattern to edit collection tags
* Applied css from series detail to collection detail page to remove double scrollbar
* Implemented the ability to sort by Time To Read.
* Throw an error to the UI when we extract an archive and it contains invalid characters in the filename for the Server OS.
* Tweaked how the page scrolls for jumpbar on collection detail. We will have to polish another release
* Cleaned up the styling on directory picker
* Put some code in but it doesn't work for scroll to top on virtual scrolling. I'll do it later.
* Fixed a container bug
* 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>
* 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>
* 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>
* 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>
* Fixed a bug where volumes that are a range fail to generate series detail
* Moved tags closer to genre instead of between different people
* Optimized the query for On Deck
* Adjusted mime types to map to cbX types instead of their generic compression methods.
* 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.
* Refactored the document height to be set and removed on nav service, so the book reader and manga reader aren't broken.
* Refactored On Deck to first be completely streamed to UI, without having to do any processing in memory. Rewrote the query so that we sort by progress then chapter added. Progress is 30 days inclusive, chapter added is 7 days.
* Fixed an issue where epub date parsing would sometimes fail when it's only a year or not a year at all
* Fixed a bug where incognito mode would report progress
* Fixed a bug where bulk selection in storyline tab wouldn't properly run the action on the correct chapters (if selecting from volume -> chapter).
* Removed a - 1 from total page from card progress bar as the original bug was fixed some time ago
* Fixed a bug where the logic for filtering out a progress event for current logged in user didn't check properly when user is logged out.
* When a file doesn't exist and we are trying to read, throw a kavita exception to the UI layer and log.
* Removed unneeded variable and added some jsdoc
* Implemented the ability to link different series together through Edit Series. CSS pending.
* Fixed up the css for related cards to show the relation
* Working on making all tabs in edit seris modal save in one go. Taking a break.
* Some fixes for Robbie to help with styling on
* Linked series pill, center library
* Centering library detail and related pill spacing
- Library detail cards are now centered if total number of items is > 6 or if mobile.
- Added ability to determine if mobile (viewport width <= 480px
- Fixed related card spacing
- Fixed related card pill spacing
* Updating relation form spacing
* Fixed a bug in card detail layout when there is no pagination, we create one in a way that all items render at once.
* Only auto-close side nav on phones, not tablets
* Fixed a bug where we had flipped state on sideNavCollapsed$
* Cleaned up some misleading comments
* Implemented RBS back in and now if you have a relationship besides prequel/sequel, the target series will show a link back to it's parent.
* Added Parentto pipe
* Missed a relationship type
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* From previous fix, added the other locking conditions on the update series metadata.
* Fixed a bug where custom series, collection tag, and reading list covers weren't being removed on cleanup.
* Ensure reading list detail has a margin to align to the standard
* Refactored some event stuff to use dedicated consts. Introduced a new event when users read something, which can update progress bars on cards.
* Added recomended and library tags to the library detail page. This will eventually offer more custom analytics
* Cleanup some code onc arousel
* Adjusted scale to height/width css to better fit
* Small css tweaks to better center images in the manga reader in both axis. This takes care of double page rendering as well.
* When a special has a Title set in the metadata, on series detail page, show that on the card rather than filename.
* Fixed a bug where when paging in manga reader, the scroll to top wasn't working due to changing where scrolling is done
* More css goodness for rendering images in manga reader
* Fixed a bug where clearing a typeahead externally wouldn't clear the x button
* Fixed a bug where filering then using keyboard would select wrong option
* Added a new sorting field for Last Chapter Added (new field) to get a similar on deck feel.
* Tweaked recently updated to hit the NFR of 500ms (300ms fresh start) and still give a much better experience.
* Refactored On deck to now go to all series and also sort by last updated. Recently Added Series now loads all series with sort by created.
* Some tweaks on css for cover image chooser
* Fixed a bug in pagination control where multiple pagination events could trigger on load and thus multiple requests for data on parent controller.
* Updated edit series modal to show when the last chapter was added and when user last read it.
* Implemented a highlight on the fitler button when a filter is active.
* Refactored metadata filter screens to perserve the filters in the url and thus when navigating back and forth, it will retain. users should click side nav to reset the state.
* Hide middle section on companion bar on phones
* Cleaned up some prefilters and console.logs
* Don't open drawer by default when a filter is active
* adding back side-nav
* Event Widget Update (#1098)
* Took care of some notes in the code
* Fixed an issue where Extra might get flagged as special too early, if in a word like Extraordinary
* Moved Tag cleanup code into Scanner service. Added a SplitQuery to another heavy API. Refactored Scan loop to remove parallelism and use async instead.
* Lots of rework on the codebase to support detailed messages and easier management of message sending. Need to take a break on this work.
* Progress is being made, but slowly. Code is broken in this commit.
* Progress is being made, but slowly. Code is broken in this commit.
* Fixed merge issue
* Fixed unit tests
* CoverUpdate is now hooked into new ProgressEvent structure
* Refactored code to remove custom observables and have everything use standard messages$
* Refactored a ton of instances to NotificationProgressEvent style and tons of the UI to respect that too. UI is still a bit buggy, but wholistically the work is done.
* Working much better. Sometimes events come in too fast. Currently cover update progress doesn't display on UI
* Fixed unit tests
* Removed SignalREvent to minimize internal event types. Updated the UI to use progress bars. Finished SiteThemeService.
* Merged metadata refresh progress events and changed library scan events to merge cleaner in the UI
* Changed RefreshMetadataProgress to CoverUpdateProgress to reflect the event better.
* Theme Cleanup (#1089)
* Fixed e-ink theme not properly applying correctly
* Fixed some seed changes. Changed card checkboxes to use our themed ones
* Fixed recently added carousel not going to recently-added page
* Fixed an issue where no results found would show when searching for a library name
* Cleaned up list a bit, typeahead dropdown still needs work
* Added a TODO to streamline series-card component
* Removed ng-lazyload-image module since we don't use it. We use lazysizes
* Darken card on hover
* Fixing accordion focus style
* ux pass updates
- Fixed typeahead width
- Fixed changelog download buttons
- Fixed a select
- Fixed various input box-shadows
- Fixed all anchors to only have underline on hover
- Added navtab hover and active effects
* more ux pass
- Fixed spacing on theme cards
- Fixed some light theme issues
- Exposed text-muted-color for theme card subtitle color
* UX pass fixes
- Changed back to bright green for primary on dark theme
- Changed fa icon to black on e-ink
* Merged changelog component
* Fixed anchor buttons text decoration
* Changed nav tabs to have a background color instead of open active state
* When user is not authenticated, make sure we set default theme (dark)
* Cleanup on carousel
* Updated Users tab to use small buttons with icons to align with Library tab
* Cleaned up brand to not underline, removed default link underline on hover in dropdown and pill tabs
* Fixed collection detail posters not rendering
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Bump versions by dotnet-bump-version.
* Tweaked some of the emitting code
* Some css, but pretty bad. Robbie please save me
* Removed a todo
* styling update
* Only send filename on FileScanProgress
* Some console.log spam cleanup
* Various updates
* Show events widget activity based on activeEvents
* progress bar color updates
* Code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Bump versions by dotnet-bump-version.
* Scanner event hub fix (#1099)
* Scanner event hub fix
- Fixed an issue where the scanner would error when adding a new series because the series didn't have a library name yet. (develop)
* Removing library.type
* Bump versions by dotnet-bump-version.
* Workflow update to add nightly versions (#1100)
# Changed
- Changed: Changed automated workflow to release individual nightly versions on dockerhub
* Bump versions by dotnet-bump-version.
* Updating GA to parse version (#1101)
* Bump versions by dotnet-bump-version.
* GA Fixes (#1103)
**Strictly Repo Changes**
# Fixed
- Fixed: Fixed an issue where patch version was not being added to docker tag.
* Bump versions by dotnet-bump-version.
* Fixed specials being misaligned (#1106)
# Fixed
- Fixed: Fixed issue with specials not being properly aligned (develop)
* Bump versions by dotnet-bump-version.
* Bugfix/ux pass 2 (#1107)
* Adding margin bottom to series detail tabs
* Styling tag badges with green on dark
- Added 3 new css vars
* Removing underline from readmore
* Fixing see more to be on one line
* adding gutter to see more
* Changing queue toasts to info
* adding api key tooltip
* Updating active accordion on user preference.
* Fixing search bar and close btn position
* Fixed a bug where entering book reader in dark mode then closing out, would leave you in a broken white state.
* Fixed broken wiki links
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
* Bump versions by dotnet-bump-version.
* Series Detail Refactor (#1118)
* Fixed a bug where reading list and collection's summary wouldn't render newlines
* Moved all the logic in the UI for Series Detail into the backend (messy code). We are averaging 400ms max with much optimizations available. Next step is to refactor out of controller and provide unit tests.
* Unit tests for CleanSpecialTitle
* Laid out foundation for testing major code in SeriesController.
* Refactored code so that read doesn't need to be disabled on page load. SeriesId doesn't need the series to actually load.
* Removed old property from Volume
* Changed tagbadge font size to rem.
* Refactored some methods from SeriesController.cs into SeriesService.cs
* UpdateRating unit tested
* Wrote unit tests for SeriesDetail
* Worked up some code where books are rendered only as volumes. However, looks like I will need to use Chapters to better support series_index as floats.
* Refactored Series Detail to change Volume Name on Book libraries to have book name and series_index.
* Some cleanup on the code
* DeleteMultipleSeries test is hard. Going to skip.
* Removed some debug code and make all tabs Books for Book library Type
* Bump versions by dotnet-bump-version.
* Tachiyomi Bugfix (#1119)
* Updated the dependencies for .NET 6.0.2
* Fixed a bad prev chapter logic where we would bleed into chapters from last volume instead of specials.
* Fixed the get prev chapter code to properly walk the order according to documentation and updated some bad test cases
* Updated side nav to float a bit and added user settings to it.
* Refactored the code to hide/show sidenav to be more angular and decoupled
* Moved Changelog out of admin dashboard and into a dedicated page in user menu. Added a wiki link from user menu
* Introduced a side nav item for rendering each item and refactored code to use it.
* Added a filter of side nav when there are more than 10 libraries. Added some themeing overrides for side nav.
* Cleaned up the template code for side nav item so if there is no link, we don't generate that html directive
* Refactored side nav into a module and migrated a few pipes into a pipe module for easy re-use
* Added companion bar on reading list and collection. Updated modules to load pages and make side nav items clickable as anchors, so new tab works.
* Moved metadata filter into separate component/module and the button in the companion bar. Needs cleanup.
* Finished cleanup and refactoring of metadata filter into separate component.
Removed filtering from Collections as it doesn't work and wasn't hooked up.
* Tweaked the css on carousel component
* Added to library detail and series-detail
* Fixes and css vars
* Stop destroying sidenav, animaton timing
* Integrated side nav on the rest of the pages
* Navbar now collapses to icons
* mobile sidenav start
* more mobile fixes
* mobile tweaks
* light and e-ink theme updates
* white and eink dropdown color fixes
* plex inspired side-nav
* theme fixes
* Making spacing more uniform across app
* More fixes
* fixing spacing on cards
* actionable fix for sidenav
* no scroll on mobile when sidenav is open
* hide sidenav on pages
* Adding card spacing
* Adding ability to remove sidenav when in a reader
* tidying up sidenav toggles
* side-nav mobile updates
* fixing up other themes
* overlay fixes
* Cleaned up the code to make the observables have better names.
Removed a bunch of pointless subscriptions. Cleaned up methods that werent needed.
Added jsdocs to help ensure the understandability of the 2 states for the side nav.
* Integrated a highlight effect on side nav. Fixed a ton of places where the nav was being hidden when it shouldn't.
* Fixed where active state wasn't working on all urls
* misc fixes
- smaller hamburger
- z-index fixes
- active fixes
* Revert "Merge branch 'develop' into feature/side-nav-upgrade"
This reverts commit 76b0d15a98, reversing
changes made to b3ed553954.
* Fixing edit-series modal spacing
* Give the ability to jump to a library from admin manage libraries page
* Fixed a bug with highlighting active item on side nav
* Moved localized series title to companion bar via subtitle
* Removed old title
* Fixed a bug where clicking a link would reload the whole app, styling fixes on filter, fixed issue with initial load not setting active state, adjusted styles on active style.
* code cleanup
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Fixed e-ink theme not properly applying correctly
* Fixed some seed changes. Changed card checkboxes to use our themed ones
* Fixed recently added carousel not going to recently-added page
* Fixed an issue where no results found would show when searching for a library name
* Cleaned up list a bit, typeahead dropdown still needs work
* Added a TODO to streamline series-card component
* Removed ng-lazyload-image module since we don't use it. We use lazysizes
* Darken card on hover
* Fixing accordion focus style
* ux pass updates
- Fixed typeahead width
- Fixed changelog download buttons
- Fixed a select
- Fixed various input box-shadows
- Fixed all anchors to only have underline on hover
- Added navtab hover and active effects
* more ux pass
- Fixed spacing on theme cards
- Fixed some light theme issues
- Exposed text-muted-color for theme card subtitle color
* UX pass fixes
- Changed back to bright green for primary on dark theme
- Changed fa icon to black on e-ink
* Merged changelog component
* Fixed anchor buttons text decoration
* Changed nav tabs to have a background color instead of open active state
* When user is not authenticated, make sure we set default theme (dark)
* Cleanup on carousel
* Updated Users tab to use small buttons with icons to align with Library tab
* Cleaned up brand to not underline, removed default link underline on hover in dropdown and pill tabs
* Fixed collection detail posters not rendering
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Started the migration to bootstrap 5. Introduced a breakpoint system that bootstrap reflects for our screens.
* sr only migrated
* mr/ml -> me/ms
* pl/pr -> ps/pe
* btn-block
* removed input-group-append
* Added form-label to all labels
* Added some style overrides for inputs
* Replaced form-group with mb-3
* Ignore journal files
* Update media to d-flex/flex-grow-1
* Fixed reading list detail page
* For develop builds, don't inline critical styles
* Fixed some downstream security issues
* Fixed a layout issue in series detail
* Fixed issue with btn-light not having background color. Updated layout for series detail metadata
* Cleaned up nav search
* Laid out the organization for custom theme components. Update _inputs.scss with variable overrides and depending on theme, it will just work.
* Lots of theming work
* Added inputs to the theme page
* Login and input placeholder changes
- Fixed login screen centering issue on all devices
- Changed the format of the login screen
- Change the input placeholder color
* Added checkbox styles
* Refactored tagbadges and removed some ngdeep selectors
* Added nav bar component and refactored some styles into event widget
* Cleaned nav events again and made dedicated popover body
* Finished pagination component
* Fixed up some styles with buttons
* refactored dropdown component
* Update accordion component
* Refactored breadcrumbs and rating star. Fixed a missing style for cards
* Fixed some styling issues on person badge, added modal component, and some global styles
* Finished moving everything within dark to component files
* Fixed up filter buttons, move card styles into a component theme, fixed slider style
* Refactored library card and grouped typeahead
* Updated normal typeahead component and reduced amount of ngdeep selector
* Refactored grid breakpoints to be available by css variable, but it's hardcoded into the app
* Ensure breakpoints are defined per theme
* Fixed up some styling overrides and customization for nav links and alt button
* Removed some deep styles, moved css out of splash container and brough back labels for login page
* Finished css variable refactor
* Refactored all the theme variable definitions into files for each theme.
* Added back bootstrap overrides
* Added a note about bootstrap theme colors being not-possible to swap out at runtime
* Cleaned up some dead code
* Implemented the ability to set a custom theme on the site. Cleaned up misc code throughout.
* Additional changes
- Fixed nav where "kavita" was not hiding correctly on small viewports
- Fixed search bar to make the behavior more consistent
- Fixed accordion buttons
- Changed accordion buttons to be more responsive
- Added radio button colors
- Fixed radios on theme test page
- Changed login and reset password card layouts to be more consistent.
- Added primary color shade for when darker shading is needed.
* Built a basic site, allow the user to apply different themes, refactored nav service code out.
* Implemented the ability update a user's theme
* Added unit tests for Scan and Get Content in SiteThemeService.
* Fixed a bug in the login code and Pref code which wasn't joining on SiteTheme table. Wrote Unit tests and the UI component to manage current theme.
* Implemented scan so that it manages custom themes with unit tests
* Component updates
- Repositioning style ordering
- Adding indicator override
- Adding select styles
* SignlaR integration, some fixes when creating custom entities, one single migration. Just login functionality left.
* More ui updated
- Added .no-hover to prevent hover on elements where not needed
- Changed all selects I could find to appropriate class
- Changed up nav tabs to work more like bootstrap tabs than pills
- Added padding to top of some containers to make styles consistent
- Added ability to change navbar fontawesome icon colors
- removed some unecessary inline styling
- Changed radio button to appropriate class
- Toned down primate color, a bit too bright for dark theme.
- Added ability to change button fontawesome icon color
* nav-tab fix for series-detail
* Added themes folder to gitignore
* Adding card overlay
* Fixing up light theme
* Everything is done. Only bug is that color-scheme isn't being set properly from css variable.
* Checkboxes have pointer by default. Confirm/Confirm email use default (dark) theme by default
* Fixed an error where color-scheme wasn't reflecting correctly on themes on first load
* Fixed user preferences not available on login
* Changing dual radios to switches and color tweaks
* disabled primary APCA fix
* button APCA fixes
* Fixed some timing issues with first load and image service
* Fixed swiper issues from upgrade
* Changed themes to be scss files again and adjusted Seed code
* Migrated carousel to css variables. Fixed a broken animation for search.
* Cleaned up some backend smells
* Fixed white border outline on nav tabs, added some variables for header
* Nav bar has been css variable-ified
* Added some basic eink stuff to make the app useable
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Implemented a basic version of enhanced search where we can return multiple types of entities in one go. Current unoptimized version is twice as expensive as normal search, but under NFR. Currently 200ms max.
* Worked in some basic code for grouped typeahead search component. Keyboard navigation is working.
* Most of the code is in place for the typeahead. Needs css work and some accessibility work.
* Hooked up filtering into all-series. Added debouncing on search, clear input field now works. Some optimizations related to memory cleanup
* Added ability to define a custom placeholder
* Hooked in noResults template and logic
* Fixed a duplicate issue in Collection tag searching and commented out old code. OPDS still needs some updates.
* Don't trigger inputChanged when reopening/clicking on input.
* Added Reading list to OPDS search
* Added a new image component so all the images can be lazyloaded without logic duplication
* Added a maxWidth/Height on the image component
* Search css update
* cursor fixes
* card changes
- fixing border radius on cards
- adding bottom card color
* Expose intenral state of if the search component has focus
* Adjusted the accessibility to not use complex keys and just use tab instead since this is a search, not a typeahead
* Cleaned up dead code, removed angular-ng-complete library as it's no longer used.
* Fixes for mobile search
* Merged code
* Fixed a bad merge and some nav bar styling
* Cleaned up the focus code for nav bar
* Removed focusIndex and just use hover state. Fixed clicking on items
* fixing overlay overlap issue
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Added an alt implementation which shows Recently Added chapters. No extra grouping is performed if multiple chapters per volume.
* Started working on a grouping implementation for series.
* Disabled the code for bookmarks cleanup as there is some critical issue in there.
* Implemented a Series Group activity stream which shows recently updated series and providers a count badge showing how many new chapters/volumes were added in that series.
* Removed the bookmark disabling code
* Cleaned up code
* One more code cleanup
* Fixed some security issues in dev env
* When deleting folders in bookmark cleanup, delete empty folders correctly.
* When a new library is created and cards are added, cards can have a blank library name. Card library name code is reworked to be much lighter on memory.
* Added a config for github issues to disable blank issues.
* Skip any sort of directory iteration code if we haven't deleted any bookmarks.
* Fixed a bug where some style overrides were duplicating. Now logic is much more targetted, only applying to the correct tags.
* Applied sorting to the filtering apis.
* Reverted one of my changes for a better version Robbie did.
* Working on adding recently added chapter/volumes to dashboard. Have some progress, need to tweak grouping logic.
* Tweaked the logic to work well for grouping. Now to incorporate information for UI to provide seamless integration
* Implemented UI part for Recently Added.
* Fixed a bug which didn't take sort direction when not changing sort field
* Added foundation for Bookmark refactor
* Code broken, need to take a break. Issue is Getting bookmark image needs authentication but UI doesn't send.
* Implemented the ability to send bookmarked files to the web. Implemented ability to clear bookmarks on disk on a re-occuring basis.
* Updated the bookmark design to have it's own card that is self contained. View bookmarks modal has been updated to better lay out the cards.
* Refactored download bookmark codes to select files from bookmark directory directly rather than open underlying files.
* Wrote the basic logic to kick start the bookmark migration.
Added Installed Version into the DB to allow us to know more accurately when to run migrations
* Implemented the ability to change the bookmarks directory
* Updated all references to BookmarkDirectory to use setting from the DB.
Updated Server Settings page to use 2 col for some rows.
* Refactored some code to DirectoryService (hasWriteAccess) and fixed up some unit tests from a previous PR.
* Treat folders that start with ._ as blacklisted.
* Implemented Reset User preferences. Some extra code to prep for the migration.
* Implemented a migration for existing bookmarks to using new filesystem based bookmarks
* Added a reoccuring task to cleanup db entries that might be abandoned. On library page, the Library in question will be prepoulated.
* Laid out the foundation for customized sorting. Added all series page to the UI when clicking on Libraries section header on home page so user can apply any filtering they like.
* When filtering, the current library filter will now automatically filter out the options for people and genres.
* Implemented Sorting controls
* Clear now clears sorting and read progress. Sorting is disabled on deck and recently added.
* Fixed an issue where all-series page couldn't click to open series
* Don't let the user unselect the last read progress. Added new comicinfo v2.1 draft tags.
* Hooked in Translator tag into backend and UI.
* Fixed an issue where you could open multiple typeaheads at the same time
* Integrated Translator and Tags ComicInfo extension fields. Started work on a badge expander.
* Reworked a bit more on badge expander. Added the UI code for Age Rating and Tags
* Integrated backend for Tags, Translator, and Age Rating
* Metadata tags now collapse if more than 4 present
* Some code cleanup
* Made the not read badge slightly smaller
* Stashing code
* removed some debug code on series detail page. Now detail is collapsed by default.
* Added AgeRating
* Fixed a crash when NetVips tries to write a cover file and cover directory is not existing.
* When a card is selected for bulk actions, show an outline in addition to select box
* Added AgeRating into the metadata parsing. Added a hack where ComicInfo uses Number in ComicInfo rather than Volume. This is to test out the effects on users libraries.
* Added AgeRating and ReleaseDate to the metadata implelentation.
* Refactored all files to have Interfaces within the same file. Started moving over to file-scoped namespaces.
* Refactored common methods for getting underlying file's cover, pages, and extracting into 1 interface.
* More refactoring around removing dependence on explicit filetype testing for getting information.
* Code is buildable, tests are broken. Huge refactor (not completed) which makes most of DirectoryService testable with a mock filesystem (and thus the services that utilize it).
* Finished porting DirectoryService to use mocked filesystem implementation.
* Added a null check
* Added a null check
* Finished all unit tests for DirectoryService.
* Some misc cleanup on the code
* Fixed up some bugs from refactoring scan loop.
* Implemented CleanupService testing and refactored more of DirectoryService to be non-static.
Fixed a bug where cover file cleanup wasn't properly finding files due to a regex bug.
* Fixed an issue in CleanupBackup() where we weren't properly selecting database files older than 30 days. Finished CleanupService Tests.
* Refactored Flatten and RemoveNonImages to directory service to allow CacheService to be testable.
* Finally have CacheService tested. Rewrote GetCachedPagePath() to be much more straightforward & performant.
* Updated DefaultParserTests.cs to contain all existing tests and follow new test layout format.
* All tests fixed up
* Started with some basic plumbing with comic info parsing updating Series/Volume.
* We can now get chapter title from comicInfo.xml
* Hooked in the ability to store people into the chapter metadata.
* Removed no longer used imports, fixed up some foreign key constraints on deleting series with person linked.
* Refactored Summary out of the UI for Series into SeriesMetadata. Updated application to .net 6. There is a bug in metadata code for updating.
* Removed the parallel.ForEach with a normal foreach which lets us use async. For I/O heavy code, shouldn't change much.
* Refactored scan code to only check extensions with comic info, fixed a bug on scan events not using correct method name, removed summary field (still buggy)
* Fixed a bug where on cancelling a metadata request in modal, underlying button would get stuck in a disabled state.
* Changed how metadata selects the first volume to read summary info from. It will now select the first non-special volume rather than Volume 1.
* More debugging and found more bugs to fix
* Redid all the migrations as one single one. Fixed a bug with GetChapterInfo returning null when ChapterMetadata didn't exist for that Chapter.
Fixed an issue with mapper failing on GetChapterMetadata. Started work on adding people and a design for people.
* Fixed a bug where checking if file modified now takes into account if file has been processed at least once. Introduced a bug in saving people to series.
* Just made code compilable again
* Fixed up code. Now people for series and chapters add correctly without any db issues.
* Things are working, but I'm not happy with how the management of Person is. I need to take into account that 1 person needs to map to an image and role is arbitrary.
* Started adding UI code to showcase chapter metadata
* Updated workflow to be .NET 6
* WIP of updating card detail to show the information more clearly and without so many if statements
* Removed ChatperMetadata and store on the Chapter itself. Much easier to use and less joins.
* Implemented Genre on SeriesMetadata level
* Genres and People are now removed from Series level if they are no longer on comicInfo
* PeopleHelper is done with unit tests. Everything is working.
* Unit tests in place for Genre Helper
* Starting on CacheHelper
* Finished tests for ShouldUpdateCoverImage. Fixed and added tests in ArchiveService/ScannerService.
* CacheHelper is fully tested
* Some DI cleanup
* Scanner Service now calls GetComicInfo for books. Added ability to update Series Sort name from metadata files (mainly epub as comicinfo doesn't have a field)
* Forgot to move a line of code
* SortName now populates from metadata (epub only, ComicInfo has no tags)
* Cards now show the chapter title name if it's set on hover, else will default back to title.
* Fixed a major issue with how MangaFiles were being updated with LastModified, which messed up our logic for avoiding refreshes.
* Woohoo, more tests and some refactors to be able to test more services wtih mock filesystem. Fixed an issue where SortName was getting set as first chapter, but the Series was in a group.
* Refactored the MangaFile creation code into the DbFactory where we also setup the first LastModified update.
* Has file changed bug is now finally fixed
* Remove dead genres, refactor genre to use title instead of name.
* Refactored out a directory from ShouldUpdateCoverImage() to keep the code clean
* Unit tests for ComicInfo on BookService.
* Refactored series detail into it's own component
* Series-detail now received refresh metadata events to refresh what's on screen
* Removed references to Artist on PersonRole as it has no metadata mapping
* Security audit
* Fixed a benchmark
* Updated JWT Token generator to use new methods in .NET 6
* Updated all the docker and build commands to use net6.0
* Commented out sonar scan since it's not setup for net6.0 yet.
* Moved more scss to use syntax to reduce css size
* Hooked in color-scheme to help brower render scroll bars appropriately depending on color scheme user selects
* When flattening directories, ensure the order or directories being enumerated follows a natural sort. Some users are discovering directories in a different order than other machines.
* Added a case for volume parsing and fixed a poorly designed negative lookahead.
Added a sentence case pipe for formatting things.
Added time for all dates.
* Some more sentence case
* Register user now has a white input
* Fixed an issue with Manga up/down reading mode where top of the page was going forwards, when it should have gone backwards
* Reworked some code to ensure that scanseries doesn't show errors where in fact there was just nothing to update.
* Last updated should be working as intended for new library flow.
* Code smell
* Fixed an issue where ScanSeries would not fetch all the entities and thus files would get duplicated on the Chapter
* Remove building extra language binaries on build.
* Fixed an issue where first scan would cause an issue with websocket due to trying to send NaN over the wire.
* Fixed an issue where on new scans scan in progress indicators wouldn't turn off due to the way we were consuming events off the pipe.
* Ensure login page doesn't flash on first load
* Don't process touch events at all unless selection is enabled.
* Added extra information for Swagger Gen
* Ensure that the last scanned time gets updated after a scan finishes.
Remove title case from Library name UI display.
Show time on last scanned
* Don't force title case for library names. Show them as the user created them.
* Deselect all after bulk operations complete.
* Implemented a way to trigger selection code on mobile.
* When selection mode is active, make the clickable area the whole image.
* Series detail shouldn't use gutters for card layout as it can cause skewing on mobile
* Long press on card items to trigger the selection on mobile
* Code cleanup
* One more
* Misread the code issue
* Implemented the ability to perform multi-selections on cards. Basic selection code is done, CSS needed and exposing actions.
* Implemented a bulk selection bar. Added logic to the card on when to force show checkboxes.
* Fixed some bad parsing groups and cases for Comic Chapters.
* Hooked up some bulk actions on series detail page. Not hooked up to backend yet.
* Fixes#593. URI Enocde library names as sometimes they can have & in them.
* Implemented the ability to mark volume/chapters as read/unread.
* Hooked up mark as unread with specials as well.
* Add to reading list hooked up for Series Detail
* Implemented ability to add multiple series to a reading list.
* Implemented bulk selection for series cards
* Added comments to the new code in ReaderService.cs
* Implemented proper styling on bulk operation bar and integrated for collections.
* Fixed an issue with shift clicking
* Cleaned up css of bulk operations bar
* Code cleanup
* Updating wording on card item when total pages is 0, to be just "Cannot Read" since it could be a non-archive file
* Refactored cover images to be stored on disk. This first commit has the extraction to disk and the metadata service to handle updating when applicable.
* Refactored code to have the actual save to cover image directory done by ImageService.
* Implemented the ability to override cover images.
* Some cleanup on Image service
* Implemented the ability to cleanup old covers nightly
* Added a migration to migrate existing covers to new cover image format (files).
* Refactored all CoverImages to just be the filename, leaving the Join with Cover directory to higher level code.
* Ensure when getting user progress, we pick the first.
* Added cleanup cover images for deleted tags. Don't pull any cover images that are blank.
* After series update, clear out cover image. No change on UI, but just keeps things clear before metadata refresh hits
* Refactored image formats for covers to ImageService.
* Fixed an issue where after refactoring how images were stored, the cleanup service was deleting them after each scan.
* Changed how ShouldUpdateCoverImage works to check if file exists or not even if cover image is locked.
* Fixed unit tests
* Added caching back to cover images.
* Caching on series as well
* Code Cleanup items
* Ensure when checking if a file exists in MetadataService, that we join for cover image directory. After we scan library, do one last filter to delete any series that have 0 pages total.
* Catch exceptions so we don't run cover migration if this is first time run.
* After a scan, only clear out the cache directory and not do a deep clean.
* Implemented the ability to backup custom locked covers only.
* Fixed unit tests
* Trying to figure out why GA crashes when running MetadataServiceTests.cs
* Some debugging on GA tests not running
* Commented out tests that were causing issues in GA.
* Fixed an issue where series cover images wouldn't migrate
* Fixed the updating of links to actually do all series and not just locked
* Added continous reading to the book reader. Clicking on the max pages to right of progress bar will now go to last page.
* Forgot a file for continous book reading
* Fixed up some code regarding transitioning between chapters. Arrows now show to represent a chapter transition.
* Laid the foundation for reading lists
* All foundation is laid out. Actions are wired in the UI. Backend repository is setup. Redid the migration to have ReadingList track modification so we can order them for the user.
* Updated add modal to have basic skeleton
* Hooked up ability to fetch reading lists from backend
* Made a huge performance improvement to GetChapterIdsForSeriesAsync() by reducing a JOIN and an iteration loop. Improvement went from 2 seconds -> 200 ms.
* Implemented the ability to add all chapters in a series to a reading list.
* Fixed issue with adding new items to reading list not being in a logical order. Lots of work on getting all the information around the reading list view. Added some foreign keys back to chapter so delete should clean up after itself.
* Added ability to open directly the series
* Reading List Items now have progress attached
* Hooked up list deletion and added a case where if doesn't exist on load, then redirect to library.
* Lots of changes. Introduced a dashboard component for the main app. This will sit on libraries route for now and will have 3 tabs to show different sections.
Moved libraries reel down to bottom as people are more likely to access recently added or in progress than explore their whole library.
Note: Bundles are messed up, they need to be reoptimized and routes need to be updated.
* Added pagination to the reading lists api and implemented a page to show all lists
* Cleaned up old code from all-collections component so now it only handles all collections and doesn't have the old code for an individual collection
* Hooked in actions and navigation on reading lists
* When the user re-arranges items, they are now persisted
* Implemented remove read, but performance is pretty poor. Needs to be optimized.
* Lots of API fixes for adding items to a series, returning items, etc. Committing before fixing incorrect fetches of items for a readingListId.
* Rewrote the joins for GetReadingListItemDtosByIdAsync() to not return extra records.
* Remove bug marker now that it is fixed
* Refactor update-by-series to move more of the code to a re-usable function for update-by-volume/chapter APIs
* Implemented the ability to add via series, volume or chapter.
* Added OPDS support for reading lists. This included adding VolumeId to the ReadingListDto.
* Fixed a bug with deleting items
* After we create a library inform user that a scan has started
* Added some extra help information for users on directory picker, since linux users were getting confused.
* Setup for the reading functionality
* Fixed an issue where opening the edit series modal and pressing save without doing anything would empty collection tags. Would happen often when editing cover images.
* Fixed get-next-chapter for reading list. Refactored all methods to use the new GetUserIdByUsernameAsync(), which is much faster and uses less memory.
* Hooked in prev chapter for continuous reading with reading list
* Hooked up the read code for manga reader and book reader to have list id passed
* Manga reader now functions completely with reading lists
* Implemented reading list and incognito mode into book reader
* Refactored some common reading code into reader service
* Added support for "Series - - Vol. 03 Ch. 023.5 - Volume 3 Extras.cbz" format that can occur with FMD2.
* Implemented continuous reading with a reading list between different readers. This incurs a 3x performance hit on the book info api.
* style changes. Don't emit an event if position of draggable item hasn't changed
* Styling and added the edit reading list flow.
* Cleaned up some extra spaces when actionables isn't shown. Lots of cleanup for promoted lists.
* Refactored some filter code to a common service
* Added an RBS check in getting Items for a given user.
* Code smells
* More smells
* ImageService had a stream reset before writting out to array. Added logging statment for updating series metadata. Removed ConcurencyCheck due to bad update issue for CollectionTag.
* Added a new screen which lets you quickly see all your bookmarks for a given user.
* Built user bookmark page in user settings. Moved user settings to it's own lazy loaded module. Removed unneded debouncing from downloader and just used throttleTime instead.
* Removed a not-yet implemented tab from series modal
* Fixed a bug in clear bookmarks and adjusted icons within anchors to have proper styling
* Removed some extra spam for the console
* Implemented the code to update RowVersion, which is our concurrency check
* Fixed a critical issue where more than one bookmark could occur for a given chapter due to a race condition. Now we use concurrency checks and we also gracefully allow more than one row, by only grabbing first.
* Cleaned up the logic for IHasConcurencyToken and updated the setters to be private.
* Lots of comments and when deleting a library, remove any user progress items for which chapters don't exist.
* When deleting a Series, cleanup user progress rows.
* Now after a scan of library, if a series is removed, collection tags are pruned as well if there are no longer any series bound to it.
* Updated the image on the Readme to show a better picture
* Small code cleanup to remove null check modifier as I check for null just before then
* Fixed images loading multiple times due to using function in binding with random. You can now click chapter images to read that chapter specifically.
* Fixed cards being different sizes when read vs unread
* Moved over Robbie's workflow changes from notifier. Commented out activity indicators as that is not shipping with this release.
* Remove code that isn't needed
* Reverted GA
* Changed GA to trigger only when HEAD is updated
* Added some documentation. Removed Require Admin Role from Search Tags. Added Summary to be updated on UpdateTag.
* Added Swagger xml doc generation to beef up the documentation. Started adding xml comments to the APIs. This is a needed, slow task for upcoming Plugins system.
* Implemented the ability to upload a custom series image to override the existing cover image.
Refactored some code out to use ImageService and added more documentation
* When a page cache fails, delete cache directory so user can try to reload.
* Implemented the ability to lock a series cover image such that after user uploads something, it wont get refreshed by Kavita.
* Implemented the ability to reset cover image for series by unlocking
* Kick off a series refresh after a cover is unlocked.
* Ability to press enter to load a url
* Ability to reset selection
* Cleaned up cover chooser such that reset is nicer, errors inform user to use file upload, series edit modal now doesn't use scrollable body. Mobile tweaks. CoverImageLocked is now sent to the UI.
* More css changes to look better
* When no bookmarks, don't show both markups
* Fixed issues where images wouldn't refresh after cover image was changed.
* Implemented the ability to change the cover images for collection tags.
* Added property and API for chapter cover image update
* Added UI code to prepare for updating cover image for chapters. need to rearrange components
* Moved a ton of code around to separate card related screens into their own module.
* Implemented the ability to update a chapter/volume cover image
* Refactored action for volume to say edit to reflect modal action
* Fixed issue where after editing chapter cover image, the underlying card wouldn't update
* Fixed an issue where we were passing volumeId to the reset chapter lock. Changed some logic in volume cover image generation.
* Automatically apply when you hit reset cover image