2706 Commits

Author SHA1 Message Date
Joe Milazzo
061be58496
Few More Fixes (#2032)
* Fixed spreads stretching on PC

* Fixed a bug where reading list dates couldn't be cleared out.

* Reading list page refreshes after updating info in the modal

* Fixed an issue where create library wouldn't take into account advanced settings.

* Fixed an issue where selection of the first chapter of a series to pull series-level metadata could fail in cases where you had Volume 2 and Chapter 1, Volume 2 would be selected.
2023-06-05 08:29:28 -07:00
majora2007
cb3c021573 Bump versions by dotnet-bump-version. 2023-06-02 17:39:22 +00:00
Joe Milazzo
3a7e3bea8c
Added NoContent responses when APIs don't find entities (#2028) 2023-06-02 10:25:21 -07:00
majora2007
2e5e114970 Bump versions by dotnet-bump-version. 2023-06-02 13:21:41 +00:00
Joe Milazzo
68c2577e15
Last fixes before release (#2027)
* Disable login button when a login is in-progress. This will help prevent spamming when internet is slow.

* Fixed a bug where an empty space could cause an error when creating a library.

* Apply Split Options throughout the codebase to add extra safe-guard on empty spaces and ensure trimming.
2023-06-02 06:09:22 -07:00
majora2007
a28cd31ed8 Bump versions by dotnet-bump-version. 2023-06-02 11:18:50 +00:00
Jolyon Suthers
7f64349ba9
Fix StoryArc & StoryArcNumber mismatch (#2018)
* Ensure StoryArc and StoryArcNumber are max length

* Trim StoryArc to remove excess spaces.

* Replaced with cleaner approach.

* Update with majora2007 recommendations
2023-06-02 04:07:13 -07:00
majora2007
b4ff867b49 Bump versions by dotnet-bump-version. 2023-05-30 21:20:27 +00:00
Joe Milazzo
de8052d752
Fixed up jumpbar not properly disabling/enabling (#2022) 2023-05-30 12:32:48 -07:00
majora2007
23a896b1b0 Bump versions by dotnet-bump-version. 2023-05-29 15:19:13 +00:00
Joe Milazzo
9be4c9f84c
Removed old migrations for Kavita startup. Only migrations from v0.7.2 onwards are present. (#2019) 2023-05-29 08:04:06 -07:00
majora2007
f22ee06b6c Bump versions by dotnet-bump-version. 2023-05-28 14:21:26 +00:00
Joe Milazzo
5a95911483
Last Release before Release Testing (#2017)
* Attempting to invalidate JWT on login (when locked out), but can't figure a way to get a JWT, since we don't store them.

Just committing as I'm going to remove the middleware, this is not worth the performance and complexity.

* Removed some security stuff that didn't line up.

* Dropping Token Expiration down to 2 days to test during release testing.
2023-05-28 07:07:05 -07:00
majora2007
3eeb131985 Bump versions by dotnet-bump-version. 2023-05-27 17:05:11 +00:00
Joe Milazzo
d52588ede2
Fixed count for cards (#2016) 2023-05-27 09:50:42 -07:00
majora2007
46573ff772 Bump versions by dotnet-bump-version. 2023-05-26 18:50:46 +00:00
Joe Milazzo
a2f4bc712c
Misc Changes (#2015)
* Updated ng-bootstrap

* Fixed an issue where jumpbar would be disabled when it shouldn't have been.

* When there are duplicate files that make up a volume, show the count on series detail.

* Added basic ISBN searching which will return a chapter back.
2023-05-26 11:34:23 -07:00
majora2007
c57244abd1 Bump versions by dotnet-bump-version. 2023-05-25 13:44:45 +00:00
Joe Milazzo
4b3bc11589
Strip more forms of comments from CSS before parsing/inlining. (#2014)
Handle if ExCSS throws an exception during inlining and attempt to fallback to scoping css instead of inlining.

I still cannot update past ExCSS v4.1.0 else NPEs for common css will be thrown.
2023-05-25 06:29:42 -07:00
majora2007
016cd7448f Bump versions by dotnet-bump-version. 2023-05-25 12:19:54 +00:00
pssandhu
17c66d0fca
Ensure chapters are sorted when getting continue point (#2011)
Fixes new behaviour in #1625
2023-05-25 05:01:39 -07:00
majora2007
64f7491781 Bump versions by dotnet-bump-version. 2023-05-22 14:44:05 +00:00
Joe Milazzo
7fcec4a112
Continue Reading Bugfix (#2010)
* Fixed an edge case where continue point wasn't considering any chapters that had progress.

Continue point is now slightly faster and uses less memory.

* Added a unit test for a user's case. Still not reproducible
2023-05-22 07:25:56 -07:00
majora2007
84d45a15d0 Bump versions by dotnet-bump-version. 2023-05-22 12:55:42 +00:00
Joe Milazzo
f8fc595c92
Try a different build (#2009) 2023-05-22 05:41:33 -07:00
majora2007
7e12505e3c Bump versions by dotnet-bump-version. 2023-05-21 22:44:07 +00:00
Joe Milazzo
1937ac1e91
Pipeline adjustment for Angular 16 (#2008) 2023-05-21 15:30:30 -07:00
majora2007
d6fb436649 Bump versions by dotnet-bump-version. 2023-05-21 17:46:12 +00:00
Joe Milazzo
9c06cccd35
Angular 16 (#2007)
* Removed adv, which isn't needed.

* Updated zone

* Updated to angular 16

* Updated to angular 16 (partially)

* Updated to angular 16

* Package update for Angular 16 (and other dependencies) is complete.

* Replaced all takeUntil(this.onDestroy) with new takeUntilDestroyed()

* Updated all inputs that have ! to be required and deleted all unit tests.

* Corrected how takeUntilDestroyed() is supposed to be implemented.
2023-05-21 10:30:32 -07:00
majora2007
9bc8361381 Bump versions by dotnet-bump-version. 2023-05-20 14:35:29 +00:00
Joe Milazzo
3c887f5377
More Polish (#2005)
* Implemented sort title extraction from epub 3 files.

* Added link to wiki for media errors

* Fixed the hack to reduce JWT refresh token expiration

* Fixed up a case where favicon downloading wasn't correcting links that started with // correctly.

Added a fallback for sites that just don't pngs available.

* Implemented a mechanism to fallback to Kavita's website for favicons which can be dynamically added/updated by the community.

* Reworked the logic for bookwalker which will fail to get the base html, so we have to rely on the fallback handler.
2023-05-20 07:21:27 -07:00
majora2007
e34fcc10cf Bump versions by dotnet-bump-version. 2023-05-19 16:47:18 +00:00
Joe Milazzo
64666540cf
More Bugfixes (EPUB Mainly) (#2004)
* Fixed an issue with downloading where spaces turned into plus signs.

* If the refresh token is invalid, but the auth token still has life in it, don't invalidate.

* Fixed docker users unable to save settings

* Show a default error icon until favicon loads

* Fixed a bug in mappings (keys/files) to pages that caused some links not to map appropriately. Updated epub-reader to v3.3.2.

* Expanded Table of Content generation by also checking for any files that are named Navigation.xhtml to have Kavita generate a simple ToC from (instead of just TOC.xhtml)

* Added another hack to massage key to page lookups when rewriting anchors.

* Cleaned up debugging notes
2023-05-19 11:32:24 -05:00
majora2007
5f607b3dab Bump versions by dotnet-bump-version. 2023-05-16 02:04:15 +00:00
Joe Milazzo
1b06d98319
Migrated up to VersOne 3.3 with epub 3.3 support. (#1999)
This enables collection and reading list support from epubs.
2023-05-15 20:48:23 -05:00
majora2007
466a0c8028 Bump versions by dotnet-bump-version. 2023-05-15 23:11:33 +00:00
Joe Milazzo
be5b5d9251
Changed IsDocker check (#1998)
* Refactored IsDocker to be completely static and changed to use an environment variable instead.

* Removed file from another branch
2023-05-15 15:57:57 -07:00
majora2007
57a6c769bc Bump versions by dotnet-bump-version. 2023-05-15 18:31:28 +00:00
Joe Milazzo
90c44f6d65
Fixed a bug with config (#1996) 2023-05-15 11:12:36 -07:00
majora2007
161120e39a Bump versions by dotnet-bump-version. 2023-05-15 18:09:23 +00:00
Joe Milazzo
2ce4ddcaa4
More Fixes from Recent PRs (#1995)
* Added extra debugging for logout issue

* Fixed the null issue with ISBN

* Allow web links to be cleared out

* More logging on refresh token

* More key fallback when building Table of Contents

* Added better fallback implementation for building table of contents based on the many different ways epubs are packed and referenced.

* Updated dependencies

* Fixed up refresh token refresh which was invalidating sessions for no reason. Added it to update last active time as well.
2023-05-15 10:53:43 -07:00
majora2007
95df0a0825 Bump versions by dotnet-bump-version. 2023-05-14 23:30:11 +00:00
Joe Milazzo
25703d6fe0
More Fixes (#1993)
* Strip just isbn: from epub isbns and log when it's back (books)

* Tweaked to allow invalid GTINs but only valid ISBN 10/13s will be saved to Kavita.

* Fixed a bug with parsing series from a filename that is just a chapter range and no chapter/volume keywords.

* Show the media issue count before you open accordion

* Added a inpage filter for Media issues

* Cleanup styles

* Fixed up some code in epub isbn parsing when it's null

* Encode filenames when downloading so that non english characters can be passed properly to UI.

* Added support to parse ComicInfo's with Empty Tags.

* Reset development settings.

* Tweaked the code in generating reading lists to avoid extra work when not needed.

* Fix comicvine's favicon

* Fixed up a unit test

* Tweaked the favicon code to ignore icons that have query parameters

* More favicon work. Expanded ability to grab icons a bit. Added in ability to not keep requesting favicons when we failed to parse already.

* Added a note for later

* Fixed stats server url

* Added more debugging

* Fixed unit tests
2023-05-14 16:14:27 -07:00
majora2007
cd8fca993b Bump versions by dotnet-bump-version. 2023-05-12 20:44:47 +00:00
Joe Milazzo
70690b747e
AVIF Support & Much More! (#1992)
* Expand the list of potential favicon icons to grab.

* Added a url mapping functionality to use alternative urls for fetching icons

* Initial commit to streamline media encoding. No DB migration yet, No UI changes, no Task changes.

* Started refactoring code so that webp queries use encoding format instead.

* More refactoring to remove hardcoded webp references.

* Moved manual migrations to their own folder to keep things organized. Manually drop the obsolete webp keys.

* Removed old apis for converting media and now have one. Reworked where the conversion code was located and streamlined events and whatnot.

* Make favicon encode setting aware

* Cleaned up favicon conversion

* Updated format counter to now just use Extension from MangaFile now that it's been out a while.

* Tweaked jumpbar code to reduce a lookup to hashmap.

* Added AVIF (8-bit only) support.

* In UpdatePeopleList, use FirstOrDefault as Single adds extra checks that may not be needed.

* You can now remove weblinks from edit series page and you can leave empty cells, they will just be removed on backend.

* Forgot a file

* Don't prompt to write a review, just show the pencil. It's the same amount of clicks if you do, less if you dont.

* Fixed Refresh token using wrong Claim to look up the user.

* Refactored how we refresh authentication to perform it every 10 m ins to ensure we always stay authenticated.

* Changed Version update code to run more throughout the day. Updated some hangfire to newer method signatures.
2023-05-12 13:31:23 -07:00
majora2007
c1989e2819 Bump versions by dotnet-bump-version. 2023-05-12 01:31:16 +00:00
Joe Milazzo
6be9ee39f4
ISBN Support (#1985)
* Fixed a bug where weblinks would always show

* Started to try and support ico -> png conversion by manually grabbing image data out, but it's hard as hell.

* Implemented ability to parse out ISBN codes for books and ISBN-13 codes for ComicInfo. I can't figure out ISBN-10.

* Fixed Favicon not working on anything but windows

* Implemented ISBN support into Kavita

* Don't round so much when transforming bytes
2023-05-11 18:13:58 -07:00
majora2007
a293500f42 Bump versions by dotnet-bump-version. 2023-05-11 23:33:35 +00:00
Chris Plaatjes
e64a0684f4
Updated Docker entrypoint (#1984) 2023-05-11 16:19:20 -07:00
majora2007
470d3a5587 Bump versions by dotnet-bump-version. 2023-05-11 21:42:14 +00:00