1099 Commits

Author SHA1 Message Date
majora2007
9c9a5f92a1 Bump versions by dotnet-bump-version. 2022-02-08 15:41:31 +00:00
Joseph Milazzo
b571633eab
Webtoon fixes + Random release stuff (#1048)
* Refactored the way cover images are updated from SignalR to use an explicit event that is sent at a granular level for a given type of entity.

Fixed a bad event listener for RefreshMetadata (now removed) to update metadata on Series Detail. Now uses ScanService, which indicates a series has completed a scan.

* Lots of attempts at making webtoon stable. Kinda working kinda not.

* Added a new boolean to hide images until the first prefetch loads the images, to prevent jankiness

* On Search, remove : from query

* Added HasBookmark and NumberOfLibraries to stat service

* Cleaned up some dead code

* Fixed a bug where page number wasn't reset between chapter loads with infinite scroller

* Added recently added series back into the dashboard.

* Cleaned up some code in search bar
2022-02-08 07:30:54 -08:00
majora2007
be1a9187e5 Bump versions by dotnet-bump-version. 2022-02-08 01:56:56 +00:00
Joseph Milazzo
67ba5e302f
Refactored the way cover images are updated from SignalR to use an explicit event that is sent at a granular level for a given type of entity. (#1046)
Fixed a bad event listener for RefreshMetadata (now removed) to update metadata on Series Detail. Now uses ScanService, which indicates a series has completed a scan.
2022-02-07 17:44:06 -08:00
majora2007
c448a3e493 Bump versions by dotnet-bump-version. 2022-02-07 17:47:38 +00:00
Joseph Milazzo
302599c63a
Added support for Tachiyomi volume progress tracking (#1044) 2022-02-07 09:36:10 -08:00
majora2007
4894d05ff1 Bump versions by dotnet-bump-version. 2022-02-07 13:43:13 +00:00
Joseph Milazzo
0e2fafe396
Took care of SonarCloud code issues (#1041) 2022-02-07 05:30:28 -08:00
majora2007
5b32a958dc Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-02-06 16:23:48 +00:00
majora2007
a2d8f7fee4 Bump versions by dotnet-bump-version. 2022-02-06 16:23:47 +00:00
majora2007
e412d6f493 Bump versions by dotnet-bump-version. 2022-02-06 16:04:06 +00:00
Joseph Milazzo
4fffe1c404
Polishing for Release (#1039)
* Rewrote the delete bookmarked page logic to be more precise with the way it deletes.

* Tell user migration email link is in log

* Fixed up the email service tooltip

* Tweaked messaging

* Removed some dead code from series detail page

* Default to SortName sorting when nothing is explicitly asked

* Updated typeahead to work with changes and fix enter on new/old items

* Cleaned up some extra logic in search result rendering code

* On super small screens (300px width or less), move the server settings to user dropdown
2022-02-06 07:53:32 -08:00
majora2007
c2f3e45a15 Bump versions by dotnet-bump-version. 2022-02-06 01:17:24 +00:00
Joseph Milazzo
90de87a49f
Fixes (#1037)
* When downloading bookmarks, prepend the images with chapterId to ensure there are no conflicts.

* Fixed a case where email service wasn't using the custom email service.

* Changed how we render some text in search results

* Update the recently when we receive scan events
2022-02-05 17:06:28 -08:00
majora2007
288acbaa70 Bump versions by dotnet-bump-version. 2022-02-06 00:46:19 +00:00
Joseph Milazzo
98bb6f0b0b
Added in InstallId so that Kavita owned Email service can validate if requests are valid or not. (#1036) 2022-02-05 16:17:51 -08:00
majora2007
5c7cfb8177 Bump versions by dotnet-bump-version. 2022-02-04 23:11:50 +00:00
Joseph Milazzo
7fab1cc30d
More Cleanup (#1033)
* Tweaked the backend for recently updated series to allow for 100 more items to be calculated against.

Close the account migration screen after migration email is sent.

* Cleaned up some code
2022-02-04 15:00:49 -08:00
majora2007
10984278f3 Bump versions by dotnet-bump-version. 2022-02-04 22:48:34 +00:00
Robbie Davis
5e535386d6
Mobile search bar fixes (#1032)
* Mobile search bar fixes

# Fixed
- Fixed: Fixed an issue with longer usernames causing header to wrap to another line. (develop)
- Fixed: Fixed an issue where the close button for the search was not centered on mobile. Verified on iOS Safari and iOS Chrome. (develop)

* Adding artist to search, fixing cover artist in search
2022-02-04 14:35:39 -08:00
majora2007
e59e9f92cf Bump versions by dotnet-bump-version. 2022-02-04 19:41:11 +00:00
Joseph Milazzo
19e17c85fa
Misc Fixes (#1031)
* Changed the default margin for mobile in book reader to 5%

* Fixed a bug where checking for update did no current version validation before sending the update to the UI.

* Added some documentation to the book code

* Changed token expiry to 2 weeks.

* Search bar will by default not have a border outline

* Cleaned up some styles for white mode hovering on search

* Added missing genre search group, reworked some clearing code, fixed click handlers

* Fixed genre property

* Changed the series title to show bookmarks and the edit button will now take you to series

* Fixed up accordion tabpanel color in dark mode

* Fixed a typo of CoverArtist instead of "Cover artist"

* Added some documentation changes

* Fixed a bug where sort options on All-Series wasn't working

* Added a thanks to Palace-Designs who hosts our infrastructure to the readme.

* Fixed a bug where duplicate people for the same role would be returned

* Fixed a bug where when user cleared out input manually, search would retain old search results
2022-02-04 11:28:58 -08:00
majora2007
dc2d5b505f Bump versions by dotnet-bump-version. 2022-02-04 18:06:55 +00:00
Joseph Milazzo
2ae9f8c203
Private Email Service Support (#1028)
* Added ServerSettingKey's for SMTP and moved email service code to Kavita. Nothing integrated in the UI yet.

* Undo all the custom SMTP stuff and prepare for custom email service url.

* Foundation for email service to use a custom url is setup.

* Implemented the ability to hook up custom email url
2022-02-04 09:54:54 -08:00
majora2007
2517ee75b2 Bump versions by dotnet-bump-version. 2022-02-04 16:39:23 +00:00
Joseph Milazzo
03112d3f8f
New Search (#1029)
* Implemented a basic version of enhanced search where we can return multiple types of entities in one go. Current unoptimized version is twice as expensive as normal search, but under NFR. Currently 200ms max.

* Worked in some basic code for grouped typeahead search component. Keyboard navigation is working.

* Most of the code is in place for the typeahead. Needs css work and some accessibility work.

* Hooked up filtering into all-series. Added debouncing on search, clear input field now works. Some optimizations related to memory cleanup

* Added ability to define a custom placeholder

* Hooked in noResults template and logic

* Fixed a duplicate issue in Collection tag searching and commented out old code. OPDS still needs some updates.

* Don't trigger inputChanged when reopening/clicking on input.

* Added Reading list to OPDS search

* Added a new image component so all the images can be lazyloaded without logic duplication

* Added a maxWidth/Height on the image component

* Search css update

* cursor fixes

* card changes

- fixing border radius on cards
- adding bottom card color

* Expose intenral state of if the search component has focus

* Adjusted the accessibility to not use complex keys and just use tab instead since this is a search, not a typeahead

* Cleaned up dead code, removed angular-ng-complete library as it's no longer used.

* Fixes for mobile search

* Merged code

* Fixed a bad merge and some nav bar styling

* Cleaned up the focus code for nav bar

* Removed focusIndex and just use hover state. Fixed clicking on items

* fixing overlay overlap issue

Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2022-02-04 08:28:49 -08:00
majora2007
60b717ea1d Bump versions by dotnet-bump-version. 2022-02-02 15:30:43 +00:00
Joseph Milazzo
730624d364
Recently Added Chapter Feedback (#1020)
* Added an alt implementation which shows Recently Added chapters. No extra grouping is performed if multiple chapters per volume.

* Started working on a grouping implementation for series.

* Disabled the code for bookmarks cleanup as there is some critical issue in there.

* Implemented a Series Group activity stream which shows recently updated series and providers a count badge showing how many new chapters/volumes were added in that series.

* Removed the bookmark disabling code

* Cleaned up code

* One more code cleanup
2022-02-02 07:18:09 -08:00
majora2007
0ce0ee39e0 Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-02-01 15:52:04 +00:00
majora2007
9aa1cc8ab6 Bump versions by dotnet-bump-version. 2022-02-01 15:52:04 +00:00
majora2007
21d1afdf6f Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop 2022-02-01 15:51:04 +00:00
majora2007
674250089d Bump versions by dotnet-bump-version. 2022-02-01 15:51:04 +00:00
Robbie Davis
d17ecf4e87
Fixing email link overflow (#1019)
# Fixed
- Fixed: Fixed an issue where the email link would extend past the modal.
2022-02-01 07:41:06 -08:00
Joseph Milazzo
6ee8320c2b
Ability to restrict a user's ability to change passwords (#1018)
* Implemented a new role "Change Password". This role allows you to change your own password. By default, all users will have it. A user can have it removed arbitrarliy.

Removed components that are no longer going to be used.

* Cleaned up some code
2022-02-01 07:40:41 -08:00
majora2007
9d20343f4e Bump versions by dotnet-bump-version. 2022-02-01 14:16:07 +00:00
Joseph Milazzo
8ff123e06c
Forgot Password (#1017)
* Implemented forgot password flow. Fixed a bug in manage user where admins were showing the Sharing With section.

* Cleaned up the reset password flow.

* Reverted some debug code

* Fixed an issue with invites due to ImmutableArray not being set.
2022-02-01 06:04:23 -08:00
majora2007
8564378b77 Bump versions by dotnet-bump-version. 2022-01-31 20:23:47 +00:00
Joseph Milazzo
4e7d1433d1
Don't throw an exception when we are trying to save progress and there is nothing new to save. (#1016) 2022-01-31 12:12:39 -08:00
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