ddnet/src/engine/client
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
..
backend_sdl.cpp Another SDL GL try 2018-04-13 21:34:12 +02:00
backend_sdl.h add new shader programs in the backend 2018-03-13 21:44:58 +01:00
client.cpp Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
client.h Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
friends.cpp Ensure null-termination in str_escape 2017-07-08 13:06:03 +02:00
friends.h Improve friends and foes feature 2015-07-28 16:13:29 +02:00
graphics_threaded.cpp Merge #1116 2018-04-15 18:00:54 +00:00
graphics_threaded.h don't create buffers, if OpenGL 3.3 is not used 2018-04-15 19:34:56 +02:00
input.cpp Enable -Wextra and -Wformat=2 2017-07-27 20:38:17 +02:00
input.h Enable -Wextra and -Wformat=2 2017-07-27 20:38:17 +02:00
keynames.h Use scancodes instead of keycodes for input (fixes #796, please test) 2017-07-21 19:53:49 +02:00
opengl_sl.cpp fix... 2018-04-25 14:12:49 +02:00
opengl_sl.h Try to find external GLEW, pnglite and Wavpack 2018-02-12 23:29:45 +01:00
opengl_sl_program.cpp Further macosx fixes 2017-10-20 09:31:42 +02:00
opengl_sl_program.h add attributes for screen state check 2018-03-21 15:49:15 +01:00
serverbrowser.cpp Remove mem_alloc and mem_free, use standard C functions instead 2018-04-09 11:56:39 +02:00
serverbrowser.h Use a random token for serverbrowse requests 2017-10-14 21:58:23 +02:00
sound.cpp Remove mem_alloc and mem_free, use standard C functions instead 2018-04-09 11:56:39 +02:00
sound.h Try to find external GLEW, pnglite and Wavpack 2018-02-12 23:29:45 +01:00
text.cpp reset font texture at window resize 2018-05-07 06:02:44 +02:00
updater.cpp Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00
updater.h Add a way to call for external moderator help 2018-06-19 23:27:35 +02:00