Commit Graph

1775 Commits

Author SHA1 Message Date
joakim lindqvist
09b1c46dac OidcToken - Added timeout option (defaults to 20 minutes) were if the user hasn't logged in the opened browser for this time we just shutdown with a error, this prevents zombie processes from sticking around at the risk of users coming back after this timeout and trying to login to the popuped browser and getting a 404 (as the local webserver will have shutdown).
[CL 29983000 by joakim lindqvist in ue5-main branch]
2023-11-29 04:51:48 -05:00
ben marsh
4021414faf Horde: Do not dispose of storage clients until all data has been read from streams that use them.
- Adds a new StreamWrapper class to EpicGames.Core which wraps another stream and forwards all overridable methods to it.
- Adds an extension method to create a StreamWrapper that overrides Dispose/DisposeAsync methods to dispose of other owned resources.

[CL 29935350 by ben marsh in ue5-main branch]
2023-11-27 11:14:39 -05:00
ben marsh
1b892fe03b Horde: Fix static analysis warning.
[CL 29935191 by ben marsh in ue5-main branch]
2023-11-27 11:09:03 -05:00
carl bystrom
55fd1c38b5 Horde: Resolve external IP when using relay connection mode
Provides necessary info to server to properly scope access to client's IP only.

[CL 29934272 by carl bystrom in ue5-main branch]
2023-11-27 10:24:39 -05:00
joakim lindqvist
5641ae22ec OidcToken - Allow for allocating of an access token without a identity token, we never actually used the IdentityToken and allowing to get a access token without it allows us to sidestep issues with some IdPs only providing thin tokens when you request both identity and access tokens at the same time.
[CL 29933141 by joakim lindqvist in ue5-main branch]
2023-11-27 09:20:25 -05:00
carl bystrom
16d9baba55 Horde: Cache externally resolved IP
[CL 29933128 by carl bystrom in ue5-main branch]
2023-11-27 09:19:48 -05:00
ben marsh
8c848d9395 Horde: Downgrade warning to information.
#jira

[CL 29926440 by ben marsh in ue5-main branch]
2023-11-25 16:41:56 -05:00
ben marsh
c390c49f99 Horde: Remove unused functionality for tracking modified nodes.
#jira

[CL 29926082 by ben marsh in ue5-main branch]
2023-11-25 08:40:25 -05:00
ben marsh
8b8ce422bc Horde: Fix static analysis warning.
#jira

[CL 29924884 by ben marsh in ue5-main branch]
2023-11-24 19:12:07 -05:00
carl bystrom
69d4bc0931 Horde: Add external IP resolver for use by compute resource allocation
[CL 29922137 by carl bystrom in ue5-main branch]
2023-11-24 13:03:21 -05:00
ben marsh
6953da12d9 Fix static analyzer warnings.
#jira

[CL 29921893 by ben marsh in ue5-main branch]
2023-11-24 12:43:14 -05:00
ben marsh
c3cbfd31dd Horde: Change blobs to serialize GUIDs in UE-style (4 x 32-bit LE values) rather than Windows/NET-style (1 x 32-bit LE, 2 x 16-bit LE, 8 x 8-bit values), to ease interop with the engine.
In order to prevent invalidating existing data, strings for GUIDs for all existing blob types have been updated to deserialize to the same value in UE format.

[CL 29921591 by ben marsh in ue5-main branch]
2023-11-24 12:24:42 -05:00
carl bystrom
ddeca17de0 OidcToken: Add support for WSL2
Launches browser for authentication under WSL2. The localhost IP bound by server under Linux is accessible on Windows host.

#rb Joakim.Lindqvist

[CL 29886563 by carl bystrom in ue5-main branch]
2023-11-22 07:59:08 -05:00
ben marsh
cd922578c8 Horde: Fix swallowing of exceptions in zip file background tasks.
#jira

[CL 29862907 by ben marsh in ue5-main branch]
2023-11-21 08:31:35 -05:00
ben marsh
7b77ce5c83 Horde: More diagnostic information for tool download.
#jira

[CL 29855271 by ben marsh in ue5-main branch]
2023-11-20 18:38:41 -05:00
ben marsh
70b7465774 Horde: Use the non-copying version of extracting data from a chunked node when creating zip archives.
Also print the size of the downloaded agent software zip file to the log.

#jira

[CL 29846772 by ben marsh in ue5-main branch]
2023-11-20 14:10:29 -05:00
ben marsh
b3c3b6bbd1 Horde: Fix tests.
#jira

[CL 29836430 by ben marsh in ue5-main branch]
2023-11-19 20:53:55 -05:00
ben marsh
d66b41a165 Horde: Fix another use-after-free error when extracting data from new bundle format.
#jira

[CL 29833613 by ben marsh in ue5-main branch]
2023-11-18 17:29:36 -05:00
ben marsh
8a878ea81d Horde: Fix a use-after-dispose race in the bundle cache due to order in which reference count is updated. Also null out fields in PacketReader to allow catching use of disposed objects sooner.
#jira

[CL 29833240 by ben marsh in ue5-main branch]
2023-11-18 16:06:49 -05:00
ben marsh
8f3c02c33b Horde: Fix static analysis warnings.
#jira

[CL 29833015 by ben marsh in ue5-main branch]
2023-11-18 14:54:49 -05:00
ben marsh
a5ff6a06ea Horde: Upgrade StackExchange.Redis to latest version.
#jira

[CL 29832966 by ben marsh in ue5-main branch]
2023-11-18 14:39:19 -05:00
ben marsh
3c08d7d093 Horde: Upgrade Microsoft.Extensions.Logger package to latest version, and fix warnings due to API nullability changes.
#jira

[CL 29832887 by ben marsh in ue5-main branch]
2023-11-18 14:22:32 -05:00
ben marsh
2c5c1e90b4 Horde: Add test suite for BundleCache, and fix a few issues with inconsistent ref counts for managed objects.
#jira

[CL 29832221 by ben marsh in ue5-main branch]
2023-11-18 11:10:48 -05:00
ben marsh
2c3d411f92 Horde: Fix aliases not being flushed when using V2 packet format.
#jira

[CL 29832190 by ben marsh in ue5-main branch]
2023-11-18 11:04:23 -05:00
ben marsh
49b636ed03 Horde: Fix test failure due to JsonPath not having a schema type annotation.
#jira

[CL 29825318 by ben marsh in ue5-main branch]
2023-11-17 18:47:31 -05:00