Joseph Milazzo
7f404a0ce9
Implemented the ability to flatten directories, esp useful with nested folders in archives.
2021-01-14 10:02:56 -06:00
Joseph Milazzo
56e8a0059e
Implemented ability to delete a series. Refactored some operations to remove unneeded parameters.
2021-01-12 16:51:23 -06:00
Joseph Milazzo
83076f02ad
Forgot to update DTO to send it to the Frontend.
2021-01-12 14:09:20 -06:00
Joseph Milazzo
28ce2bbba1
Refactored volume to contain pages and removed /reader/info API endpoint.
2021-01-11 17:36:11 -06:00
Joseph Milazzo
c2b41b774a
Fixed issue where chapter based volumes wouldn't properly handle chapter divide when reading a manga.
2021-01-11 17:11:06 -06:00
Joseph Milazzo
731e3a9c5e
Cache cleanup implemented
2021-01-11 15:39:25 -06:00
Joseph Milazzo
f737f662df
Added a sorting mechanism to emulate how windows sorts files. Refactored cache to support chapter folders as well.
2021-01-10 12:47:34 -06:00
Joseph Milazzo
6020697d7d
Cleaned up some warnings
2021-01-09 16:22:28 -06:00
Joseph Milazzo
cd8a1d2892
Added a basic cache service to handle interations with the underlying cache implementation. Refactored some code to be more robust.
2021-01-09 16:14:28 -06:00
Joseph Milazzo
59a4921ba9
Refactored ScanLibrary to produce page numbers on the Manga File, Format and to update existing series/volumes rather than always create new entries.
2021-01-09 15:27:04 -06:00
Joseph Milazzo
6b4617bab3
Adjusted code to account for folders within directory. Now cover image always gets the first image.
2021-01-09 14:57:31 -06:00
Joseph Milazzo
7bf04dcdac
Implemented the ability to send images to frontend with some contextual information.
2021-01-08 15:17:39 -06:00
Joseph Milazzo
7ab7e8acc4
Implemented the ability to extract an archive image to a cache directory.
2021-01-08 13:28:59 -06:00
Joseph Milazzo
14ad2a3dd5
Fixed the github build issue. I'm totally blind.
2021-01-08 10:41:43 -06:00
Joseph Milazzo
cf953c1e06
Merge pull request #20 from Kareadita/feature/cover-images
...
Implements ability to set cover images from archive files and to force updating DB entries. Cover images will be compressed and a thumbnail will be saved rather than raw image due to size of raw files (1MB vs 60 KB)
2021-01-08 10:10:02 -06:00
Joseph Milazzo
13dab81f39
Will this fix Github build complaining when local builds fine?
2021-01-08 09:38:15 -06:00
Joseph Milazzo
4c40284af2
Changed ScanLibrary to not use optional param due to build issue on Github.
2021-01-08 08:25:07 -06:00
Joseph Milazzo
0a78cffb1f
Removed test case that wasn't supposed to be there.
2021-01-07 12:51:43 -06:00
Joseph Milazzo
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.
2021-01-07 10:30:54 -06:00
Joseph Milazzo
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.
2021-01-05 15:00:49 -06:00
Joseph Milazzo
98cb94f31c
Merge pull request #19 from Kareadita/feature/ui-cleanup
...
Update Library API
2021-01-04 17:14:48 -06:00
Joseph Milazzo
0b486cdc08
Scan library after we edit library folders, only if folders have differences.
2021-01-04 13:10:19 -06:00
Joseph Milazzo
219f6e675a
Implemented the ability to update a library including folders.
2021-01-04 13:06:01 -06:00
Andrew Song
451d459473
adding initial coverimage functionality
2021-01-03 19:50:10 -06:00
Joseph Milazzo
2806beaae9
Merge pull request #18 from Kareadita/feature/ui-cleanup
...
UI Cleanup
2021-01-03 17:04:01 -06:00
Joseph Milazzo
ac2b40aba6
Added migration for removing IsAdmin column since we use IdentityService Roles instead.
2021-01-03 14:16:06 -06:00
Joseph Milazzo
13280b49d6
Merge pull request #17 from Kareadita/feature/parsing
...
Library, Series, Volumes, oh my!
2021-01-02 18:51:41 -06:00
Joseph Milazzo
5e18c1bf3a
Implemented the ability to delete a Library.
2021-01-02 12:59:04 -06:00
Joseph Milazzo
7b1714349d
Refactored ScanLibrary to accept and library id rather than DTO. Refactored ScanLibrary to use Task.Run() rather than having synchronous repo methods.
2021-01-02 12:48:48 -06:00
Joseph Milazzo
9168e12483
Refactored Volume to have Name and Number (int) so that we can properly sort and still handle possible split volumes.
...
Refactored ScanLibrary into Library controller and updated it so it adds the new library to all admins.
2021-01-02 12:21:36 -06:00
Joseph Milazzo
d632e53f18
Added ability to automatically track last modified and created timestamps for entities via an interface. DBContext will automatically update for us.
2021-01-02 10:59:52 -06:00
Joseph Milazzo
55a44000fc
Changed scan to POST and added new API for route gurads on UI.
2021-01-02 09:25:45 -06:00
Joseph Milazzo
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.
2021-01-01 16:10:35 -06:00
Joseph Milazzo
fa71a40990
Fixed warnings in code
2021-01-01 14:18:29 -06:00
Joseph Milazzo
1797a3fb64
Merge pull request #16 from Kareadita/feature/scan-library
...
Library Scanning + Task Scheduling
2021-01-01 14:05:10 -06:00
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