Commit Graph

684 Commits

Author SHA1 Message Date
Timothy Baldridge
79a6640cc5 Hotfixes 2020-04-27 15:32:19 -06:00
erri120
514d2f70fc
Fixed new mega links not being resolved 2020-04-27 20:49:22 +02:00
Timothy Baldridge
d9612609e8
Merge pull request #751 from wabbajack-tools/2.0-release-day-bug-fixes
Bug fixes encountered during the 2.0 release
2020-04-27 06:16:46 -06:00
Timothy Baldridge
5f35166895 Fix hash return values 2020-04-26 07:37:57 -06:00
Timothy Baldridge
c1a5c20281 Update the UI less often while hashing files 2020-04-26 07:13:10 -06:00
Timothy Baldridge
1327745115 Bug fixes encountered during the 2.0 release 2020-04-25 23:13:42 -06:00
Timothy Baldridge
8efdfcd5f0 Fix serialization of IPaths 2020-04-24 07:05:22 -06:00
erri120
2d27f398cc
Fixed NullException for AuthedClient 2020-04-23 12:38:43 +02:00
erri120
95217035c9
Fixed non existing file crashing 2020-04-23 12:37:58 +02:00
Timothy Baldridge
d0accf01e8 Fixes for issues found in alpha4 2020-04-22 14:58:50 -06:00
erri120
3a7af10ed3
GameRegistry cleanup 2020-04-22 14:36:32 +02:00
erri120
82d8939198
Implemented new Path classes in SteamHandler 2020-04-22 14:36:32 +02:00
erri120
6ec0025245
Added BethNet StoreHandler 2020-04-22 14:36:32 +02:00
dependabot-preview[bot]
a76a21ead1
Bump YamlDotNet from 8.1.0 to 8.1.1
Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Changelog](https://github.com/aaubry/YamlDotNet/blob/master/RELEASE_NOTES.md)
- [Commits](https://github.com/aaubry/YamlDotNet/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 07:29:01 +00:00
Timothy Baldridge
2f6357bd51 Temp folder fixes, fix for NOMATCH_INCLUDE 2020-04-21 22:13:07 -06:00
Timothy Baldridge
82a733ab8a
Update Consts.cs 2020-04-21 07:42:32 -06:00
Timothy Baldridge
0e0b0d8883 Remove vortex support 2020-04-21 06:14:52 -06:00
Timothy Baldridge
724f0074ce BSA building is now async, status updates during compression 2020-04-20 15:36:33 -06:00
Timothy Baldridge
a82b2d5094
Merge pull request #719 from wabbajack-tools/extraction-improvements
Extraction improvements
2020-04-17 08:25:17 -06:00
Timothy Baldridge
bb9ef89dee BSA archives are now lazily extracted.
7Zip extracted archives now only extract the fewest files required.
Audited the uses of .Wait
Lazily init the VFS cleaning
2020-04-16 21:52:19 -06:00
Timothy Baldridge
166b3256e7
Merge pull request #718 from erri120/issue-686
Version field
2020-04-16 17:07:43 -06:00
erri120
8aa8013725
Replaced VersionRegex with Version.TryParse 2020-04-16 17:31:12 +02:00
erri120
50613fa438
ADded a version field to the UI 2020-04-16 17:16:49 +02:00
Timothy Baldridge
a0cfeb51bd Fix the empty log bug and UI hanging on VFS cleanup 2020-04-15 21:02:39 -06:00
Timothy Baldridge
7146035cca
Merge pull request #714 from wabbajack-tools/issue-708
Rewrite list validation and healing
2020-04-15 16:33:43 -06:00
erri120
0bebf440be
Fixed deletion of non-existing directory leading to a thread-lock 2020-04-15 20:07:52 +02:00
Timothy Baldridge
470992cc4a Merge Master 2020-04-15 06:05:05 -06:00
Timothy Baldridge
723f687dbd Several fixes for BSA compiling 2020-04-15 05:53:49 -06:00
JD Smith
89d8c75956 add enderal as a recognized game 2020-04-13 12:59:41 -05:00
Timothy Baldridge
c99dd71757
Merge pull request #709 from erri120/json-fixes
Smaller JSON fixes
2020-04-12 14:23:32 -06:00
Justin Swanson
cf765942e1 TryGet variants /w out parameter 2020-04-12 14:47:28 -05:00
Justin Swanson
c4cce47399 Swapped calls to intended TryGet variants 2020-04-12 14:37:42 -05:00
erri120
64c2780a6f
Smaller JSON fixes 2020-04-12 18:06:37 +02:00
Justin Swanson
01588dbcc9 Merge branch 'master' into wabbajack-lib-nullability 2020-04-12 00:40:49 -05:00
Timothy Baldridge
137e9e73d1
Merge pull request #703 from Noggog/missing-delete-awaits
Missing DeleteDirectory awaits
2020-04-11 18:51:34 -06:00
Timothy Baldridge
86b9406e08
Merge branch 'master' into issue-705 2020-04-10 22:08:17 -06:00
Timothy Baldridge
508eb32230 Fixes for nexus cache priming 2020-04-10 21:16:10 -06:00
Timothy Baldridge
a11508e4b6
Merge branch 'master' into missing-delete-awaits 2020-04-10 17:20:29 -06:00
Timothy Baldridge
e947919462 Retarget EntryPoint to be based off the location of Wabbajack.Common.dll 2020-04-10 16:55:32 -06:00
Timothy Baldridge
c8120adf8b Fix nullable error 2020-04-10 16:35:35 -06:00
Timothy Baldridge
0830480821 Fixes for broken bethesda tests. 2020-04-10 15:52:31 -06:00
Justin Swanson
165b857709 WabbajackTest.TestUtils calls await on directory deletion 2020-04-10 14:33:09 -05:00
Justin Swanson
806ff74893 Wabbajack.Lib nullability finished up 2020-04-10 13:32:35 -05:00
Justin Swanson
4e1a32caac MO2Compiler nullability enabled 2020-04-10 13:23:23 -05:00
Justin Swanson
a7ad4f1f16 TryGetByFuzzyName
Added choice for nullable return
2020-04-10 13:23:23 -05:00
Justin Swanson
5a38f40a66 GameMetaData.TryGetGameLocation()
Added choice of nullable return or not
2020-04-10 13:23:23 -05:00
Justin Swanson
5377cd0cce WorkQueue's active threads observable nullable as intended again 2020-04-10 13:23:10 -05:00
Justin Swanson
3b0e10c86d Nullability fix. Removed unused json parameters 2020-04-10 13:23:10 -05:00
Timothy Baldridge
712438c6a6 Several ProcessStartInfo -> ProcessHelper conversions 2020-04-10 06:58:55 -06:00
Timothy Baldridge
d4e7311115 Merge master 2020-04-09 16:36:07 -06:00
Timothy Baldridge
45716c76e0 Test downloading and indexing jobs 2020-04-09 06:46:33 -06:00
erri120
5ea2c18025
Added support for gz and tar archive 2020-04-09 12:37:47 +02:00
Timothy Baldridge
b1909a0851 Add Metrics test 2020-04-08 16:28:50 -06:00
Timothy Baldridge
ccb6f93901 Finish up the list validation tests 2020-04-08 06:43:29 -06:00
Timothy Baldridge
7cf817853c Implement tests for List validation 2020-04-07 22:19:36 -06:00
Timothy Baldridge
4e0b050260 Fix several tests 2020-04-06 16:02:01 -06:00
Timothy Baldridge
45254b0055 No more MessagePack, Json is love, Json is life 2020-04-06 14:48:54 -06:00
erri120
fd66313858
Added Extension check for files 2020-04-06 15:20:14 +02:00
Timothy Baldridge
3d16b1e838 Purge all remaining references to MongoDB and BJSON 2020-04-05 15:15:01 -06:00
Timothy Baldridge
895a555802 Merge Master 2020-04-04 16:15:55 -06:00
Timothy Baldridge
35f99b7100 Merge Master 2020-04-04 16:06:14 -06:00
Timothy Baldridge
07bc3546bb Fix for the temp folder being on a different drive. 2020-04-04 11:25:54 -06:00
erri120
e3ed9bf4fd
Switched TextBox to PasswordBox for the Password 2020-04-04 16:33:58 +02:00
Timothy Baldridge
07c35f7a96 Fix nullable reference logic errors. 2020-04-03 22:02:53 -06:00
Justin Swanson
21b52fb361 Enabled nullability for Wabbajack.Common 2020-04-03 18:23:13 -05:00
Justin Swanson
ddc85185f4 Removed HashHelper in favor of System.HashCode 2020-04-03 18:22:54 -05:00
Justin Swanson
820e2abf41 DictionaryExt.Add many 2020-04-03 18:22:43 -05:00
Timothy Baldridge
a140b1daca Rebase against latest master 2020-04-03 16:56:14 -06:00
Timothy Baldridge
c22e40f752 Fix a few more broken tests 2020-04-03 16:41:42 -06:00
Timothy Baldridge
8af841f3d6 Fix several more tests 2020-04-03 16:41:42 -06:00
Timothy Baldridge
aaba7267bd Fix a few tests 2020-04-03 16:41:42 -06:00
Timothy Baldridge
55fb7e1467 Nexus Cache is now SQL Based 2020-04-03 16:41:42 -06:00
Justin Swanson
c5f174098b Absolute and Relative's Extensions no longer calculated on construction 2020-04-03 16:41:17 -06:00
Justin Swanson
94267c3f27 Paths ToLower removed in favor of StringComparison usage 2020-04-03 16:41:17 -06:00
Justin Swanson
68ea31e5a0 AbsolutePath ctor reuse 2020-04-03 16:41:17 -06:00
Justin Swanson
f66c59151b AbsolutePath implements IEquatable
Equals(object) simplification
2020-04-03 16:41:17 -06:00
Justin Swanson
eb2cd8342d Added backwards compatibility support for Game json conversion 2020-04-03 16:41:17 -06:00
Justin Swanson
41955daac1 Absorbed PercentJsonConverter into library systems 2020-04-03 16:41:17 -06:00
Justin Swanson
c215f92abc AbsolutePath: Removed unused parameter 2020-04-03 16:41:17 -06:00
Timothy Baldridge
8946389da4 Fix upgrading test broken by Nexus JSON property name change 2020-04-03 16:41:17 -06:00
Timothy Baldridge
e39f483b81 Tests for INI uploading/downloading 2020-04-03 16:41:17 -06:00
Timothy Baldridge
160ac8a4c3 Fixes for author APIs 2020-04-03 16:41:17 -06:00
Timothy Baldridge
fcb589a442 Uploaded files and API keys are now stored in SQL, still working on adding more tests 2020-04-03 16:41:17 -06:00
Timothy Baldridge
85b39d5dcc Fix some more race conditions in tests 2020-04-03 16:41:17 -06:00
Timothy Baldridge
06b3479230 Fixed a deadlock in the sanity tests 2020-04-03 16:41:17 -06:00
Timothy Baldridge
3fc4464a14 FilePickerTests pass 2020-04-03 16:40:52 -06:00
Timothy Baldridge
b8afcfa781 At least the app launches 2020-04-03 16:40:52 -06:00
Timothy Baldridge
b5006a0737 Everything compiles 2020-04-03 16:40:52 -06:00
Timothy Baldridge
c01ed4375c The main wabbajack app compiles 2020-04-03 16:40:52 -06:00
Timothy Baldridge
b605879d6a EndToEnd Tests finally pass! 2020-04-03 16:40:52 -06:00
Timothy Baldridge
129f6b4fc2 Cleaned up a bunch of warnings and errors 2020-04-03 16:40:52 -06:00
Timothy Baldridge
c130106213 Fix broken updating 2020-04-03 16:40:51 -06:00
Timothy Baldridge
21189fd8e8 Most santiy tests pass 2020-04-03 16:40:51 -06:00
Timothy Baldridge
54a7bc36d5 MO2Tests pass 2020-04-03 16:40:51 -06:00
Timothy Baldridge
9d3af1db5c All downloader tests pass 2020-04-03 16:40:51 -06:00
Timothy Baldridge
723f624d7a Half of the downloaders pass tests 2020-04-03 16:40:51 -06:00
Timothy Baldridge
3188b433eb More passing Tests 2020-04-03 16:40:20 -06:00
Timothy Baldridge
1c9610dde1 Wabbajack.Test utils pass 2020-04-03 16:40:20 -06:00
Timothy Baldridge
31c808deea Tests for path/hash serialization 2020-04-03 16:40:20 -06:00
Timothy Baldridge
51bad949ec Moved Wabbajack.Commons tests into Wabbajack.Commons.Test out of Wabbajack.Test. They all pass 2020-04-03 16:40:20 -06:00
Timothy Baldridge
1d68ade508 Only 36 errors left 2020-04-03 16:39:49 -06:00
Timothy Baldridge
defbc15593 Only 149 errors left in Wabbajack.Lib 2020-04-03 16:38:48 -06:00
Timothy Baldridge
035e376a09 Only 246 errors left in Wabbajack.Lib 2020-04-03 16:38:05 -06:00
Timothy Baldridge
72d77bef1a VFS Tests pass 2020-04-03 16:37:28 -06:00
Timothy Baldridge
2b45210159 One test passes 2020-04-03 16:37:28 -06:00
Timothy Baldridge
a2cf84de54 A few test fixes 2020-04-03 16:37:27 -06:00
Timothy Baldridge
ccaaab318c VFS tests compile 2020-04-03 16:37:27 -06:00
Timothy Baldridge
80195b5620 WIP, VFS compiles, need to work on VFS tests 2020-04-03 16:37:27 -06:00
Timothy Baldridge
b37728eefd Tons of WIP changes for paths 2020-04-03 16:37:27 -06:00
Timothy Baldridge
d6123a7fb2 MessagePack, and basic sanity test passes 2020-04-03 16:37:27 -06:00
Timothy Baldridge
3b895f4dbb WIP, converted Hashes to a Hash struct 2020-04-03 16:37:27 -06:00
Timothy Baldridge
e4ecaa882c WIP 2020-04-03 16:37:27 -06:00
Timothy Baldridge
d3a9cb8666 Worker queue fixes (backport) 2020-03-30 15:38:01 -06:00
erri120
01ebffd4d7
Added GOGIDs for Morrowind 2020-03-25 14:22:55 +01:00
Timothy Baldridge
86d5f7462a Add improved file deletion code 2020-03-19 06:13:57 -06:00
Timothy Baldridge
50d2737fb5 Small fixes for a bunch of small issues that came up in the past few weeks. 2020-03-18 20:16:38 -06:00
Timothy Baldridge
3e2b23f07d Small fixes for a bunch of small issues that came up in the past few weeks. 2020-03-18 20:10:55 -06:00
Timothy Baldridge
3ef75a248d Fixes for memory mapping issues 2020-03-09 14:38:35 -06:00
dependabot-preview[bot]
85a36534c8
Bump ReactiveUI from 11.1.23 to 11.2.3
Bumps [ReactiveUI](https://github.com/reactiveui/reactiveui) from 11.1.23 to 11.2.3.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-06 07:03:31 +00:00
Timothy Baldridge
ae5ac5fa13
Merge branch 'master' into issue-606 2020-03-04 22:29:27 -07:00
Timothy Baldridge
181a0f6b6a Bug fixes for virtual memory/stream leaks 2020-03-04 22:27:15 -07:00
Timothy Baldridge
2a14932092 Move around namespaces so BSA routines can use Common namespaces. Make BA2 creation use memory mapped files instead of memory streams 2020-03-04 17:02:16 -07:00
Timothy Baldridge
64cad0752f
Merge pull request #605 from erri120/issue-587
PR: Store settings.json in local appdata
2020-03-04 05:12:30 -07:00
Timothy Baldridge
cbe5165d3a
Merge branch 'master' into workbase-fixes 2020-03-04 05:11:37 -07: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
erri120
2e9d42b538
Added a version check to the settings file
The current settings file has to have the same version as specified in
Wabbajack.Common.Consts.SettingsVersion or else it will be backedup and
deleted to ensure that no bad settings file are getting loaded.

This means that the SettingsVersion needs to be updated when a breaking
change to the settings is being introduced
2020-03-04 12:21:44 +01:00
erri120
d8e4f02508
Moved settings.json to %localappdata%/Wabbajack 2020-03-04 11:56:39 +01:00
Timothy Baldridge
186facb066 Fixes for WorkBase 2020-03-03 22:23:08 -07:00
Timothy Baldridge
a1e911669a
Youtube Downloader (#596)
* Can download audio tracks from Youtube, re-encoding to XWM in the process
2020-03-03 14:53:29 -07:00
Timothy Baldridge
44b78111a3 Server side cleanup, give authors the ability to delete their own files. Some sanity and logging checks for 2020-03-02 16:16:15 -07:00
erri120
87dc2c7773
Replaced Go to Modlist with Open Logs Folder when complation failed 2020-02-28 17:27:37 +01:00
Timothy Baldridge
e01eb31d1f
Update Client.cs 2020-02-28 08:58:17 -07:00
Justin Swanson
033e829612 Percent.One bugfix 2020-02-27 20:43:30 -06:00
Timothy Baldridge
ef36a06be9 Merge remote-tracking branch 'origin/master' 2020-02-27 19:27:09 -07:00
Timothy Baldridge
56c0d4eb8a Fix bug with manual download cookies 2020-02-27 19:26:58 -07:00
Timothy Baldridge
f30da8a27a Support self-healing lists, and a lot of server fixes 2020-02-27 06:46:34 -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
076b060afd Bump version 2020-02-25 21:00:28 -07:00
Timothy Baldridge
4198ec0d64
Add a few other checks 2020-02-25 06:27:50 -07:00
erri120
60c925b59b
Fixed ArgumentException in Octodiff Reporter 2020-02-25 11:58:22 +01:00
Timothy Baldridge
27025db484 Switch from BSDiff to OctoDiff for patch generation 2020-02-24 16:18:29 -07:00
Timothy Baldridge
fe95e0e52e Fix never ending hash issue 2020-02-22 21:56:18 -07:00
erri120
70de8fae09
Delete old log files on startup 2020-02-20 12:03:49 +01:00
erri120
78ba02f277
Added LogsFolder Consts 2020-02-20 11:45:38 +01:00
Timothy Baldridge
5da39fe223 Don't store xxHash caches in binary format 2020-02-15 19:50:02 -07:00
Timothy Baldridge
ff55bfec9f Don't reuse http messages 2020-02-15 16:28:20 -07:00
Timothy Baldridge
a0587d876e
Merge pull request #525 from erri120/issue-520
Replacing OMODExtractor with OMODFramework
2020-02-14 22:10:33 -07:00
Timothy Baldridge
ff75fd8a7d
Merge pull request #528 from LostDragonist/fix-file-association
Associate mod list files with the executable instead of a DLL
2020-02-14 22:07:43 -07:00
Chris Bessent
e9f7c32982 Associate mod list files with the executable instead of a DLL
Reorganizing the program to be lots of small files instead of one monolithic
executable changed the output of System.Reflection.Assembly.GetExecutingAssembly
to Wabbajack.dll instead of Wabbajack.exe.

This fix assumes the DLL containing the calling code is in the same folder
as Wabbajack.exe.  There's room for improvement if anyone can figure out how
to positively identify Wabbajack.exe.
2020-02-14 21:17:45 -07:00
Timothy Baldridge
109681b2c6
Merge branch 'master' into issue-520 2020-02-14 16:11:59 -07:00