Commit Graph

221 Commits

Author SHA1 Message Date
dd58efce06 Working TaskManager and Tasks 2023-05-19 16:27:56 +02:00
cfaf8064cc Check if cover already exists in publication. 2023-05-19 16:27:30 +02:00
9baa9fb8f0 Amended SaveSeriesInfo to not constantly rewrite info 2023-05-19 16:25:08 +02:00
e3aab83dfb When downloading new Chapters, download cover and series info. 2023-05-19 16:24:05 +02:00
afe36ab2ef Switch to Newtonsoft.Json for serialization 2023-05-19 16:23:37 +02:00
0afbcd9bbf Removed field Connector from Publication as it was not needed. 2023-05-19 16:21:59 +02:00
9aa822b900 Created SaveSeriesInfo in Connector 2023-05-19 16:19:10 +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
db5470769c Changed accessiblity of DownloadChapter(string[] imageUrls, string saveArchiveFilePath) to protected so only inherited classes can call. 2023-05-18 20:57:45 +02:00
e8f25ca9d0 Added Series Info Capability 2023-05-18 20:26:47 +02:00
a54b5e9e1f fixed wrong variable bug 2023-05-18 20:07:47 +02:00
f5225f9f29 Moved filenaming to Chapter struct 2023-05-18 20:06:29 +02:00
glax
c283cbd9a9 Added download cover functionality 2023-05-18 19:56:06 +02:00
glax
f92bcebe04 renamed variable 2023-05-18 19:55:49 +02:00
glax
cd061d23fc renamed variable 2023-05-18 19:55:18 +02:00
glax
ab34ca2c45 Field folderName in publication 2023-05-18 19:54:51 +02:00
glax
3485eac88c More appropriate name for chapter filename 2023-05-18 19:51:26 +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
039154dd53 Split up into smaller Methods that can be used for task-creation 2023-05-18 19:24:44 +02:00
glax
86712714f2 Implemented CreateUpdateChaptersTask
Implemented CreateUpdatePublicationsTask
2023-05-18 19:12:17 +02:00
glax
6e5ad6b61f Merge remote-tracking branch 'origin/master' 2023-05-18 19:04:41 +02:00
glax
88e5379e25 Cleanup 2023-05-18 19:04:34 +02:00
glax
4e0f0aabe8 Cleanup 2023-05-18 19:03:21 +02:00
glax
babf15072d Added Connector selector (overkill with 1 so far? :P ) 2023-05-18 18:51:43 +02:00
glax
a1bd85daa5 Moved field downloadLocation to abstract Connector class. 2023-05-18 18:51:19 +02:00
glax
d46b46f8fb Create Publication Folder and replace downloaded files if necessary. 2023-05-18 18:43:22 +02:00
glax
d191f5dfc7 moved fileName to Chapter for future checking if file exists. 2023-05-18 18:42:36 +02:00
glax
57c7f175d9 170d0c094c 2023-05-18 18:22:38 +02:00
glax
ff1e775763 fixed issue where same chapter was downloaded 2023-05-18 18:21:43 +02:00
glax
5adceb7608 Changed enumeration of chapters to include names 2023-05-18 18:21:21 +02:00
glax
2925206048 fixed chapter order 2023-05-18 18:20:37 +02:00
glax
340a2b7e43 fixed bug where offset wasnt increasing 2023-05-18 18:20:21 +02:00
glax
cbdc91985b fixed bug where offset was increased too soon 2023-05-18 18:20:04 +02:00
glax
e3247e6242 Reduced download delay 2023-05-18 18:19:29 +02:00
glax
170d0c094c Added functionality to only list chapters in selected language 2023-05-18 18:19:04 +02:00
glax
f2be9ba132 More extensive cli 2023-05-18 17:42:47 +02:00
glax
8af8171330 fixed wrong url issue on image download 2023-05-18 17:42:26 +02:00
glax
ada842957e Added file extension to downloaded Images. 2023-05-18 17:42:02 +02:00
glax
81f380dc3c Renamed fields to match private naming style.
Fixed issue where _lastRequest in DownloadClient was not updated.
2023-05-18 17:41:44 +02:00
glax
2b7f759e7e Upgraded test-setup 2023-05-18 17:22:10 +02:00
glax
40242ee7ca fixed wrong id-location when getting chapters 2023-05-18 17:22:02 +02:00
glax
9eb53bb53a Fixed null-Errors in json 2023-05-18 17:21:34 +02:00
glax
9a01db710b Fixed illegal characters in filenames
Fixed logic for downloading images (separation between Connector and inherited classes)
2023-05-18 17:21:06 +02:00