Commit graph

20 commits

Author SHA1 Message Date
heinrich5991 36694d3852 Add a way to call for external moderator help
This is done by HTTP POSTing to a location specified by
`sv_modhelp_url`. We also provide a `src/modhelp/server.py` which can
use theses POSTs to forward them to Discord servers.

The POST contains a JSON object payload, with the keys `"port"` which
contains the server port, `"player_id"` which contains the calling
player's client ID, `"player_name"` which contains the calling player's
nick and `"message"` which is the user-specified message.

Make JSON-escaping function public, add tests and fix bugs uncovered by
these tests.

Supersedes #1129.
2018-06-19 23:27:35 +02:00
heinrich5991 40723b94d1 Fix the bors test command, ignore testing.tmp on all CIs 2018-04-09 10:27:31 +02:00
Learath2 d6bcc4fe01 Run the server on CI (#910) 2017-10-22 21:43:53 +02:00
bors[bot] 138492a94a Merge #894
894: Add a flag `-DDOWNLOAD_GTEST` to automatically download and build GTest r=Learath2 a=heinrich5991

Enable tests on Circle CI, macOS on Travis and Appveyor.
2017-10-15 19:44:22 +00:00
heinrich5991 a8afa9c547 Ignore staging.tmp for bors 2017-10-15 15:18:53 +02:00
heinrich5991 6452c7e5c3 Enable automatic download of GTest on Windows by default 2017-10-15 10:25:26 +02:00
heinrich5991 ea978e1db7 Add a flag -DDOWNLOAD_GTEST to automatically download and build GTest
Enable tests on Circle CI, macOS on Travis and Appveyor.
2017-10-15 09:57:21 +02:00
Dennis Felsing 43d0299a45 Merge branch 'master' into pr_ddnet_fix_msvs_warnings 2017-09-16 11:17:39 +02:00
Learath2 10909205e7 Typos everywhere 2017-09-15 00:57:04 +02:00
Learath2 c3fcbd53ca Fix typo 2017-09-15 00:43:43 +02:00
Learath2 dd762d360c AppVeyor doesn't like pushd/popd 2017-09-15 00:35:27 +02:00
Learath2 1597a0e21f Try getting both arches 2017-09-15 00:30:29 +02:00
Learath2 66d0784f0d Compile with Release config, fix path for artifact 2017-09-15 00:06:39 +02:00
Learath2 ffeb76cbe0 Let cmake determine what to run 2017-09-14 23:59:38 +02:00
Learath2 aaf58acbf5 Revert OCD for AppVeyor 2017-09-14 23:47:50 +02:00
Learath2 1e869c0557 Test packaging and artifact collection on AppVeyor 2017-09-14 23:44:57 +02:00
heinrich5991 e86edcd7ee Add /WX to CI on Windows (equivalent of -Werror) 2017-09-06 11:05:09 +02:00
heinrich5991 83742a98ca List all source files instead of globbing them in CMakeLists.txt
This seems to be wanted by CMake, it results in never having to re-run
`cmake`.

See e.g. https://stackoverflow.com/a/18538444/870079.
2017-07-30 11:41:52 +02:00
def 886be9744e Try to fix automated builds with submodule 2017-07-20 23:34:10 +02:00
heinrich5991 e1728eced4 Add appveyor.yml 2017-03-18 17:09:04 +01:00