Jordan Dominion
f2e797cad7
WIP, who knows man
2025-08-29 11:38:37 -04:00
Jordan Dominion
26ab854270
Try translating this QueryContext
2025-08-18 19:08:20 -04:00
Jordan Dominion
b90e58b419
Potentially fix FastUpToDateCheck failure for TGS GQL Client
2025-08-18 00:04:32 -04:00
Jordan Dominion
b8b039d19d
Proper GQL Connection names
2025-08-17 23:58:03 -04:00
Jordan Dominion
683dba08b2
Simplify type name
2025-08-17 23:52:06 -04:00
Jordan Dominion
8fae4162e3
Add missing Id selection to PermissionSet REST transformer
2025-08-17 23:25:57 -04:00
Jordan Dominion
9453e08975
GQL User.CreatedBy is dependent on https://github.com/ChilliCream/graphql-platform/issues/8313
2025-08-17 23:23:25 -04:00
Jordan Dominion
3a804f24cb
Correct casing
2025-08-17 23:21:00 -04:00
Jordan Dominion
0c5f5a3558
Prevent EF Core OrderBy warning
2025-08-17 23:20:18 -04:00
Jordan Dominion
e3f63cb8d5
Fix test build errors
2025-08-17 22:35:31 -04:00
Jordan Dominion
4af07f6eef
Consider subprojections for null checking only if they are nullable
2025-08-17 21:03:42 -04:00
Jordan Dominion
090038d567
Make UserGroup.Users non-nullable
2025-08-17 21:03:38 -04:00
Jordan Dominion
ee16ff44db
Make REST UserGroups by ID use Projectable
2025-08-17 20:19:16 -04:00
Jordan Dominion
62d7e4f56c
Generic CollectionTransformer
2025-08-17 20:19:11 -04:00
Jordan Dominion
136f7a1572
Do not null check collections when building subprojections as they should never be null
2025-08-17 20:13:18 -04:00
Jordan Dominion
84d4bddb68
Simplify this expression
2025-08-17 20:10:32 -04:00
Jordan Dominion
3e5ade9f6b
Clairify what these tags are for
2025-08-17 18:08:10 -04:00
Jordan Dominion
d4e0500cb2
Rearrange temporary variables to make debugging easier
2025-08-17 18:06:00 -04:00
Jordan Dominion
e787017992
Tag the REST Projectables
2025-08-17 18:05:44 -04:00
Jordan Dominion
4bb209b206
Implement missing RestAuthorityInvoker method
2025-08-17 17:54:34 -04:00
Jordan Dominion
fa6a12b09d
Implement UserGroup data loaders
2025-08-17 17:30:55 -04:00
Jordan Dominion
97435c68f0
Implement projectable GetId for UserGroup
2025-08-17 17:26:32 -04:00
Jordan Dominion
16b08b839f
Fix weird unused using scenario
2025-08-17 17:22:02 -04:00
Jordan Dominion
e8f1d52f8f
Rename queryable endpoints for users and groups
2025-08-17 17:16:46 -04:00
Jordan Dominion
4be167292e
Convert IUserGroupAuthority.Read to Projectable
2025-08-17 17:15:25 -04:00
Jordan Dominion
628fc50d0d
Fix recursive call
2025-08-17 17:13:59 -04:00
Jordan Dominion
730b6258ee
Minor comment update
2025-08-17 16:57:54 -04:00
Jordan Dominion
d2eb1ef8f0
Cleanup IQueryable GQL responses
...
- Ensure all `UseProjection`.
- Add cost where appropriate.
2025-08-17 16:56:57 -04:00
Jordan Dominion
1c8ef1aabd
Fix indentation
2025-08-17 16:49:02 -04:00
Jordan Dominion
4740bfd210
We should not get a full user for the TGS user so CreatedById should never be null
2025-08-17 16:48:44 -04:00
Jordan Dominion
55f5392cc4
Deduplicate BuildSubProjection code
2025-08-17 15:35:43 -04:00
Jordan Dominion
cc33c2e701
Implement BuildSubProjection where N=3
2025-08-17 15:11:59 -04:00
Jordan Dominion
42b21ddc4d
Remove unreachable case
2025-08-17 15:08:16 -04:00
Jordan Dominion
83ec6d0987
Custom DTO for ITokenFactory
2025-08-17 15:07:11 -04:00
Jordan Dominion
c0d94c0de3
Rename ITransformer.CompiledExpression to Transform
2025-08-17 15:02:49 -04:00
Jordan Dominion
a3e2d70f73
Simplify name
2025-08-17 14:58:06 -04:00
Jordan Dominion
dc2c7025da
Remove IApiTransformable and add missing ILegacyApiTransformable to PermissionSet
2025-08-17 14:57:55 -04:00
Jordan Dominion
f2c01b87cc
Simplify name
2025-08-17 14:52:51 -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
db0db22f2b
Remove unused OAuth/Oidc connections data loaders
2025-08-16 13:45:19 -04:00
Jordan Dominion
43455a123e
Fix UpdatedUserTransformer not using projections
2025-08-16 13:43:42 -04:00
Jordan Dominion
a5c3d64fe3
Move transformers to GraphQL namespace and remove GraphQL from name
2025-08-16 13:39:12 -04:00
Jordan Dominion
05f6303f16
Use connections for use OAuth and Oidc connections
2025-08-16 13:38:22 -04:00
Jordan Dominion
9f2eb153db
Make some query tags human readable
2025-08-16 13:08:40 -04:00
Jordan Dominion
f0fbcbae36
Project effective permission set
2025-08-16 13:08:26 -04:00
Jordan Dominion
a3c5022d52
Transformers for OAuth and Oidc connections
2025-08-16 13:07:14 -04:00
Jordan Dominion
01c07cb2c8
Project UserGroup PermissionSets
2025-08-16 13:07:13 -04:00
Jordan Dominion
cca8416e4f
Only project entity ID when necessary
2025-08-16 13:07:13 -04:00
Jordan Dominion
aae3b74684
Add another RequirementsGated constructor override
2025-08-16 13:07:13 -04:00
Jordan Dominion and GitHub
010c3099d4
Merge pull request #1931 from tgstation/IOptionsSnapshot
...
Switch from `IOptions` to `IOptionsSnapshot` and `IOptionsMonitor`
2025-08-16 11:22:48 -04:00