Commit Graph

66 Commits

Author SHA1 Message Date
erri120
428e4db2f2
Make IUrlDownloader.GetDownloaderState nullable 2021-07-25 14:37:55 +02:00
Timothy Baldridge
6c9f6ab5c0 latest server fixes 2021-02-16 22:46:05 -07:00
Timothy Baldridge
835d56bf68 Upgrade deps, fix several warnings 2021-01-28 21:02:26 -07:00
Timothy Baldridge
783dd76209
Merge pull request #1252 from erri120/better-hashing
Better hashing
2021-01-10 06:41:10 -07:00
Timothy Baldridge
756113d77d some backend fixes 2021-01-09 14:46:46 -07:00
erri120
131f7de823 Fix Wabbajack.Lib 2021-01-09 20:04:11 +01:00
Timothy Baldridge
db3b441d19 #### Version - 2.3.6.1 - 12/31/2020
* When IPS4 (e.g. LL) sites based on CEF fail to validate, they no longer hang the app
* If a IPS4 CEF site throws a 503, or 400 error, retry
* Clean out the cookies during IPS4 CEF downloads so that they don't cause 400 errors
* Limit the number of connections to IPS4 sites to 20 per minute (one per 6 seconds)
* If a site *does* timeout, throw a log of the CEF state into `CEFStates` for easier debugging by the WJ team
* Wrote a new CLI utility to stress test the Verification routines.
* Ignore files that have `\Edit Scripts\Export\` in their path
2020-12-30 23:44:58 -07:00
Timothy Baldridge
17bb79784e Move LoversLab backend to LibCef 2020-12-29 16:15:47 -07:00
Timothy Baldridge
b181d48722 More test fixes 2020-08-12 22:14:35 -06:00
Timothy Baldridge
091f342709 Fix for HTTP files 2020-08-12 20:50:20 -06:00
Timothy Baldridge
39078b21d9 LL autohealing 2020-08-12 16:23:02 -06:00
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