Commit Graph

33 Commits

Author SHA1 Message Date
4ee47ed65c Snarky comments. Documentation 2023-05-20 15:05:41 +02:00
430ee2301f Implemented Queue, so that taskManager is not held up with other Connector-tasks.
Tasks are now executed in another Thread.
Replaced TrangaTask.isBeingExecuted bool with 3-states: Waiting, Enqueued, Running
Added Queue size to CLI output.
2023-05-20 14:50:48 +02:00
fa44de0c8d Moved _chapterCollection initialization 2023-05-20 14:18:17 +02:00
72bd1c56a8 Added Method GetConnector to TaskManager that returns Connector with given Name.
Removed Method NewKomga unused
2023-05-20 14:18:03 +02:00
538cfec619 Added UpdateKomgaTask
Fixed Komga-auth
Added Komga to data.json
2023-05-20 14:07:38 +02:00
ff01bac9d4 Changed ComicInfo.xml to use chapternumber as "Number". 2023-05-20 12:53:54 +02:00
52f357021d Added KomgaAPI base,
Rewrote settings/task storage to only produce single file
2023-05-20 12:53:19 +02:00
3effc7aeb6 Check later 2023-05-20 01:35:19 +02:00
9d104b25f8 Renamed some variables,
changed some access-types to protected/readonly
Made Resharper a bit happier
2023-05-20 01:06:00 +02:00
3f72e527fa AddTask returns the created Task 2023-05-20 00:36:52 +02:00
e499062fd5 Add more documentation 2023-05-19 20:22:13 +02:00
124c644db1 Added summary for TaskExecutor, TaskManager, TrangaTask 2023-05-19 20:03:17 +02:00
c1a3532a6c Execute now checks if Task is actually in collection 2023-05-19 20:02:58 +02:00
58fef5c307 Added force shutdown functionality and option to select wether we want to force or not 2023-05-19 19:21:54 +02:00
c8654dbb85 Changed access types of Import and Export Tasks to private 2023-05-19 19:21:15 +02:00
133b3146b5 Added option to immediately execute a task 2023-05-19 19:20:52 +02:00
d659a26987 Fixed bug when adding task, that Publication was not added to known publications.
Fixed issue, that chapters would be re-downloaded
2023-05-19 18:20:26 +02:00
aa2ab0e1d0 Added GetAllPublications to TaskManager. 2023-05-19 17:36:15 +02:00
f0a4bc3e99 AddTask now takes ConnectorName instead of object 2023-05-19 17:36:03 +02:00
e5d7fdf9b4 ExportTasks every time a task is added/removed 2023-05-19 16:35:53 +02:00
d358147673 Moved lastExecuted update to TaskExecutor.Execute 2023-05-19 16:35:27 +02:00
dd58efce06 Working TaskManager and Tasks 2023-05-19 16:27:56 +02:00
afe36ab2ef Switch to Newtonsoft.Json for serialization 2023-05-19 16:23:37 +02:00
24c58e9e22 Added methods to Add/Remove tasks 2023-05-19 14:15:17 +02:00
f42a0a0017 Added Import/Export-tasks functionality. 2023-05-19 14:15:07 +02:00
6de6d060c4 Rewrite Task-Structure for serialization.
TrangaTask include information on what to execute where, do not execute tasks.
TaskExecutor executes Tasks on information from TrangaTask
2023-05-19 14:00:30 +02:00
3d9e3d019d Future use: Import and export task-list. 2023-05-19 13:59:26 +02:00
741cf88f7f Remove not used methods 2023-05-19 13:58:57 +02:00
86bb49508a Revert serialization attempt 2023-05-18 21:08:09 +02:00
1f8e8fb740 Fixed Capitalization
Added fields for serialization
2023-05-18 21:03:03 +02:00
0fc146019a Rewrite of Task-System for serialization. 2023-05-18 20:58:03 +02:00
glax
943ce98f38 Tasks are now stored separately in Hashset
Created Dict<Publication, Chapter[]> _chapterCollection for added chapters.
2023-05-18 19:25:46 +02:00
glax
d6ec91c896 Moved files
Added DownloadClient to Connector
2023-05-18 12:26:15 +02:00