Commit Graph

553 Commits

Author SHA1 Message Date
Joseph Milazzo 69ebd09fcd Fixed an issue with ordering of chapters within a volume for selecting first cover image. (#529) 2021-08-27 12:51:06 -07:00
majora2007 599e21fcbb Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-27 18:50:16 +00:00
majora2007 bfb34533f4 Bump versions by dotnet-bump-version. 2021-08-27 18:50:15 +00:00
Chris Plaatjes c8e3824032 Added check for Windows builds so copy works (#528)
* Added check for Windows builds so copy works

* Removed appsettings copy, no longer needed

* Fixed a bad build due to duplicate file copy

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2021-08-27 11:40:33 -07:00
majora2007 dc7b4e7a2a Bump versions by dotnet-bump-version. 2021-08-27 17:58:00 +00:00
Joseph Milazzo 6edf3b083b Bugfix/series cover not setting (#527)
* Fixed an issue where cover generation was failing on first add due to not checking correctly on First Volume.
2021-08-27 10:48:55 -07:00
Chris Plaatjes b09406eecf Merge pull request #525 from ChristofferGreen/fix-update.sh
* Use cp -R instead of cp -r since OSX cp does not support -r
* Notify user if they do not have npm/dotnet installed
* Create wwwroot before using it (else get error in raspbian)
* Use unix line endings instead of dos, else wont run on osx and gives warning in linux due to wrong magic #!/bin/bash.
2021-08-27 13:33:48 -04:00
majora2007 864fe20d73 Bump versions by dotnet-bump-version. 2021-08-27 17:28:11 +00:00
Joseph Milazzo 6069d93c38 OPDS Support (#526)
* Added some basic OPDS implementation

* Fixed an issue with feed href

* More changes

* Added library routes and moved user code to a method so we can hack in fixed code without authentication

* Images now load on the OPDS reusing our existing Image infrastructure.

* Added the ability to download and moved some download code to a dedicated service

* Download is working, pagination is implemented.

* Refactored libraries to use pagination

* Laid foundation for OpenSearch implementation

* Fixed up some serialization issues and some old code that wasn't referencing helper methods

* Ensure chapters are sorted when we send them over OPDS

* OpenSearch implemented

* Removed any support for OPDS-PS due to lack of apps supporting it.

* Don't distribute development.json nor stats directory on build.

* Implemented In Progress feed as well.

* Ability to enable OPDS for server. OPDS now accepts initial call as POST in case app uses username/password.

* UI now properly renders state for OPDS enablement. Added Collections routes.

* Fixed pagination startIndex on OPDS feeds when there is less than 1 page.

* Chunky Reader now works. It only accepts UTF-8 encodings

* More Chunky fixes

* More chunky changes, such a fussy client.

* Implemented the ability to have a custom api key assigned to a user and use that api key as your authentication token against OPDS routing.

* Implemented the ability to reset your API Key

* Fixed favicon not being sent back correctly

* Fixed an issue where images wouldn't send on OPDS feed.

* Implemented Page streaming and fixed a pagination bug

* Hooked in the ability to save progress in Kavita when Page Streaming
2021-08-27 10:19:25 -07:00
Christoffer Green 438239dc9a [INFRASTRUCTURE] Linux/OSX improvements for build.sh
* Use cp -R instead of cp -r since OSX cp does not support -r
* Notify user if they do not have npm/dotnet installed
* Create wwwroot before using it (else get error in raspbian)
* Use unix line endings instead of dos, else wont run on osx
and gives warning in linux.
2021-08-27 14:05:58 +02:00
majora2007 2a63e5e9e2 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-26 20:26:58 +00:00
majora2007 12976d4bae Bump versions by dotnet-bump-version. 2021-08-26 20:26:58 +00:00
majora2007 8d13a7e4f9 Bump versions by dotnet-bump-version. 2021-08-26 19:40:03 +00:00
dependabot[bot] d0ea90986a Bump Microsoft.AspNetCore.Authentication.JwtBearer in /API (#523)
Bumps [Microsoft.AspNetCore.Authentication.JwtBearer](https://github.com/dotnet/aspnetcore) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.8...v5.0.9)

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.JwtBearer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-26 12:31:20 -07:00
majora2007 fe664766cd Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-23 15:44:20 +00:00
majora2007 e75c8c9ee8 Bump versions by dotnet-bump-version. 2021-08-23 15:44:19 +00:00
majora2007 9e61d79ec8 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-23 15:19:42 +00:00
majora2007 43b743bc64 Bump versions by dotnet-bump-version. 2021-08-23 15:19:42 +00:00
majora2007 4f74103202 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-23 14:42:12 +00:00
majora2007 b2dee0afc0 Bump versions by dotnet-bump-version. 2021-08-23 14:42:11 +00:00
majora2007 ffd5a5cd81 Bump versions by dotnet-bump-version. 2021-08-23 13:46:19 +00:00
Joseph Milazzo 9fd53d33e7 Version release (#519) 2021-08-23 06:37:44 -07:00
majora2007 3e0aadd016 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-22 18:47:55 +00:00
majora2007 50858baadc Bump versions by dotnet-bump-version. 2021-08-22 18:47:55 +00:00
majora2007 ba9fc58830 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-22 18:41:25 +00:00
majora2007 bfaba880c8 Bump versions by dotnet-bump-version. 2021-08-22 18:41:24 +00:00
Joseph Milazzo 4f6c1e47d2 Update issue templates 2021-08-22 11:39:13 -07:00
Robbie Davis a601942ec5 Cover generation issue on first scan flow (#517)
* Cover generation issue on first scan flow

- Fixed logic around whether a chapter cover image should be generated. New logic adds grouping priority, changes an AND to an OR and adds an additional check to see if the cover image has been lock (custom image uploaded)

* Sonar update

* Refactored out the cover image updating logic to a new call (ShouldUpdateCoverImage) and updated ONLY chapters. Added a blank slate unit test to build out conditions.

* Fixed up unit case

* Fixed some logic on when to update a cover image

* Fixed an issue where 1) we were refreshing metadata anytime we adjusted cover image on a series and 2) Cover generation wasn't properly being handled on first run.

* Cleaned up the code for when a cover image change needs to trigger a refresh metadata task

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2021-08-22 11:32:38 -07:00
majora2007 7c6b12307b Bump versions by dotnet-bump-version. 2021-08-22 16:51:01 +00:00
Joseph Milazzo e479f17aa6 v0.4.4 polishing (#515)
* Fixed a bad comparision between JsonElement and null.

* Removed console.logs. Fixed bug in edit collection detail page where summary wouldn't update after editing it.

* Removed a UI package that is no longer used.

Fixed an issue where MarkVolumeAsUnread was using an old set of APIs and now uses the new, faster API.
2021-08-22 09:42:47 -07:00
therobbiedavis 9568d9b2e5 Bump versions by dotnet-bump-version. 2021-08-21 19:32:27 +00:00
Robbie Davis 2341d9af9d Prevent cover images showing as a series (#514)
* Parsing out cover images

- Fixing workflow
- Adding test case

* Fixing workflow
2021-08-21 15:23:53 -04:00
therobbiedavis 0790a0211d Bump versions by dotnet-bump-version. 2021-08-21 18:53:10 +00:00
Robbie Davis 8dda9220e6 Parsing out cover images (#513)
- Fixing workflow
- Adding test case
2021-08-21 14:44:35 -04:00
majora2007 f64e93e29e Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-21 18:34:07 +00:00
majora2007 a1ba320096 Bump versions by dotnet-bump-version. 2021-08-21 18:34:07 +00:00
majora2007 32dd5a3952 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-21 18:03:04 +00:00
majora2007 724d1d9fec Bump versions by dotnet-bump-version. 2021-08-21 18:03:04 +00:00
majora2007 b9e3dbdc2e Bump versions by dotnet-bump-version. 2021-08-21 17:13:12 +00:00
Joseph Milazzo 0d2d73e8ae Bugfix/release cleanup (#512)
* Lots of cleanup on the warnings in the solution. Deprecated IsLastWriteLessThan and made a new method HasFileBeenModifiedSince.

* Added some tests for the new extension method.

* Changed filter import to use correct import

* Scan Series now uses Refresh Metadata for Series, rather than library one.

* Fixed an issue where cover generation wasn't properly taking forced update into consideration. Removed a case of cover generation for no reason.

* Fixed series downloads not triggering backend call
2021-08-21 10:03:47 -07:00
majora2007 2a3a08de74 Bump versions by dotnet-bump-version. 2021-08-19 23:58:46 +00:00
Joseph Milazzo 2a76092566 Update Notification Refactor (#511)
* Replaced profile links to anchors so we can open in new tab if we like

* Refactored how update checking works. We now explicitly check and send back on the same API. We have a weekly job that will push an update to the user.

* Implemented a changelog tab

* Ported over a GA fix for using ' in PR bodies.

* Don't check cert for Github
2021-08-19 18:49:53 -05:00
majora2007 0e48aeebc5 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2021-08-19 15:11:47 +00:00
majora2007 1d39cfbe3d Bump versions by dotnet-bump-version. 2021-08-19 15:11:46 +00:00
majora2007 389436d72f Bump versions by dotnet-bump-version. 2021-08-19 13:59:21 +00:00
Joseph Milazzo 786fa146fb Misc Bugs (#510)
* Don't show bookmark context actionable for books

* Fixed an issue where when adding a collection tag, the logic wouldn't assume the tag already existed in DB and would reset it.

* After editing a series on library page, ensure we refresh collection tags.

* Reload recently added section after changing a series

* Moved all Stat logger events to Debug

* Refactored scroll logic into a single service to keep the code consistent.
2021-08-19 06:50:14 -07:00
majora2007 914c6f9349 Bump versions by dotnet-bump-version. 2021-08-19 00:25:10 +00:00
Joseph Milazzo 68bb5ed5a8 Feature/bookmark feedback (#508)
* ImageService had a stream reset before writting out to array. Added logging statment for updating series metadata. Removed ConcurencyCheck due to bad update issue for CollectionTag.

* Added a new screen which lets you quickly see all your bookmarks for a given user.

* Built user bookmark page in user settings. Moved user settings to it's own lazy loaded module. Removed unneded debouncing from downloader and just used throttleTime instead.

* Removed a not-yet implemented tab from series modal

* Fixed a bug in clear bookmarks and adjusted icons within anchors to have proper styling
2021-08-18 17:16:05 -07:00
majora2007 623e555633 Bump versions by dotnet-bump-version. 2021-08-17 21:24:13 +00:00
Joseph Milazzo 3ed99afd32 Misc Bugfixes and Enhancements (#507)
* Removed some extra spam for the console

* Implemented the code to update RowVersion, which is our concurrency check

* Fixed a critical issue where more than one bookmark could occur for a given chapter due to a race condition. Now we use concurrency checks and we also gracefully allow more than one row, by only grabbing first.

* Cleaned up the logic for IHasConcurencyToken and updated the setters to be private.

* Lots of comments and when deleting a library, remove any user progress items for which chapters don't exist.

* When deleting a Series, cleanup user progress rows.

* Now after a scan of library, if a series is removed, collection tags are pruned as well if there are no longer any series bound to it.

* Updated the image on the Readme to show a better picture

* Small code cleanup to remove null check modifier as I check for null just before then

* Fixed images loading multiple times due to using function in binding with random. You can now click chapter images to read that chapter specifically.

* Fixed cards being different sizes when read vs unread

* Moved over Robbie's workflow changes from notifier. Commented out activity indicators as that is not shipping with this release.

* Remove code that isn't needed

* Reverted GA

* Changed GA to trigger only when HEAD is updated
2021-08-17 14:15:32 -07:00