* Fixed bookmarking failing to convert to webp
* Brought the ag-swipe/ng-swipe code into Kavita due to being abandoned by developer and angular requirements.
* Fixed average reading time per week finally
* Cleaned up some extra decimals on time duration pipe
* Don't try to update index.html for base url on local. Fixed ag-swipe on prod mode.
* Updated a link on theme manager to point to the new github
* Range knobs should be primary color on firefox too
* Implemented the ability to get thumbnails of pages inside an archive or pdf.
* Updated packages and fixed opds-ps 1.2 issue
* Fixed lock file
* Allow Kavita's Swagger to hit instances with CORS
* Added IP/Request logging for Security Audits
* Linked up Summary tag from CBL into Kavita.
* Redid the migration so SecurityEvent now has UTC date as well.
* Split security logging to a separate file
* Update to new versions of checkout and setup
* Added a PR check on PR body to ensure that it doesn't contain any characters that break our discord hook.
* Updating action
* optimize regex in action
* Fixed an issue where fit to width would cause the actual height of the image to be shown for pagination bars, instead of rendered.
* Added some new code in GetPageFromFiles to ensure pages that exceed array map down to last file.
* Added comment about robots
* Fixed up unit tests for new ReaderService signature
* Kavita now cleans up empty reading lists at night
* Don't allow nightly cleanup to run if we are running media conversion tasks
* Fixed some bugs in typeahead, it should behave much more reliably.
* Fix an issue where emulate comic book wasn't extending to the bottom properly
* Added support for Series Chapter 001 Volume 001
* Refactor XFrameOptions="SameOrigins" out to allow users to override in appsettings.json.
* Added a rate limiter for some endpoints, but it doesn't seem to be triggering
---------
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* Use Reading Order to count epub pages rather than raw HTML files.
* Send email on background thread for initial invite flow.
* Reorder default writing style for new users so Horizontal is default
* Changed reading activity to use average hours read rather than events to bring more meaningful data.
* added ability to start reading incognito from the top of series detail, needs a bit of styling help though.
* Refactored extensions out into their own package, added new fields for reading list to cover total run, cbl import now takes those dates and overrides on import. Replaced many instances of numbers to be comma separated.
* Added ability to edit reading list run start and end year/month. Refactored some code for valid month/year into a helper method.
* Added a way to see the reading list's release years.
* Added some merged image code, but had to remove due to cover dimensions not fixed.
* tweaked style for accessibility mode on reading list items
* Tweaked css for non virtualized and virtualized containers
* Fixed release updates failing
* Commented out the merge code.
* Typo on words read per year
* Fixed unit tests
* Fixed virtualized scroll
* Cleanup CSS
* 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.
* Fixed a bug with getting continue point where there was a single volume unread and a later volume with chapters inside it, the chapters were being picked.
* Fixed a bug where resuming from jump key wasn't working (develop)
* Cleaned up the spacing
* Add ability to save readinglist comicinfo fields in Chapter.
* Added the appropriate fields and migration for Reading List generation.
* Started the reading list code
* Started building out the CBL import code with some initial unit tests.
* Fixed first unit test
* Started refactoring control code into services and writing unit tests for ReadingLists. Found a logic issue around reading list title between create/update. Will be corrected in this branch with unit tests.
* Can't figure out how to mock UserManager, so had to uncomment a few tests.
* Tooltip for total pages read shows the full number
* Tweaked the math a bit for average reading per week.
* Fixed up the reading list unit tests. Fixed an issue where when inserting chapters into a blank reading list, the initial reading list item would have an order of 1 instead of 0.
* Cleaned up the code to allow the reading list code to be localized easily and fixed up a bug in last PR.
* Fixed a sorting issue on reading activity
* Tweaked the code around reading list actionables not showing due to some weird filter.
* Fixed edit library settings not opening on library detail page
* Fixed a bug where reading activity dates would be out of order due to a bug in how charts works. A temp hack has been added.
* Disable promotion in edit reading list modal since non-admins can (and should have) been able to use it.
* Fixed a bug where non-admins couldn't update their OWN reading lists. Made uploading a cover image for readinglists now check against the user's reading list access to allow non-admin's to set images.
* Fixed an issue introduced earlier in PR where adding chapters to reading list could cause order to get skewed.
* Fixed another regression from earlier commit
* Hooked in Import CBL flow. No functionality yet.
* Code is a mess. Shifting how the whole import process is going to be done. Commiting so I can pivot drastically.
* Very rough code for first step is done.
* Ui has started, I've run out of steam for this feature.
* Cleaned up the UI code a bit to make the step tracker nature easier without a dedicated component.
* Much flow implementation and tweaking to how validation checks and what is sent back.
* Removed import via cbl code as it's not done. Pushing to next release.
* SeriesGroup tag can now have comma separated value to allow a series to be a part of multiple collections.
* Added a missing unit test
* Refactored how collection tags are created to work in the scan loop reliably.
* Added a unit test for RemoveTagsWithoutSeries
* Fixed a bug in reading list title generation to avoid Volume 0 if the underlying file had a title set. Fixed a misconfigured unit test.
* On User stats page, don't show the user selector on reading history, despite if youre an admin. Cleaned up how we show days with 0 reading events to be more clear.
* Refactored the name of a component to reflect what it does
* Removed plugin not using
* Fix an issue where coalescing a key in epub might have multiple html files ending with the key. In this case, let's take the first.
* Added PikaPods to the Readme
* Tried to fix layout shift for charts, but need Robbie's help
* Chart styling
# Added:
- Added: Added styling to force charts into their respective containers.
# Removed:
- Removed: Removed code blocking charts from being visible on mobile.
* Merge conflict
---------
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
* 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.
* Fixed a bug where when clicking on a series rating for first time, the rating wasn't populating in the modal.
* Fixed a bug on Scroll mode with immersive mode, the bottom bar could clip with the book body.
* Cleanup some uses of var
* Refactored text as json into a type so I don't have to copy/paste everywhere
* Theme styles now override the defaults and theme owners no longer need to maintain all the variables themselves.
Themes can now override the color of the header on mobile devices via --theme-color and Kavita will now update both theme color as well as color scheme.
* Fixed a bug where last active on user stats wasn't for the particular user.
* Added a more accurate word count calculation and the ability to see the word counts year over year.
* Added a new table for long term statistics, like number of files over the years. No views are present for this data, I will add them later.
* Added ability to click on genres, tags, and people to view all items in a modal.
* Made it so we can click and open a filtered search from generic list
* Fixed broken epub pagination area due to a typo in a query selector
* Added day breakdown, wrapping up stats
* Fixed a bug on bookmark mode not finding correct image for prefetcher.
* Fixed up the edit series relationship modal on tablet viewports.
* On double page mode, only bookmark 1 page if only 1 pages is renderered on screen.
* Added percentage read of a given library and average hours read per week to user stats.
* Fixed a bug in the reader with paging in bookmark mode
* Added a "This Week" option to top readers history
* Added date ranges for reading time. Added dates that don't have anything, but might remove.
* On phone, when applying a metadata filter, when clicking apply, collapse the filter automatically.
* Disable jump bar and the resuming from last spot when a custom sort is applied.
* Ensure all Regex.Replace or Matches have timeouts set
* Fixed a long standing bug where fit to height on tablets wouldn't center the image
* Streamlined url parsing to be more reliable
* Reduced an additional db query in chapter info.
* Added a missing task to convert covers to webP and added messaging to help the user understand to run it after modifying the setting.
* Changed OPDS to be enabled by default for new installs. This should reduce issues with users being confused about it before it's enabled.
* When there are multiple files for a chapter, show a count card on the series detail to help user understand duplicates exist. Made the unread badge smaller to avoid collision.
* Added Word Count to user stats and wired up average reading per week.
* Fixed word count failing on some epubs
* Removed some debug code
* Don't give more information than is necessary about file paths for page dimensions.
* Fixed a bug where pagination area would be too small when the book's content was less that height on default mode.
* Updated Default layout mode to Scroll for books.
* Added bytes in the UI and at an API layer for CDisplayEx
* Don't log health checks to logs at all.
* Changed Word Count to Length to match the way pages work
* Made reading time more clear when min hours is 0
* Apply more aggressive coalescing when remapping bad metadata keys for epubs.
* Changed the amount of padding between icon and text for side nav item.
* Fixed a NPE on book reader (harmless)
* Fixed an ordering issue where Volume 1 was a single file but also tagged as Chapter 1 and Volume 2 was Chapter 0. Thus Volume 2 was being selected for continue point when Volume 1 should have been.
* When clicking on an activity stream header from dashboard, show the title on the resulting page.
* Removed a property that can't be animated
* Fixed a typeahead typescript issue
* Added Size into Series Info and Added some tooltip and spacing changes to better explain some fields.
* Added size for volume drawers and cleaned up some date edge case handling
* Fixed an annoying bug where when on mobile opening a view with a metadata filter, Kavita would open the filter automatically.
* Fixed a bug on bookmark mode not finding correct image for prefetcher.
* Fixed up the edit series relationship modal on tablet viewports.
* On double page mode, only bookmark 1 page if only 1 pages is renderered on screen.
* Added percentage read of a given library and average hours read per week to user stats.
* Fixed a bug in the reader with paging in bookmark mode
* Added a "This Week" option to top readers history
* Added date ranges for reading time. Added dates that don't have anything, but might remove.
* On phone, when applying a metadata filter, when clicking apply, collapse the filter automatically.
* Disable jump bar and the resuming from last spot when a custom sort is applied.
* Ensure all Regex.Replace or Matches have timeouts set
* Auto scale reading timeline
* Added benchmarks for SharpImage and NetVips. When an epub has a malformed page, catch the error and present it better to the user.
* Added a hint for an upcoming feature
* Slightly sped up word count for epubs
* Added one more test to reflect actual code.
* Some light cleanup
* Use compact number for stat lists
* Fixed brightness being broken on manga reader
* Replaced CoverToWebP SharpImage version with NetVips which is MUCH lighter on memory and CPU.
* Added last modified on the progress dto for CdDisplayEx.
* Code cleanup
* Forgot one cleanup
* Added new stat graph for pages read over time for all users.
* Switched to reading events rather than pages read to get a better scale
* Changed query to use Created date as LastModified wont work since I just did a migration on all rows.
* Small cleanup on graph
* Read by day completed and ready for user stats page.
* Changed the initial stat report to be in 1 day, to avoid people trying and ditching the software from muddying up the stats.
* Cleaned up stats page such that stats around series show their image and tweaked some layout and wordings
* Fixed recently read order
* Put read history on user profile
* Final cleanup, Robbie needs to do a CSS pass before release.
* Fixed resizing or layout changes causing page change on double reader
* Implemented the debug log pattern on double renderers. Fixed a case when navigation backwards and showing only one page. Updated so go to page or slider update will handle selecting the right page number for pair display.
* All Spread cases for double working
* Cleanup dead code
* Ensure we can jump to last page
* Added a timeAgo pipe which shows live updates for a few areas.
* Fixed some wording on stats page. Changed Total People count to just work on distinct names and not count multiple for different roles.
* Tweaked the compact number so it only shows one decimal
* Fixed a bug
* 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>