* Updated to net7.0
* Updated GA to .net 7
* Updated System.IO.Abstractions to use New factory.
* Converted Regex into SourceGenerator in Parser.
* Updated more regex to source generators.
* Enabled Nullability and more regex changes throughout codebase.
* Parser is 100% GeneratedRegexified
* Lots of nullability code
* Enabled nullability for all repositories.
* Fixed another unit test
* Refactored some code around and took care of some todos.
* Updating code for nullability and cleaning up methods that aren't used anymore. Refctored all uses of Parser.Normalize() to use new extension
* More nullability exercises. 500 warnings to go.
* Fixed a bug where custom file uploads for entities wouldn't save in webP.
* Nullability is done for all DTOs
* Fixed all unit tests and nullability for the project. Only OPDS is left which will be done with an upcoming OPDS enhancement.
* Use localization in book service after validating
* Code smells
* Switched to preview build of swashbuckle for .net7 support
* Fixed up merge issues
* Disable emulate comic book when on single page reader
* Fixed a regression where double page renderer wouldn't layout the images correctly
* Updated to swashbuckle which support .net 7
* Fixed a bad GA action
* Some code cleanup
* More code smells
* Took care of most of nullable issues
* Fixed a broken test due to having more than one test run in parallel
* I'm really not sure why the unit tests are failing or are so extremely slow on .net 7
* Updated all dependencies
* Fixed up build and removed hardcoded framework from build scripts. (this merge removes Regex Source generators). Unit tests are completely busted.
* Unit tests and code cleanup. Needs shakeout now.
* Adjusted Series model since a few fields are not-nullable. Removed dead imports on the project.
* Refactored to use Builder pattern for all unit tests.
* Switched nullability down to warnings. It wasn't possible to switch due to constraint issues in DB Migration.
* Updated theme support to be able to customize the tile color dynamically from a theme via --tile-color. In addition, --theme-color will update apple-mobile-web-app-status-bar-style as well as the non-apple variants
* Removed --manga-reader-bg-color as it wasn't used anywhere. Fixed double pagination on swipe.
* Cleaned up some dead threshold code for swipe.
* Started refactoring tests to use an abstract test class. Stopping because I should do on the .net 7 branch to avoid large merge conflicts. Tests need to be re-designed so they can run in parallel.
* Fixed a bug in reading lists where when deleting an item, order could be miscalculated.
* Started adding new information for stat service. Refactored time spent reading to be more accurate by taking average time against how much of the chapter the user has read.
* Hooked up total time reading at server stat level. Don't show fancy graphs on mobile.
* Added new stats for v0.7
* Added a test for Clearing want to read
* Fixed a few tests that weren't resetting state between runs
* Fixed some broken unit tests
* Ensure all Series queries sort by a case invariant string.
* Added more aggressive caching of images. This will result in a min delay on pages after a cover is changed.
* Fixed a bug where if during new word count calculation, new word count is zero, restoring the old count wasn't working.
* Cleaned up some of the code for getting time estimates
* Fixed a bug where triggering swipe right wasn't working when there was no scroll
* Delete the temp folder for creating a download after a full zip is created.
* Refactored ResponseCache profiles into consts
* Refactored code to use an extension method for getting user library ids.
* Started server statistics, added a charting library, and added a table sort column (not finished)
* Refactored code and have a fully working example of sortable headers. Still doesn't work with default sorting state, will work on that later.
* Implemented file size, but it's too expensive, so commented out.
* Added a migration to provide extension and length/size information in the DB to allow for faster stat apis.
* Added the ability to force a library scan from library settings.
* Refactored some apis to provide more of a file breakdown rather than just file size.
* Working on visualization of file breakdown
* Fixed the file breakdown visual
* Fixed up 2 visualizations
* Added back an api for member names, started work on top reads
* Hooked up the other library types and username/days.
* Preparing to remove top reads and refactor into Top users
* Added LibraryId to AppUserProgress to help with complex lookups.
* Added the new libraryId hook into some stats methods
* Updated api methods to use libraryId for progress
* More places where LibraryId is needed
* Added some high level server stats
* Got a ton done on server stats
* Updated default theme (dark) to be the default root variables. This will allow user themes to override just what they want, rather than maintain their own css variables.
* Implemented a monster query for top users by reading time. It's very slow and can be cleaned up likely.
* Hooked up top reads. Code needs a big refactor. Handing off for Robbie treatment and I'll switch to User stats.
* Implemented last 5 recently read series (broken) and added some basic css
* Fixed recently read query
* Cleanup the css a bit, Robbie we need you
* More css love
* Cleaned up DTOs that aren't needed anymore
* Fixed top readers query
* When calculating top readers, don't include read events where nothing is read (0 pages)
* Hooked up the date into GetTopUsers
* Hooked top readers up with days and refactored and cleaned up componets not used
* Fixed up query
* Started on a day by day breakdown, but going to take a break from stats.
* Added a temp task to run some migration manually for stats to work
* Ensure OPDS-PS uses new libraryId for progress reporting
* Fixed a code smell
* Adding some styling
* adding more styles
* Removed some debug stuff from user stats
* Bump qs from 6.5.2 to 6.5.3 in /UI/Web
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Tweaked some code for bad data cases
* Refactored a chapter lookup to remove un-needed Volume join in 5 places across the code.
* API push
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fixed a scaling issue in the epub reader, where images could scale when they shouldn't.
* Removed some caching on library/ api and added more output for a foreign key constraint
* Hooked in Restricted Profile stat collection
* Added a new boolean on age restrictions to explicitly allow unknowns or not. Since unknown is the default state of metadata, if users are allowed access to Unknown, age restricted content could leak.
* Fixed a bug where sometimes series cover generation could fail under conditions where only specials existed.
* Fixed foreign constraint issue when cleaning up series not seen at end of scan loop
* Removed an additional epub parse when scanning and handled merging differently
* Code smell
* Moved LibraryWatcher to utilize a queue for calculating the change event to ensure the Watcher doesn't get overwhelmed on large moves.
* Fixed a security vulnerability (https://huntr.dev/bounties/8a3e652f-d6bf-436e-877e-0eaf5c69ef95/). This will be disclosed in Stable release changelog.
* Tweaked the log message template
* Removed some dead code from Configuration json patcher
* Fixed a bug with the ComicInfo finding to properly handle root level.
Fixed a bug where sometimes scanner wouldn't choose the first file with ComicInfo for filling out information.
* Added new setting for managing how many logs files are allowed, just like how backups work.
* Added unit tests for new CleanupLogs code
* Fixed a bug where manga reader background color wasn't actually sending from the UI
* Added new stats for tracking to help understand usage in the app and what features are used or not.
* Fixed Stats url
* Fixed a bug where volumes that had larger than 1 difference wouldn't properly return next/prev chapter (for continuous reader)
* Remove a redundant test step in build pipeline, since it's already done at PR stage.
* Updated dockerfile to use the new Heath check endpoint
* Allow force to pass through to scan loop
* Removed some old config stuff from a safety check on config in entrypoint.sh
* Fixed broken unit tests due to new RBS check and how we setup mock data.
* 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 an issue where sometimes when loading the next page, the pagination area wouldn't be properly setup due to a missed rendering cycle
* Refactored BookController to thin it out and refactor some of the functions to apply IOC. Added some split query statements on a few queries.
* Added Split Query to many queries
* Added a visual indicator for loading state of PDF. Will spruce up css later.
* Added back in logic
* Fixed flash of white when refreshing browser
* Hooked in a loading progress bar for the pdf reader
* Close the pdf reader when pressing ESC
* Ensure that Scan Series triggers a file analysis task.
* Tweaked concurrency for Analyze Files
* Implemented new stats tracking for upcoming performance release.
* Cleaned up some styles on the progress bar in book reader
* Fixed up some phone-hidden classes and added titles around the codebase. Stat reporting on first run now takes into account that admin user wont exist.
* Fixed manage library page not updating last scan time when a notification event comes in.
* Integrated SeriesSort ComicInfo tag (somehow it got missed)
* Some minor style changes and no results found for bookmarks on chapter detail modal
* Fixed the labels in action bar on book reader so Prev/Next are in same place
* Cleaned up some responsive styles around images and reduced custom classes in light of new display classes on collection detail and series detail pages
* Fixed an issue with webkit browsers and book reader where the scroll to would fail as the document wasn't fully rendered. A 10ms delay seems to fix the issue.
* Cleaned up some code and filtering for collections. Collection detail is missing filtering functionality somehow, disabled the button and will add in future release
* Correctly validate and show a message when a user is not an admin or has change password role when going through forget password flow.
* Fixed a bug on manage libraries where library last scan didn't work on first scan of a library, due to there being no updated series.
* Fixed a rendering issue with text being focused on confirm email page textboxes. Fixed a bug where when deleting a theme that was default, Kavita didn't reset Dark as the default theme.
* Cleaned up the naming and styles for side nav active item hover
* Fixed event widget to have correct styling on eink and light
* Tried to fix a rendering issue on side nav for light themes, but can't figure it out
* On light more, ensure switches are green
* Fixed a bug where opening a page with a preselected filter, the filter toggle button would require 2 clicks to collapse
* Reverted the revert of On Deck.
* Improved the upload by url experience by sending a custom fail error to UI when a url returns 401.
* When deleting a library, emit a series removed event for each series removed so user's dashboards/screens update.
* Fixed an api throwing an error due to text being sent back instead of json.
* Fixed a refresh bug with refreshing pending invites after deleting an invite. Ensure we always refresh pending invites even if user cancel's from invite, as they might invite, then hit cancel, where invite is still active.
* Fixed a bug where invited users with + in the email would fail due to validation, but UI wouldn't properly inform user.
* Fixed an underline on hover of pagination link
* Ensure title of companion bar eats full width if there is no filter
* If a user doesn't have the Download role, they will not be able to download over OPDS.
* Fixed a bug where after going into webtoon reader mode then leaving, the bookmark effect would continue using the webtoon mode styling
* Fixed a bug where continuous reader wasn't being triggered due to moving scrollbar to body and a floating point percision error on scroll top
* Fixed how continuous trigger is shown so that we properly adjust scroll on the top (for prev chapter)
* Fixed a bad merge that broke saving any edits to series metadata
* When a epub key is not correct, even after we correct it, ignore the inlining of the style so the book is at least still readable.
* Disabled double rendering (this feature is being postponed to a later release)
* Disabled user setting and forced it to Single on any save
* Removed cache directory from UpdateSettings validation as we don't allow changing it.
* Fix security issue with url parse
* After all migrations run, update the installed version in the Database. Send that installed version on the stat service.
* Dependency bot to update some security stuff
* Some misc code cleanup and fixes on the typeahead (still broken)
* Refactored the way cover images are updated from SignalR to use an explicit event that is sent at a granular level for a given type of entity.
Fixed a bad event listener for RefreshMetadata (now removed) to update metadata on Series Detail. Now uses ScanService, which indicates a series has completed a scan.
* Lots of attempts at making webtoon stable. Kinda working kinda not.
* Added a new boolean to hide images until the first prefetch loads the images, to prevent jankiness
* On Search, remove : from query
* Added HasBookmark and NumberOfLibraries to stat service
* Cleaned up some dead code
* Fixed a bug where page number wasn't reset between chapter loads with infinite scroller
* Added recently added series back into the dashboard.
* Cleaned up some code in search bar
* Added ServerSettingKey's for SMTP and moved email service code to Kavita. Nothing integrated in the UI yet.
* Undo all the custom SMTP stuff and prepare for custom email service url.
* Foundation for email service to use a custom url is setup.
* Implemented the ability to hook up custom email url
* 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
* Fixed a duplicate check for updates. Changed checking from weekly to daily.
* Refactored how dark variables were accessed to reduce size of component css. Refactored Stats code to use lesser information for reporting.
* Use the installId from the database which is most unlikely to change.
* Fixed a missing interface with stat service
* Added DotnetVersion back into collection
* Updated url to new host.
* Refactored Stats code to be much cleaner and user better naming.
* Cleaned up the actual http code to use Flurl and to return if the upload was successful or not so we can delete the file where appropriate.
* More refactoring for the stats code to clean it up and keep it consistent with our standards.
* Removed a confusing log statement
* Added support for old api key header from original stat server
* Use the correct endpoint, not the new one.
* Code smell
* Fixed opds url display
* Rewrote how stat collection works, now we check in multiple places and always run stat collection in a background thread, to not block main thread.
* Cleaned up the ParseInfoTest to be more verbose
* Added benchmarking
* Don't show bookmark context actionable for books
* Fixed an issue where when adding a collection tag, the logic wouldn't assume the tag already existed in DB and would reset it.
* After editing a series on library page, ensure we refresh collection tags.
* Reload recently added section after changing a series
* Moved all Stat logger events to Debug
* Refactored scroll logic into a single service to keep the code consistent.
* Cleaned up error interceptor to avoid sending auth errors (when a 500 occurs) to sentry as auth errors aren't issues.
* Added extra stat collection
* Fixed a bad gitignore which ignored anything in a stats directory