1656 Commits

Author SHA1 Message Date
Joe Milazzo
b55d9e3994
CBL Import Rework (#1862)
* Fixed a typo in a log

* Invalid XML files now "validate" correctly by sending back a failure.

* Cleaned up messaging on backend and frontend to provide some linking on series name when collision, handle corrupt xml files, etc.

* When reading list conflict occurs, show the reading list name that's conflicting. Started refactoring the code to allow multiple files to be imported at once.

* Started adding new CBL elements for some enhancements I have planned with maintainers.

* Default to empty string for IpAddress to allow to fallback into existing experience

* Tweaked the layout of reading list page (not complete), moved some not used much controls to page extras and reordered the buttons for reading list

* Edit Reading Lists now allows selection of cover image from existing items

* Fixed a bug where cover chooser base64 to image would fail to write webp files.

* Refactored the validate step to now handle multiple files in one go.

* Clean up code

* Don't show CBL name if there were xml errors that prevented showing it

* Don't allow user to go prev step after they perform the import.

* Cleaned up the heading code for accordions

* Fixed a bug with import keeping failed items

* Sort the failures to the bottom of result windows

* CBL import is pretty solid. Need one pass from Robbie on Reading List Page
2023-03-07 13:18:26 -08:00
therobbiedavis
c846b36047 Bump versions by dotnet-bump-version. 2023-03-07 03:46:17 +00:00
Robbie Davis
a491de0a04
Default to empty string for IpAddress to allow to fallback into existing experience (#1859)
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2023-03-06 21:25:45 -05:00
majora2007
f85e131af9 Bump versions by dotnet-bump-version. 2023-03-06 21:18:12 +00:00
Robbie Davis
6d9869567e
Fix for docker bind (#1857)
#Added:
- Added: null IpAddresses to appsettings
2023-03-06 13:03:59 -08:00
majora2007
646b3835d4 Bump versions by dotnet-bump-version. 2023-03-06 20:48:36 +00:00
Joe Milazzo
15cb672b30
Bumped css budget (#1856) 2023-03-06 12:34:31 -08:00
majora2007
cac8d915cf Bump versions by dotnet-bump-version. 2023-03-06 20:18:02 +00:00
CKolle
3484211132
Added vertical reading mode to the book reader (#1787)
* Add vertical reading mode support and update API for reading mode preference

* Removed dead code, added a fix for scroll end margins in chrome when in vertical mode(book reader). Added back some comments

* Added Description()] annotation for the ReadingMode enum, like other enums, and added summary documentation

* Added the ability to scroll in vertical writing style without holding down shift. Also renamed the book reader's readingMode to writing style.

* Renamed the BookReadingMode to BookWritingStyle. And changed the migrations accordingly.

* Fixed some minor bugs, regarding scrolling and vertical writing style when the book settings is open.

* Fixed a minor bug where the graphics regarding the current page would require the mouse to be moved before it got updated when switching between writing styles.

* Fixed some bugs regarding furigana getting a bit cropped same for images

* Add vertical reading mode support and update API for reading mode preference

* Removed dead code, added a fix for scroll end margins in chrome when in vertical mode(book reader). Added back some comments

* Added Description()] annotation for the ReadingMode enum, like other enums, and added summary documentation

* Added the ability to scroll in vertical writing style without holding down shift. Also renamed the book reader's readingMode to writing style.

* Renamed the BookReadingMode to BookWritingStyle. And changed the migrations accordingly.

* Fixed some minor bugs, regarding scrolling and vertical writing style when the book settings is open.

* Fixed a minor bug where the graphics regarding the current page would require the mouse to be moved before it got updated when switching between writing styles.

* Fixed some bugs regarding furigana getting a bit cropped same for images

* Added reset support for writing style, after rebase.

* Changes pagination for vertical scrolling such as the user will need to scroll to end before being able to paginate. Previously it felt unnatural and the user could accidentally paginate while scrolling on mobile.

* Pagination would not stick to the left if the content was smaller than the reader in vertical writing style.

* Fixed summary text

* Added missing line, fixes build error

* Addresses the comments given in code-review.

* Moved columnGap outside the class, and changed it to a const
2023-03-06 12:02:29 -08:00
therobbiedavis
5fb942bfe1 Bump versions by dotnet-bump-version. 2023-03-06 19:49:38 +00:00
Robbie Davis
56243758d4
fix (#1855) 2023-03-06 14:36:17 -05:00
Robbie Davis
87a29bc111
Docker bind fix (#1854)
* Fixing docker bind issue

# Fixed:
- Fixed an issue for docker users conflicting with a previous feature inclusion for multiple IP addresses

* build error fix

* re-raise
2023-03-06 11:07:13 -08:00
Robbie Davis
9e8f1cd04c
Docker bind fix (#1853)
* Fixing docker bind issue

# Fixed:
- Fixed an issue for docker users conflicting with a previous feature inclusion for multiple IP addresses

* build error fix
2023-03-06 10:42:37 -08:00
Robbie Davis
4c837170d7
Fixing docker bind issue (#1852)
# Fixed:
- Fixed an issue for docker users conflicting with a previous feature inclusion for multiple IP addresses
2023-03-06 10:33:55 -08:00
majora2007
c07f174baf Bump versions by dotnet-bump-version. 2023-03-06 15:02:18 +00:00
Joe Milazzo
94830300f2
Fixed docker instances not being able to start due to misconfigured default for IpAddress binding (#1851) 2023-03-06 06:43:53 -08:00
majora2007
84fe4b849b Bump versions by dotnet-bump-version. 2023-03-05 22:12:12 +00:00
Joe Milazzo
45e69b087e
Added noindex to prevent SEO from indexing user's sites. Reverted http3 support as docker users were having port issue (#1850) 2023-03-05 14:00:21 -08:00
majora2007
40d68ea6c5 Bump versions by dotnet-bump-version. 2023-03-05 21:08:20 +00:00
Joe Milazzo
5d1dd7b3f0
.NET 7 + Spring Cleaning (#1677)
* 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.
2023-03-05 12:55:13 -08:00
majora2007
76fe3fd64a Bump versions by dotnet-bump-version. 2023-03-03 23:03:23 +00:00
Joe Milazzo
d88a4d5d0c
CBL Import (#1834)
* Wrote my own step tracker and added a prev button. Works up to first conflict flow.

* Everything but final import is hooked up in the UI. Polish still needed, but getting there.

* Making more progress in the CBL import flow.

* Ready for the last step

* Cleaned up some logic to prepare for the last step and reset

* Users like order to be starting at 1

* Fixed a few bugs around cbl import

* CBL import is ready for some basic testing

* Added a reading list hook on side nav

* Fixed up unit tests

* Added icons and color to the import flow

* Tweaked some phrasing

* Hooked up a loading variable but disabled the component as it didn't look good.

* Styling it up

* changed an icon to better fit

---------

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2023-03-03 14:51:11 -08:00
majora2007
57de661d71 Bump versions by dotnet-bump-version. 2023-02-24 00:44:31 +00:00
Joe Milazzo
ed34a7150a
Revert ability to run docker as non-root due to issues with Synology. (#1832) 2023-02-23 16:32:45 -08:00
majora2007
fd8d6e9a97 Bump versions by dotnet-bump-version. 2023-02-21 21:44:27 +00:00
Joe Milazzo
9103228ccc
Epub 3.2 Grouping issue (#1823)
* Added font swapping and removed some unneeded css

* Fixed a bug where epub 3 tags weren't being applied for grouping
2023-02-21 13:32:29 -08:00
majora2007
9b80eba53e Bump versions by dotnet-bump-version. 2023-02-21 00:01:14 +00:00
Joe Milazzo
df68c50256
Random Changes and Enhancements (#1819)
* When skipping over folders in a scan, inform the ui

* Try out new backout condition for library watcher.

* Tweaked the code for folder watching to be more intense on killing if stuck in inotify loop.

* Streamlined my implementation of enhanced LibraryWatcher

* Added new extension method to make complex where statements cleaner.

* Added an implementation to flatten series and not show them if they have relationships defined. Only the parent would show. Currently disabled until i figure out how to apply it.

* Added the ability to collapse series that are not the primary entry point to reading. Configurable in library settings, only applies when all libraries in a filter have the property to true.

* Exclude from parsing .@_thumb directories, a QNAP system folder.

Show number of items a JumpKey has

* Refactored some time reading to display in days, months, years or minutes.
2023-02-20 15:48:04 -08:00
Robbie Davis
8a62d54c0b Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2023-02-20 16:55:20 -05:00
majora2007
2b181e2b3d Bump versions by dotnet-bump-version. v0.7.1 2023-02-19 21:23:57 +00:00
Joe Milazzo
3de55ce97e
Version bump (#1814) 2023-02-19 13:10:28 -08:00
majora2007
81d37ea01d Bump versions by dotnet-bump-version. 2023-02-19 20:26:24 +00:00
Joe Milazzo
8aee5b3e08
Fixed manage collections not being toggleable (#1813) 2023-02-19 12:12:12 -08:00
majora2007
0f042a23eb Bump versions by dotnet-bump-version. 2023-02-19 17:16:33 +00:00
Joe Milazzo
8df134e7c3
v0.7 Issues for Hotfix (#1812)
* Fix signalr admin messages sending (#1809)

* Changed messsage hub to use userIds

* SignalR events are fixed

* Fixed broken advanced tab on library settings

* Fixed regex timeout security issues.

* Added a migration for GMT+1 users where their UTC dates were getting broken somehow.

* Removed a console.log

* Fixed a migration name

---------

Co-authored-by: Snd-R <76580768+Snd-R@users.noreply.github.com>
2023-02-19 09:01:06 -08:00
Robbie Davis
1ce4f2b3ab Revert "Aligned build with main (#1801)"
This reverts commit 3f6eb5fe17934cc5aa3b227b165e184bf47ade14.
2023-02-18 12:29:01 -05:00
majora2007
dcf295c448 Bump versions by dotnet-bump-version. 2023-02-18 16:56:41 +00:00
Joe Milazzo
3f6eb5fe17
Aligned build with main (#1801) 2023-02-18 08:46:14 -08:00
majora2007
20e809bf38 Bump versions by dotnet-bump-version. 2023-02-18 14:54:40 +00:00
Joe Milazzo
1d45206593
v0.7 Release (#1797) v0.7 2023-02-18 06:42:30 -08:00
majora2007
82750777cb Bump versions by dotnet-bump-version. 2023-02-18 14:02:08 +00:00
Joe Milazzo
e22d1bb348
Final Release Testing (#1796)
* Fix some wording

* Fixed up stats to have total info on hover

* Fixed up a stat card not having clickable hint
2023-02-18 05:49:15 -08:00
majora2007
21d773d4b8 Bump versions by dotnet-bump-version. 2023-02-18 02:08:59 +00:00
Joe Milazzo
30af73c4f2
Small Build Fix (#1795)
* Stop showing loading indicator when no next/prev chapter

* Fixed a bug where manage collections wasn't named correctly in UI.

* Slight tweaks on email flow

* Fixed a bug where we were grabbing wrong property for book layout mode

* Fixed an issue where pagination area wasn't properly spanning window on different scaling modes.

* Fixed a bug where right pagination area wasn't sticking to the right hand side on original scaling

* Added a note from reading an epub3

* Reworked some of the readme

* Changed the build to ci
2023-02-17 17:56:52 -08:00
majora2007
4d30fa1925 Bump versions by dotnet-bump-version. 2023-02-18 00:06:12 +00:00
Joe Milazzo
c117d8dc04
Release Testing Part 2 (#1794)
* Stop showing loading indicator when no next/prev chapter

* Fixed a bug where manage collections wasn't named correctly in UI.

* Slight tweaks on email flow

* Fixed a bug where we were grabbing wrong property for book layout mode

* Fixed an issue where pagination area wasn't properly spanning window on different scaling modes.

* Fixed a bug where right pagination area wasn't sticking to the right hand side on original scaling

* Added a note from reading an epub3

* Reworked some of the readme
2023-02-17 15:48:46 -08:00
majora2007
2c4b94cfc3 Bump versions by dotnet-bump-version. 2023-02-16 12:52:29 +00:00
Joe Milazzo
00f153d8ea
Release Testing Bugs (#1790)
* Stop showing loading indicator when no next/prev chapter

* Fixed a bug where manage collections wasn't named correctly in UI.

* Slight tweaks on email flow
2023-02-16 04:39:40 -08:00
majora2007
e50f5ece1e Bump versions by dotnet-bump-version. 2023-02-12 21:27:24 +00:00
Joe Milazzo
bdd2a0a26a
Release Testing Time (#1785)
* 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
2023-02-12 13:14:13 -08:00