Commit Graph
52 Commits
Author SHA1 Message Date
Jordan Brown 2de7164ab2 Add a regression test 2022-09-21 19:51:39 -04:00
Jordan Brown 5c31b26561 Remove more V4 references 2021-09-08 18:04:40 -04:00
Jordan Brown b9586c7fee The great stylecop update
Beware those that read into this commit. Here there be style conformance...

Closes #1252
2021-05-09 19:27:09 -04:00
Jordan Brown 5f05619220 Fix a small issue when running integration tests with legacy settings json 2021-04-30 21:07:18 -04:00
AffectedArc07 62d1d3806c Lets give this a shot 2021-01-18 18:22:23 +00:00
Jordan Brown 5f5e2741ce Add a null check for the OAuth config section 2021-01-03 21:22:41 -05:00
Jordan Brown 989b39d723 Add user group limit to config 2020-12-29 20:14:18 -05:00
Cyberboss bc90c13322 Adds swarm integration test 2020-12-28 11:00:10 -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 d524d06b5a Add URL OAuth config to integration tests 2020-12-07 12:52:33 -05:00
Jordan Brown a513c22c23 Fix integration tests 2020-11-24 16:06:15 -05:00
Jordan Brown 11538986aa Move SetupWizardMode to Setup namespace 2020-11-03 11:44:23 -05:00
Jordan Brown 5d20fa76c0 Fix hosting API documentation in production
- Actually inject the swagger service if the config is set.
- This setting is no longer overridden by launching in development mode.
2020-11-03 11:35:49 -05:00
Jordan Brown e315c35b65 Set file log level to verbose for integration tests 2020-08-05 00:10:19 -04:00
Jordan Brown 0c9b24bb7d Minor logging 2020-07-14 17:57:38 -04:00
Jordan Brown 0afcd8de4a Fix all tests using the BasicWatchdog 2020-07-09 15:02:45 -04:00
Jordan Brown d6bf75b439 Lots of test improvements
- More deployment tests
- More job error code asserts
2020-07-09 11:24:15 -04:00
Jordan Brown 1e635524e2 Fix potential integration test crash 2020-06-26 17:17:21 -04:00
Jordan Brown 34adf330de Adds log downloading endpoint 2020-06-25 16:54:23 -04:00
Jordan Brown c86ed1eb5e Fix integration test 2020-05-25 15:57:45 -04:00
Jordan Brown b228dac537 Change testing server default port 2020-05-15 14:34:44 -04:00
Jordan Brown 1f3a478525 TestingServer improvements
Avoid taking DropDatabase override from development json.
Use a consistent temporary directory, minimize disk usage
2020-05-13 12:34:32 -04:00
Jordan Brown f42295ee8e Various fixes 2020-05-12 18:00:29 -04:00
Jordan Brown 098c45458b Merge remote-tracking branch 'origin/dev' into 622-MyHeatBeatsForYou 2020-05-12 14:39:57 -04:00
Jordan Brown 794cf3ef38 Add integration test for server reboots 2020-05-12 13:24:26 -04:00
Jordan Brown d3132eb528 Implement watchdog heartbeats
- Refactor MonitorLifetimes so the code isn't duplicated in the Basic and Experimental watchdogs
- Add IsAdminChannel to ChannelMapping
- Allow watchdog messages to be potentially restricted to admin chats
- Add topic command type for heartbeats
- Change ISessionController.SendCommand return type to also give the Byond.TopicSender response
- Added OnPrime event to ISessionController, this is now used for inactive server startup
- Added TaskExtension for creating infinite tasks.
- Fixed watchdog shutdown crash.

WIP
2020-05-11 03:21:52 -04:00
Jordan Brown f64e0c8d53 User fixes [TGSDeploy] 2020-05-08 05:45:07 -04:00
Jordan Brown ca832444ad Add recommended C#8 features 2020-05-05 16:30:34 -04:00
Jordan Brown 9a473c30d5 Allow custom test directory paths 2020-05-04 12:27:06 -04:00
Jordan Brown e57f4d07e2 Make it more obvious which temp dirs are ours 2020-04-28 15:54:58 -04:00
Jordan Brown 4985d776ab Fix integration test values being overwritten by dev json 2020-04-27 13:34:56 -04:00
Jordan Brown 892656a90a Add integration test for instance path whitelist 2020-04-26 19:26:33 -04:00
Jordan Brown 1cec9dc91c Merge from dev 2020-04-23 00:49:32 -04:00
Jordan Brown 0646fd58af Finish documenting DMAPI constructs. Get tests running 2020-04-21 23:55:59 -04:00
Jordan Brown fa12f04615 Get less draconian with the migrations 2020-04-11 22:17:01 -04:00
Jordan Brown 9c687e3bf0 Whitespace cleanup 2020-03-24 23:45:20 -04:00
Jordan Brown b3292e82ca Add missing integration test failure retries 2020-03-23 00:10:28 -04:00
Cyberboss cd53ca9db4 General code cleanup pass 2020-01-12 17:29:49 -05:00
Jordan Brown 8d2275e5e1 Add swagger spec to gh-pages 2020-01-09 23:56:45 -05:00
Jordan Brown 04e8f866d6 Improve usage of Assert.Inconclusive 2018-11-02 12:56:08 -04:00
Jordan Brown 73bf383f47 Merge branch 'PreventUpdateTimeout' into 4.0.1.0 2018-10-11 12:33:53 -04:00
Jordan Brown 4c5df1c81b Add an update server test 2018-10-10 18:50:00 -04:00
Jordan Brown b76580d4f0 Clean up tests 2018-10-10 18:02:35 -04:00
Cyberboss 0092d49a3b Warn when running integration test without a GitHub token 2018-10-08 09:48:08 -04:00
Cyberboss 62c42dfbfe Remove setup wizard from integration tests 2018-10-04 12:29:47 -04:00
Jordan BrownandGitHub c5db36e69c Merge pull request #619 from Cyberboss/FixRateLimit
Fix rate limit happening in CI
2018-09-10 13:28:07 -04:00
Cyberboss b2ae012598 Add GitHubAccessToken support to the tests 2018-09-10 09:59:17 -04:00
Jordan Brown 4739a03e0a Fix integration test 2018-09-08 14:35:28 -04:00
Cyberboss c875ae7e33 Removes EnsureCreatedAsync 2018-09-06 10:52:01 -04:00
Cyberboss a13e87da4a Fix integration test to work without Sqlite 2018-09-04 16:00:03 -04:00