216 Commits

Author SHA1 Message Date
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
Joseph Milazzo
126fb57f4d Fix security issue. SHA1 has collisions, switching to SHA256 2021-03-14 10:23:10 -05:00
Joseph Milazzo
957f1fcd7f
Merge pull request #85 from Kareadita/feature/streams
Added a new method for triggering jobs rather than scheduling ad-hoc.
2021-03-14 10:07:40 -05:00
Joseph Milazzo
98c23af680 Comment out bad test 2021-03-14 09:59:24 -05:00
Joseph Milazzo
01a5c80b44 workflow issues 2021-03-14 09:51:43 -05:00
Joseph Milazzo
218eb0bc47 Bad copy/paste caused spacing issue 2021-03-14 09:42:27 -05:00
Joseph Milazzo
d23a569446 Added a new method for triggering jobs rather than scheduling ad-hoc. 2021-03-14 09:39:48 -05:00
Joseph Milazzo
99e2ea6419
Merge pull request #84 from Kareadita/feature/streams
Oops, some spacing issue
2021-03-14 09:38:38 -05:00
Joseph Milazzo
a7516d313d Rename action to Build 2021-03-14 09:37:34 -05:00
Joseph Milazzo
7d0dd6d303 Oops, some spacing issue 2021-03-14 09:34:16 -05:00
Joseph Milazzo
2097c25a9a Oops, some spacing issue 2021-03-14 09:31:22 -05:00
Joseph Milazzo
8ce733f04c
Merge pull request #83 from Kareadita/feature/streams
Intergrate sonarcloud.io into workflow. Move analysis before Unit tes…
2021-03-14 09:30:15 -05:00
Joseph Milazzo
128975a905 Github actions: trying to fix automated build and scan 2021-03-14 09:29:49 -05:00
Joseph Milazzo
3a4b364658 Github actions: trying to fix automated build and scan 2021-03-14 09:19:01 -05:00
Joseph Milazzo
878c0c1e60 Github actions: trying to fix automated build and scan 2021-03-14 09:15:36 -05:00
Joseph Milazzo
93399dbd5d Github actions: trying to fix automated build and scan 2021-03-14 09:14:40 -05:00
Joseph Milazzo
cfb409558b Github actions: trying to fix automated build and scan 2021-03-14 09:13:34 -05:00
Joseph Milazzo
8b4b31d748 Github actions: trying to fix automated build and scan 2021-03-14 09:12:45 -05:00
Joseph Milazzo
980275e29d Github actions: trying to fix automated build and scan 2021-03-14 09:07:45 -05:00
Joseph Milazzo
1ca6f9b4ee Github actions: trying to fix automated build and scan 2021-03-14 09:06:33 -05:00
Joseph Milazzo
b9a43995bb Intergrate sonarcloud.io into workflow. Move analysis before Unit testing. 2021-03-14 08:55:36 -05:00
Joseph Milazzo
9101393fb2
Merge pull request #81 from Kareadita/feature/streams
Github Actions build changes
2021-03-14 08:54:13 -05:00
Joseph Milazzo
647a1734ff Intergrate sonarcloud.io into workflow. Move analysis before Unit testing. 2021-03-14 08:51:22 -05:00
Joseph Milazzo
8bc7465306
Merge pull request #80 from Kareadita/feature/lazy-loading
Lazy Loading + Response Caching
2021-03-13 18:18:42 -06:00
Joseph Milazzo
6e6e5ee9f2 Implemented a startup task that will instantiate all the DI so first API isn't having to eat that overhead. 2021-03-13 17:44:29 -06: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
52b91a9b92 Public caching causes an issue with cache validation on browser causing images not to be cached correctly. Made private to ensure we get proper images each load. 2021-03-12 18:35:12 -06:00
Joseph Milazzo
1f24725905 Added indexes to Series table for searching. Removed byte[] from SearchResultDTO. Added response caching for all APIs. Responses are cached for 10 seconds. 2021-03-12 18:21:13 -06:00
Joseph Milazzo
24118da49c Added localizedName for search function 2021-03-12 13:23:21 -06:00
Joseph Milazzo
af35d8aad5 Cleanup of lazy loading code. Made some DTOs use init rather than set to keep it clean. 2021-03-12 13:20:08 -06:00
Joseph Milazzo
33515ad865 First pass for supporting lazy loading and not using base64 strings for loading images in UI. 2021-03-12 12:22:04 -06:00