Commit Graph

450 Commits

Author SHA1 Message Date
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
Justin Swanson
80508aa494 Made changes to help cope with my allergy to strings 2020-01-18 13:28:42 -06:00
erri120
34ec97f1a4
MO2Installer will create output folders for executables if they dont exist 2020-01-18 15:48:55 +01:00
Timothy Baldridge
a206b833b5 Merge remote-tracking branch 'origin/file-upload' into file-upload
# Conflicts:
#	Wabbajack.BuildServer/Wabbajack.BuildServer.csproj
#	Wabbajack.Lib/Wabbajack.Lib.csproj
2020-01-17 15:57:56 -07:00
Timothy Baldridge
ad3090f9fc Upgrade deps 2020-01-17 15:56:52 -07:00
Timothy Baldridge
4f45992770 GraphQL client support for querying uploaded files 2020-01-17 15:55:03 -07:00
Timothy Baldridge
fdc4e1f92c Start on file upload support 2020-01-17 15:55:03 -07:00
Justin Swanson
8571003cfd ToGuiProperty convenience call
Automatically wires on GUI thread and disposes
2020-01-16 22:48:54 -06:00
Timothy Baldridge
476d6363db GraphQL client support for querying uploaded files 2020-01-15 22:32:30 -07:00
Timothy Baldridge
6a0688d37a Start on file upload support 2020-01-15 22:06:25 -07:00
Timothy Baldridge
853c6ad29a
Merge pull request #384 from wabbajack-tools/enqueue-recent-files
Enqueue recent files
2020-01-14 15:21:09 -07:00
Timothy Baldridge
880ab875dc
Merge pull request #383 from tr4wzified/master
Fix typos + inconsistencies in logs
2020-01-14 05:36:55 -08:00
Justin Swanson
5b33a74075 Offloaded ModlistGallery image downloading 2020-01-13 23:04:45 -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
trawzified
877989ba16 Fix typos + inconsistencies in logs 2020-01-13 22:11:07 +01:00
Timothy Baldridge
955924fdac
Merge pull request #377 from wabbajack-tools/asp-net-core-rewrite
Asp net core rewrite
2020-01-12 14:27:34 -08:00
Timothy Baldridge
7df6d06e98 WJ can now infer metas with the help of the build server 2020-01-11 22:00:41 -07:00
Justin Swanson
b9f27a1080 Unit tests 2020-01-11 18:36:30 -06:00
Justin Swanson
e2b2ea1727 Some more comments 2020-01-11 14:59:40 -06:00
Justin Swanson
df20f65f90 WorkQueue's desired threads obs can be set after ctor. CurrentCpuCount display 2020-01-11 14:20:14 -06:00
Justin Swanson
75c48e5fe2 Merge branch 'master' into settings-pane 2020-01-11 00:42:51 -06:00
Justin Swanson
818d92320e Initial dynamic WorkQueue threads system 2020-01-11 00:42:25 -06:00
Timothy Baldridge
5393ed4a84 Can now get meta.ini data from a download state 2020-01-10 21:15:53 -07:00
Timothy Baldridge
bac5e958bf Primary key string 2020-01-10 06:25:01 -07:00
Timothy Baldridge
51aa59ecee Integrate build server file indexing into the main app 2020-01-09 21:47:06 -07:00
Justin Swanson
36a37a04a9 Swapped calls to ObserveOnGuiThread() 2020-01-09 20:51:19 -06:00
Timothy Baldridge
a70dd4ba6c Add endpoints for getting IndexedVirtualFiles 2020-01-09 16:19:07 -07:00
Timothy Baldridge
5661c20f1d WIP 2020-01-09 16:19:07 -07:00
erri120
ad47241708
Added WABBAJACK_INCLUDE tagged mods to VortexCompiler 2020-01-08 17:22:00 +01:00
Justin Swanson
a3450900a3 Implemented workqueue limiter settings on starting batch 2020-01-07 19:57:00 -06:00
Justin Swanson
b3a61a00a7 Merge fixes 2020-01-07 19:30:22 -06:00
Justin Swanson
c5dd5c05bc Merge remote-tracking branch 'wabbajack-tools/master' into settings-pane 2020-01-07 19:23:32 -06:00
Timothy Baldridge
8e23dbe972 Embed css files 2020-01-07 07:20:36 -07:00
Timothy Baldridge
f2bb07a528 Wabbajack.Lib is now .NET Standard 2.0 2020-01-07 06:50:11 -07:00
Timothy Baldridge
b0951afb80 Moved messagebox code into user interventions, moved FilePicker VMs into Wabbajack (from Wabbajack.Lib) 2020-01-07 06:03:46 -07:00
Justin Swanson
98cb1ea28e More settings page styling work 2020-01-06 23:44:32 -06:00
Timothy Baldridge
324ddae397 If game folder files exist, ignore the game folder 2020-01-06 22:23:59 -07:00
Timothy Baldridge
e38d67fee1 Merge remote-tracking branch 'origin/master' 2020-01-06 21:49:29 -07:00
Timothy Baldridge
c50ccb964e Don't delete the download folder 2020-01-06 21:46:36 -07:00
Timothy Baldridge
a76aff7962 Add override for Game Folder Files 2020-01-06 17:24:33 -07:00
Timothy Baldridge
e2ebe039d4
Merge pull request #361 from erri120/deadlystream
Deadlystream Support + VectorPlexus fixes
2020-01-06 15:19:38 -08:00
Timothy Baldridge
3cdb9dd37a
Merge pull request #362 from erri120/mo2-force-portable
Create portable.txt after installation in MO2 dir
2020-01-06 15:18:59 -08:00
Timothy Baldridge
b3840ae4d8 Allow .mohidden files to be patched 2020-01-06 16:08:19 -07:00
erri120
8c51c1f49e
Create portable.txt after installation in MO2 dir 2020-01-06 16:20:18 +01:00
erri120
837fca2580
Added DeadlyStream and VectorPlexus to Ceras, KnownSubTypes and Downloaders 2020-01-06 16:08:54 +01:00
erri120
91cfe359a8
Created DeadlyStreamDownloader 2020-01-06 16:08:21 +01:00
Justin Swanson
feb3e781fc Settings page work. Some experimentation /w RxUI binding 2020-01-05 23:15:10 -06:00
Timothy Baldridge
38f4825099 Clone the modlist so we don't delete everything on a re-install 2020-01-05 21:35:12 -07:00
Timothy Baldridge
3e39ab8dba Implement VectorPlexus support as a downloader, abstracted common IPS4 data behind an abstract class. 2020-01-05 17:21:05 -07:00
Timothy Baldridge
27f0f98671
Merge pull request #353 from wabbajack-tools/abstract-login-downloader
Reworked the LL downloader
2020-01-05 14:24:08 -08:00
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