Commit graph

  • b640b1276a Small cleanup around images Joseph Milazzo 2021-01-07 12:50:11 -06:00
  • 0b35ec70fd Refactored GetCoverImage to create a thumbnail (optional) instead of raw image (raw images are large and bloat API, using thumbnail is indistiguishable); b) Ability to force updating cover images in DB even if they are already set. Joseph Milazzo 2021-01-07 10:30:54 -06:00
  • 2fa6b9a46a Merged cover image changes in. Joseph Milazzo 2021-01-06 10:48:03 -06:00
  • 7f5a1d0518 Refactored GetCoverImage to a static class and unit tested it. Enhanced the method by defaulting to folder.jpg file if exists, else takes first entry. Joseph Milazzo 2021-01-05 15:00:49 -06:00
  • 187670c7f2 Fixed a bad icon Joseph Milazzo 2021-01-05 13:16:33 -06:00
  • 1500e63269 Cleaned up the card items Joseph Milazzo 2021-01-05 13:13:12 -06:00
  • c37dba4034 Implemented ad-hoc scan library support. Joseph Milazzo 2021-01-05 11:02:44 -06:00
  • 98cb94f31c
    Merge pull request #19 from Kareadita/feature/ui-cleanup Joseph Milazzo 2021-01-04 17:14:48 -06:00
  • 0614d55733
    Merge pull request #19 from Kareadita/feature/web-cleanup Joseph Milazzo 2021-01-04 17:14:25 -06:00
  • 1d54eaa862 Fixed date pipe issue Joseph Milazzo 2021-01-04 15:03:42 -06:00
  • d2bf425a47 Implemented some safety checks on library editor modal. Added a placeholder search bar to nav bar for positioning support. Joseph Milazzo 2021-01-04 14:48:56 -06:00
  • 0b486cdc08 Scan library after we edit library folders, only if folders have differences. Joseph Milazzo 2021-01-04 13:10:19 -06:00
  • 219f6e675a Implemented the ability to update a library including folders. Joseph Milazzo 2021-01-04 13:06:01 -06:00
  • daf291c5ee Adding cover image functionality Andrew Song 2021-01-03 20:01:45 -06:00
  • 451d459473 adding initial coverimage functionality Andrew Song 2021-01-03 19:50:10 -06:00
  • 0415ebb882
    Merge pull request #17 from Kareadita/feature/web-cleanup Joseph Milazzo 2021-01-03 17:06:03 -06:00
  • 2806beaae9
    Merge pull request #18 from Kareadita/feature/ui-cleanup Joseph Milazzo 2021-01-03 17:04:01 -06:00
  • ac2b40aba6 Added migration for removing IsAdmin column since we use IdentityService Roles instead. Joseph Milazzo 2021-01-03 14:16:06 -06:00
  • 13280b49d6
    Merge pull request #17 from Kareadita/feature/parsing Joseph Milazzo 2021-01-02 18:51:41 -06:00
  • 7642ffa912
    Merge pull request #16 from Kareadita/feature/scan-library Joseph Milazzo 2021-01-02 18:51:29 -06:00
  • 490110407a Implemented the ability to delete a library from UI. Added update functionality for library. Joseph Milazzo 2021-01-02 14:21:10 -06:00
  • c8bbbceecd Implemented ability to delete a library and ensure that after adding or deleting, the manage library page refreshes. Joseph Milazzo 2021-01-02 12:59:33 -06:00
  • 5e18c1bf3a Implemented the ability to delete a Library. Joseph Milazzo 2021-01-02 12:59:04 -06:00
  • 7b1714349d Refactored ScanLibrary to accept and library id rather than DTO. Refactored ScanLibrary to use Task.Run() rather than having synchronous repo methods. Joseph Milazzo 2021-01-02 12:48:48 -06:00
  • 1816b6c68d Added series card implementation. Added a mock cover to help visualize style changes. Implemented ability to create a new library without validation errors. Fixed a bug in directory picker that caused selected folders to not export the full path. Joseph Milazzo 2021-01-02 12:44:11 -06:00
  • 9168e12483 Refactored Volume to have Name and Number (int) so that we can properly sort and still handle possible split volumes. Joseph Milazzo 2021-01-02 12:21:36 -06:00
  • d632e53f18 Added ability to automatically track last modified and created timestamps for entities via an interface. DBContext will automatically update for us. Joseph Milazzo 2021-01-02 10:59:52 -06:00
  • fe5ec2f032 Refactored library to use it's own card type which wraps app-card-item. Implemented ability to kick off a scan of a library from UI (non-admin route) if you are an admin. Joseph Milazzo 2021-01-02 09:26:48 -06:00
  • 55a44000fc Changed scan to POST and added new API for route gurads on UI. Joseph Milazzo 2021-01-02 09:25:45 -06:00
  • 1fe055b27e Cleanup library access guard. Joseph Milazzo 2021-01-02 08:59:28 -06:00
  • cb9e88acdc Ensure users are logged in before letting them access library route Joseph Milazzo 2021-01-02 08:46:27 -06:00
  • bdf382ca14 Changed routing for series to use library/:id/series/:id so that we can always validate a user has library access. Joseph Milazzo 2021-01-02 08:07:34 -06:00
  • 4836936b12 Merge conflicts Joseph Milazzo 2021-01-01 16:13:04 -06:00
  • 521eac266a Removed a Unit test that we don't support yet for ranged volumes. Added a new case for Parser for v1.1 chapter parsing. Joseph Milazzo 2021-01-01 16:10:35 -06:00
  • fa71a40990 Fixed warnings in code Joseph Milazzo 2021-01-01 14:18:29 -06:00
  • 1797a3fb64
    Merge pull request #16 from Kareadita/feature/scan-library Joseph Milazzo 2021-01-01 14:05:10 -06:00
  • c429c50ba2 Fixed a bug in ScanLibrary that caused duplicated Volumes. Implemented APIs for navigating down to Volume for webui. Joseph Milazzo 2021-01-01 14:04:31 -06:00
  • ca46d137c4 Finished the skeleton code for navigating Kavita. Joseph Milazzo 2021-01-01 11:58:18 -06:00
  • 8865c121d2 Added ability to have actions on cards. Joseph Milazzo 2020-12-31 15:14:32 -06:00
  • efdbe5eb35 Added skeleton code for Library -> Series detail pages. Added a card component to keep a lot of the logic and design consistent between screens. Added ability to see your libraries and open them up. Joseph Milazzo 2020-12-31 13:19:18 -06:00
  • 380c3e7b3c Rough version of Saving Series, Volumes, and MangaFiles to the DB. Relies on Cascaded delete rather than manually handling updating of file changes. Joseph Milazzo 2020-12-30 11:30:12 -06:00
  • 104c63b2b9 Cleaned up the code from previous enhancements. Joseph Milazzo 2020-12-29 11:01:52 -06:00
  • 0a49b07570 Implemented a parallelized, rough, scanning loop which parses out information and leaves us with an immutable dictionary mapping series to parsed infos for each file. Joseph Milazzo 2020-12-29 10:47:10 -06:00
  • 49b4ee0022 Added a new method to search for files against multiple filters, rather than grabbing all files then filtering. Joseph Milazzo 2020-12-27 11:38:07 -06:00
  • 8c80ed090d Added basic parsing and unit tests. Setting up an intermediate object to hold information from parser. Removed hangfire db from git. Joseph Milazzo 2020-12-27 11:14:45 -06:00
  • 4fd9943b91 Added Hangfire with LiteDB for a task running system. At the most basic, this allows us to monitor tasks running on the system (during dev only) and run tasks on a reoccuring or ad-hoc basis. Joseph Milazzo 2020-12-26 14:03:35 -06:00
  • e1c1719b6a Merge branch 'main' of https://github.com/Kareadita/Kavita into feature/scan-library Joseph Milazzo 2020-12-26 09:08:49 -06:00
  • b3f210a8ab Added Hangfire and Hangfire SQLite extension for future task framework. Added a basic directory scanning implementation. Joseph Milazzo 2020-12-26 09:08:27 -06:00
  • 86e78d9bc4
    Merge pull request #15 from Kareadita/feature/code-quality-cleanup Joseph Milazzo 2020-12-25 20:54:28 -06:00
  • 2d066ea36c Fixing sonar code quality recommendations Andrew Song 2020-12-25 15:08:40 -06:00
  • 4f93fef661 Merge branch 'main' of github.com:Kareadita/Kavita into feature/code-quality-cleanup Andrew Song 2020-12-25 14:48:37 -06:00
  • c84c56864e
    Merge pull request #14 from Kareadita/feature/directories Joseph Milazzo 2020-12-24 11:18:56 -06:00
  • 82b8525878 Merge branch 'main' of https://github.com/Kareadita/Kavita-webui into feature/directories Joseph Milazzo 2020-12-24 11:11:58 -06:00
  • 696f2adc52
    Merge pull request #13 from Kareadita/feature/basic-library Joseph Milazzo 2020-12-24 11:11:27 -06:00
  • 0714ee2e93 Added explicit home route Joseph Milazzo 2020-12-24 10:51:07 -06:00
  • 01e9a1025d Add information around the User interface Joseph Milazzo 2020-12-24 10:42:01 -06:00
  • 8522f536a1
    Merge pull request #14 from Kareadita/feature/directories Joseph Milazzo 2020-12-24 10:38:52 -06:00
  • f8c50b40bb Ensure only admins can call getDirectories Joseph Milazzo 2020-12-24 10:37:49 -06:00
  • f8ccc5a01f Merge branch 'main' of https://github.com/Kareadita/Kavita into feature/directories Joseph Milazzo 2020-12-24 10:32:28 -06:00
  • 19c675c446
    Merge pull request #12 from Kareadita/feature/basic-library Joseph Milazzo 2020-12-24 10:30:25 -06:00
  • 793c13e1e6 Refactored all Policy strings into their own constant file. Joseph Milazzo 2020-12-24 10:21:59 -06:00
  • a40bc9e9f7 Added Policy for getUsers and moved some APIs. Joseph Milazzo 2020-12-24 10:13:22 -06:00
  • c9759bc3d1 Updated API end points Joseph Milazzo 2020-12-24 10:12:08 -06:00
  • b899157015 Enhanced DirectoryService to exclude System and Hidden folders. Joseph Milazzo 2020-12-24 09:14:48 -06:00
  • fdc0c5753d Fixed directory picker such that it passes a full path to the backend and properly handles 500 from backend not breaking the picker. Joseph Milazzo 2020-12-24 09:13:20 -06:00
  • 696f950f7a Implemented delete user. Removed ability to see yourself on members since you couldn't do anything anyways. Joseph Milazzo 2020-12-24 08:42:02 -06:00
  • fbe2daac6a Fixed code for getting members with roles and libraries Joseph Milazzo 2020-12-24 08:38:55 -06:00
  • f0919042b0 Added a new policy to require being an admin. Implemented ability to delete a user. Joseph Milazzo 2020-12-24 08:13:58 -06:00
  • 09b5b22328 adding sonar lint and enabling microsoft code analyzer Andrew Song 2020-12-23 01:27:41 -06:00
  • bb276a5984 Some changes to get register/login flow working smoothly with Admin role. Joseph Milazzo 2020-12-22 17:28:38 -06:00
  • 530e73fbea Refactored isAdmin to use JWT RBS instead. Joseph Milazzo 2020-12-22 17:27:51 -06:00
  • 259b954f26 Forgot to add migrations Andrew Song 2020-12-21 11:18:51 -06:00
  • 8f7df85d49 Refractor token auth stuff to use identiycore framework Andrew Song 2020-12-21 09:24:21 -06:00
  • f8d7581a12 adding admin exists api Andrew Song 2020-12-20 18:32:24 -06:00
  • b47d2acac8 Cleaned up the code a bit and some UX Joseph Milazzo 2020-12-20 18:02:57 -06:00
  • 8156aeb495 Some api work Joseph Milazzo 2020-12-20 17:47:18 -06:00
  • b6e0e05205 Added new many to many migration for libraries and users. Add Library now works and you can get Library (entity) objects from a user. LibraryDto project is upcoming. Joseph Milazzo 2020-12-18 12:01:45 -06:00
  • 2c0921acc6 Moved member service with the other services. Preparing for library functionality. Joseph Milazzo 2020-12-17 16:15:34 -06:00
  • 8f07ce9b6d Added a new Library Access modal component and moved directory picker into admin _modals directory to keep consistent. Joseph Milazzo 2020-12-17 16:02:04 -06:00
  • d5eed4e85d Lots of changes to get code ready to add library. Joseph Milazzo 2020-12-17 11:27:19 -06:00
  • 497496c609
    Merge pull request #9 from Kareadita/feature/user-login Joseph Milazzo 2020-12-17 09:23:35 -06:00
  • 0b57600aa5
    Merge pull request #3 from Kareadita/feature/users Joseph Milazzo 2020-12-17 09:23:07 -06:00
  • 2b33b79f86 Lots of changes and reorganization around user management. Fixed a bug where after registering a person, they would be logged in automatically. Joseph Milazzo 2020-12-16 16:24:04 -06:00
  • ac72795971 Added some details to manage-users and preped for adding libraries. Joseph Milazzo 2020-12-16 14:20:22 -06:00
  • ee7787c3c7 Refactored the users component in admin to be manage-user and likewise added manage-library component. Joseph Milazzo 2020-12-16 12:30:26 -06:00
  • 2679a52aec Implemented the ability to choose a folder for a library. Implemented an admin landing page that will showcase the different management items. Joseph Milazzo 2020-12-16 12:14:01 -06:00
  • e06e34083c Fixed up logic, now on login, we restore if you're already logged in and we redirect you to libraries page. Joseph Milazzo 2020-12-15 14:34:31 -06:00
  • 79a23ac406 Fixed bug with admin routes never loading. Added basic library view. Joseph Milazzo 2020-12-15 11:07:19 -06:00
  • 67b97b3be2 Small cleanup on Account service. Joseph Milazzo 2020-12-15 09:46:45 -06:00
  • 3f8a4d7866 Implemented basic error handling. Login works, but we don't have a route to go to, so kinda buggy. Will cleanup in Libraries story. Joseph Milazzo 2020-12-15 09:46:15 -06:00
  • 8fba679788 Implemented basic home screen which ensures a user is logged in or if an admin is created. Added admin module with route guard to ensure only admins get through, but it's not working. Joseph Milazzo 2020-12-14 16:57:59 -06:00
  • 13ed323949 Added new API for getting Member (aka Users but for use in FE). User is just used for login/registering. Joseph Milazzo 2020-12-14 14:33:09 -06:00
  • 595478feb5 Adding prelim unit test folder to project Andrew Song 2020-12-13 16:28:39 -06:00
  • a920be092d Cleaned up some warnings in the codebase. Joseph Milazzo 2020-12-13 16:26:31 -06:00
  • 5da41ea6f3 Added User with ability to login and register. By default, user is not an admin. DTO expects an integer and will convert to Boolean. Joseph Milazzo 2020-12-13 16:07:25 -06:00
  • 2b521924d0 Setup basic code for login. Joseph Milazzo 2020-12-12 20:14:56 -06:00
  • af5993e3b2
    Create dotnet-core.yml asong91 2020-12-12 17:06:22 -06:00
  • a2e6d03d5b Initial commit Joseph Milazzo 2020-12-12 17:03:06 -06:00
  • 5d31b050b0 Setup project for HTTPS. Base project. Joseph Milazzo 2020-12-12 16:46:52 -06:00
  • 0b85a1bfbb initial commit Joseph Milazzo 2020-12-12 16:39:46 -06:00