Commit Graph

450 Commits

Author SHA1 Message Date
Timothy Baldridge
a380f0d59e
Merge pull request #352 from erri120/cli
Cli
2020-01-05 06:40:11 -08:00
erri120
cfa5717df3
ApiKey can be encrypted via CLI 2020-01-05 14:14:53 +01:00
Timothy Baldridge
5f969a00df Reworked the LL downloader to abstract commonly used items in an abstract class 2020-01-04 22:38:08 -07:00
Timothy Baldridge
528b1daded Delete empty folders after install. Ends up being a bit tricky because folders might exist that weren't part of the original list. So we have to find all the folders, and then find the ones that aren't part of the folders to be created by the installer, and we delete those folders. 2020-01-04 22:07:00 -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
Justin Swanson
c9f3fabd69 Removed ViewModel/Notifying concepts from INeedsLogin
No properties are actually making use of the ViewModel/[Reactive] concepts, where normal properties might change after the fact, and users might want to construct an Rx observable from a property and its changes, or a GUI might want to watch (via notifypropertychange) changes.

All concepts that are mutable and want to be followed are already able to do so without the ViewModel concepts, as the implement IObservable (IsLoggedIn, for ex)

ViewModel ideally should only be used in a GUI, as it's the weird marriage of Rx + real properties that XAML can bind to.  The ViewModel is the hybrid glue to bring those two worlds together.  In a situation with no GUI, it's unnecessary
2020-01-04 19:30:53 -06:00
Justin Swanson
5aaf416dca Utils.CatchAndLog. Nexus/LL downloaders use in login commands 2020-01-04 19:30:42 -06:00
Timothy Baldridge
de3c810b32
Merge pull request #343 from erri120/no-match-reason
Compilers will include Reason when for no match in output
2020-01-04 10:48:30 -08:00
erri120
526fa114dc
Compilers will include Reason when for no match in output 2020-01-04 19:18:26 +01:00
erri120
4cd200df98
Added null check to two dimensional array 2020-01-04 11:25:53 +01:00
Timothy Baldridge
3010027ea8 Implement Ceras breaking change & update deps (to get it to compile) 2020-01-03 20:56:20 -07:00
Timothy Baldridge
eacf8985d7 Throw error on non 200 response in GDrive download 2020-01-03 20:37:36 -07:00
Timothy Baldridge
74610bc52b Fix INI screen size issue (for good this time?) 2020-01-03 19:52:17 -07:00
Timothy Baldridge
412d854160 Retry failed NexusAPI calls. 2020-01-03 16:02:48 -07:00
Timothy Baldridge
eb16865330
Merge pull request #334 from wabbajack-tools/moddb-rewrite
Rewrite ModDB downloader to support mirrors.
2020-01-03 14:27:14 -08:00
Timothy Baldridge
9e2d05fa40 Rewrite ModDB downloader to support mirrors. 2020-01-03 15:15:55 -07:00
Timothy Baldridge
980fd96c56
Merge pull request #332 from wabbajack-tools/soft-error-inis
Soft error inis & Game version info
2020-01-03 12:42:17 -08:00
Timothy Baldridge
0cb4e61150 Fix broken state 2020-01-03 12:39:36 -07:00
Timothy Baldridge
5e8e2c33b5 Use Windows FileVersion utils instead to get file versions, use that info when saving Game Downloader states. 2020-01-03 12:21:27 -07:00
erri120
2643c499c2
Replaced old Steam/GOG Handlers with the new StoreHandler system 2020-01-03 18:22:50 +01:00
Timothy Baldridge
408ade8a38 Use Windows FileVersion utils instead to get file versions, use that info when saving Game Downloader states. 2020-01-03 10:00:57 -07:00
Timothy Baldridge
1dbcf0aed3 Make Ini parse failures non-critical 2020-01-03 08:01:17 -07:00
Timothy Baldridge
fefc804759 Remove unused bson settings 2020-01-02 18:08:24 -07:00
Timothy Baldridge
756770df3c Fix tests (except the media fire downloader) 2020-01-02 17:36:37 -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
82be6f304b Implemented Job queue, status page, and HTML templating 2019-12-29 21:35:54 -07:00
Timothy Baldridge
5a0e19f4b1 Metrics and status are now in MongoDB 2019-12-29 15:57:01 -07:00
Timothy Baldridge
f9cdbbc6a1
Merge pull request #313 from wabbajack-tools/dependabot/nuget/System.Reactive-4.3.2
Bump System.Reactive from 4.3.1 to 4.3.2
2019-12-27 16:08:06 -08:00
Timothy Baldridge
4eee120696
Merge pull request #316 from wabbajack-tools/dependabot/nuget/ReactiveUI.Fody-11.0.6
Bump ReactiveUI.Fody from 11.0.1 to 11.0.6
2019-12-27 16:07:00 -08:00
Justin Swanson
6962b4873c Reimplemented website readme features 2019-12-27 15:20:27 -06:00
Justin Swanson
cc08d57724 Adjusted some rx thread switches 2019-12-27 14:09:07 -06:00
dependabot-preview[bot]
2777e382dd
Bump ReactiveUI.Fody from 11.0.1 to 11.0.6
Bumps [ReactiveUI.Fody](https://github.com/reactiveui/reactiveui) from 11.0.1 to 11.0.6.
- [Release notes](https://github.com/reactiveui/reactiveui/releases)
- [Commits](https://github.com/reactiveui/reactiveui/compare/11.0.1...11.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-27 07:07:28 +00:00
Timothy Baldridge
e4c78ebed9 Clean up some references try to get tests to work 2019-12-26 17:41:33 -07:00
Timothy Baldridge
8c79b795e1 Add cefsharp libs 2019-12-26 16:38:13 -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
dependabot-preview[bot]
ebeead90c5
Bump System.Reactive from 4.3.1 to 4.3.2
Bumps [System.Reactive](https://github.com/dotnet/reactive) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/dotnet/reactive/releases)
- [Commits](https://github.com/dotnet/reactive/compare/rxnet-v4.3.1...rxnet-v4.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-26 20:00:48 +00:00
Timothy Baldridge
caba928d85 Upgrade only the wabbajack.common lib 2019-12-26 09:47:10 -07:00
Timothy Baldridge
5d5d90afb9
Merge pull request #308 from Noggog/Mo2-validity-bugfixes
Mo2 validity bugfixes
2019-12-24 07:30:20 -08:00
Justin Swanson
d30f81ecbd Removed recursiveness when checking for .wabbajack for valid MO2 installs 2019-12-24 00:28:39 -06:00
Timothy Baldridge
878b1759b2 Make file copying parallel during compilation 2019-12-23 16:28:47 -07:00
Timothy Baldridge
b97cabd1e6 Prep for beta 10 2019-12-23 10:29:28 -07:00
Justin Swanson
0e66b31f64 Merge branch 'master' into patch-freeze-investigation 2019-12-22 22:44:49 -06:00
Timothy Baldridge
3c9743ec1e Fix bug in verify with HTTPdownloader 2019-12-22 21:24:40 -07:00
Justin Swanson
e3abdd17c3 Removed unnecessary cast 2019-12-22 18:03:45 -06:00
Justin Swanson
7ec61ae688 Adjusted nomatch printing 2019-12-22 18:03:36 -06:00
Justin Swanson
ec78cae414 RawSourceFile takes path in ctor
Would also make member readonly, but Vortex has a set line that we need to sort out
2019-12-22 16:03:20 -06:00
Justin Swanson
bf756a2bea Added status reporting to ResolveArchive 2019-12-22 16:03:16 -06: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
cf73a2af2f Removed extra HTTPDownloader folder creation call 2019-12-21 19:30:56 -06:00
Justin Swanson
b392b667cf MO2 proper install folder logic now ignores files in downloads 2019-12-21 19:30:01 -06:00
Justin Swanson
eed71e1c24 Purged a few more Task.Wait() calls 2019-12-21 18:26:51 -06:00
Justin Swanson
e5aef9a043 AsyncLock + tests. NexusApi swapped to use it 2019-12-21 18:17:56 -06:00
Timothy Baldridge
afe0d2d875
Merge pull request #301 from tr4wzified/minor-changes
Minor changes
2019-12-21 14:43:40 -08:00
trawzified
a370b65edd Fix more typos
Revert "Remove if that is always true"

This reverts commit 620298d05b647c9b1c27bcea04289a0798641167.
2019-12-21 21:37:54 +01:00
trawzified
e1ae92d52c Fix confusing typo in log 2019-12-21 21:37:54 +01:00
trawzified
aa13a363bf Remove unnecessary reference to library Wabbajack.Common
Remove if that is always true
2019-12-21 21:37:53 +01:00
Timothy Baldridge
698a419973
Merge branch 'master' into login-manager 2019-12-20 16:17:08 -07:00
Timothy Baldridge
46b8f97bd0
Merge pull request #298 from Noggog/should-not-happen
Should not happen bug fixed
2019-12-20 16:11:13 -07:00
Justin Swanson
124f9e1d88 Blocks installations installed into non-empty folder w/o MO2 files 2019-12-20 16:31:35 -06:00
Justin Swanson
7c88b4ea12 Blocks installations into folders /w .wabbajack file 2019-12-20 16:06:20 -06:00
Timothy Baldridge
f5eb4d1d84 WIP 2019-12-20 13:51:10 -07:00
Justin Swanson
a7845802bb Added path of a missing patch to error logging 2019-12-20 14:32:04 -06:00
Justin Swanson
af6b42563d Ceras version tolerance enabled 2019-12-20 14:01:01 -06:00
Justin Swanson
f26747bfe5 Readme can be website now 2019-12-20 01:14:43 -06:00
Justin Swanson
c584666a54 Merge remote-tracking branch 'wabbajack-tools/master' into nasdf 2019-12-19 22:00:51 -06:00
Timothy Baldridge
d49c59480b Only benchmark the scratch disk, take ram size into account, support network drives 2019-12-19 09:09:31 -07:00
Justin Swanson
1673f8a555 LibCef extraction init awaits and improvements 2019-12-18 19:09:45 -06:00
Timothy Baldridge
381b70a8df
Merge pull request #292 from erri120/vortex-fixes-7
Deployment files are now included correctly
2019-12-18 08:09:54 -07:00
erri120
d9ac393984
Deployment files are now included correctly 2019-12-18 15:25:43 +01: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
52b1b57e5d UI wasn't prompting for a new download when the list was updated 2019-12-17 21:30:36 -07:00
Justin Swanson
b0bff6e121 Missing ExtractLibs awaits 2019-12-17 21:18:33 -06:00
Justin Swanson
e0a91036d0 Fixes for progress bars starting at 100% 2019-12-17 21:10:38 -06: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
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
erri120
09cf002637
Update Vortex Installer&Compiler with recent changes 2019-12-17 17:25:15 +01:00
erri120
2589eb7237
Updated ReportBuilder to better reflect SteamWorkshop Items 2019-12-17 17:24:15 +01:00
halgari
2b02261629 Consider both dates when clearing the cache 2019-12-16 15:19:23 -07:00
halgari
4ed0dcae7f Implement fix for duplicate key error in FNV 2019-12-15 23:33: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
Timothy Baldridge
ff25be8551
Merge pull request #275 from wabbajack-tools/broken-list-warning
Filter gallery by valid lists pulled from the validation service.
2019-12-15 16:54:42 -07:00
Timothy Baldridge
e9585feb9c
Merge pull request #274 from Noggog/polish-and-fixes
Polish and Fixes
2019-12-15 16:09:44 -07:00
halgari
4b11503319 Filter gallery by valid lists pulled from the validation service. 2019-12-15 14:52:12 -07:00
Justin Swanson
4285932ef9 Merge remote-tracking branch 'erri/master' into polish-and-fixes 2019-12-15 15:31:50 -06:00
Justin Swanson
5db61d17ce ModVM and ModListVM utilize UIUtils to create images. Null fix 2019-12-15 13:09:07 -06:00
erri120
6aeb5f80ff
Fixed manual game file detection for files within archive within an archive 2019-12-15 12:44:20 +01:00
erri120
77539b6142
Fixed meta parsing logic 2019-12-15 12:27:00 +01:00
halgari
f4df8509f0 Fix metrics 2019-12-14 22:04:02 -07:00
Timothy Baldridge
70f3bcce9d
Merge branch 'master' into metrics 2019-12-14 21:41:01 -07:00
halgari
ff720cd044 Add anonymous metrics 2019-12-14 21:33:48 -07:00
Justin Swanson
705914bd77 FilePickerVM tooltip fixes + tests 2019-12-14 21:55:23 -06:00
Justin Swanson
a6082cc927 Merge remote-tracking branch 'wabbajack-tools/master' into polish-and-fixes 2019-12-14 17:48:27 -06:00
Justin Swanson
078b457857 FilePickerVM unit tests, better filter enforcement 2019-12-14 14:11:39 -06:00
Timothy Baldridge
1058a5a3c4
Revert "Vortex Redone" 2019-12-14 10:30:52 -07:00
Timothy Baldridge
ab44492152
Merge pull request #267 from erri120/vortex-redone
Vortex Redone
2019-12-14 10:11:20 -07:00
erri120
5ad86f1bdd
Fixed manual files not being installed 2019-12-14 15:08:22 +00:00
erri120
04584720a7
Re-added manual files 2019-12-14 12:10:22 +01:00
erri120
4c637fe7b1
Updated the VortexInstaller 2019-12-14 11:57:56 +01:00
erri120
f6d51b4e33
Re-added SteamWorkshop items, changed ReportBuilder to include those items 2019-12-14 11:57:56 +01:00
erri120
758df21d91
Added version info to created meta file 2019-12-14 11:57:55 +01:00
erri120
5bc6f44aeb
Redid the entire Vortex Compiler 2019-12-14 11:57:55 +01:00
erri120
dcf0113c17
Disabled manual game files 2019-12-14 11:57:47 +01:00
halgari
0464f1b43c Integrated list validation into the caching HTTP server. 2019-12-13 22:46:20 -07:00
halgari
61579bc3b6 Fix the broken tests 2019-12-13 06:02:58 -07:00
Justin Swanson
bcd7c95caf Merge branch 'master' into async-exploration 2019-12-12 19:49:40 -06:00
Timothy Baldridge
2ec760527a
Merge pull request #264 from wabbajack-tools/check-archives-before-compile
Check archive status before compilation to reduce the chance of grabb…
2019-12-12 17:10:10 -07:00
Timothy Baldridge
dba51fe4e7
Merge pull request #263 from wabbajack-tools/upgrade-deps
bump all the deps!!
2019-12-12 16:25:02 -07:00
Timothy Baldridge
394f0e5518 Check archive status before compilation to reduce the chance of grabbing a file from a dead archive 2019-12-12 16:24:27 -07:00
Timothy Baldridge
2c69a9ec9b bump all the deps!! 2019-12-12 16:00:19 -07:00
Timothy Baldridge
e482197479 Fix case sensitive bug with download deletion during install 2019-12-12 15:52:24 -07:00
Justin Swanson
96c1fe6bff Merge branch 'master' into intervention-frontend 2019-12-10 21:49:20 -06:00
Timothy Baldridge
f6e9d672d2 Create .metas automatically for source-from-game files. 2019-12-10 05:26:49 -07:00
Timothy Baldridge
ed41308f12 Can now "download" archives from the game folder. This is useful if installers need to repack game files, they can source the files from the main game archive and then build a new BSA modifying/adding files as needed 2019-12-09 16:52:17 -07:00
Timothy Baldridge
df4dcfa761 Use extension methods to get game metadata 2019-12-09 15:46:03 -07:00
Timothy Baldridge
ba556be994 Every steam install has the root steam folder as a implicit game location 2019-12-09 15:38:26 -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
Timothy Baldridge
6ad8baefb3 Fixe broken LL url detecting 2019-12-08 11:38:49 -07:00
Timothy Baldridge
638838d7a5 Fix LL ad selector 2019-12-08 10:05:52 -07:00
Timothy Baldridge
37542c2148 Remove debug code 2019-12-08 10:01:41 -07:00
Timothy Baldridge
3bbbfb3ea2 Finish up LL support. 2019-12-08 10:00:22 -07:00
Justin Swanson
86d4003398 Merge remote-tracking branch 'wabbajack-tools/master' into async-exploration 2019-12-08 01:10:51 -06:00
Timothy Baldridge
b9ae379c09
Merge pull request #240 from erri120/vortex-fixes-5
Vortex fixes 5
2019-12-07 11:30:11 -07:00
erri120
c5858c51c3
Vortex: Manual game files can be copied over 2019-12-07 17:35:57 +01:00
erri120
9d4325a5fe
Updated GameLocation property 2019-12-07 17:03:58 +01:00
Justin Swanson
f73bdee63e PMapped IncludeArchiveData to parallel the filehashing 2019-12-07 01:22:54 -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
729b5128da Random .Results swapped to 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
Timothy Baldridge
374aee12ef Remove debug code 2019-12-06 22:47:30 -07: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
Justin Swanson
e90759937b Removed internal WorkQueue in ValidateModlist that was un-disposed 2019-12-06 20:05:24 -06:00
Justin Swanson
03c88b0f38 Removed some Shutdown/Terminate functions in favor of Dispose 2019-12-06 20:04:42 -06:00
Justin Swanson
179ac2b0ee ABatchProcessor takes CancellationToken
Some basic usage of it.  Needs to be utilized deeper
2019-12-06 19:04:53 -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
ceebe0b745
Merge pull request #237 from wabbajack-tools/set-screen-size
Implement screen size auto-set for MO2 games
2019-12-05 22:28:09 -07:00
Timothy Baldridge
822236de8c
Merge pull request #238 from wabbajack-tools/exceptions-as-data
Exceptions as data
2019-12-05 22:27:59 -07:00
Timothy Baldridge
7191804ff2
Merge branch 'master' into set-screen-size 2019-12-05 22:12:29 -07:00
Timothy Baldridge
8b2486059f Implement screen size auto-set for MO2 games 2019-12-05 21:58:18 -07:00
Timothy Baldridge
56371b47ce
Merge pull request #235 from erri120/more-vortex-fixes
More Vortex Fixes
2019-12-05 21:06:02 -07:00
Justin Swanson
b1ebd3c362 Removed IUserIntervention.Resume 2019-12-04 23:14:40 -06:00
Justin Swanson
760461ab3e Made lots of error classes members public gets 2019-12-04 23:11:15 -06:00