32 Commits
Author SHA1 Message Date
fac6ddf8bf Update src/Tgstation.Server.Host/Components/Chat/Providers/IProvider.cs
Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com>
2025-02-17 16:48:38 -06:00
Drulikar 75572edc9c Discord (and IRC to an extent) now mention the changes to TMs in deployment messages 2025-02-16 21:45:43 -06:00
Jordan Dominion 7db53b0371 Nullify DreamMaker 2023-12-22 10:04:14 -05:00
Jordan Dominion a574487235 Nullify IProvider 2023-12-17 23:25:32 -05:00
Jordan Dominion bc701d288a Enable NRT with global opt-out
We will phase this in gradually
2023-11-23 17:35:06 -05:00
Jordan Dominion 75db9af33e Move EngineVersion to core models namespace 2023-11-14 19:51:08 -05:00
Jordan Dominion d6881f65f7 Correct i before e typos 2023-10-21 04:17:39 -04:00
Jordan Dominion 1eeba3a4b2 Rename ByondVersion to EngineVersion 2023-10-15 01:49:39 -04:00
Jordan Dominion 6e015f86fa WIP OpenDream Support 2023-10-09 15:42:29 -04:00
Jordan Dominion 8b59884bf9 Final ValueTask conversion 2023-10-07 17:41:19 -04:00
Jordan Dominion 3b6f4e947a Merge branch 'dev' into ValueTasks 2023-08-13 23:36:21 -04:00
Jordan Dominion 0ca44a4fec Add deployment stage awareness to Discord embeds
- ErrorCode 79 no longer occurs on failing to send a chat message.
- Remove unnecessary parameter for previous compile job from IRemoteDeploymentManager.ApplyDeployment.
- Clean up DmbFactory.
- Fix DmbFactory not doing remote staging if no existing compile job was present.
2023-08-13 13:40:30 -04:00
Jordan Dominion a6a01aa155 ValueTask chat Providers 2023-06-19 15:41:22 -04:00
Dominion e4d5055555 Fix Channel ID 0 on Discord Provider
- Add support for 1-many channel mappings
- Add handling for MissingAccess and UnknownChannel errors
- Added support for Discord threads
- Processing error messages now reply
2023-04-14 14:20:49 -04:00
Dominion c7b666646c Add chat embed system 2023-03-28 02:20:05 -04:00
Dominion 53a18ba16f Added Discord replies to commands 2023-03-25 14:02:07 -04:00
Dominion 8f5755310f Stringify chat channel Id in API.
This is to deal with JSON and u64 being shitty
2023-01-21 13:53:33 -05:00
Dominion 9b8952bc44 Fix failing to map channel causing bad message dispatching 2022-10-10 14:37:11 -04:00
Jordan Brown 2a1f4760bb Fix reattach message sending too soon 2022-09-28 21:45:48 -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 a2d2645335 Prevent watchdog messages from being sent before providers connect
Fixes #1090
2020-08-05 00:11:03 -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 750fe3c261 Fix potential shutdown deadlock
- Prevent deadlock related to chat bot automatic reconnection
2020-06-11 18:14:01 -04:00
Jordan Brown 6473cec81b Add discord rich embeds for deployment messages 2020-05-24 22:44:24 -04:00
Jordan Brown e711593273 WIP Chungus 2020-04-22 15:18:14 -04:00
Jordan Brown 68f336cc32 Finish writing DMAPI5 definitions I think 2020-04-21 22:51:05 -04:00
Jordan Brown bc67ad28bf Adds a Discord reconnection test 2020-03-24 22:53:20 -04:00
Jordan Brown 26c5632289 Hack automatic reconnection into the chat system 2020-03-24 17:08:44 -04:00
Cyberboss 238e03ff41 Implement SASL among other things 2018-07-18 15:44:15 -04:00
Cyberboss be64ee4867 Implement DiscordProvider and other things 2018-07-18 11:57:35 -04:00
Cyberboss 9bbe7135f0 Get things building again 2018-07-16 15:52:12 -04:00
Cyberboss d7b8689576 Work on implementing chat 2018-07-13 15:58:14 -04:00