Commit Graph
406 Commits
Author SHA1 Message Date
Jordan Dominion 83ec6d0987 Custom DTO for ITokenFactory 2025-08-17 15:07:11 -04:00
Jordan Dominion 7b96034862 Way too much stuff again, mostly relating to transformers
- Improve transformer implementations of authority invokers
- LoginAuthority now just returns the token string.
- Remove non-projectable GetId implementation from UserAuthority.
- Improve Rest Paginated implementations and add transformer support.
- Made GQL `User` derive from `UserName`.
- Remove `ILegacyApiTransformable` from user models.

TODO:
- Implement `NotImplementedException`s.
- Consider removing `IApiTransformable`.
- Consider wrapping LoginResult in its own authority-based DTO. Maybe a record struct also containing the expiry.
2025-08-17 14:52:35 -04:00
Jordan Dominion 741144ae45 Final options conversions 2025-08-16 01:09:10 -04:00
Jordan Dominion 72be08b921 More options conversions 2025-08-16 00:22:54 -04:00
Jordan Dominion d409b89556 More Options snapshot/monitor conversions 2025-08-16 00:11:08 -04:00
Jordan Dominion d7a38abc6c Merge branch 'IOptionsSnapshot' into MoreWork 2025-08-15 23:58:05 -04:00
Jordan Dominion b545fb1a13 Remove telemetry 2025-08-15 19:13:29 -04:00
Jordan Dominion 3c46164515 ThrowsExactly conversion except harder 2025-08-01 19:37:43 -04:00
Jordan Dominion 460bf28f65 Merge branch 'HttpClientSanity' into TheGreatAuthenticationRework 2025-08-01 15:25:41 -04:00
Jordan Dominion 23279c3c2a Merge branch 'dev' into HttpClientSanity 2025-08-01 15:24:01 -04:00
Jordan Dominion 58a58bcae0 Fix failing unit test 2025-07-31 23:21:58 -04:00
Jordan Dominion da06491f96 Replace deprecated ReferenceEquals with AreSame 2025-07-30 17:40:31 -04:00
Jordan Dominion d443722e5d Merge branch 'HttpClientSanity' into TheGreatAuthenticationRework 2025-07-27 18:58:09 -04:00
Jordan Dominion 413cfe73de Fix tests 2025-07-27 18:57:49 -04:00
Jordan Dominion fca363e430 Merge branch 'HttpClientSanity' into TheGreatAuthenticationRework 2025-07-27 17:57:53 -04:00
Jordan Dominion 9e8bdde30c Remove HttpClient abstractions
Now implement mocked `HttpMessageHandler`s as recommended: https://stackoverflow.com/a/36427274/3976486
2025-07-27 15:34:33 -04:00
Jordan Dominion efb9239d50 Merge branch 'dev' into TheGreatAuthenticationRework 2025-07-27 13:33:24 -04:00
Jordan Dominion 1e0c888da2 Bring all nuget packages up to date and trim the fat 2025-07-26 19:16:30 -04:00
Jordan Dominion abab725cd5 Merge branch 'pr-2305' into Omega 2025-07-26 19:00:04 -04:00
Jordan Dominion f0cac0e810 Switch to using IFileSystem on the backend for file operations 2025-07-20 22:29:57 -04:00
Jordan Dominion 3b1473c712 Improve how ResolvingIOManagers are constructed 2025-07-20 21:46:53 -04:00
Jordan Dominion 12632a8bb4 AAAAA 2025-07-20 20:07:42 -04:00
Jordan Dominion fb2b15134f Allow BYOND downloads to be configurable 2025-06-23 21:35:28 -04:00
Jordan Dominion 7102f85f0e Merge branch 'dev' into TheGreatAuthenticationRework 2025-04-26 14:01:28 -04:00
Jordan Dominion 40b9432fcd Set TGS_INSTANCE_ROOT env var in event scripts 2025-04-20 18:35:03 -04:00
Jordan Dominion 4d53be23c6 First implementation of rights conditionals 2025-04-18 14:21:09 -04:00
Jordan Dominion ba67cf5159 Prevent race conditions with chat integration tests 2025-04-18 09:55:47 -04:00
dependabot[bot]andGitHub c459f9a416 Bump Microsoft.EntityFrameworkCore.InMemory from 9.0.3 to 9.0.4
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
  dependency-version: 9.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 09:42:45 +00:00
tgstation-server-ci[bot]andGitHub 61aff54456 Merge pull request #2157 from tgstation/dependabot/nuget/Microsoft.EntityFrameworkCore.InMemory-9.0.3
Bump Microsoft.EntityFrameworkCore.InMemory from 8.0.13 to 9.0.3
2025-03-16 03:14:19 +00:00
Jordan DominionandGitHub c07b8f5848 Merge pull request #2144 from tgstation/2097-OIDC
OpenID Connect Support and Strict Mode
2025-03-15 16:51:27 -04:00
dependabot[bot]andGitHub db24c783b1 Bump Microsoft.EntityFrameworkCore.InMemory from 8.0.13 to 9.0.3
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore) from 8.0.13 to 9.0.3.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.13...v9.0.3)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 18:23:04 +00:00
Jordan Dominion 9830fa7729 Merge branch 'dev' of https://github.com/tgstation/tgstation-server into EFCoreUpdate 2025-03-15 09:16:00 -04:00
Jordan Dominion abf12000cc Fixes for OIDC stuff 2025-03-10 18:09:28 -04:00
Jordan Dominion 2e75125860 OIDC First Implementation 2025-03-09 17:53:43 -04:00
Jordan Dominion e7d2a23450 Handle Nuget Updates
Remove `System.Text.Encodings.Web` from API because why did we have it?
2025-02-16 17:38:26 -05:00
Jordan Dominion 3df4771f89 Use service provider HttpMessageHandler factory for GitHub client 2025-02-16 17:35:33 -05:00
Jordan Dominion 06d087fd3b Fix unit test 2025-02-08 19:48:01 -05:00
Jordan Dominion d235bcc482 Log the database provider used 2025-02-07 18:50:04 -05:00
Jordan Dominion cccde495a3 Update to EFCore 9 2024-12-21 11:23:39 -05:00
Jordan Dominion 22fb6c2e9e .NET 9 manual packages update 2024-11-16 11:39:20 -05:00
Jordan Dominion be6960d942 Move long-running delay task fix to AsyncDelayer
Fixes #1985
2024-11-03 10:28:09 -05:00
Jordan Dominion 17b2b9ae2a Additional logging surrounding config file writes 2024-10-27 19:31:05 -04:00
Jordan Dominion 94e0e5611e IOptionsMonitor for OpenDreamInstaller 2024-10-19 10:44:29 -04:00
Jordan Dominion fd93c96310 Merge branch 'dev' of https://github.com/tgstation/tgstation-server into IOptionsSnapshot 2024-10-19 10:44:20 -04:00
dependabot[bot]andGitHub a21d4d554f Bump Microsoft.EntityFrameworkCore.InMemory from 8.0.8 to 8.0.10
Bumps [Microsoft.EntityFrameworkCore.InMemory](https://github.com/dotnet/efcore) from 8.0.8 to 8.0.10.
- [Release notes](https://github.com/dotnet/efcore/releases)
- [Commits](https://github.com/dotnet/efcore/compare/v8.0.8...v8.0.10)

---
updated-dependencies:
- dependency-name: Microsoft.EntityFrameworkCore.InMemory
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-09 09:16:32 +00:00
craftxbox 94aafc1f9a fix the tests (i forgot about them) 2024-10-04 01:11:25 -02:30
craftxbox 5c4f55850c Refactor IrcProvider just a little 2024-10-03 21:38:24 -02:30
Jordan Dominion af60f4f778 Fix warnings, test build errors, and disable IDE0290 2024-09-23 20:11:26 -04:00
Jordan Dominion ff262b2584 Improve LoginPayload 2024-09-14 14:54:54 -04:00
Jordan Dominion 4bdc799950 Fix swarm protocol unit tests 2024-09-13 10:08:25 -04:00