Jordan Brown
2fcb700f43
Merge branch 'dev' into 1078-UserGroups
2020-12-14 17:17:34 -05:00
Jordan Brown
3e62191257
Adds UserGroups
...
- Added MinimumLength to several existing and new
StringLengthAttributes.
- Refactored permissions off User model to new PermissionSet model.
- Added UserGroups, which contain their own PermissionSet. A user can
have either a UserGroup or dedicated PermissionSet.
- Added UserGroupController and client for handling groups.
- Renamed InstanceUser to InstancePermissionSet and associated it with
PermissionSets instead of Users.
- Inject active permission sets into AuthenticationContext.
- Sanitize away top level child properties of client request bodies
(hopefully).
- Added groups integration tests. Main test now runs in a group context.
- Added migrations with hand-written transition SQL.
- Resetting the admin user disassociates them from any groups.
Fuck this huge commit
2020-12-14 17:07:59 -05:00
Jordan Brown and GitHub
225e26e6b2
Merge pull request #1165 from tgstation/readme-tweaks
...
Updates readme links
2020-12-11 15:11:17 -05:00
AffectedArc07 and GitHub
17fd52cee9
Updates readme links
2020-12-11 16:35:07 +00:00
Jordan Brown
e69603da3e
Fix Unit Tests
2020-12-10 13:14:41 -05:00
Jordan Brown
c964ee0984
Merge branch 'master' into dev
2020-12-10 10:45:02 -05:00
Jordan Brown and GitHub
a5544f7b8b
Merge pull request #1162 from tgstation/DowngradeMigrations [TGSDeploy]
...
Fix bad downgrade migrations for the last time
tgstation-server-v4.6.2
2020-12-10 09:41:55 -05:00
Jordan Brown and GitHub
26ba1d4cdb
Merge pull request #1163 from tgstation/786-GitHostAgnosia
...
Generic Git Host Test Merging + GitLab Support
2020-12-09 23:34:22 -05:00
Jordan Brown
2e56b2a500
Reduces PortAllocator logspam
2020-12-09 22:34:41 -05:00
Jordan Brown
ed99b0db2d
Fix TargetCommitSha being null
2020-12-09 22:27:30 -05:00
Jordan Brown
60ac813925
Fix test for renamed error
2020-12-09 22:27:12 -05:00
Jordan Brown
2433b5733b
Replace the term "pull request" with "test merge"
...
Where possible without majorly breaking the DMAPI
2020-12-09 22:26:54 -05:00
Jordan Brown
ebe5bdd55b
Fix test merge comment posting
2020-12-09 21:32:45 -05:00
Jordan Brown
945ad4a445
Fix OAuthConnections showing everywhere
2020-12-09 21:31:37 -05:00
Jordan Brown
723d2d9a6e
Fix SQLite down migration
...
Wish were on .NET 5 for that sweet sweet DropColumn support
2020-12-09 16:34:19 -05:00
Jordan Brown
db7b1cc242
Disable CA1502 on SchemaDowngradeForServerVersion
2020-12-09 16:21:52 -05:00
Jordan Brown
39d80a5b00
Fix DMAPI version test
2020-12-09 16:18:12 -05:00
Jordan Brown
3533cba8a1
We throw the job exception before this point
2020-12-09 16:06:25 -05:00
Jordan Brown
774a5ba331
Version bump to 4.6.2
2020-12-09 15:50:45 -05:00
Jordan Brown
21c9e5f01a
Fix downgrade migrations for the last time
2020-12-09 15:50:29 -05:00
Jordan Brown
1df12a29c1
Add some OAuthConnections API tests
...
- Fix returning null instead of an empty array
2020-12-09 15:15:48 -05:00
Jordan Brown
8466fe31a3
Oh god oh fuck this commit is too big
...
- Disable faulty CA1508
- Add CompileJob.RepositoryOrigin
- Rename TestMergeParameters.PulRequestRevision to TargetCommitSha
- Ensure test merges aren't referred to as pull requests anywhere
- Make remote deployment git host agnostic
- Make Repository.Origin a Uri
2020-12-09 15:15:01 -05:00
Jordan Brown
15deae6f96
Merge branch 'dev' into 786-GitHostAgnosia
2020-12-08 19:21:11 -05:00
Jordan Brown
0c83bcbd00
Disable enum_case_convention OpenAPI lint
...
Broken by OAuthProvider types.
2020-12-08 19:21:01 -05:00
Jordan Brown
b0c52d3931
Merge branch 'dev' into 786-GitHostAgnosia
2020-12-08 17:55:57 -05:00
Jordan Brown
71060ee6af
Remove travis CI badge
...
We use actions now
2020-12-08 17:55:28 -05:00
Jordan Brown
83aec7ef71
Fix branch build's TGS4_GITHUB_REF
2020-12-08 17:53:39 -05:00
Jordan Brown
f87f609e38
Add serverUrl to OAuthProviderInfo
2020-12-08 17:47:41 -05:00
Jordan Brown
778ebc91b0
Fix unauth'd / requests failing on non-browsers
2020-12-07 23:46:52 -05:00
Jordan Brown
c5b654bf9b
Fix OAuthProvider not being spec'd as strings
2020-12-07 22:00:35 -05:00
Jordan Brown and GitHub
c7008b09d8
Merge pull request #1161 from tgstation/1160-KeyCloak
...
Adds Keycloak OAuth
2020-12-07 17:19:20 -05:00
Jordan Brown
daebe5eac8
War on TGS4_GITHUB_REF EP4
2020-12-07 16:53:17 -05:00
Jordan Brown
d21143da4a
Fix test branch parsing
2020-12-07 16:12:14 -05:00
Jordan Brown
3716c84664
Fix a potential test error dropping
2020-12-07 15:46:18 -05:00
Jordan Brown
e2da8b5371
Fix setting TGS4_GITHUB_REF for PRs
2020-12-07 15:34:05 -05:00
Jordan Brown
20f55160bd
Removes an annoying trailing /
2020-12-07 15:27:38 -05:00
Jordan Brown
73a88245b1
Adds Keycloak OAuth support
2020-12-07 14:16:41 -05:00
Jordan Brown
4a070e39a7
Adds a single log line
2020-12-07 14:13:09 -05:00
Jordan Brown
3147ffd2bf
Oauth cleanups
2020-12-07 14:06:43 -05:00
Jordan Brown
36044c826c
Use string enums for OAuthProviders in the API
2020-12-07 13:14:29 -05:00
Jordan Brown
a7026df195
Fix being unable to read current OAuthConnections
2020-12-07 13:13:35 -05:00
Jordan Brown
d524d06b5a
Add URL OAuth config to integration tests
2020-12-07 12:52:33 -05:00
Jordan Brown
3168eded05
Refactors Scope into base OAuthTokenRequest
2020-12-07 12:40:04 -05:00
Jordan Brown
3b4bd2d703
Adds URL setting to OAuthConfiguration
2020-12-07 12:34:09 -05:00
Jordan Brown
bc505c2446
Diverse test merging big commit
2020-12-06 19:37:20 -05:00
Jordan Brown
2838170350
Merge branch 'dev' into 786-GitHostAgnosia
2020-12-05 00:16:16 -05:00
Jordan Brown
a231a776c8
Do not give /world/Topic TGS topics
...
- Return TRUE and log a warning if it's too early for us to handle it
2020-12-04 23:52:04 -05:00
Jordan Brown
1e52811434
Abstract test merging per git provider
2020-12-04 23:49:20 -05:00
Jordan Brown and GitHub
596c5e1486
Merge pull request #1159 from tgstation/1127-TestMergingRefactor [TGSDeploy]
...
Adds additional null checking around test merging
tgstation-server-v4.6.1
2020-12-04 13:15:31 -05:00
Jordan Brown
a9149482ad
Documentation about configuration methods
2020-12-03 11:55:43 -05:00