41 Commits over 942 Days - 0.00cph!
Change string contains to string equals when searching for dependencies (fixes cyclic dependencies detection false positive)
Add support for data URI (inline) images
Add support for data URI (inline) images
Whitelist HttpRequestException
Whitelist WeakReference<T>
JuiceboxSession changes:
* Will now automatically reconnect to the websocket
* New IsConnected property exposes the websocket status so it could be shown on the UI
* IsOpen now tracks if the session is open, with a new event to see if the session is closed for any reason
* Probably fix finalizer never running
Model update for customizing submit button text
Model schema improvements
Update backend endpoint
Add models for requesting paintings from the web UI
Add juicebox client stuff
Some stuff I forgot to commit
Access list changes to allow HttpResponseMessage and HttpContent classes
Add some methods for easily handling JSON requests
Move access checks over
Add optional params for headers and cancelaition tokens
Obsolete Sandbox.Internal.Http
Update WebSocket header handling
Move Http into Sandbox.Game to align with the public WebSocket class
Tests fix
More tests
Some stuff I forgot to commit
Add juicebox client stuff
Add GameTask.RunInThreadAsync overloads which return a Task<T>
Make IsValid() extension method support nullable tracking so VS doesn't say things are possibly null when using it
Allow specifying HTTP headers in WebSocket.Connect (some are not allowed though)
Set appropriate User-Agent and Origin headers (not customizable)
Merge pull request #138 from Facepunch/websocket-headers
Allow specifying HTTP headers in WebSocket.Connect
Allow specifying HTTP headers in WebSocket.Connect (some are not allowed though)
Set appropriate User-Agent and Origin headers (not customizable)
Whitelist RuntimeHelpers.EnsureSufficientExecutionStack
Fix some color and gradient parsing issues in CSS
WIP updating CSS parser to handle gradient stop points
Gradient stop points working on effects UI test page now
Merge pull request #14 from Facepunch/gradient-parsing
Fixing up gradient parsing to support stop points
WIP updating CSS parser to handle gradient stop points
Gradient stop points working on effects UI test page now
Use the correct default branch when downloading gamemodes from github and no branch was specified in the URL
Add a WebSocket class (#5)
* Add a WebSocket class
* Add comment docs
Add try catches around event handler calls
* Make WebSocket sealed
Avoid NREs in WebSocket.IsConnected
More reliable dispose check
Make WebSocket sealed
Avoid NREs in WebSocket.IsConnected
More reliable dispose check
Add a WebSocket class
Add comment docs
Add try catches around event handler calls
Add comment docs
Add try catches around event handler calls
Add some tests for parsing :not()
Fix possible NRE in ReflectionExtensions.HasBaseType
Fix CSS parser not parsing ":not(:last-child)" properly
Make Vector2, Vector3, and Vector4 readonly structs
This will probably break some things
Will be switching more soon
Add reference to Sandbox.Hotload when compiling addons (for the callbacks)
Log when an unhandled exception occurs because it will sometimes kill the process (eg in finalizers)
Moved async-related whitelist to its own file
Whitelist a bunch of stuff:
* System.Threading.Channels
* System.IO.Compression (deflate and gzip streams)
* System.Collections.Immutable
* other random stuff
Fix modreq and modopt types erroring when checking addon access
Addon.GetDependencies fixes - gets rid of a stack overflow crash
* citizen and rust now depend on nothing (previously only base depended on nothing)
* everything else depends on base, citizen, and rust
Restore testmap (was a broken LFS pointer)
Add some missed files from gitignore nonsense
Support [Hotload.Skip] on fields
Add mutex to GameLog so we don't get weird mashups of logs
Upgrade runtime to .NET 6 preview 2
Fix AccessControl NRE on generic return types (maybe some others)
Fix compile with sbox_all