Commit graph

629 commits

Author SHA1 Message Date
Joe Milazzo
19198beadf
Reading List Bug (#1943)
* Refactored how we calculate start and end dates for a reading list generated from Scan.

* Cleaned up the logging messages a bit

* By default, allow DB statements to include params, since there's no PPI involved.
2023-04-24 16:51:15 -07:00
majora2007
868d20a18e Bump versions by dotnet-bump-version. 2023-04-22 19:56:40 +00:00
majora2007
201f8526f9 Bump versions by dotnet-bump-version. 2023-04-22 18:19:46 +00:00
majora2007
66f84a0ee3 Bump versions by dotnet-bump-version. 2023-04-19 22:53:53 +00:00
majora2007
f99a75c2d7 Bump versions by dotnet-bump-version. 2023-04-17 00:41:54 +00:00
majora2007
202a35dc7c Bump versions by dotnet-bump-version. 2023-04-15 15:57:04 +00:00
majora2007
1e535d27fa Bump versions by dotnet-bump-version. 2023-04-15 12:13:49 +00:00
Joe Milazzo
10e4b318cb
Bugfixes from last PR (#1928)
* Fixed a regression where confirm-email was validating for a real email when it's not required.

* Fixed fit to screen breaking as canvas was still showing on the screen when it should have been hidden.

* Fixed a missing age rating in the pipe

* Fixed fit to height not properly aligning the image

* Tweaked Startup check for base url
2023-04-15 04:58:54 -07:00
majora2007
2b1570b144 Bump versions by dotnet-bump-version. 2023-04-15 00:57:01 +00:00
Joe Milazzo
21a9f28923
Random Cleanup + OPDS Base Url Support (#1926)
* Updated a ton of dependencies. PDFs reader got a big update from PDF.js 2.6 -> 3.x

* Rolled back fontawesome update

* Updated to latest angular patch. Fixed search being too long instead of just to the end of the browser screen.

* Fixed alignment on download icon for download indicator in cards

* Include progress information on Want To Read API and when marking something as Read, perform cleanup service on want to read.

* Removed mark-read updating want to read. As there are series restrictions and it could be misleading.

* Tweaked login page spacing when form is dirty

* Replaced an object instantiation

* Commented out a few tests that always break when updating NetVips (but always work)

* Updated ngx-toastr

* Added styles for alerts to Kavita. They were somehow missing. Fixed an issue where when OPDS was disabled, user preferences wouldn't tell them.

* Wired up a reset base url button to match Ip Addresses

* Disable ipAddress and port for docker users

* Removed cache dir since it's kinda pointless currently

* Started the update for OPDS BaseUrl support

* Fixed OPDS url not reflecting base url on localhost

* Added extra plumbing to allow sending a real email when testing a custom service.

* Implemented OPDS support under Base Url. Added pagination to all APIs where applicable.

* Added a swallowing of permission denied on Updating baseurl in index.html for inapplicable users.

* Fixed a bad test
2023-04-14 17:44:35 -07:00
majora2007
1bf4fde58f Bump versions by dotnet-bump-version. 2023-04-14 19:04:35 +00:00
Andy
c8a16a4370
Bugfix/base url in docker (#1901)
* fixed: BaseUrl option is not supported in Docker

- discussion in #1824, the checks should not have been added in the first place

* changed: contributors require .NET 7.0+ in order to build
2023-04-14 11:48:44 -07:00
majora2007
f80382ecef Bump versions by dotnet-bump-version. 2023-04-13 20:20:26 +00:00
majora2007
ff18389954 Bump versions by dotnet-bump-version. 2023-04-13 15:31:51 +00:00
majora2007
75168842ed Bump versions by dotnet-bump-version. 2023-04-03 19:55:56 +00:00
majora2007
34e556f0ab Bump versions by dotnet-bump-version. 2023-03-31 11:21:26 +00:00
majora2007
97baab44a9 Bump versions by dotnet-bump-version. 2023-03-30 23:59:50 +00:00
majora2007
449827f285 Bump versions by dotnet-bump-version. 2023-03-19 18:09:45 +00:00
Kizaing
eec03d7e96 Bump versions by dotnet-bump-version. 2023-03-17 16:12:36 +00:00
majora2007
4f72784f73 Bump versions by dotnet-bump-version. 2023-03-17 15:15:43 +00:00
majora2007
bade2293f6 Bump versions by dotnet-bump-version. 2023-03-17 14:44:44 +00:00
majora2007
a6d4b3ddf6 Bump versions by dotnet-bump-version. 2023-03-17 00:19:16 +00:00
Joe Milazzo
d070da2834
Some fixes from last release (#1884)
* Removed SecurityEvent middleware solution. It was out of scope originally.

* Fixed manage users still calling pending when the api is no more

* Added back the online indicator on manage users
2023-03-16 17:03:56 -07:00
majora2007
93bd7d7c19 Bump versions by dotnet-bump-version. 2023-03-16 22:20:22 +00:00
Joe Milazzo
c10acb1279
Security Event Logging & Bugfixes (#1882)
* Fixed bookmarking failing to convert to webp

* Brought the ag-swipe/ng-swipe code into Kavita due to being abandoned by developer and angular requirements.

* Fixed average reading time per week finally

* Cleaned up some extra decimals on time duration pipe

* Don't try to update index.html for base url on local. Fixed ag-swipe on prod mode.

* Updated a link on theme manager to point to the new github

* Range knobs should be primary color on firefox too

* Implemented the ability to get thumbnails of pages inside an archive or pdf.

* Updated packages and fixed opds-ps 1.2 issue

* Fixed lock file

* Allow Kavita's Swagger to hit instances with CORS

* Added IP/Request logging for Security Audits

* Linked up Summary tag from CBL into Kavita.

* Redid the migration so SecurityEvent now has UTC date as well.

* Split security logging to a separate file

* Update to new versions of checkout and setup

* Added a PR check on PR body to ensure that it doesn't contain any characters that break our discord hook.

* Updating action

* optimize regex in action

* Fixed an issue where fit to width would cause the actual height of the image to be shown for pagination bars, instead of rendered.

* Added some new code in GetPageFromFiles to ensure pages that exceed array map down to last file.

* Added comment about robots

* Fixed up unit tests for new ReaderService signature

* Kavita now cleans up empty reading lists at night

* Don't allow nightly cleanup to run if we are running media conversion tasks

* Fixed some bugs in typeahead, it should behave much more reliably.

* Fix an issue where emulate comic book wasn't extending to the bottom properly

* Added support for Series Chapter 001 Volume 001

* Refactor XFrameOptions="SameOrigins" out to allow users to override in appsettings.json.

* Added a rate limiter for some endpoints, but it doesn't seem to be triggering

---------

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2023-03-16 13:57:34 -07:00
majora2007
21203414f0 Bump versions by dotnet-bump-version. 2023-03-14 18:45:59 +00:00
majora2007
71cb26752d Bump versions by dotnet-bump-version. 2023-03-14 14:03:07 +00:00
majora2007
266f302823 Bump versions by dotnet-bump-version. 2023-03-11 13:59:01 +00:00
Gazy Mahomar
2cff1bcebe
Base Url implementation (#1824)
* Base Url implementation

* PR requested changes
2023-03-11 05:47:40 -08:00
majora2007
74f62fd5e2 Bump versions by dotnet-bump-version. 2023-03-11 01:57:40 +00:00
majora2007
e5e2d02e04 Bump versions by dotnet-bump-version. 2023-03-11 01:25:38 +00:00
majora2007
c62e594792 Bump versions by dotnet-bump-version. 2023-03-10 14:01:31 +00:00
majora2007
ef89a2500e Bump versions by dotnet-bump-version. 2023-03-10 01:00:36 +00:00
majora2007
1f34068662 Bump versions by dotnet-bump-version. 2023-03-09 21:22:52 +00:00
majora2007
c599907928 Bump versions by dotnet-bump-version. 2023-03-07 21:31:13 +00:00
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
majora2007
646b3835d4 Bump versions by dotnet-bump-version. 2023-03-06 20:48:36 +00:00
majora2007
cac8d915cf Bump versions by dotnet-bump-version. 2023-03-06 20:18:02 +00:00
therobbiedavis
5fb942bfe1 Bump versions by dotnet-bump-version. 2023-03-06 19:49:38 +00:00
majora2007
c07f174baf Bump versions by dotnet-bump-version. 2023-03-06 15:02:18 +00:00
majora2007
84fe4b849b Bump versions by dotnet-bump-version. 2023-03-05 22:12:12 +00: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
majora2007
57de661d71 Bump versions by dotnet-bump-version. 2023-02-24 00:44:31 +00:00
majora2007
fd8d6e9a97 Bump versions by dotnet-bump-version. 2023-02-21 21:44:27 +00:00
majora2007
9b80eba53e Bump versions by dotnet-bump-version. 2023-02-21 00:01:14 +00:00