Commit Graph

1011 Commits

Author SHA1 Message Date
majora2007 fb940816f3 Bump versions by dotnet-bump-version. 2022-01-31 17:02:42 +00:00
Joseph Milazzo c6d1311560 Misc Bugfixes (#1015)
* Fixed some security issues in dev env

* When deleting folders in bookmark cleanup, delete empty folders correctly.

* When a new library is created and cards are added, cards can have a blank library name. Card library name code is reworked to be much lighter on memory.

* Added a config for github issues to disable blank issues.

* Skip any sort of directory iteration code if we haven't deleted any bookmarks.

* Fixed a bug where some style overrides were duplicating. Now logic is much more targetted, only applying to the correct tags.

* Applied sorting to the filtering apis.

* Reverted one of my changes for a better version Robbie did.
2022-01-31 08:50:13 -08:00
majora2007 c631395aae Bump versions by dotnet-bump-version. 2022-01-31 16:47:18 +00:00
Robbie Davis f227beac2b Adding bug-report YAML template (#1014)
**This is a github repo change only and does not affect the application.**

Github has launched a public beta of their new template format using YAML syntax. As per the [documentation](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-templates) I have tried to convert the existing bug-report template to this new format.

I have also added a config.yml as per the documentation, which allows us the option to turn off blank issues.
2022-01-31 08:36:13 -08:00
majora2007 23191118f2 Bump versions by dotnet-bump-version. 2022-01-31 13:55:26 +00:00
Joseph Milazzo c8de3fb097 Remove No Authentication mode from Kavita (#1006)
* Moved the Server Settings out into a button on nav header

* Refactored Mange Users page to the new design (skeleton). Implemented skeleton code for Invite User.

* Hashed out more of the code, but need to move all the email code to a Kavita controlled API server due to password credentials.

* Cleaned up some warnings

* When no user exists for an api key in Plugin controller, throw 401.

* Hooked in the ability to check if the Kavita instance can be accessed externally so we can determine if the user can invite or not.

* Hooked up some logic if the user's server isn't accessible, then default to old flow

* Basic flow is working for confirm email. Needs validation, error handling, etc.

* Refactored Password validation to account service

* Cleaned up the code in confirm-email to work much better.

* Refactored the login page to have a container functionality, so we can reuse the styles on multiple pages (registration pages). Hooked up the code for confirm email.

* Messy code, but making progress. Refactored Register to be used only for first time user registration. Added a new register component to handle first time flow only.

* Invite works much better, still needs a bit of work for non-accessible server setup. Started work on underlying manage users page to meet new design.

* Changed (you) to a star to indicate who you're logged in as.

* Inviting a user is now working and tested fully.

* Removed the register member component as we now have invite and confirm components.

* Editing a user is now working. Username change and Role/Library access from within one screen. Email changing is on hold.

* Cleaned up code for edit user and disabled email field for now.

* Cleaned up the code to indicate changing a user's email is not possible.

* Implemented a migration for existing accounts so they can validate their emails and still login.

* Change url for email server

* Implemented the ability to resend an email confirmation code (or regenerate for non accessible servers). Fixed an overflow on the confirm dialog.

* Removed all code around disabling authentication. Users that were already disabled can look up their password on the wiki.
2022-01-31 05:42:06 -08:00
majora2007 1a72c53711 Bump versions by dotnet-bump-version. 2022-01-30 22:57:19 +00:00
Joseph Milazzo efb527035d Account Email Support (#1000)
* Moved the Server Settings out into a button on nav header

* Refactored Mange Users page to the new design (skeleton). Implemented skeleton code for Invite User.

* Hashed out more of the code, but need to move all the email code to a Kavita controlled API server due to password credentials.

* Cleaned up some warnings

* When no user exists for an api key in Plugin controller, throw 401.

* Hooked in the ability to check if the Kavita instance can be accessed externally so we can determine if the user can invite or not.

* Hooked up some logic if the user's server isn't accessible, then default to old flow

* Basic flow is working for confirm email. Needs validation, error handling, etc.

* Refactored Password validation to account service

* Cleaned up the code in confirm-email to work much better.

* Refactored the login page to have a container functionality, so we can reuse the styles on multiple pages (registration pages). Hooked up the code for confirm email.

* Messy code, but making progress. Refactored Register to be used only for first time user registration. Added a new register component to handle first time flow only.

* Invite works much better, still needs a bit of work for non-accessible server setup. Started work on underlying manage users page to meet new design.

* Changed (you) to a star to indicate who you're logged in as.

* Inviting a user is now working and tested fully.

* Removed the register member component as we now have invite and confirm components.

* Editing a user is now working. Username change and Role/Library access from within one screen. Email changing is on hold.

* Cleaned up code for edit user and disabled email field for now.

* Cleaned up the code to indicate changing a user's email is not possible.

* Implemented a migration for existing accounts so they can validate their emails and still login.

* Change url for email server

* Implemented the ability to resend an email confirmation code (or regenerate for non accessible servers). Fixed an overflow on the confirm dialog.

* Took care of some code cleanup

* Removed 3 db calls from cover refresh and some misc cleanup

* Fixed a broken test
2022-01-30 14:45:57 -08:00
therobbiedavis 6e6b72a5b5 Bump versions by dotnet-bump-version. 2022-01-30 20:07:13 +00:00
Robbie Davis 7866d49e6f Book series tab fix (#1012) 2022-01-30 14:56:37 -05:00
majora2007 a17bbe20ee Bump versions by dotnet-bump-version. 2022-01-30 16:30:28 +00:00
Joseph Milazzo 1b6a00df3a Re-enabled GA code analysis (#883) 2022-01-30 08:19:54 -08:00
majora2007 d3fb612226 Bump versions by dotnet-bump-version. 2022-01-29 16:55:05 +00:00
Joseph Milazzo fd46cda7c4 Reworked the logic for finding comicinfo to ensure that it finds top-level first and stream lined the logic. (#1008) 2022-01-29 08:50:24 -08:00
majora2007 c3a6e53cbb Bump versions by dotnet-bump-version. 2022-01-29 16:08:40 +00:00
Joseph Milazzo 2d59580aef Recently Added Chapters/Volumes (#1007)
* Working on adding recently added chapter/volumes to dashboard. Have some progress, need to tweak grouping logic.

* Tweaked the logic to work well for grouping. Now to incorporate information for UI to provide seamless integration

* Implemented UI part for Recently Added.
2022-01-29 08:04:18 -08:00
majora2007 81562b7d41 Bump versions by dotnet-bump-version. 2022-01-28 16:52:18 +00:00
Joseph Milazzo 868eb70506 Bugfixes (#1004)
* Refactored the code for choosing the tab to select when updates occur or first load. Specials will no longer be auto-selected if present. We will always try to select Storyline.

* Fixed a bug where marking a chapter as unread was actually making it read

* When loading a book, put a spinner in the action bar

* Fixed an issue with last page not getting marked as read with epubs due to a bugfix from last release

* Removed some debug code
2022-01-28 08:47:16 -08:00
majora2007 6fadbb5231 Bump versions by dotnet-bump-version. 2022-01-28 14:34:07 +00:00
Joseph Milazzo 567d475e46 Bugfix/tachiyomi sync issue (#1002)
* Added extra unit cases for GetContinuePoint. Fixed a bug where if the series was just read chapters, the first chapter wouldn't be returned and would throw an error.

* Wrote unit tests for MarkChaptersUntilAsRead for Tachiyomi and fixed a few cases where due to tracking on Tachiyomi, Volumes with a single 0 chapter would get marked as read.
2022-01-28 06:29:49 -08:00
majora2007 c9bd1d1bfb Bump versions by dotnet-bump-version. 2022-01-27 15:51:49 +00:00
Joseph Milazzo bde5dc0d80 Updated NetVips.Native to fix an issue with cover generation being skewed due to the way lipjpeg handles some streams. (#998) 2022-01-27 07:47:29 -08:00
majora2007 78017bcb84 Bump versions by dotnet-bump-version. 2022-01-27 15:00:14 +00:00
Joseph Milazzo 415832d9e1 Added a bug marker to ebook reader, made an optimization to continue-point api, Fixed a bulk selection bug where storyline tab wasn't properly selecting. (#997) 2022-01-27 06:55:35 -08:00
majora2007 a15314c553 Bump versions by dotnet-bump-version. 2022-01-27 13:43:50 +00:00
Robbie Davis bfb2dbbd4a Fix for add to collection visibility issue (#990)
* Fix for add to collection visibility issue

#Fixed
- Fixed: Fixed a bug where users couldn't select a collection when they had a lot of them.

* Adding settings from documentation, fixing code
2022-01-27 05:39:57 -08:00
majora2007 9ee1125636 Bump versions by dotnet-bump-version. 2022-01-26 23:58:37 +00:00
Robbie Davis ea9f59320e Fixes filter application (#992)
* Fixes filter application

# Fixed:
- Fixed: Fixed an issue where pagination would not reset on filter application (develop)

* Fixing up code

* code fixes

* When no user exists for an api key in Plugin controller, throw 401.

* Cleaned up the code to remove the extra variable and make use of what we had already.

* Fixed the broken build from last PR

* Fixed a few places the code didn't get updated

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2022-01-26 15:54:35 -08:00
Joseph Milazzo 480cd94ab5 API for Tachiyomi Progress Sync (#996)
* Added a stub for an api

* Added code to Parser to get MaximumNumberFromRange. Added new API for Tachiyomi Progress tracking "mark-chapter-until-as-read"
2022-01-26 15:35:31 -08:00
majora2007 81ee26f126 Bump versions by dotnet-bump-version. 2022-01-26 20:14:50 +00:00
Chris Plaatjes efc5b0e43a Fixed healthcheck command error (#995) 2022-01-26 12:10:30 -08:00
majora2007 3c28e13209 Bump versions by dotnet-bump-version. 2022-01-26 18:55:14 +00:00
Chris Plaatjes 62f0bf04ee Docker Healthcheck (#994)
* Implemented healthchecks into the docker files

* Added healthcheck entry in Dockerfile
2022-01-26 10:51:03 -08:00
majora2007 e4d1d9c97d Bump versions by dotnet-bump-version. 2022-01-26 15:48:30 +00:00
jeongsu816 239b7c523d Fixed Parser.Parser.Normalize returns empty string (#991)
Parser.Parser.Normalize returns empty string when name doesn't have any
alphanumeric characters. It messes up Series at least.
To prevent this issue, if normalized string is empty, it just returns
received name variable. In this case user has to carefully set file names but
it is better than messed up Series.
2022-01-26 07:42:28 -08:00
majora2007 83e91c758e Bump versions by dotnet-bump-version. 2022-01-24 22:27:22 +00:00
Robbie Davis 0a88502d81 Library page resetting (#984)
# Fixed
- Fixed: Fixed an issue where the pagination would reset to 1 when refreshing or navigating directly to a page number.
2022-01-24 14:22:34 -08:00
majora2007 5bf80d8515 Bump versions by dotnet-bump-version. 2022-01-24 21:55:04 +00:00
Robbie Davis 97049a6c39 Comics should show volumes tab (#987)
# Fixed
- Fixed: Fixed an issue where the volumes tab was not being shown for comics.
2022-01-24 13:50:28 -08:00
majora2007 91318889e5 Bump versions by dotnet-bump-version. 2022-01-24 17:08:35 +00:00
Robbie Davis 21b89a5386 Series Detail Enhancements (#983)
* Series Detail Enhancements

# Added
- Added: Volume tab for `Comic` Library Types
- Added: Storyline tab for `Comic` and `Manga` library types. This will show Volumes and Chapters together sorted in order.

# Changed
- Changed: Changed `Chapters/Issues` to show all chapters or issues regardless of if they are in a volume for both `Manga` and `Comic` library types

* Removed 3 loops to speed up load time

* Refactored some library type checks. Reset selection on nav change.

* Refactored hasReadingProgress for a series to the backend and further optimized the series detail page.

* Fixed up the regex for "Annual" special case and added unit tests.

Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com>
2022-01-24 09:02:44 -08:00
majora2007 42026aca09 Bump versions by dotnet-bump-version. 2022-01-22 16:00:15 +00:00
Joseph Milazzo 52ab01571b Removed showing toasts when series are added to the server since cards will show automatically. Hide events widget unless you're an admin. Changed an API signature to match the data that's being sent back. (#979) 2022-01-22 07:56:07 -08:00
majora2007 613a866277 Bump versions by dotnet-bump-version. 2022-01-22 14:40:35 +00:00
Joseph Milazzo 6c73f8b61a Less Logging In (#978)
* Implemented the framework for Refresh Token. Needs testing.

* Implemented Refresh Tokens. Users are issued tokens that last 7 days, just before the 7 days, the UI will request a new token to avoid having to re-authenticate.
2022-01-22 06:36:32 -08:00
majora2007 52493cac70 Bump versions by dotnet-bump-version. 2022-01-21 16:12:33 +00:00
Joseph Milazzo 5f5c24564f Misc Cleanup (#977)
* Fixed Day not getting set when reading from epubs.

* Fixed typo for "On Going" to "Ongoing"

* Removed filtering on Reading List page since it doesn't make sense
2022-01-21 08:08:38 -08:00
majora2007 334221ba88 Bump versions by dotnet-bump-version. 2022-01-21 01:24:48 +00:00
Joseph Milazzo a050f2909c In directory picker, when a node is loaded, clear the filter (#974) 2022-01-20 17:19:51 -08:00
majora2007 ff131060c3 Bump versions by dotnet-bump-version. 2022-01-20 23:53:38 +00:00