Commit Graph

55 Commits

Author SHA1 Message Date
Timothy Baldridge
7bbcbfdbb3 Code for healing MEGA links 2020-07-13 16:10:05 -06:00
Timothy Baldridge
d52a09094b Update ChangeDownload.cs to use Path code. Update MEGADownloader to not try and heal archives 2020-07-12 21:50:12 -06:00
Justin Swanson
d3b72af7a8 ClientFactory moved to Wabbajack.Lib 2020-06-26 12:08:30 -05:00
Timothy Baldridge
cba3412ce8 Version 2.0.9.4 2020-06-16 16:21:01 -06:00
Timothy Baldridge
b2a112bd37 Whole app now useses Async IO exclusively 2020-05-25 11:34:25 -06:00
Timothy Baldridge
600516be3f Restrict some of the links we check that don't change very often 2020-05-25 07:04:31 -06:00
Timothy Baldridge
96ca01f1dc Don't really need that test anymore 2020-05-23 15:03:25 -06:00
Timothy Baldridge
8c4a1dd125 a bit of code cleanup 2020-05-21 22:21:32 -06:00
Timothy Baldridge
51d62067d0 Version 2.0.6.0 - Don't die on 503s, retry 2020-05-21 17:24:26 -06:00
Timothy Baldridge
aab9ccd694 Version 2.0.6.0 - Don't die on 503s, retry 2020-05-21 16:12:51 -06:00
Timothy Baldridge
7d58dbc161 List validator now tries to heal lists 2020-05-20 06:18:47 -06:00
Timothy Baldridge
da3d87093a End to end tests pass 2020-05-19 21:55:12 -06:00
Justin Swanson
806ff74893 Wabbajack.Lib nullability finished up 2020-04-10 13:32:35 -05:00
Justin Swanson
a29eb93caf Wabbajack.Lib downloaders enable nullable 2020-04-10 13:23:23 -05:00
Timothy Baldridge
45254b0055 No more MessagePack, Json is love, Json is life 2020-04-06 14:48:54 -06:00
Timothy Baldridge
8af841f3d6 Fix several more tests 2020-04-03 16:41:42 -06:00
Timothy Baldridge
723f624d7a Half of the downloaders pass tests 2020-04-03 16:40:51 -06:00
Timothy Baldridge
defbc15593 Only 149 errors left in Wabbajack.Lib 2020-04-03 16:38:48 -06:00
Timothy Baldridge
d6123a7fb2 MessagePack, and basic sanity test passes 2020-04-03 16:37:27 -06:00
Timothy Baldridge
356adf7d0e Fix broken progress bar in gallery 2020-02-28 17:00:23 -07:00
Timothy Baldridge
6491a1c3f4 Purge uses of HttpClient, fix a bug that caused Nexus's verify endpoint to be spammed. 2020-02-25 22:05:33 -07:00
Timothy Baldridge
8d13a4c455 Swap HttpClient over to SocketsHttpHandler 2020-02-14 15:23:27 -07:00
Justin Swanson
b05c43661c Percent struct 2020-02-07 23:45:45 -06:00
erri120
853ab81bbf
Renamed GetReportEntry to GetManifestURL 2020-02-02 13:52:53 +01:00
erri120
fda325eecf
Revert "Changed Url to URL and removed GetReportEntry"
This reverts commit d62d40add41e7c7e37c2b6bae677bcc6c1d1f356.
2020-02-02 13:52:53 +01:00
erri120
cc0577b0d8
Changed Url to URL and removed GetReportEntry 2020-02-02 13:52:53 +01:00
Justin Swanson
5db84a6ee6 Replaced all File.OpenWrite calls /w .Open(FileMode.Create)
File.OpenWrite is equivalent to FileMode.OpenOrCreate, which caused errors when replacing a file that was larger previously
2020-01-18 14:52:09 -06:00
Justin Swanson
3bac5d2f00 AbstractDownloadState.Download returns bool
There's sort of a theoretical disagreement, still.  Should a failed download throw an exception, or return false?  Users of this function still need to handle/prep for either/or.

Still, this is better than before, where some failures were being swallowed completely
2020-01-18 14:07:27 -06:00
Timothy Baldridge
14f7f45a77 Add size validation to HTTPDownloader, to catch stealth updates. Check whitelist during list validation. 2020-01-13 15:55:55 -07:00
Timothy Baldridge
5393ed4a84 Can now get meta.ini data from a download state 2020-01-10 21:15:53 -07:00
Timothy Baldridge
f2bb07a528 Wabbajack.Lib is now .NET Standard 2.0 2020-01-07 06:50:11 -07:00
Timothy Baldridge
9e2d05fa40 Rewrite ModDB downloader to support mirrors. 2020-01-03 15:15:55 -07:00
Timothy Baldridge
717ad8c70a Rework WJ caching, move cache server routines to MongoDB 2020-01-01 09:19:06 -07:00
Timothy Baldridge
3c9743ec1e Fix bug in verify with HTTPdownloader 2019-12-22 21:24:40 -07:00
Justin Swanson
cf73a2af2f Removed extra HTTPDownloader folder creation call 2019-12-21 19:30:56 -06:00
trawzified
1092345e2d Fix error on HTTPDownloader trying to download to non-existing destinations
Remove debug log call

Modify HTTPDownloader - put if into a twoliner

Add download into if statement
2019-12-18 14:46:38 +01:00
halgari
f0c803215e fix test 2019-12-17 16:43:12 -07:00
halgari
91e27fc3d7 Fixes for inis, resuming downloads and caching services 2019-12-17 16:17:44 -07:00
Justin Swanson
3f7d68b4a1 Reverted HTTPDownloader to be sync, until side effects can be researched
Was causing download failures, for some unknown reasons
2019-12-15 18:48:12 -06:00
Justin Swanson
bc436e53c7 Fixed [ThreadStatic] systems in WorkQueue 2019-12-07 01:22:34 -06:00
Justin Swanson
63afc2dc9e Remaining NexusAPI made async 2019-12-07 00:40:29 -06:00
Justin Swanson
a25fc9d1a9 Lots of NexusAPI refactored to async 2019-12-07 00:40:29 -06:00
Justin Swanson
5bd856a7c6 Utils async -> sync methods removed 2019-12-07 00:40:29 -06:00
Justin Swanson
43dc6953c5 AbstractDownloadState download made async 2019-12-07 00:40:22 -06:00
Justin Swanson
e946fc7ea4 Made Utils.LogToFile private. Removed ExceptionToString 2019-12-04 23:07:44 -06:00
Justin Swanson
7926870fab Fix for HTTP download directory creation 2019-12-03 00:05:20 -06:00
Justin Swanson
4965f78c07 HTTPDownloader creates directory for its destination 2019-12-02 23:28:06 -06:00
erri120
b930724560
Fixed naming in Wabbajack.Lib 2019-11-21 16:51:57 +01:00
Timothy Baldridge
6996556642 Feed archive info into the HTTP downloader so we get proper downloader progress bars. 2019-11-07 22:19:39 -07:00
erri120
843228c09e
Using new Ceras options instead of JSON 2019-10-27 14:55:30 +01:00