Commit Graph

64 Commits

Author SHA1 Message Date
Timothy Baldridge
129f6b4fc2 Cleaned up a bunch of warnings and errors 2020-04-03 16:40:52 -06:00
erri120
1ce640ba2b
Add non-Nexus mods to the Slideshow (#574)
* Created AbstractMetaState

* Added IAbstractMetaState to NexusDownloader.State

Slideshow is fully working with this setup and nothing changed
functionally.

* Renamed IAbstractMetaState to IMetaState

* Changed modVMs in SlideShow from type NexusDownloader.State to IMetaState

* Simplified IMetaState and ModVM

* Removed Setter from IMetaState and added to LoversLabDownloader

* Throw exception when the modlist could not be loaded

* Created AbstractMetaState

AbstractMetaState implements AbstractDownloadState and indicates that a
State from a specific Download contains meta information. This is used
for the Slideshow and can also be used for the Manifest.

* Created GatherMetaData function

* Implemented new AbstractMetaState for LoversLab

* Implemented new AbstractMetaState for NexusMods

* Replaced Utils.Log with Utils.Error

* Slideshow fixes

* Replaced AbstractMetaState with IMetaState

* Updated CHANGELOG

Co-authored-by: Timothy Baldridge <tbaldridge@gmail.com>
2020-03-04 05:10:49 -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
42e732559c Fix issues with the server upload dieing, add server-log verb 2020-02-25 16:10:41 -07:00
Timothy Baldridge
5da39fe223 Don't store xxHash caches in binary format 2020-02-15 19:50:02 -07:00
Timothy Baldridge
8d13a4c455 Swap HttpClient over to SocketsHttpHandler 2020-02-14 15:23:27 -07:00
Timothy Baldridge
b77db18bfa Fix a bunch of issues with compilation, indexing and VFS loading performance 2020-02-14 06:30:58 -07:00
Timothy Baldridge
f036420b42 * Disable server-side indexing of all mods from the Nexus
* Accept download states from clients and index the mods we haven't seen
* Fixes for Skyrin VR USSEP patch
* Remember the download states that we index on the server
* Only print remaining nexus quotas when they change
2020-02-13 05:29:59 -07:00
Timothy Baldridge
608b8c77a7 Manual download improvements 2020-02-10 17:30:38 -07:00
Timothy Baldridge
6255ec224f Allow manual Nexus downloads 2020-02-05 22:30:31 -07:00
Justin Swanson
7dc5b4c9d3 Added log message for failed ModInfo get in NexusDownloader 2020-02-03 20:06:35 -06:00
trawzified
877989ba16 Fix typos + inconsistencies in logs 2020-01-13 22:11:07 +01:00
Timothy Baldridge
5661c20f1d WIP 2020-01-09 16:19:07 -07:00
Timothy Baldridge
f2bb07a528 Wabbajack.Lib is now .NET Standard 2.0 2020-01-07 06:50:11 -07:00
Justin Swanson
553a3123bd TCS cancellations in downloaders now call TrySetCancelled
Multiple Cancel calls threw unnecessary exception otherwise.  Would rather be able to cancel multiple times without worrying about throwing
2020-01-04 19:33:00 -06:00
Timothy Baldridge
412d854160 Retry failed NexusAPI calls. 2020-01-03 16:02:48 -07:00
Timothy Baldridge
f57897c539 merge master 2020-01-02 17:07:13 -07:00
Timothy Baldridge
936fee5d0c Bugfixes to get the code to work on the server box 2020-01-01 17:11:13 -07:00
Timothy Baldridge
55f90bd485 Implement MongoDB based mod cleaning 2020-01-01 10:11:48 -07:00
Timothy Baldridge
717ad8c70a Rework WJ caching, move cache server routines to MongoDB 2020-01-01 09:19:06 -07:00
Timothy Baldridge
9a6d93524c Use CefSharp instead of CefGlue. Abstracted the Cef bits so we can make future changes easier 2019-12-26 16:26:53 -07:00
Timothy Baldridge
00f702f1f8
Merge pull request #303 from Noggog/bugs-n-features
Bugs n features
2019-12-22 13:57:43 -08:00
Justin Swanson
e5aef9a043 AsyncLock + tests. NexusApi swapped to use it 2019-12-21 18:17:56 -06:00
Timothy Baldridge
f5eb4d1d84 WIP 2019-12-20 13:51:10 -07:00
Timothy Baldridge
16cac7c57b
Merge pull request #289 from wabbajack-tools/more-fixes
Fixes for inis, resuming downloads and caching services
2019-12-17 16:58:36 -07:00
halgari
91e27fc3d7 Fixes for inis, resuming downloads and caching services 2019-12-17 16:17:44 -07:00
halgari
2b02261629 Consider both dates when clearing the cache 2019-12-16 15:19:23 -07:00
halgari
0464f1b43c Integrated list validation into the caching HTTP server. 2019-12-13 22:46:20 -07:00
Justin Swanson
bcd7c95caf Merge branch 'master' into async-exploration 2019-12-12 19:49:40 -06:00
Justin Swanson
96c1fe6bff Merge branch 'master' into intervention-frontend 2019-12-10 21:49:20 -06:00
Timothy Baldridge
df4dcfa761 Use extension methods to get game metadata 2019-12-09 15:46:03 -07:00
Justin Swanson
7f695a4a9e Install/Compile views display ConfirmationInterventions in CPU area 2019-12-08 18:19:36 -06:00
Justin Swanson
f8f0490047 UserInterventionHandlers cancellation tokens. Removed dispatcher 2019-12-08 13:46:30 -06:00
Justin Swanson
86d4003398 Merge remote-tracking branch 'wabbajack-tools/master' into async-exploration 2019-12-08 01:10:51 -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
Timothy Baldridge
101d45f20c Can log into the Nexus via the internal browser, and can cancel via the back button. 2019-12-06 22:40:57 -07:00
Justin Swanson
e9deda9f44 Large swap to make WorkQueue able to take Task work items 2019-12-06 22:47:49 -06:00
Timothy Baldridge
a8a344d4be Added libCef, hooked it into a WPF window. Made NexusAPI raise a message. Implemented encrypted caching routines. 2019-12-06 17:13:16 -07:00
Timothy Baldridge
d636d06ced Added extensions to the game enum, fixed the cache server (again) 2019-11-22 15:00:34 -07:00
Timothy Baldridge
8a680a8f14 Several fixes for compilation and caching. 2019-11-21 22:19:42 -07:00
Timothy Baldridge
0ddcaa8241 Fix bug in time conversion, implement update endpoint for nexus cache 2019-11-21 17:41:01 -07:00
erri120
e4f17a81b8
Removed unused imports from Wabbajack.Lib 2019-11-21 15:25:56 +01:00
Timothy Baldridge
046907499b Few bug fixes to the caching code, don't allow nulls to get into the cache. 2019-11-21 06:28:37 -07:00
Timothy Baldridge
641dd36d7f Implement a better HTTP caching server 2019-11-18 22:10:07 -07:00
Timothy Baldridge
baab601f09 Rework Work queue to be non-static 2019-11-16 21:16:42 -07:00
Timothy Baldridge
a3b01b1353 Rework nexus key caching 2019-11-15 21:02:37 -07:00
Timothy Baldridge
9fad28f70a Don't cache MD5 searches
We don't have expiry for MD5 searches, so we won't cache them for now
2019-11-14 15:34:11 -07:00
erri120
233c85b36d Implemented new caching system with GetModInfoFromMD5 2019-11-14 15:34:10 -07:00