Joseph Milazzo
55d47eb1b9
Bugfix/multiple file extract ( #116 )
...
* Fixed a bug where if a chapter had multiple archive files, they wouldn't all be extracted due to short circuit in ExtractArchive. Now I add the file id then flatten afterwards.
* Fixed a bug where due to how we were extracting for multiple files, the single file extractions failed.
* Bumped release for 3.5 release
2021-03-27 15:20:55 -05:00
Joseph Milazzo
280fdc07f2
Fixed a bug where if a chapter had multiple archive files, they wouldn't all be extracted due to short circuit in ExtractArchive. Now I add the file id then flatten afterwards. ( #113 )
2021-03-26 13:43:54 -05:00
Joseph Milazzo
d73bd22db2
Some code cleanup
2021-03-23 12:22:47 -05:00
Joseph Milazzo
585e965a85
Fixed some bad test cases that really messed up my codebase.
2021-03-23 12:21:09 -05:00
Joseph Milazzo
b8cd04e1de
Fixed a bad if statment that caused every EnsureCache() call to print cache doesn't exist, even though it does.
2021-03-18 10:51:09 -05:00
Joseph Milazzo
9035b6cc4e
Hangfire now dies gracefully when using CTRL+C rather than Stop button in Rider. Implemented one stream method for testing. Regenerated a few migrations due to oversight in index not taking account of library.
2021-03-15 08:43:43 -05:00
Joseph Milazzo
983078de02
Ensure I validate before attempting to update password for reset password flow. Send some validation issues back to FE.
2021-03-13 12:28:00 -06:00
Joseph Milazzo
bbb4240e20
Implemented download log files (not in service). Refactored backupservice to handle log file splitting. Improved a few interfaces and added some unit tests around them.
2021-02-24 11:59:16 -06:00
Joseph Milazzo
b4ee16d8d1
Code cleanup. Implemented ability to schedule Library Backups.
2021-02-17 08:58:36 -06:00
Joseph Milazzo
852317d3a6
Fixed an off by 1 issue with reading manga (for real now)
2021-02-12 17:56:21 -06:00
Joseph Milazzo
9a50241734
Fixed an off by 1 issue with reading manga.
2021-02-12 17:43:19 -06:00
Joseph Milazzo
10c8ea34fe
Cleanup after feature implementation.
2021-02-04 17:01:37 -06:00
Joseph Milazzo
1050fa4e54
Ability to update settings. Take effect on next reboot.
2021-02-04 16:49:48 -06:00
Joseph Milazzo
0f82b45b9d
Refactored Cache Cleanup code.
2021-02-02 09:38:10 -06:00
Joseph Milazzo
53e85317f9
Refactored DB to be Series->Volumes->Chapters instead. All functionality that previously worked still works. Cleanup still needed.
2021-02-01 09:29:11 -06:00
Joseph Milazzo
a42e54a078
Lots of work for chapters. This code will be refactored in a chapter rewrite.
2021-01-27 14:14:16 -06:00
Joseph Milazzo
f430595d11
Attempted to Test CacheService, but can't figure it out.
2021-01-26 14:35:50 -06:00
Joseph Milazzo
6b76c8b211
Refactored archive code into a service so that I can write tests for it.
2021-01-26 09:55:15 -06:00
Joseph Milazzo
07fd959b22
Fixed some errors being thrown when not needed on Cache.Ensure(). Added ability to send actual mangafile information on the volume() api so we can display to the user.
2021-01-26 07:55:40 -06:00
Joseph Milazzo
165757d338
Removed sharpcompress code.
2021-01-25 18:18:24 -06:00
Joseph Milazzo
6cc11d5c4c
Tried SharpCompress but had 20x speed decrement. Not using.
2021-01-25 18:18:07 -06:00
Joseph Milazzo
a057e3ce1d
Lots of bug fixes around publishing and handling weird cases on a real manga library. Implemented ability to have Volumes number 0 aka just latest chapters. Refactored DirectoryService code for scanning into it's own service. Lots of debug code, will be cleaned up later.
2021-01-23 17:44:48 -06:00
Joseph Milazzo
18385a4f80
Implemented ability to have server settings. Currently cache directory is there but it is not configurable (or used in this commit)
2021-01-23 09:01:10 -06:00
Joseph Milazzo
44ebca36ec
Cleaned up some TODOs.
2021-01-19 12:51:41 -06:00
Joseph Milazzo
c75feb03e1
Fixed offset bug in GetCachedPagePath for if you've read just one page. Fixed a bad refactor for getting files.
2021-01-19 12:06:45 -06:00
Joseph Milazzo
825afd83a2
Removed some dead code on the interfaces. Introduced UnitOfWork to simplify repo injection.
2021-01-18 13:07:48 -06:00
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
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