Joseph Milazzo
7790cf31fd
In Progress Query Update ( #145 )
...
* Fixed a bug where chapter cover images weren't being updated due to a missed not.
* Removed a piece of code that was needed for upgrading, since all beta users agreed to wipe db.
* Fixed InProgress to properly respect order and show more recent activity first. Issue is with IEntityDate LastModified not updating in DataContext.
* Updated dependencies to lastest stable.
* LastModified on Volumes wasn't updating, validated it does update when data is changed.
2021-04-01 16:11:06 -05:00
Joseph Milazzo
667d1d2a4d
Don't go to archive file if it hasn't updated since last scan ( #135 )
...
* Skip archive work unless the file has actually changed since last scan.
2021-03-31 12:53:53 -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
d73bd22db2
Some code cleanup
2021-03-23 12:22:47 -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
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
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
126fb57f4d
Fix security issue. SHA1 has collisions, switching to SHA256
2021-03-14 10:23:10 -05: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
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
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
2a8931406d
Cleaned up ReaderController to match the new method of loading images in FE. Sends the full files rather than base64 encoded string.
2021-03-09 15:50:17 -06:00
Joseph Milazzo
ecfb40cb2d
Moved some files around, fixed Log file fetching to use zip and work more reliably. Refactored some code in directory service.
2021-02-24 15:58:17 -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
922c0153d3
Added series progress/rating information back in. Left attempts at doing via a JOIN or raw SQL.
2021-02-17 15:28:57 -06:00
Joseph Milazzo
222959981f
Implemented pagination on GetSeriesForLibrary
2021-02-17 11:23:08 -06:00
Joseph Milazzo
b4ee16d8d1
Code cleanup. Implemented ability to schedule Library Backups.
2021-02-17 08:58:36 -06:00
Joseph Milazzo
2887fab53f
Implements search functionality and prepares for upcoming paging in v0.3.
2021-02-15 13:08:30 -06:00
Joseph Milazzo
7eb62376eb
Removed some extra code that was not needed in parallelization code.
2021-02-10 15:18:52 -06:00
Joseph Milazzo
d8d01ffaf6
More refactoring around ScannerService. Moved metadata into its own service. Focusing on cleaning up ScanLibrary code to work 100%.
2021-02-08 16:44:18 -06:00
Joseph Milazzo
10c8ea34fe
Cleanup after feature implementation.
2021-02-04 17:01:37 -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
f430595d11
Attempted to Test CacheService, but can't figure it out.
2021-01-26 14:35:50 -06:00
Joseph Milazzo
6cc11d5c4c
Tried SharpCompress but had 20x speed decrement. Not using.
2021-01-25 18:18:07 -06:00
Joseph Milazzo
8683c81361
There is a theme...more regex changes. Moved the logic around parsing and falling back into Parser.Parse() and setup testing for it.
2021-01-24 10:05:53 -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
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
731e3a9c5e
Cache cleanup implemented
2021-01-11 15:39:25 -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
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
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
793c13e1e6
Refactored all Policy strings into their own constant file.
2020-12-24 10:21:59 -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
8f7df85d49
Refractor token auth stuff to use identiycore framework
2020-12-21 09:24:21 -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
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
2b521924d0
Setup basic code for login.
2020-12-12 20:14:56 -06:00