c8e27921ab
Added taskId to trangaTask and parentTaskId to DownloadChapterTask as unique identifier to attach ChildTasks to ParentTask on deserialization.
2023-06-10 15:59:42 +02:00
41929e0c72
DownloadChapterTask sets execution of parentTask
2023-06-10 15:04:37 +02:00
1c94625840
Added CancellationToken to TrangaTask #14
2023-06-10 14:27:09 +02:00
a3a96b6b55
Added DecrementProgress function to TrangaTask
2023-06-09 23:38:28 +02:00
87eade10cf
#40 task timeout criteria
2023-06-07 00:27:53 +02:00
1f3ac41b30
removed unnecessary cast
2023-06-07 00:24:58 +02:00
17ce820cf3
Changed taskProgress increment to call method that updates progress accordingly (with parent-tasks being also updated)
2023-06-06 20:54:21 +02:00
bd189984a9
Rewrote entire Task-Structure:
...
TrangaTask now only contains essentials, derived classes contain specific information such as connectorName, publication, chapter, etc.
Removed taskQueue system, instead all tasks are kept in _allTasks.
Progress is being tracked in TrangaTask resolves #36 resolves #32
Added new TrangaTask: DownloadChapter to download single chapters. #35
Fixed duplicate file-access when writing settings.
2023-06-05 00:38:07 +02:00
5d98295c59
#33 Preparation:
...
TrangaSettings now stores Hashset of LibraryManagers
2023-06-03 15:17:08 +02:00
0c580933f9
#33 Preparation:
...
Abstracted class Komga into LibraryManager
Fixed logger not attaching to LibraryManager
2023-06-03 15:02:15 +02:00
933df58712
Moved publicationFolder creation to Publication with Permissions
2023-06-01 22:59:04 +02:00
1bca99cb6a
#32 Added progress tracking to task (internal and log use for now)
2023-06-01 22:05:48 +02:00
8bc23f7c69
Instead of relying on concreate tasks to do chores, create method in abstract class that calls the BL in concrete class and does chores before and after execution
2023-06-01 10:35:23 +02:00
61ecefb615
Logging and Chores in abstract class
2023-05-31 22:32:37 +02:00
932057cca0
update execution time
2023-05-31 22:20:33 +02:00
e4f33bcca9
Set ExecutionState to waiting after finished
2023-05-31 21:52:50 +02:00
f892db7dda
Switch Execution State to Running when executing
2023-05-31 21:40:00 +02:00
d5ecc1c37d
Spelling, redundant calls
2023-05-31 21:18:41 +02:00
1b9ebd096b
Removed TaskExecutor
...
TrangaTask is now abstract
TrangaTask implements Execute Method, that is now called instead of TaskExecutor
Created inheriting classes of TrangaTask: UpdateKomgaLibraryTask, DownloadNewChaptersTask
2023-05-31 21:15:32 +02:00