Commit graph

25 commits

Author SHA1 Message Date
Koncord
846f83e3e4 [Master] Use RakNet ban system instead homebrew 2017-10-03 03:17:25 +08:00
Koncord
73aa83aa03 [Master] Use RakNet ban system with homebrew bansystem 2017-09-21 16:30:05 +08:00
Koncord
f814ae795d [Master] Fix return from isServerValid()
Temporary accept all servers in OnServerAnnnounce
2017-09-13 19:11:58 +08:00
Koncord
838e05521e [Master] Minor fixes 2017-09-13 17:56:38 +08:00
Koncord
bb183457a6 [Master] Init BanAddress/UnbanAddress before opening script 2017-09-12 21:30:37 +08:00
Koncord
dc18916f46 [Master] Add isServerValid lambda. Add "OnServerAnnounce" callback 2017-09-12 21:29:42 +08:00
Koncord
d1388cdf84 [Master] Add Admin Rest Server
Add admin rest callback - "OnAdminRequest". Called on every POST request
2017-09-12 20:56:21 +08:00
Koncord
b869fe0b76 [Master] Add Lua
Init master server values by config table in script
Add BanAddress/UnbanAddress to lua
Fix a couple of indents
Pass lua script as first launch parameter of master server
2017-09-12 20:50:28 +08:00
Koncord
0e2817da88 [Master] Move response stuff to ResponseUtils.hpp 2017-09-12 20:39:27 +08:00
Koncord
fc8232f943 [Master] Add ban/unban functions 2017-09-12 20:24:50 +08:00
Koncord
26324c2578 [Master] Change Ban structure to vector<string> 2017-09-12 20:23:17 +08:00
Koncord
4e93905350 [Master] Backport SimpleWeb 2017-09-12 20:21:32 +08:00
Koncord
1f632d8bc9 [Master] Fix REST servers/info 2017-07-31 19:32:27 +08:00
Koncord
918658d383 [Master] Waiting ACK instead of immediately closing connection. 2017-07-31 19:08:04 +08:00
David Cernat
a353a21280 [General] Fix code style inconsistencies 2017-05-31 08:37:11 +03:00
Koncord
e1766da83c [Master] Fix REST API for old servers 2017-05-27 09:26:32 +08:00
Koncord
a9fc096c9a [General] Move password of master server to header 2017-05-26 01:34:39 +08:00
Koncord
cb5e88ce5c [Master] Use add_definitions
Because CMAKE_CXX_STANDARD introduced in CMake 3.1
2017-05-25 23:00:18 +08:00
Koncord
56012db86e [Master] Fix build for windows 2017-05-21 14:53:36 +08:00
David Cernat
68fa82f03a [Master] Fix build in Visual Studio 2017-05-20 12:47:06 +03:00
Koncord
17af679c07 [Master] Enable RestAPI 2017-05-20 00:06:34 +08:00
Koncord
ec6614ba32 [Master] Add RestAPI 2017-05-20 00:06:34 +08:00
Koncord
d40a55a748 [Master] Update server via operator= instead map::insert 2017-04-27 11:41:45 +08:00
Koncord
9643eb6026 [Master] Notify server about announce state
Rename structure Server to QueryData
2017-04-24 19:58:48 +08:00
Koncord
c35d5a2c6c [Master] Implement Master server 2017-04-23 13:39:43 +08:00