835 Commits

Author SHA1 Message Date
majora2007
91749c0b69 Bump versions by dotnet-bump-version. 2021-12-02 18:13:35 +00:00
Joseph Milazzo
99c162a815
Update sonar-scan.yml
Please work
2021-12-02 12:09:35 -06:00
Joseph Milazzo
c2eaa44574
Update sonar-scan.yml
More updates to 6.0
2021-12-02 11:57:15 -06:00
majora2007
0df2d8cee6 Bump versions by dotnet-bump-version. 2021-12-02 17:43:49 +00:00
Joseph Milazzo
bfc65a37b9
Update monorepo-build.sh
Updated build to use .net6.0
2021-12-02 11:38:19 -06:00
majora2007
80d64a99be Bump versions by dotnet-bump-version. 2021-12-02 17:29:52 +00:00
Joseph Milazzo
4585e1ae3c
Don't rely on test (#819) 2021-12-02 09:21:48 -08:00
Joseph Milazzo
e7619e6b0a
Local Metadata Integration Part 1 (#817)
* 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.
2021-12-02 09:02:34 -08:00
Joseph Milazzo
10a6a3a544
Update GA .net version (#818) 2021-12-02 07:56:48 -08:00
majora2007
9174076061 Bump versions by dotnet-bump-version. 2021-11-29 20:36:45 +00:00
Joseph Milazzo
e248cf7579
UI Updates + New Events (#806)
* Implemented ability to see downloads users are performing on the events widget.

* Fixed a bug where version update task was calling wrong code

* Fixed a bug where when checking for updates, the event wouldn't be pushed to server with correct name.

Added update check to the event widget rather than opening a modal on the user.

* Relaxed password requirements to only be 6-32 characters and inform user on register form about the requirements

* Removed a ton of duplicate logic for series cards where the logic was already defined in action service

* Fixed OPDS total items giving a rounded number rather than total items.

* Fixed off by one issue on OPDS pagination
2021-11-29 12:19:36 -08:00
majora2007
69bd087697 Bump versions by dotnet-bump-version. 2021-11-28 14:33:31 +00:00
Joseph Milazzo
befbe92cb1
Color Theme applies to scrollbars (#793)
* Moved more scss to use syntax to reduce css size

* Hooked in color-scheme to help brower render scroll bars appropriately depending on color scheme user selects
2021-11-28 06:24:12 -08:00
majora2007
7f6fc8c692 Bump versions by dotnet-bump-version. 2021-11-27 15:44:15 +00:00
Joseph Milazzo
34d34ef233
Version bump (#789) v0.4.9 2021-11-27 07:34:52 -08:00
majora2007
16a6cf7d5d Bump versions by dotnet-bump-version. 2021-11-26 21:27:48 +00:00
Joseph Milazzo
6f6957ac10
Feature/stat again (#788)
* Have StatService use non-HTTPS validated url due to issues with cert.

* Fixed a bug where book reader menu didn't have consistent background color
2021-11-26 13:18:57 -08:00
majora2007
1044b8b006 Bump versions by dotnet-bump-version. 2021-11-24 16:53:40 +00:00
Joseph Milazzo
5d4026468a
Switched to using new infra url (#782) 2021-11-24 08:45:28 -08:00
majora2007
cc19739414 Bump versions by dotnet-bump-version. 2021-11-22 16:56:27 +00:00
Joseph Milazzo
e7753b6160
Fixed the stat call (#778) 2021-11-22 08:47:15 -08:00
majora2007
fc6467da26 Bump versions by dotnet-bump-version. 2021-11-21 17:45:45 +00:00
Joseph Milazzo
ce4f1efddf
Updated stats url (#776) 2021-11-21 09:36:45 -08:00
majora2007
223ad7abdd Bump versions by dotnet-bump-version. 2021-11-18 17:09:28 +00:00
Joseph Milazzo
6bbe9d7a19
Fixed a rendering issue on the book reader with long absolute positioned images causing a 2 tone background color in dark book reader (#770) 2021-11-18 10:59:07 -06:00
majora2007
b76fd1db22 Bump versions by dotnet-bump-version. 2021-11-18 15:05:09 +00:00
Joseph Milazzo
3bfbd042a8
Fit Split to Screen (#769)
* Updated readme with new host information and new feature site.

* Implemented basic fit to screen splitting option for manga reader such that the reader will try to fit the whole cover on the screen via scaling it.

Updated a bunch of defaults in the preferences to give a better experience for first installs.

* Refactored the stat scheduling code slightly to clean it up and have better logging.

* Replaced @import with @use to lower css bundling.

* Changed up the defaults for the reading preferences to give a better experience. Fixed a duplicate render on automatic scaling due to emitting a valuechange with automatic scaling changing fit.

Implemented basic form of fit to screen. Still needs some tweaking and optimization.

* Update link to new feature server and update kavita homepage to use www.

* Updated the serverInfo to match backend. Tweaked some of the css for the changelog

* Added publish date for changelog

* First page works except for tablet

* I'm stumped, taking a break

* Hide the arrow for nav events

* Ensure specials in reading lists don't have their extensions visible

* Testing out removing no-connection

* Fixed a bug in infinite scroller where next chapter spacer when clicked would emit for prev chapter load. Fixed an issue where next/prev chapter loaders would execute when they shouldn't.

* Fit Split is working in all cases as of this code. New optimization is still needed.

* Fit to screen is now working well

* Updated the bookmark effect to look much better

* Updated new issue template to inform users to request features on our site.

* Removed an empty migration
2021-11-18 06:55:52 -08:00
majora2007
199398df95 Bump versions by dotnet-bump-version. 2021-11-16 21:21:33 +00:00
Joseph Milazzo
1ada34984f
Stats Rework (#765)
* Fixed a duplicate check for updates. Changed checking from weekly to daily.

* Refactored how dark variables were accessed to reduce size of component css. Refactored Stats code to use lesser information for reporting.

* Use the installId from the database which is most unlikely to change.

* Fixed a missing interface with stat service

* Added DotnetVersion back into collection

* Updated url to new host.
2021-11-16 13:11:17 -08:00
majora2007
b2831c7606 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-11-16 15:03:43 +00:00
majora2007
204b8f2ec9 Bump versions by dotnet-bump-version. 2021-11-16 15:03:42 +00:00
majora2007
e4dca1b1f1 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-11-16 14:34:57 +00:00
majora2007
9496c5f403 Bump versions by dotnet-bump-version. 2021-11-16 14:34:56 +00:00
majora2007
82e5f58f23 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-11-16 14:34:40 +00:00
majora2007
cfc876dad9 Bump versions by dotnet-bump-version. 2021-11-16 14:34:40 +00:00
Joseph Milazzo
bc210c62fa
Up budget on style bundle size (#763) 2021-11-16 06:24:58 -08:00
majora2007
292fbe4d70 Bump versions by dotnet-bump-version. 2021-11-16 14:16:51 +00:00
Joseph Milazzo
17779fd8ad
Fixed some comic parsing bugs based on user report (#758) (#761) 2021-11-16 06:07:42 -08:00
majora2007
31fa44859c Bump versions by dotnet-bump-version. 2021-11-15 23:00:14 +00:00
Joseph Milazzo
281352001d
Feature/progress widget (#760)
* Implemented a new widget to show when operations are occuring in the backend (tasks + progress events). Fixed an oversight on progress reporting where I sent 100F instead of 1F.

* Hooked in more progress events for tasks on the backend. Cleaned up code and integrated some RBS into it. CSS needed.

* Show a colored icon when events are active

* Added some styling to the progress widget
2021-11-15 14:50:14 -08:00
majora2007
a94fdbc9cb Bump versions by dotnet-bump-version. 2021-11-15 15:33:09 +00:00
Joseph Milazzo
6eb5c34695
Bugfix/webtoon lastpage (#757)
* Some small changes to how maxPage is handled for better page tracking on webtoon reader.

* Fixed a bug in cover image selection (#756)

* Refactored webtoon reader to report page progress exactly as manga reader does. In addition, manga reader moved progress saving to setPageNumber making them the same.
2021-11-15 07:24:04 -08:00
majora2007
a0db5b0e41 Bump versions by dotnet-bump-version. 2021-11-14 16:28:59 +00:00
Joseph Milazzo
f6bfabde4c
Backend Bugfixes and Enhanced Selections (#754)
* Updated some signatures to avoid a ToArray() within a loop.

* Use UpdateSeries directly when adding new series, rather than a modified version for new series only.

* Refactored some messages for scanner loop to reduce duplicate code and write messages more clear. Hooked in a RefreshMetadataProgress event (no UI changes).

* Fixed a bug on docker where backup service was using different logic than non-docker, which isn't needed after config change last release.

* Allow user to make more than 1 backup per day

* Implemented a select all checkbox for library access modal
2021-11-14 08:20:12 -08:00
majora2007
0aff08c9cd Bump versions by dotnet-bump-version. 2021-11-14 13:28:59 +00:00
Joseph Milazzo
ae5c6594e4
Fix Backups (#750)
* Fixed an issue where backups were failing due to files being in config directory

* Changed up the exception messages to be more clear when a unique constraint fails on adding a new series.

* Added the actual index that is causing the conflict.
2021-11-14 05:19:59 -08:00
majora2007
a24ca2b46b Bump versions by dotnet-bump-version. 2021-11-11 23:24:34 +00:00
Joseph Milazzo
dd4aedc323
Bugfix/misc cleanup (#745)
* Change update check to be between noon and 6pm.

* Added a UI change that was missed

* Fixed an issue on register user where input boxes were not styled correctly

* Fixed renaming a series to an existing series name of a different format.

* Change webtoon reader debug mode
2021-11-11 15:15:28 -08:00
majora2007
46b2bebeb6 Bump versions by dotnet-bump-version. 2021-11-11 16:31:09 +00:00
Joseph Milazzo
740fc62549
Refactored InProgress to OnDeck where the logic is slightly changed. Now series with recent updates are now pushed to the front of the list. (#743) 2021-11-11 08:21:54 -08:00