* 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.
* Implemented save covers as webp. Reworked screen to provide more information up front about webp and what browsers can support it.
* cleaned up pages to use compact numbering and made compact numbering expand into one decimal place (20.5K)
* Fixed an issue with adding new device
* If a book has an invalid language set, drop the language altogether rather than reading in a corrupted entry.
* Ensure genres and tags render alphabetically.
Improved support for partial volumes in Comic parser.
* Ensure all people, tags, collections, and genres are in alphabetical order.
* Moved some code to Extensions to clean up code.
* More unit tests
* Cleaned up release year filter css
* Tweaked some code in all series to make bulk deletes cleaner on the UI.
* Trying out want to read and unread count on series detail page
* Added Want to Read button for series page to make it easy to see when something is in want to read list and toggle it.
Added tooltips instead of title to buttons, but they don't style correctly.
Added a continue point under cover image.
* Code smells
* Swapped out SQLite for Memory, but the one from hangfire. Added DisableConcurrentExecution on ProcessChange to avoid duplication when multiple threads execute at once.
* Fixed the Hangfire SQL issues with CPU/ram utilization some users are facing
* Fixed a case in SharpCompress fallback where an invalid ComicInfo wasn't picked up.
* When parsing epubs, if there is a volume in the epub title, try to parse and group. This is beneficial for Light Novels which are generally tagged this way.
* Fixed delete series in series detail not triggering
* Fixed some parsing logic for how we treat specials, like Annual and Omnibus.
* When scanning files, if the file is the cover image (loose leaf image), we reject it more quickly than previously.
* Added a potential bug marker
* Fixed a bug where Info was only showing Error level loggers
* Code smells
* Fixed inputs not showing inline validation due to a missing class
* Fixed some checks
* Increased the button size on manga reader (develop)
* Migrated a type cast to a pure pipe
* Sped up the check for if SendTo should render on the menu
* Don't allow user to bookmark in bookmark mode
* Fixed a bug where Scan Series would skip over Specials due to how new scan loop works.
* Fixed scroll to top button persisting when navigating between pages
* Edit Series modal now doesn't have a lock field for Series, which can't be locked as it is inheritently locked.
Added some validation to ensure Name and SortName are required.
* Fixed up some spacing
* Fixed actionable menu not opening submenu on mobile
* Cleaned up the layout of cover image on series detail
* Show all volume or chapters (if only one volume) for cover selection on series
* Don't open submenu to right if there is no space
* Fixed up cover image not allowing custom saves of existing series/chapter/volume images.
Fixed up logging so console output matches log file.
* Implemented the ability to turn off css transitions in the UI.
* Updated a note internally
* Code smells
* Added InstallId when pinging the email service to allow throughput tracking
* Optimize CleanTitle
* Optimize MangaEditionRegex
* Optimize special regexes
* Refactor manga|comic special parsing into simple tests
* Word bind the special regexps. Support additional "special" use cases.
* Updates to address PR comments
* CleanTitle benchmarking
* Use a smaller Comics Data set for benchmarking
* Moved the data connection for the Database out of appsettings.json and hardcoded it. This will allow for more customization and cleaner update process.
* Removed unneeded code
* Updated pdf viewer to 15.0.0 (pdf 2.6), which now supports east-asian fonts
* Fixed up some regex parsing for volumes that have a float number.
* Fixed a bug where the tooltip for Publication Status wouldn't show
* Fixed some weird parsing rules where v1.1 would parse as volume 1 chapter 1
* Fixed a bug where bookmarking button was hidden for admins without bookmark role (due to migration)
* Unified the star rating component in series detail to match metadata filter.
* Fixed a bug in the bulk selection code when using shift selection, where the inverse of what was selected would be toggled.
* Fixed some old code where if on all series page, only English as a language would return. We now return all languages of all libraries.
* Updated api/metadata/languages documentation
* Refactored some bookmark api names: get-bookmarks -> chapter-bookmarks, get-all-bookmarks -> all-bookmarks, get-series-bookmarks -> series-bookmarks, etc.
* Refactored all cases of createSeriesFilter to filterUtiltityService.
Added ability to search for a series on Bookmarks page.
Fixed a bug where people filters wouldn't respect the disable flag froms ettings.
* Cleaned up a bit of the circular downloader code.
* Implemented Russian Parsing
* Fixed an issue where some users that had a missing theme entry wouldn't be able to update their user preferences.
* Refactored normalization to exclude !, thus allowing series with ! to be different from each other.
* Fixed a migration exit case
* Fixed broken unit test
* Recreated Kavita Logging with Serilog instead of Default. This needs to be move out of the appsettings now, to allow auto updater to patch.
* Refactored the code to be completely configured via Code rather than appsettings.json. This is a required step for Auto Updating.
* Added in the ability to send logs directly to the UI only for users on the log route. Stopping implementation as Alerts page will handle the rest of the implementation.
* Fixed up the backup service to not rely on Config from appsettings.json
* Tweaked the Logging levels available
* Moved everything over to File-scoped namespaces
* Moved everything over to File-scoped namespaces
* Code cleanup, removed an old migration and changed so debug logging doesn't print sensitive db data
* Removed dead code
* Refactored invite user flow to separate error handling on create user flow and email flow. This should help users that have unique situations.
* Switch to using files to check LastWriteTime. Debug code in for Robbie to test on rclone
* Updated Parser namespace. Changed the LastWriteTime to check all files and folders.
* Moved the Server Settings out into a button on nav header
* Refactored Mange Users page to the new design (skeleton). Implemented skeleton code for Invite User.
* Hashed out more of the code, but need to move all the email code to a Kavita controlled API server due to password credentials.
* Cleaned up some warnings
* When no user exists for an api key in Plugin controller, throw 401.
* Hooked in the ability to check if the Kavita instance can be accessed externally so we can determine if the user can invite or not.
* Hooked up some logic if the user's server isn't accessible, then default to old flow
* Basic flow is working for confirm email. Needs validation, error handling, etc.
* Refactored Password validation to account service
* Cleaned up the code in confirm-email to work much better.
* Refactored the login page to have a container functionality, so we can reuse the styles on multiple pages (registration pages). Hooked up the code for confirm email.
* Messy code, but making progress. Refactored Register to be used only for first time user registration. Added a new register component to handle first time flow only.
* Invite works much better, still needs a bit of work for non-accessible server setup. Started work on underlying manage users page to meet new design.
* Changed (you) to a star to indicate who you're logged in as.
* Inviting a user is now working and tested fully.
* Removed the register member component as we now have invite and confirm components.
* Editing a user is now working. Username change and Role/Library access from within one screen. Email changing is on hold.
* Cleaned up code for edit user and disabled email field for now.
* Cleaned up the code to indicate changing a user's email is not possible.
* Implemented a migration for existing accounts so they can validate their emails and still login.
* Change url for email server
* Implemented the ability to resend an email confirmation code (or regenerate for non accessible servers). Fixed an overflow on the confirm dialog.
* Took care of some code cleanup
* Removed 3 db calls from cover refresh and some misc cleanup
* Fixed a broken test
* Series Detail Enhancements
# Added
- Added: Volume tab for `Comic` Library Types
- Added: Storyline tab for `Comic` and `Manga` library types. This will show Volumes and Chapters together sorted in order.
# Changed
- Changed: Changed `Chapters/Issues` to show all chapters or issues regardless of if they are in a volume for both `Manga` and `Comic` library types
* Removed 3 loops to speed up load time
* Refactored some library type checks. Reset selection on nav change.
* Refactored hasReadingProgress for a series to the backend and further optimized the series detail page.
* Fixed up the regex for "Annual" special case and added unit tests.
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
* Fixed a bug in CleanupBookmarks where the Except was deleting all files because the path separators didn't match.
* Added unit tests for ParseScannedFiles.cs.
* Fixed some unit tests. Parser will now clear out multiple spaces in a row and replace with a single.
* Fixed the book reader off by one issue with loading last page
* Fixed a case where scanner would not delete a series if another series with same name but different format was added in that same scan.
* Added some missing tag generation (chapter language and summary)
* 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 new endpoint to get all Series with Progress info.
* Fixed up some potential NPEs during scan
* Commented out filter code, not ready for it.
* Fixed up a parsing case for european comics
* Refactored FilterDto to allow for specifying multiple formats to return.
* Refactored FilterDto to allow for specifying multiple formats to return.
* Refactored the UI to show OPDS as 3rd Party Clients since Tachiyomi now uses OPDS url scheme for authentication.
* Fixed a case where chapter was being parsed incorrectly when the series title ends in a number.
* Updated Kavita to support Tome/T notation found in French comics
* Added support for identifying European specials and expanded support for cleaning some tags used in European comics. During cleaning, if series starts with - or comma, remove it.
* Fixed an issue where add to collection for a single series wasn't calling the bulk action handler
* Fixed a NPE on AgeRating conversion. Fixed a bug where when looking for cover image, file extensions was throwing off sort code.
* Refactored Natural Sort ordering to better follow how Windows behaves. This is a departure from how the original code executes.
* GetCachedPagePath now uses natural sorting to pick the images for reading in a more correct order.
* Updated parser to handle a case where there was more than one space as a separator
* 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.
* Removed some directives
* Removed my test db
* Ignore system and hidden folders when performing directory scan.
* Fixed the comic parser tests not using Comic mode for parsing.
* Accept all forwarded headers and use them.
* Ignore some changes from another branch
* Cleaned up some code. Fixed an issue on books with good table of contents not allowing line tracking (progress) from being saved. Changed Save to Defaults on light mode to be primary.
* Fixed a bug where deleting reading items would not actually delete them
* Fixed a bug where after ordering reading lists then deleting the order would be undone (develop)
* Code cleanup
Sometimes comic-downloader will have filenames like spawn-chapter-123.
Previously we did not support the -chapter- part, this patch adds support
for it.
* Fixed some issues with base url. All Scheduled jobs are now in user's timezone
* Hide Base Url support from UI and removed some code around it on the backend to prevent it from interfering. Patched back in changes from base-href branch like Timezone on scheduled jobs and enhanced logging.
* Added parser support for "2000 AD 0366 [1984-04-28] (flopbie)" and removed for "01 Spiderman 01".
* Adding multiple cases for comic naming conventions
* Changing "Chapter" to "Issue" for comic libraries
* Fixed an issue where the Parse method was using filename with extension to run regex matching, while it should be running on name without extension.
* Refactored to use Getter
* Cleaned up file to use conditional labelling rather than conditional html fragments
* Refactored code to properly check against library type for a given readinglist item
* Cleaned up series detail
* Conditionally remove special tags during parse
* Setup ParseInfoTests for ComicParserTests and also added unit tests from other comic issues created.
* Added more regex cases for naming patterns reported to be common with comics. Some cases added without regex.
* Pushing up changes
Fixed issue with cleanTitleTest.
Tried some patterns for "Cyberpunk 2077" but reverted
* Updated some cases and some spacing on Parser. Cyberpunk 2077 is not implemented as long as there is a # before issue number.
* Fixed the case for Special parsing on TPB. Fixed a piece of code that got deleted that prevented specials from rendering on volumes tab.
* Potential fix for parsing Cyberpunk 2077
- Added a ComicsSeriesSpecialCasesRegex and passed any filename that contains "Cyberpunk 2077" over to it so we can parse it separately. This could be used for any other potential problem series.
* Revert "Potential fix for parsing Cyberpunk 2077"
This reverts commit a14417e640ddb7ab27f66bcc27ff5ecc41581b25.
* Added more tests
* Refactored all places in Kavita to use Book, Issue, or Chapter depending on the Library type. Updated Volumes/Chapters to remove Volumes to make it cleaner.
* Removed some leftover test code
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
* Add comics-downloader parser
The utility comics-downloader can be used to download comics
and produces files of the type "seriesname-chapternumberpadded".
This adds support for that format.
For more info https://github.com/Girbons/comics-downloader
* Adjusted the test cases and added .+? to consume less characters.
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
* 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
* Added volume migrations. Added parser case for "Chapter 63 - The Promise Made for 520 Cenz.cbr"
* Added some info statements for when full library scans occur. For image apis, return the name of the file to aid in caching.
* When managing users, show the current logged in user at the top of the list. Added a message when no libraries have been setup but you are trying to add a user to a library.
* Removed an extra stream operation from SharpCompress cover image work. Removed an extra ToArray() from Book Reader for extracting PDF pages.
* Removed the left over comment
* Added parsing case for "Batman Beyond 04 (of 6) (1999)"
* Removed dead code
* Added parser case for "The Duke of Death and His Black Maid - Ch. 177 - The Ball (3).cbz"
* Removed a file that is created and modified every test run.
* Fixed a bad parser case for "Batman Beyond 02 (of 6) (1999)" which was consuming too many characters
* Removed a lot of "Volume" parsing for Comics that don't make sense. This is prep work for the upcoming Comic Rework release.
* Reworked a lot of parsing cases for comics based on naming conventions observed from releases found online.
* Added a way for external scripts to use a user api key to authenticate
* Fixed an issue if the manga only had one page, the bottom menu would be missing page and chapter controls.
* Fixed a bug where on small phones, nav bar could overflow due to scroll to top
* Tweaked a lot of regex for manga parsing to handle some cases where poorly named files, like "Vol. 03 Ch. 21" would end up parsing as Series "Vol. 03".
* Even more handling of parser cases. Manga parser should be as it was but more robust to handle bad naming.
* Fixed: Don't force metadata refresh on Scan Series, only on refresh metadata
* Implemented the ability to automatically refresh after a series scan based on when server finishes. Remove a duplicate API call from series detail.
* Removed another API call for series metadata that isn't needed.
* Refactored Message creation to a factory, hardcoded strings are centralized, and RefreshSeriesMetadata sends an event and is refactored to be async.
* Fixed a bug when really poorly named files are within a folder that contains the series name, fallback couldn't occur due to it being taken as root folder. Now we detect said condition and will go one level higher, resulting in potentially more I/O, but the series will not be deleted.
* Added the Read in Incognito context item for Chapter cards
* Skip an additional check for series summary for series that aren't EPUB or Archive formats.
* Fixed an issue where cover image generation could occur due to a bad check on LastWriteTime on the underlying file.
* Added some extra comic parser tests
* Added a ScanLibrary event (not hooked up in UI)
* Performance improvement on metadata service. Now when we scan for cover image changes, we emit when a change occurs and only then do we update parent entities (array copy).
* Removed an hr from series detail and ensure we update the cover image for series when scan series finishes.
* Updated the infinite scroller to use a Flags pattern for the debug mode. Updated a few logical conditions for mobile.
* Removed the concurrency check on row progress as if too many calls hit the DB, it will throw, but it doesn't matter.
Fixed a bad logic code which could cause scrolling after hitting the bottom of the chapter.
* Ensure prefetching uses totalPages + 1 since we pass in totalPages as - 1 from manga reader
* Fixed issue where last page of webtoon wouldn't be prefetched due to a < instead of <= on prefetching code
* Implemented ability to send images from archives to the UI without incurring any extra memory pressure.
* Dropdown menus now have a darker background
* Webtoon reader now works on mobile.
* Fixed how keyboard presses for up/down/left/right work with MANGA_UD reading mode. See issue #579
* Fixed cont reader for webtoons on mobile
* Fixed a small issue where top spacer would too quickly switch to prev chapter
* Updated user preferences to use same slider style. Removed some css that is not used.
* Added comic parser case for "Saga 001 (2012) (Digital) (Empire-Zone)"
* Added accessibility toggle to reading list order and aligned sliders to all use the same style.
* Removed a todo for checking on new image serving code. It works great.
* Fixed a missing await
* Auth guard will now check if an existing toast is present giving same message before poping the toast.
* Fixed alignment on phones for reading lists
* Moved sorters so they aren't resused between multiple threads. Slightly higher memory footprint.
* Fixed a broken unit test
* Code smells
* More unit test fixing
* 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
* Fix directory issue when building all the packages where directory got skewed. (#98)
* Bump version for patch release due to bug in continue fuctionality. (#104)
* Chore/version bump (#106)
* Bump version for patch release due to bug in continue fuctionality.
* Added develop branch for github actions
* Updated readme to have an image and support link. (#107)
* Feature/readme (#109)
* Updated readme to have an image and support link.
* Updated readme
* Fixed a bug where if a chapter had multiple archive files, they wouldn't all be extracted due to short circuit in ExtractArchive. Now I add the file id then flatten afterwards. (#113)
* Bugfix/multiple file extract (#116)
* Fixed a bug where if a chapter had multiple archive files, they wouldn't all be extracted due to short circuit in ExtractArchive. Now I add the file id then flatten afterwards.
* Fixed a bug where due to how we were extracting for multiple files, the single file extractions failed.
* Bumped release for 3.5 release
* Comic Support (#119)
* Implemented some basic regex for comic support
* Implemented support for comics
* empty filenames, like .test.jpg shouldn't be counted as image types.
* Fixed some regex for Manga's with commas or version tags in parenthesis.
* More cases for parsing regex
* Lots of Parsing Enhancements (#120)
* More cases for parsing regex
* Implemented the ability to parse "Special" keywords.
* Commented out some unit tests
* More parsing cases
* Fixed unit tests
* Fixed typo in build script
* Parsing Enhancements (#126)
* More cases for parsing regex
* Implemented the ability to parse "Special" keywords.
* Commented out some unit tests
* More parsing cases
* Fixed unit tests
* Fixed typo in build script
* Fixed a bug where if there was a series with same name, but different capitalization, we wouldn't process it's infos.
* Tons of regex updates to handle more cases.
* More regex tweaking to handle as many cases as possible.
* Bad merge caused the comic parser to break. Fixed with some better regex.
* Parser Enhancement: Fallback to Folder name (#129)
* More cases for parsing regex
* Implemented GetFoldersTillRoot for falling back on parsing when we can't get anything from the filename.
* Implemented a fallback strategy. Not tested on large libraries yet.
* Fallback tested and working great.
* Removed a test case that won't pass and added some trims
* Update README.md
Added build steps
* Update README.md (#130)
Added docker link
* Special Grouping (#134)
* More cases for parsing regex
* Implemented a change to fix old special grouping. Added some TODOs as well for a future enhancement
* Don't go to archive file if it hasn't updated since last scan (#135)
* Skip archive work unless the file has actually changed since last scan.
* In Progress Activity Stream Fixes (#136)
* Fixed a bug in In-Progress where it wasn't properly fetching series.
* Fixed a bug where chapter cover images weren't being updated due to a missed not.
* Removed a piece of code that was needed for upgrading, since all beta users agreed to wipe db.
* Fixed InProgress to properly respect order and show more recent activity first. Issue is with IEntityDate LastModified not updating in DataContext.
* Updated dependencies to lastest stable.
* LastModified on Volumes wasn't updating, validated it does update when data is changed.
* In Progress Query Update (#145)
* Fixed a bug where chapter cover images weren't being updated due to a missed not.
* Removed a piece of code that was needed for upgrading, since all beta users agreed to wipe db.
* Fixed InProgress to properly respect order and show more recent activity first. Issue is with IEntityDate LastModified not updating in DataContext.
* Updated dependencies to lastest stable.
* LastModified on Volumes wasn't updating, validated it does update when data is changed.
* Performance, Scan Loop, Specials, and cleanup (#150)
* More cases for parsing regex
* Fixed a bug where chapter cover images weren't being updated due to a missed not.
* Removed a piece of code that was needed for upgrading, since all beta users agreed to wipe db.
* Fixed InProgress to properly respect order and show more recent activity first. Issue is with IEntityDate LastModified not updating in DataContext.
* Updated dependencies to lastest stable.
* LastModified on Volumes wasn't updating, validated it does update when data is changed.
* Rewrote a check to avoid a small heap object warning.
* Ensure UpdateSeries checks all libraries for unique name.
* Took care of some todos, removed unused imports, on dev go ahead and schedule reoocuring jobs since LiteDB caused the locking issue.
* No Tracking when we aren't using entities.
* Added code to remove abandoned progress rows after a chapter gets deleted.
* RefreshMetadata uses one large query rather than many trips to DB for updating metadata. Significantly faster.
* Fixed a bug where UpdateSeries would always complain about a unique name even when we weren't updating name.
* Files that are linked to a series but can't parse out Vol/Chapter information are properly grouped like other Specials.
* Refresh metadata on UI should call the task directly
* Fixed a bug on updating series to make sure we don't complain if we aren't trying to update the name to an existing name.
* Fixed#142 - Library cards should be sorted.
* Refactored the name of some variables to be more agnostic to comics.
* Implemented ScanLibrary but abandoning it.
* Code Cleanup & removing ScanSeries code.
* Some more tests and new Comparators for natural sorting.
* Fixed#137 - When performing I/O on archives, ignore __MACOSX folders completely.
* Fixed#137 - When performing I/O on archives, ignore __MACOSX folders completely.
* All entities that will show under specials tab should be marked special, rather than just what has a special keyword.
* Don't let specials generate cover images
* Don't let specials generate cover images
* SearchResults should send LocalizedName back since we are searching against it.
* Added some tests around macosx folders found from my actual server.
* Put extra notes about a case where duplicates come about, logger will now tell user about this issue.
* Missed a build issue somehow...
* Some code smells
* Bugfixes! (#157)
* More cases for parsing regex
* Fixed a bug where chapter cover images weren't being updated due to a missed not.
* Removed a piece of code that was needed for upgrading, since all beta users agreed to wipe db.
* Fixed InProgress to properly respect order and show more recent activity first. Issue is with IEntityDate LastModified not updating in DataContext.
* Updated dependencies to lastest stable.
* LastModified on Volumes wasn't updating, validated it does update when data is changed.
* Fixed#152 - Sorting issue when finding cover image.
* Fixed#151 - Sort files during scan.
* Fixed#161 - Remove files that don't exist from chapters during scan.
* Fixed#155 - Ignore images that start with !, expand cover detection by checking for the word cover as well as folder, and some code cleanup to make code more concise.
* Fixed#153 - Ensure that we persist series name changes and don't override on scanning.
* Fixed a broken unit test
* Version bump
* I keep fixing this but it keeps reverting (#158)
* Fixed#165 - Login and Registration will allow case-insensitive usernames now. (#169)
* Cover Image - First and tests (#170)
* Changed how natural sort works to cover more cases
* Changed the name of CoverImage regex for Parser and added more cases.
* Changed how we get result from Task.Run()
* Defer execution of a loop till we really need it and added another TODO for later this iteration.
* Big refactor to cover image code to unify between IOCompression and SharpCompress. Both use methods to find the correct file. This results in one extra loop through entries, but simplifies code signficantly.
In addition, new unit tests for the methods that actually do the logic on choosing cover file and first file.
* Removed dead code
* Added missing doc
* Feature/unit tests (#171)
* Removed a duplicate loop that was already done earlier in method.
* Normalize now replaces underscores
* Added more Parser cases, Added test case for SeriesExtension (Name in List), and added MergeNameTest and some TODOs for where tests should go
* Added a test for removal
* Fixed bad merge
Co-authored-by: Andrew Song <asong641@gmail.com>
* Feature/bugfix and regex (#174)
* Fixed#172
* Fixes#164
* Added a parse test for [Hidoi]_Amaenaideyo_MS_vol01_chp02.rar
* Fix annoying warning about SplitQuery on GetLibraryDtosForUsernameAsync
* Scan Bugfixes (#177)
* Added way more logging for debugging issue #163.
Fixed#175
* Removed some comment that isn't needed
* Fixed a enumeration issue due to removing while enumerating
* EPUB Support (#178)
* Added book filetype detection and reorganized tests due to size of file
* Added ability to get basic Parse Info from Book and Pages.
* We can now scan books and get them in a library with cover images.
* Take the first image in the epub if the cover isn't set.
* Implemented the ability to unzip the ebup to cache. Implemented a test api to load html files.
* Just some test code to figure out how to approach this.
* Fixed some merge conflicts
* Removed some dead code from merge
* Snapshot: I can now load everything properly into the UI by rewriting the urls before I send them back. I don't notice any lag from this method. It can be optimized further.
* Implemented a way to load the content in the browser not via an iframe.
* Added a note
* Anchor mappings is complete. New anchors are updated so references now resolve to javascript:void() for UI to take care of internally loading and the appropriate page is mapped to it. Anchors that are external have target="_blank" added so they don't force you out of the app and styles are of course inlined.
* Oops i need this
* Table of contents api implemented (rough) and some small enhancements to codebase for books.
* GetBookPageResources now only loads files from within the book. Nested chapter list support and images now use html parsing instead of string parsing.
* Fonts now are remapped to load from endpoint.
* book-resources now uses a key, ensuring the file is in proper format for lookup. Changed chapter list based on structure with one HEADER and nested chapters.
* Properly handle svg resource requests and when there are part anchors that are clickable, make sure we handle them in the UI by adding a kavita-page handler.
* Add Chapter group page even if one isn't set by using first page (without part) from nestedChildren.
* Added extra debug code for issue #163.
* Added new user preferences for books and updated the css so we scope it to our reading section.
* Cleaned up style code
* Implemented ability to save book preferences and some cleanup on existing apis.
* Added an api for checking if a user has read something in a library type before.
* Forgot to make sure the has reading progress is against a user lol.
* Remove cacheservice code for books, sine we use an in-memory method
* Handle svg images as well
* Enhanced cover image extraction to check for a "cover" image if the cover image wasn't set in OPF before falling back to the first image.
* Fixed an issue with special books not properly generating metadata due to not having filename set.
* Cleanup, removed warmup task code from statup/program and changed taskscheduler to schedule tasks on startup only (or if tasks are changed from UI).
* Code cleanup
* Code cleanup
* So much code. Lots of refactors to try to test scanner service. Moved a lot of the queries into Extensions to allow to easier test, even though it's hacky. Support @font-face src:url swaps with ' and ". Source summary information from epubs.
* Well...baseURL needs to come from BE and not from UI lol.
* Adjusted migrations so default values match Entity
* Removed comment
* I think I finally fixed#163! The issue was that when i checked if it had a parserInfo, i wasn't considering that the chapter range might have a - in it (0-6) and so when the code to check if range could parse out a number failed, it treated it like a special and checked range against info's filename.
* Some bugfixes
* Lots of testing, extracting code to make it easier to test. This code is buggy, but fixed a bug where 1) If we changed the normalization code, we would remove the whole db during a scan and 2) We weren't actually removing series properly.
Other than that, code is being extracted to remove duplication and centralize logic.
* More code cleanup and test cleanup to ensure scan loop is working as expected and matches expectaions from tests.
* Cleaned up the code and made it so if I change normalization, which I do in this branch, it wont break existing DBs.
* Some comic parser changes for partial chapter support.
* Added some code for directory service and scanner service along with python code to generate test files (not used yet). Fixed up all the tests.
* Code smells
* Book Feedback and small bugs (#183)
* Remove automatic retry for scanLibraries as if something fails, it wont pass magically. Catch exceptions when opening books for parsing and swallow to ignore the file.
* Delete extra attempts
* Switched to using FirstOrDefault for finding existing series. This will help avoid pointless crashes.
* Updated message when duplicate series are found (not sure how this happens)
* Fixed a negation for deleting volumes where files still exist.
* Implemented the ability to automatically scale the manga reader based on screen size.
* Feature/feedback (#185)
* Remove automatic retry for scanLibraries as if something fails, it wont pass magically. Catch exceptions when opening books for parsing and swallow to ignore the file.
* Delete extra attempts
* Switched to using FirstOrDefault for finding existing series. This will help avoid pointless crashes.
* Updated message when duplicate series are found (not sure how this happens)
* Fixed a negation for deleting volumes where files still exist.
* Implemented the ability to automatically scale the manga reader based on screen size.
* Default to automatic scaling
* Fix an issue where malformed epubs wouldn't be readable due to incorrect keys in the OPF. We now check if key is valid and if not, try to correct it. This makes a page load about a second on malformed books.
* Fixed#176. Refactored the recently added query to be restricted to user's access to libraries.
* Fixed a one off bug with In Progress series
* Implemented the ability to refresh metadata of just a single series directly
* Book Feedback (#190)
* Remove automatic retry for scanLibraries as if something fails, it wont pass magically. Catch exceptions when opening books for parsing and swallow to ignore the file.
* Delete extra attempts
* Switched to using FirstOrDefault for finding existing series. This will help avoid pointless crashes.
* Updated message when duplicate series are found (not sure how this happens)
* Fixed a negation for deleting volumes where files still exist.
* Implemented the ability to automatically scale the manga reader based on screen size.
* Default to automatic scaling
* Fix an issue where malformed epubs wouldn't be readable due to incorrect keys in the OPF. We now check if key is valid and if not, try to correct it. This makes a page load about a second on malformed books.
* Fixed#176. Refactored the recently added query to be restricted to user's access to libraries.
* Fixed a one off bug with In Progress series
* Implemented the ability to refresh metadata of just a single series directly
* Fixed a parser case where Series c000 (v01) would fail to parse the series
* Fixed#189. In Progress now returns data properly for library access and in multiple libraries.
* Fixed#188 by adding an extra message for bad login and updating UI
* Generate a fallback for table of contents by parsing the toc file (if we can find one)
* Bugfixes/misc (#196)
* Removed an error log statment which wasn't valid. Was showing error when a comicinfo.xml was not found in a directory.
* Fixed#191. Don't overwrite summary information if we already have something set from UI.
* Fixes#192
* Fixed#194 by moving the Take to after the query runs, so we take only distinct series.
* Added another case for Regex parsing for VanDread-v01-c01.zip
* Tap to Paginate User Pref (#197)
* Fixed In Progress and removed comments
* Tap to Paginate user setting is implemented. Fixes#193
* Implemented the ability to move between volumes (reading) automatically without existing the app. (#198)
* Feature/tech debt (#199)
* Added an icon for building the exe
* Technical debt
* Updated Readme for recruitment
* Regex addition (#200)
Co-authored-by: Andrew Song <asong641@gmail.com>