959 Commits

Author SHA1 Message Date
Joseph Milazzo
1a0fd3445d
Reading List Change (#972)
* Allow an admin to delete another user's reading list

* Allow an admin to delete another user's reading list
2022-01-20 08:54:08 -08:00
majora2007
1dd6e054c6 Bump versions by dotnet-bump-version. 2022-01-20 15:51:21 +00:00
Joseph Milazzo
eb7e2781c1
Validate Download Claim (#971)
* Partially complete, got some code to validate your Role. Needs to be applied to all methods and made a filter.

* Cleaned up the code on the backend to validate each call. The reason the RequireDownloadRole doesn't work is that the user still has the claim in their token so the simple validation isn't working. We need explicit checks.

* Don't allow users to download files if they have lost the claim but not refreshed token.

* Don't allow users to download files if they have lost the claim but not refreshed token.
2022-01-20 07:46:59 -08:00
majora2007
7b9ac2faee Bump versions by dotnet-bump-version. 2022-01-19 23:08:58 +00:00
Joseph Milazzo
6c2731071d
Migration Safety (#967)
* Updated EF version

* When we perform a migration, backup the database to temp/migration/VERSION and do it only once in case a migration fails.

* When a migration fails, we will now restore what was corrupted.
2022-01-19 15:03:47 -08:00
majora2007
d54e43edb1 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-19 16:29:11 +00:00
majora2007
83ab9e17c7 Bump versions by dotnet-bump-version. 2022-01-19 16:29:11 +00:00
majora2007
fc329695fe Bump versions by dotnet-bump-version. 2022-01-19 15:35:31 +00:00
Robbie Davis
506061094d
Fix for 3rd Party Clients copy button (#962)
* Fix for 3rd Party Clients copy button

# Fixed
- Fixed: Fixed an issue where the copy button wasn't working on the "3rd Party Clients" page.

* Updating as per review request

* Buttoning up to be inline with spec
2022-01-19 07:30:37 -08:00
majora2007
39a7bd4dc3 Bump versions by dotnet-bump-version. 2022-01-19 13:43:47 +00:00
Robbie Davis
9dd71fe102
Fullscreen keybind (#961)
# Added
- Added: Added 'f' as keybind to toggle fullscreen on manga and book readers.
2022-01-19 05:38:49 -08:00
majora2007
9850d66546 Bump versions by dotnet-bump-version. 2022-01-18 23:29:28 +00:00
Joseph Milazzo
7af39c3531
Version bump for release (#953) v0.5.0 2022-01-18 15:25:11 -08:00
majora2007
592806a20f Bump versions by dotnet-bump-version. 2022-01-18 22:05:44 +00:00
Joseph Milazzo
fadfab0fba
Missing Age Ratings (#955)
* Fixed GetTags having wrong return type defined

* Added missing Age Rating tags
2022-01-18 14:01:11 -08:00
majora2007
785a1ef5c4 Bump versions by dotnet-bump-version. 2022-01-18 21:34:48 +00:00
Joseph Milazzo
9d1d17249d
Fixed GetTags having wrong return type defined (#954) 2022-01-18 13:30:34 -08:00
majora2007
32cbfed5c0 Bump versions by dotnet-bump-version. 2022-01-18 16:41:46 +00:00
Joseph Milazzo
680240af8d
Shakeout testing Fixes (#952)
* Cleaned up some old code in download bookmark that could create pointless temp folders.

* Fixed a bad http call on reading list remove read and cleaned up the messaging

* Undid an optimization in finding cover image due to it perfoming depth first rather than breadth.

* Updated CleanComicInfo to have Translators and CoverArtists, which were previously missing.

* Renamed Refresh Metadata to Refresh Covers on the UI, given Metadata refresh is done in Scan.

* Library detail will now retain the search query in the UI. Reduced the amount of api calls to the backend on load.

* Reverted allowing the filter to reside in the UI (even though it does work).

* Updated the Age Rating to match the v2.1 spec.

* Fixed a bug where progress wasn't being saved

* Fixed line height not having any effect due to not applying to children elements in the reader

* Fixed some wording for Refresh Covers confirmation

* Delete Series will now send an event to the UI informing that series was deleted.

* Change Progress widget to show Refreshing Covers for

* When we exit early due to potential missing folders/drives in a scan, tell the UI that scan is 100% done.

* Fixed manage library not supressing scan loader when a complete came in

* Fixed a spelling difference for Publication Status between filter and series detail

* Fixed a bug where collection detail page would flash on first load due to duplicate load events

* Added bookmarks to backups

* Fixed issues where fullscreen mode would break infinite scroller contiunous reader
2022-01-18 08:35:59 -08:00
majora2007
b4229f5442 Bump versions by dotnet-bump-version. 2022-01-17 17:40:11 +00:00
Joseph Milazzo
4645f8e3f2
Reader Fixes (#951)
* Normalized paths on download controller and when scan is killed due to missing or empty folders, log a critical error.

* Tweaked the query for OnDeck to better promote recently added chapters in a series with read progress, but it's still not perfect.

* Fixed an issue where up/down key weren't working unless you clicked on the book explicitly

* Fixed an issue where infinite scroller was broken in fullscreen mode

* When toggling fullscreen mode on infinite scroller, the current page is retained as current position

* Fixed an issue where a double render would occur when we didn't need to render as fit split

* Stop showing loader when not using fit split
2022-01-17 09:34:32 -08:00
majora2007
75e1790f58 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-17 00:09:23 +00:00
majora2007
66a58b7a6e Bump versions by dotnet-bump-version. 2022-01-17 00:09:23 +00:00
majora2007
cb540ce1d9 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-16 23:52:58 +00:00
majora2007
42a83e00be Bump versions by dotnet-bump-version. 2022-01-16 23:52:57 +00:00
majora2007
882924d1aa Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-16 23:50:51 +00:00
majora2007
890224b1bd Bump versions by dotnet-bump-version. 2022-01-16 23:50:51 +00:00
Joseph Milazzo
ce3bd92244
Scanner not merging with series that has LocalizedName match (#950)
* When performing a scan, series should group if they share the same localized name as a pre-existing series.

* Fixed a bug where a series with a different name and localized name weren't merging with a different set of files with the same naming as localized name.
2022-01-16 15:48:15 -08:00
Joseph Milazzo
2434e96fe9
Removed a hack that was put in when users complained about a tool improperly tagging. This is not the case for most tools. (#949) 2022-01-16 15:46:41 -08:00
majora2007
e9325824a3 Bump versions by dotnet-bump-version. 2022-01-16 21:21:49 +00:00
Joseph Milazzo
80e9738f67
Metadata Tags (#947)
* Implemented the ability to click a metadata tag (in series detail) and load a pre-filtered view. Apply still needs to be implemented (preset load is out of sync with external filter)

* Refactored people to properly use typeahead so duplicates don't happen and use an observable chain so we can update the screen correctly

* Many refactoring to ensure that the timings for filtering always works
2022-01-16 13:17:29 -08:00
majora2007
06be7de6b2 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-15 19:35:47 +00:00
majora2007
898c72f3ff Bump versions by dotnet-bump-version. 2022-01-15 19:35:47 +00:00
majora2007
bc3cd4b711 Bump versions by dotnet-bump-version. 2022-01-15 16:20:04 +00:00
Joseph Milazzo
eafa9457b3
Fixed missing handlers for adding a chapter to a reading list from card details modal and adding series to collection from series detail. (#942) 2022-01-15 08:14:44 -08:00
majora2007
9b8b66f7d6 Bump versions by dotnet-bump-version. 2022-01-15 15:49:12 +00:00
Andrew Mackrodt
3c351b6a82
Fix image aspect ratio in rare case (#935) 2022-01-15 07:45:09 -08:00
majora2007
57e204e697 Bump versions by dotnet-bump-version. 2022-01-15 15:43:45 +00:00
Joseph Milazzo
591b574706
Unit Tests & New Natural Sort (#941)
* Added a lot of tests

* More tests! Added a Parser.NormalizePath to normalize all paths within Kavita.

* Fixed a bug where MarkChaptersAsUnread implementation wasn't consistent between different files and lead to extra row generation for no reason.

* Added more unit tests

* Found a better implementation for Natural Sorting. Added tests and validate it works. Next commit will swap out natural Sort for new Extension.

* Replaced NaturalSortComparer with OrderByNatural.

* Drastically simplified and sped up FindFirstEntry for finding cover images in archives

* Initial fix for a epub bug where metadata defines key as absolute path but document uses a relative path. We now have a hack to correct for the epub.
2022-01-15 07:39:34 -08:00
therobbiedavis
71d42b1c8b Bump versions by dotnet-bump-version. 2022-01-14 20:48:35 +00:00
Robbie Davis
491d9600dd
Performance Enhancements (#937) 2022-01-14 15:42:32 -05:00
majora2007
aeb6d8e983 Bump versions by dotnet-bump-version. 2022-01-13 19:46:06 +00:00
Joseph Milazzo
996c68d753
Feature/parse scanned files tests (#934)
* 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.
2022-01-13 11:40:45 -08:00
majora2007
f2bbdaaefc Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-13 16:21:34 +00:00
majora2007
8c3fdae54b Bump versions by dotnet-bump-version. 2022-01-13 16:21:34 +00:00
majora2007
b12c8d8927 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-01-13 16:18:26 +00:00
majora2007
6d9e5178d3 Bump versions by dotnet-bump-version. 2022-01-13 16:18:26 +00:00
Joseph Milazzo
7eaa0248c3
Fixed a bug in CleanupBookmarks where the Except was deleting all files because the path separators didn't match. (#932) 2022-01-13 08:15:23 -08:00
dependabot[bot]
920f187cd4
Bump follow-redirects from 1.13.0 to 1.14.7 in /UI/Web (#929)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 08:11:57 -08:00
majora2007
f537c3f9f2 Bump versions by dotnet-bump-version. 2022-01-12 23:04:29 +00:00