58c01b2174
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
Added new TrangaTask: DownloadChapter to download single chapters.
Fixed duplicate file-access when writing settings.
2023-06-05 00:35:57 +02:00
496d502cd2
Kavita Auth is a pain.
2023-06-03 21:26:29 +02:00
4f29eff48e
Kavita authorization
2023-06-03 15:39:48 +02:00
e0e7abb62b
#33 Added custom serializer for LibraryManager
...
Added Code for Kavita
2023-06-03 15:32:54 +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
0d3799e00d
Fix Bug when strings where shorter than 25 characters on logger.writeline
...
Fixed CLI output
2023-06-01 22:27:37 +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
046cad8072
Dockerfile for Tranga
2023-05-25 10:25:11 +02:00
5aa3214ce5
TrangaTask.ToString() rewrite for logs-readability.
...
LogMessages only include class-name without path
2023-05-22 21:37:02 +02:00
79dc44d707
fixes 11
2023-05-22 17:04:31 +02:00
43db463ba6
fixes #9
2023-05-22 16:52:52 +02:00
da1b0cb1cd
Change to CommonApplicationFolder as applicationPath
2023-05-22 01:53:27 +02:00
0486168b43
AddMangaTaskToQueue Shortcut
2023-05-22 00:15:08 +02:00
b64ab5c6d4
Created TrangaSettings
...
Different files for settings, tasks, and known publications
Komga connector is stored in TrangaSettings
2023-05-22 00:13:24 +02:00
cf171d5c38
Bring CLI in line with new Methods
2023-05-21 22:02:35 +02:00
674c8fc37b
FIX Bug where menu wouldnt work
2023-05-21 15:34:59 +02:00
942a552c8e
Reduced update time for more responsiveness in CLI
...
Added statement "Exiting." when exiting for feedback to userinput.
2023-05-21 15:26:29 +02:00
b5bd5d6126
Fixed some bugs relating to new Filepath of Applicationdata
2023-05-21 15:14:25 +02:00
715cf1f4f3
Use SettingsData in TaskManager
2023-05-21 15:05:53 +02:00
168bf5a358
Made CLI auto-update on menu screen (task count)
...
And tail the logfile
2023-05-21 14:44:33 +02:00
636d17d287
Only list tasks that are not already running when asking to execute now.
2023-05-21 03:21:34 +02:00
294b819ff0
Created SelectTask menu
...
Created method to enqueue task
Added option to enqueue task to CLI
2023-05-21 03:18:56 +02:00
d763610383
Menu formatting
2023-05-21 03:08:36 +02:00
2910473fec
Only list tasks that are enqueued when showing remove task menu
2023-05-21 03:06:50 +02:00
ca2d13226f
Menu formatting
2023-05-21 03:05:29 +02:00
95c65c981e
Added "Remove task from queue"-Menu
...
Added "Remove task from queue" to TaskManager
Better naming for deleting tasks and the taskqueue
2023-05-21 03:04:32 +02:00
e72efa3731
Corrected string
2023-05-21 02:18:39 +02:00
597eedb6d4
Added menu to show loglines
2023-05-21 02:17:38 +02:00
32467191f6
Added New CLI Options to list enqueued task and view last 20 loglines
2023-05-21 02:11:47 +02:00
fe52d2c3b5
Always create and use MemoryLogger
2023-05-21 02:10:32 +02:00
e564be08f5
Search query length now at least 4 characters
2023-05-20 23:08:16 +02:00
d6af014cb7
string
2023-05-20 22:43:39 +02:00
d62b0bdf34
Changed Logger to accept string as caller
...
Added Logger to all relevant methods
2023-05-20 22:10:24 +02:00
a367ebb230
Use Logger to log CLI-Inputs
2023-05-20 21:48:08 +02:00
1449292e53
More fancy CLI
2023-05-20 16:35:08 +02:00
67f3695be8
CLI: When listing Task add headers for values
2023-05-20 16:27:30 +02:00
e54e83c2ae
Moved "Press any key"
2023-05-20 16:15:17 +02:00
73f19c3989
Clear console when aborting.
2023-05-20 16:13:19 +02:00
2c84688925
Rewrote menu structure
...
You can now exit menus with q
2023-05-20 16:12:15 +02:00
a58f113d14
Add ability to abort when selecting task in menu to ExecuteNow or Remove
2023-05-20 15:58:35 +02:00
fcb1848a93
Renamed SelectTask to SelectTaskType to avoid confusion
2023-05-20 15:58:02 +02:00
337111d833
Remove DownloadNow mode
2023-05-20 15:57:35 +02:00
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
58de0115d6
Use GetConnector Method.
2023-05-20 14:21:47 +02:00
538cfec619
Added UpdateKomgaTask
...
Fixed Komga-auth
Added Komga to data.json
2023-05-20 14:07:38 +02:00
52f357021d
Added KomgaAPI base,
...
Rewrote settings/task storage to only produce single file
2023-05-20 12:53:19 +02:00
08e0fe7c71
We happy? We happy. Thanks ReSharper
2023-05-20 01:06:12 +02:00