37 Commits

Author SHA1 Message Date
Joseph Milazzo
c429c50ba2 Fixed a bug in ScanLibrary that caused duplicated Volumes. Implemented APIs for navigating down to Volume for webui.
This is rough code and needs to be polished and refactored.
2021-01-01 14:04:31 -06:00
Joseph Milazzo
380c3e7b3c Rough version of Saving Series, Volumes, and MangaFiles to the DB. Relies on Cascaded delete rather than manually handling updating of file changes. 2020-12-30 11:30:12 -06:00
Joseph Milazzo
104c63b2b9 Cleaned up the code from previous enhancements. 2020-12-29 11:01:52 -06:00
Joseph Milazzo
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.
Added some Entities to help translate this into DB.
2020-12-29 10:47:10 -06:00
Joseph Milazzo
49b4ee0022 Added a new method to search for files against multiple filters, rather than grabbing all files then filtering. 2020-12-27 11:38:07 -06:00
Joseph Milazzo
8c80ed090d Added basic parsing and unit tests. Setting up an intermediate object to hold information from parser. Removed hangfire db from git. 2020-12-27 11:14:45 -06:00
Joseph Milazzo
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. 2020-12-26 14:03:35 -06:00
Joseph Milazzo
e1c1719b6a Merge branch 'main' of https://github.com/Kareadita/Kavita into feature/scan-library 2020-12-26 09:08:49 -06:00
Joseph Milazzo
b3f210a8ab Added Hangfire and Hangfire SQLite extension for future task framework. Added a basic directory scanning implementation. 2020-12-26 09:08:27 -06:00
Joseph Milazzo
86e78d9bc4
Merge pull request #15 from Kareadita/feature/code-quality-cleanup
Feature/code quality cleanup
2020-12-25 20:54:28 -06:00
Andrew Song
2d066ea36c Fixing sonar code quality recommendations 2020-12-25 15:08:40 -06:00
Andrew Song
4f93fef661 Merge branch 'main' of github.com:Kareadita/Kavita into feature/code-quality-cleanup 2020-12-25 14:48:37 -06:00
Joseph Milazzo
8522f536a1
Merge pull request #14 from Kareadita/feature/directories
Enhance Directory API to exclude System and Hidden folders
2020-12-24 10:38:52 -06:00
Joseph Milazzo
f8c50b40bb Ensure only admins can call getDirectories 2020-12-24 10:37:49 -06:00
Joseph Milazzo
f8ccc5a01f Merge branch 'main' of https://github.com/Kareadita/Kavita into feature/directories 2020-12-24 10:32:28 -06:00
Joseph Milazzo
19c675c446
Merge pull request #12 from Kareadita/feature/basic-library
Basic Library Entity + User Management
2020-12-24 10:30:25 -06:00
Joseph Milazzo
793c13e1e6 Refactored all Policy strings into their own constant file. 2020-12-24 10:21:59 -06:00
Joseph Milazzo
a40bc9e9f7 Added Policy for getUsers and moved some APIs. 2020-12-24 10:13:22 -06:00
Joseph Milazzo
b899157015 Enhanced DirectoryService to exclude System and Hidden folders. 2020-12-24 09:14:48 -06:00
Joseph Milazzo
fbe2daac6a Fixed code for getting members with roles and libraries 2020-12-24 08:38:55 -06:00
Joseph Milazzo
f0919042b0 Added a new policy to require being an admin. Implemented ability to delete a user. 2020-12-24 08:13:58 -06:00
Andrew Song
09b5b22328 adding sonar lint and enabling microsoft code analyzer 2020-12-23 01:27:41 -06:00
Joseph Milazzo
bb276a5984 Some changes to get register/login flow working smoothly with Admin role. 2020-12-22 17:28:38 -06:00
Andrew Song
259b954f26 Forgot to add migrations 2020-12-21 11:18:51 -06:00
Andrew Song
8f7df85d49 Refractor token auth stuff to use identiycore framework 2020-12-21 09:24:21 -06:00
Andrew Song
f8d7581a12 adding admin exists api 2020-12-20 18:32:24 -06:00
Joseph Milazzo
8156aeb495 Some api work 2020-12-20 17:47:18 -06:00
Joseph Milazzo
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. 2020-12-18 12:01:45 -06:00
Joseph Milazzo
d5eed4e85d Lots of changes to get code ready to add library. 2020-12-17 11:27:19 -06:00
Joseph Milazzo
497496c609
Merge pull request #9 from Kareadita/feature/user-login
User Login + Member fetching
2020-12-17 09:23:35 -06:00
Joseph Milazzo
67b97b3be2 Small cleanup on Account service. 2020-12-15 09:46:45 -06:00
Joseph Milazzo
13ed323949 Added new API for getting Member (aka Users but for use in FE). User is just used for login/registering. 2020-12-14 14:33:09 -06:00
Joseph Milazzo
a920be092d Cleaned up some warnings in the codebase. 2020-12-13 16:26:31 -06:00
Joseph Milazzo
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. 2020-12-13 16:07:25 -06:00
Joseph Milazzo
2b521924d0 Setup basic code for login. 2020-12-12 20:14:56 -06:00
asong91
af5993e3b2
Create dotnet-core.yml 2020-12-12 17:06:22 -06:00
Joseph Milazzo
a2e6d03d5b Initial commit 2020-12-12 17:03:06 -06:00