Joseph Milazzo
a0deafe75b
Parser Enhancement: Fallback to Folder name ( #129 )
...
* More cases for parsing regex
* Implemented GetFoldersTillRoot for falling back on parsing when we can't get anything from the filename.
* Implemented a fallback strategy. Not tested on large libraries yet.
* Fallback tested and working great.
* Removed a test case that won't pass and added some trims
2021-03-29 17:37:35 -05:00
Joseph Milazzo
b709da3854
Merge branch 'develop' of https://github.com/Kareadita/Kavita into develop
2021-03-29 15:22:38 -05:00
Joseph Milazzo
d9246b7351
Parsing Enhancements ( #126 )
...
* More cases for parsing regex
* Implemented the ability to parse "Special" keywords.
* Commented out some unit tests
* More parsing cases
* Fixed unit tests
* Fixed typo in build script
* Fixed a bug where if there was a series with same name, but different capitalization, we wouldn't process it's infos.
* Tons of regex updates to handle more cases.
* More regex tweaking to handle as many cases as possible.
* Bad merge caused the comic parser to break. Fixed with some better regex.
2021-03-29 15:15:49 -05:00
Joseph Milazzo
3e031ab458
Lots of Parsing Enhancements ( #120 )
...
* More cases for parsing regex
* Implemented the ability to parse "Special" keywords.
* Commented out some unit tests
* More parsing cases
* Fixed unit tests
* Fixed typo in build script
v0.3.6
2021-03-28 18:00:05 -05:00
Joseph Milazzo
c74b4c36c1
More cases for parsing regex
2021-03-28 12:43:35 -05:00
Joseph Milazzo
7e54d332f5
Comic Support ( #119 )
...
* Implemented some basic regex for comic support
* Implemented support for comics
* empty filenames, like .test.jpg shouldn't be counted as image types.
* Fixed some regex for Manga's with commas or version tags in parenthesis.
2021-03-28 12:09:42 -05:00
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
v0.3.5
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
d2914a0e79
Feature/readme ( #109 )
...
* Updated readme to have an image and support link.
* Updated readme
v0.3.2
2021-03-25 18:46:10 -05:00
Joseph Milazzo
816f4d2926
v0.3.1 - Release ( #108 )
...
* Fix directory issue when building all the packages where directory got skewed. (#98 )
* Bump version for patch release due to bug in continue fuctionality. (#104 )
* Chore/version bump (#106 )
* Bump version for patch release due to bug in continue fuctionality.
* Added develop branch for github actions
* Updated readme to have an image and support link. (#107 )
2021-03-25 17:33:35 -05:00
Joseph Milazzo
3556dfca40
Updated readme to have an image and support link. ( #107 )
2021-03-25 17:27:49 -05:00
Joseph Milazzo
4028ff3529
v0.3.1 Release ( #105 )
...
* Fix directory issue when building all the packages where directory got skewed. (#98 )
* Bump version for patch release due to bug in continue fuctionality. (#104 )
* Chore/version bump (#106 )
* Bump version for patch release due to bug in continue fuctionality.
* Added develop branch for github actions
2021-03-25 08:38:38 -05:00
Joseph Milazzo
609eda3254
Chore/version bump ( #106 )
...
* Bump version for patch release due to bug in continue fuctionality.
* Added develop branch for github actions
v0.3.1
2021-03-25 08:37:35 -05:00
Joseph Milazzo
795c80b306
Bump version for patch release due to bug in continue fuctionality. ( #104 )
2021-03-25 08:32:37 -05:00
Joseph Milazzo
d66cd37055
Fix directory issue when building all the packages where directory got skewed. ( #98 )
2021-03-24 16:11:04 -05:00
Joseph Milazzo
914cdac8fe
Merge pull request #95 from Kareadita/chore/simple-builds
...
Implemented a script to automatically publish for all supported RIDs.
v0.3
2021-03-24 14:45:15 -05:00
Joseph Milazzo
60f45da44e
Implemented a script to automatically publish for all supported RIDs.
2021-03-24 14:19:12 -05:00
Joseph Milazzo
02520b8751
Merge pull request #92 from Kareadita/feature/scan-performance
...
Don't process pages or cover image optimization
2021-03-24 07:52:22 -05:00
Joseph Milazzo
c639b8ca04
Implemented the LastWrite check for Summaries and Series Cover Images. Removed a TODO after validation.
2021-03-24 07:41:52 -05:00
Joseph Milazzo
f85918b5bf
When we scan a library, store the last write time for a file so we can skip page calculation if there were no modifications.
2021-03-23 17:28:48 -05:00
Joseph Milazzo
f77b0ec552
Merge pull request #90 from Kareadita/feature/compress-fallback
...
Compression Fallback
2021-03-23 15:43:13 -05:00
Joseph Milazzo
a176034905
Some smells found in scan.
2021-03-23 15:04:22 -05:00
Joseph Milazzo
44c2af88ea
Some security issue found in scan.
2021-03-23 14:51:56 -05:00
Joseph Milazzo
70cc163cb0
More cleanup
2021-03-23 14:41:14 -05:00
Joseph Milazzo
6ebf5d6254
Cleanup and tests fixup
2021-03-23 14:37:47 -05:00
Joseph Milazzo
154b30c3fd
Implemented fallback functionality. Try to use System.IO.Compression.ZipArchive then fallback to SharpCompress (which is extremely slow).
...
Currently this hits disk 3 times per operation, needs performance tuning.
2021-03-23 14:12:28 -05:00
Joseph Milazzo
067b5174ab
Cleaned up tests and began implementation of fallback functionality
2021-03-23 12:59:40 -05:00
Joseph Milazzo
f63c38ac23
Dropped the initial commit for this work due to a large file. Had to do some cleanup from a bad merge.
2021-03-23 12:27:04 -05:00
Joseph Milazzo
931ecb1437
Removed test data that was too large.
2021-03-23 12:22:50 -05:00
Joseph Milazzo
d724a8f178
A lot of random changes to try and speed up SharpCompress.
2021-03-23 12:22:50 -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
b66c6b5714
Fixed some parser unit tests around negative lookaheads
2021-03-23 12:20:30 -05:00
Joseph Milazzo
d543511131
Finished refactoring to SharpCompress.
2021-03-23 12:20:27 -05:00
Joseph Milazzo
16bc83b3c3
Merge pull request #88 from Kareadita/feature/database-task
...
Clear Database entries after 30 days
2021-03-20 12:55:10 -05:00
Joseph Milazzo
f77de66d97
ContinueReading has been pulled from UI. The query doesn't work and no longer sure I need.
2021-03-20 12:44:18 -05:00
Joseph Milazzo
a125b2ac0b
Fixed GetInProgress API - The condition for PagesRead needed to be a sum for all progress, not each row.
2021-03-18 14:18:56 -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
546f12c795
Removed LiteDB and use In Memory Storage for time being. LiteDB was causing the issues in Issue #79 .
2021-03-18 08:54:30 -05:00
Joseph Milazzo
4052306c97
Merge pull request #87 from Kareadita/feature/streams
...
Streams!
2021-03-17 18:18:15 -05:00
Joseph Milazzo
c312e0706f
Removed a leftover code for async
2021-03-17 18:07:10 -05:00
Joseph Milazzo
a5069158fa
Removed tests. For those cases, I was unable to find a good solution. Users will have to manually map or rename.
2021-03-17 17:47:06 -05:00
Joseph Milazzo
4c6758b9b0
Can't figure out how to implement StartupTask
2021-03-17 17:21:59 -05:00
Joseph Milazzo
e60d84a2c8
Cleanup
2021-03-17 14:31:17 -05:00
Joseph Milazzo
0a85555f38
Temp commit to record attempts. Stream APIs are implemented and working. Added some new test cases based on deployed Kavita server testing.
2021-03-17 14:29:50 -05:00
Joseph Milazzo
55cd0c5fe5
For the time out on tasks, I'm going to only use Hangfire scheduled tasks on prod.
2021-03-15 17:10:09 -05:00
Joseph Milazzo
fad4ca4414
Lots of Hangfire attempts to solve the lock issue. Not sure how to fix it. Added some APIs for streams.
2021-03-15 13:49:13 -05:00
Joseph Milazzo
bb0a59448f
Lots of Hangfire attempts to solve the lock issue. Not sure how to fix it. Added some APIs for streams.
2021-03-15 13:49:06 -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
41e54fd833
Merge pull request #86 from Kareadita/feature/streams
...
Fix security issue. SHA1 has collisions, switching to SHA256
2021-03-14 11:47:33 -05:00