Commit Graph

36 Commits

Author SHA1 Message Date
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
Timothy Baldridge
1882b9227b fixup some google download links so they properly download 2019-10-21 13:05:03 -06:00
Timothy Baldridge
7bc08df9bb add logo downloader for modlist metadata 2019-10-16 17:05:51 -06:00
Timothy Baldridge
65af535487 code cleanup 2019-10-16 15:36:14 -06:00
Timothy Baldridge
e4e307c4fd download dispatcher now also accepts urls as input 2019-10-16 05:44:45 -06:00
Timothy Baldridge
518de4dacc pull the core of Wabbajack into Wabbajack.Lib so we can reuse it in other exes 2019-10-15 21:10:34 -06:00