Jordan Dominion
7c9a1a6a4f
Fix a cause of spurious CI failures
2023-11-06 21:48:23 -05:00
Jordan Dominion
90d41cc88d
Replace HTTP 426 with 400
...
Notable exception is the swarm API, which still uses 426 for version mismatches and would be a pain in the ass to change correctly.
Closes #1693
2023-11-06 17:56:03 -05:00
Jordan Dominion
5f6e3d340c
Merge branch 'dev' into V6
2023-11-06 17:37:48 -05:00
Jordan Dominion
ed8453f08e
Remove hub abort notifications
...
Because SignalR buffers messages, we can't guarantee these will be delivered before the connection is aborted.
We'll have to rely on the client not being pants-on-head.
2023-11-05 09:38:57 -05:00
Jordan Dominion
d3563394fb
OperationCanceledExceptions are not test errors
2023-11-05 09:01:20 -05:00
Jordan Dominion
2c82da46f6
Simplify logic flow in JobsHubTests
2023-11-05 09:00:44 -05:00
Jordan Dominion
cab8ce68f5
Simplify this job type check using new JobCodes
2023-11-05 08:40:18 -05:00
Jordan Dominion
a01bea5608
We're officially API breaking!
2023-11-05 00:29:23 -04:00
Jordan Dominion
ebd09d7e86
Add JobCodes to strongly type jobs
...
- Default `0` for legacy jobs.
- Standardize job creation prior to registration.
- Add `RightsHelper.TypeToRight()`.
2023-11-04 21:12:25 -04:00
Jordan Dominion
d85e2b8d36
Add SignalR
...
- Add one hub `/hubs/jobs`, strongly typed API included.
- Adjust request pipeline to support SignalR.
- Allow `Accept: text/event-stream` for SSE requests.
- Add client library support for hubs.
- Add integration tests.
- Add IPermissionSetNotifyee to support dynamic changes based on perms.
- Keep job state in `JobService` for pushing updates.
2023-11-04 19:22:48 -04:00
Jordan Dominion
d851df8276
GET / with an Authorization header should fail if it's not valid
2023-11-02 23:10:34 -04:00
Jordan Dominion
29579a351d
Fix JWT compliance issues.
...
- `nbf` and `exp` should be numbers, not strings.
- Parse JWT in `ApiHeaders` fully for errors.
- Use `iat` and increment `nbf` by one second if equal and may trigger the `LastPasswordUpdate` bug.
- Make client aware of this change and move the delay there.
- Deprecated `TokenResponse.ExpiresAt`.
2023-10-31 23:16:18 -04:00
Jordan Dominion
4b39bde25d
Fix HardFailLogger/provider logging non-errors
2023-10-29 16:23:00 -04:00
Jordan Dominion
9325e545fd
Simplify some Substring calls
2023-10-29 16:22:58 -04:00
Jordan Dominion
9e2bf3f161
Merge branch 'dev' into SignalR
2023-10-29 14:32:09 -04:00
Jordan Dominion
e7652c2739
Merge branch 'V6' into OpenDream
2023-10-25 18:58:44 -04:00
tgstation-server
ddda3c8ca9
Merge branch 'master' into dev
2023-10-25 14:14:46 +00:00
Jordan Dominion
14ed93c12a
Make every LongRunning DMAPI test compile generate a unique .rsc
2023-10-25 08:40:56 -04:00
Jordan Dominion
13128abe73
Fix overeager required process killing
2023-10-25 02:54:50 -04:00
Jordan Dominion
b21f3a880f
Use a higher priority thread here to ensure the dump test runs successfully
2023-10-24 04:03:56 -04:00
Jordan Dominion
30f2afe43b
Merge branch 'V6' into OpenDream
2023-10-23 20:23:32 -04:00
Jordan Dominion
9b405784cc
Fix a race condition in compat tests
2023-10-23 02:03:36 -04:00
Jordan Dominion
20428736ec
Merge branch 'master' into dev
2023-10-22 19:59:03 -04:00
Jordan Dominion
720c42c522
Test that GameStaticFiles work in live tests
2023-10-22 13:59:54 -04:00
Jordan Dominion
812d6a619c
Remove the interactive test
...
It's annoying to monitor
2023-10-22 10:01:03 -04:00
Jordan Dominion
b22368086b
Additional test logging
2023-10-21 20:41:09 -04:00
Jordan Dominion
71f5c739d8
Fix tests using BasicWatchdog failing
2023-10-21 20:41:08 -04:00
Jordan Dominion
abdf8b6bfd
Fix build
2023-10-21 19:06:41 -04:00
Jordan Dominion
44729820ed
Remove unused variable and fix test buffer size
2023-10-21 16:20:40 -04:00
Jordan Dominion
571c555360
Finally find a way to test if Linux is being shitty to us about links
2023-10-21 12:32:35 -04:00
Jordan Dominion
c66890d802
Merge branch 'master' into dev
2023-10-21 12:12:39 -04:00
Jordan Dominion
cba6d1b838
Test we're populating the old CompileJob.ByondVersion for compatibility
2023-10-21 09:57:54 -04:00
Jordan Dominion
aa0ca834d6
Sort usings
2023-10-21 09:41:10 -04:00
Jordan Dominion
ba5823c631
Set minimum required OD commit to https://github.com/OpenDreamProject/OpenDream/commit/fab769776dada6b9bcad546094d78c604049e0e9
2023-10-21 09:40:43 -04:00
Jordan Dominion
279671c7cb
Remove failing and badly conceived test
2023-10-21 03:49:28 -04:00
Jordan Dominion
1480e48e54
Take advantage of Robust's logging cvars
...
- Finally add port test retries for up to 5s.
- Fix weirdness with logging to file vs reading std handles.
- Replace some "DD" references with "server"
2023-10-21 03:40:39 -04:00
Jordan Dominion
45f5f7456a
Remove some unused usings
2023-10-21 01:45:44 -04:00
Jordan Dominion
66ace82477
Merge branch 'V6' into OpenDream
2023-10-21 00:32:10 -04:00
Jordan Dominion
2f5e62c9a0
A note to help future errors on this assert
2023-10-20 23:48:14 -04:00
Jordan Dominion
8a5d0d40e5
Test DMAPI security level and CWD is Live
2023-10-20 23:48:13 -04:00
Jordan Dominion
65d9785c24
Fix merge build errors
2023-10-20 21:41:24 -04:00
tgstation-server
c0e5c5fb0e
Merge branch 'master' into dev
2023-10-20 12:58:19 +00:00
Jordan Dominion
c11afb5ecc
Add /tg/station workstation integration tests
2023-10-19 21:01:32 -04:00
Jordan Dominion
cd61bd317f
Up timeout for dump tests
...
Addresses the failure in the last nightly
2023-10-19 20:07:11 -04:00
tgstation-server
17b33548a0
Merge branch 'master' into dev
2023-10-18 04:55:32 +00:00
Jordan Dominion
356a2c24f8
Find a good version for linux compat tests
...
Needed https://www.byond.com/forum/post/2402692 fixed
2023-10-17 19:16:38 -04:00
Jordan Dominion
4599e462b2
Fix test timeouts for OpenDream installation
2023-10-16 12:36:50 -04:00
Jordan Dominion
5608b93ac1
Fix various CI test issues
2023-10-16 11:45:06 -04:00
Jordan Dominion
ef8b2e860f
SocketOption.DontLinger is Windows only
2023-10-16 11:26:08 -04:00
Jordan Dominion
c462fabe8e
Use deterministic temp paths in integration tests
2023-10-16 09:38:28 -04:00