From 03b2f1ac2e80a2b5c074433f36b85a98a6f2c2fe Mon Sep 17 00:00:00 2001 From: tgstation-server Date: Tue, 17 Nov 2020 00:37:11 +0000 Subject: [PATCH] Update TGS DMAPI --- code/__DEFINES/tgs.dm | 2 +- code/modules/tgs/includes.dm | 2 +- code/modules/tgs/v5/README.md | 8 ++++++++ code/modules/tgs/v5/{undef.dm => undefs.dm} | 0 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 code/modules/tgs/v5/README.md rename code/modules/tgs/v5/{undef.dm => undefs.dm} (100%) diff --git a/code/__DEFINES/tgs.dm b/code/__DEFINES/tgs.dm index a0a5df4290..e70955845c 100644 --- a/code/__DEFINES/tgs.dm +++ b/code/__DEFINES/tgs.dm @@ -1,6 +1,6 @@ // tgstation-server DMAPI -#define TGS_DMAPI_VERSION "5.2.7" +#define TGS_DMAPI_VERSION "5.2.8" // All functions and datums outside this document are subject to change with any version and should not be relied on. diff --git a/code/modules/tgs/includes.dm b/code/modules/tgs/includes.dm index c803cf7ac2..4018074f4e 100644 --- a/code/modules/tgs/includes.dm +++ b/code/modules/tgs/includes.dm @@ -14,4 +14,4 @@ #include "v5\_defines.dm" #include "v5\api.dm" #include "v5\commands.dm" -#include "v5\undef.dm" +#include "v5\undefs.dm" diff --git a/code/modules/tgs/v5/README.md b/code/modules/tgs/v5/README.md new file mode 100644 index 0000000000..5f8d711fcd --- /dev/null +++ b/code/modules/tgs/v5/README.md @@ -0,0 +1,8 @@ +# DMAPI V4 + +This DMAPI implements bridge requests using HTTP GET requests to TGS. It has no security restrictions. + +- [_defines.dm](./_defines.dm) contains constant definitions. +- [api.dm](./api.dm) contains the bulk of the API code. +- [commands.dm](./commands.dm) contains functions relating to `/datum/tgs_chat_command`s. +- [undefs.dm](./undefs.dm) Undoes the work of `_defines.dm`. diff --git a/code/modules/tgs/v5/undef.dm b/code/modules/tgs/v5/undefs.dm similarity index 100% rename from code/modules/tgs/v5/undef.dm rename to code/modules/tgs/v5/undefs.dm