29 Commits
Author SHA1 Message Date
Jordan Dominion d7a38abc6c Merge branch 'IOptionsSnapshot' into MoreWork 2025-08-15 23:58:05 -04:00
Jordan Dominion 3c46164515 ThrowsExactly conversion except harder 2025-08-01 19:37:43 -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
Jordan Dominion 8fc4c36fd3 Nullify Job 2023-12-18 23:19:48 -05:00
Jordan Dominion c9b236da67 Nullify ChatBot 2023-12-18 15:14:32 -05:00
Jordan Dominion f00cb55fc3 Setup dependency injection for mapping IEngineInstallers and global OD repo manager
Various other things to get it compiling
2023-10-12 21:47:14 -04:00
Jordan Dominion c6aac8fbac Merge branch 'master' into dev 2023-10-11 20:52:53 -04:00
Jordan Dominion 62accd21bf Fix test merges resetting in auto-update
If an error calling GitHub ocurred the job would stop after merging the HEAD branch and continue to deploy. Implement two measures to prevent this:

- If the repository update job fails, do not proceed with code deployment.
- Do not make changes to the repository before calling GitHub.
2023-10-10 19:47:56 -04:00
Jordan Dominion faeb730ebe Penultimate ValueTask conversion 2023-10-07 17:31:50 -04:00
Jordan Dominion 6695cbd168 Fix failing tests 2023-06-27 23:43:01 -04:00
Dominion 71753f5a44 ValueTask a bunch of Database Functions 2023-06-14 02:33:02 -04:00
Dominion 395ee7d316 Add DummyGitHubService for live testing
- Also enable repo additional features for testing if possible
- Change a bunch of `TestInitialize`rs to `ClassInitialize`rs
2023-06-04 13:15:09 -04:00
Dominion 6ac18508da Assert valid connection strings in chat tests 2023-05-23 17:54:06 -04:00
Dominion 76b214d40e Mock IChatProviders when testing without secrets 2023-05-23 02:59:02 -04:00
Dominion c9403b79f3 DiscordProvider Constructor test doesn't need a valid token 2023-05-22 19:53:38 -04:00
Jordan Brown 65ec6a0e98 Remove ConfigureAwait(false) in top level projects 2022-09-19 10:19:08 -04:00
Jordan Brown f397f65716 Merge branch 'master' into dev 2021-09-11 11:19:42 -04:00
Jordan Brown 5c31b26561 Remove more V4 references 2021-09-08 18:04:40 -04:00
Jordan Brown fec4eeaabb Re-enable disabled test
Fixes #1309
2021-09-08 15:07:11 -04:00
Jordan Brown c8bd92c671 Disable this failing test 2021-08-24 11:29:42 -04:00
Jordan Brown a3a09f1608 Fix issues with rare Remora bug 2021-08-24 10:46:00 -04:00
Jordan Brown 6abcfe18f2 Use IReady event for gateway tests
- Fix manual connect invocations
2021-08-23 19:16:59 -04:00
Jordan Brown 13d98b2339 Stronger guarantee for Discord gateway connection 2021-08-23 13:36:13 -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 7c0030180c Chungus refactors
- Added a new ErrorCode for when chat bots fail to connect
- Made IProvider IAsyncDispsable
- Removed IDatabaseContextFactory dependency from watchdogs
- Jobs will no longer start until instance manager startup is complete
- Chat provider connection is now done as a job, there is no way to retrieve directly this job through the API currently
- Fixed disabled chat bots connecting when their instance onlined
- Fixed issue with chat provider reconnection channel remapping
- IJobManager can now accept a null user in most cases which it will substitute for the TGS user
- Fixed some watchdog issues relating to accessing disposed session controllers
2020-07-19 17:54:27 -04:00
Jordan Brown 12c92a79f4 Fix tests 2020-05-24 23:57:12 -04:00
Jordan Brown 26c5632289 Hack automatic reconnection into the chat system 2020-03-24 17:08:44 -04:00
Jordan Brown 43bcdc2870 Remove unused usings 2018-11-02 14:58:58 -04:00
Jordan Brown c7b8c1b45d Add discord tests 2018-11-02 12:55:59 -04:00