Commit graph

333 commits

Author SHA1 Message Date
Timo Smit
d5f051890a Implemented a command to clear a level's permissions 2019-01-29 22:49:40 +01:00
Timo Smit
4d332c36a0 Fixed acl not being able to copy level permissions to levels with existing permissions 2019-01-29 22:49:20 +01:00
Timo Smit
e9a4704df1 Fixed zip process of pk3 including pk3 directory itself 2019-01-28 14:32:21 +01:00
Timo Smit
251d85ab66 Merge branch 'patch-1' of github.com:IR4T4/wolfadmin into develop/1.2.1 2019-01-27 22:36:05 +01:00
IR4T4
57904d6a5c
Update putbots.lua
Fix putbots help text
2019-01-27 09:22:42 +01:00
Timo Smit
910c0e15a6 Updated default permission set
* removed 'noreason' from level 4
2019-01-22 15:03:24 +01:00
Timo Smit
f5e2a65e2e Play a sound to the player on !slap for some extra feedback 2019-01-20 21:36:45 +01:00
Timo Smit
7b70c7e7e8 Fixed !showhistory still trying to show an old syntax 2019-01-20 20:57:52 +01:00
Timo Smit
2d145254fe Miscellaneous fixes in loading of sprees, rules and greetings
* fixed counts being returned
* implement some checks for TOML parsing
2019-01-18 15:36:06 +01:00
Timo Smit
11c0903b95 Fixed file existence check for rules.toml 2019-01-18 13:15:59 +01:00
Timo Smit
b2b3fae5ce Fixed checks for punishments without reason and/or time 2019-01-17 19:16:45 +01:00
Timo Smit
14ebac44d9 Fixed util.getTimeFromString not processing a single number as seconds 2019-01-17 18:54:59 +01:00
Timo Smit
adb469a29f Fixed permission checks in certain commands 2019-01-17 16:56:42 +01:00
Timo Smit
511b663f2a Added missing checks for history saving 2019-01-17 16:56:02 +01:00
Timo Smit
cd701f187b Improved error handling of events 2019-01-17 15:31:23 +01:00
Timo Smit
6d3197413a Moved file existence checks for rules and greetings to match sprees code 2019-01-17 11:16:26 +01:00
Timo Smit
415835c723 Check whether sprees file exist (fixes #89) 2019-01-17 11:12:48 +01:00
Timo Smit
2762ff7507 Only enable chat logging in legacy
* references 0212af1a6b
2019-01-16 12:13:17 +01:00
Timo Smit
2754faf98f Fixed syntax for private message command 2019-01-16 11:51:46 +01:00
Timo Smit
f671d02a5b Fixed !rules not displaying correctly when used with arguments 2019-01-15 21:12:33 +01:00
Timo Smit
1ab9877e77 Basic Lua 5.0 compatibility for ETPro 2019-01-10 14:20:04 +01:00
Timo Smit
5e3c966453 Fixed being unable to unban 2019-01-10 10:12:38 +01:00
Timo Smit
fee38fcee5 Merge branch 'bug-mysql-init' of github.com:adawolfa/wolfadmin into develop/1.2.1 2019-01-10 10:10:28 +01:00
Timo Smit
0d36516e60 Updated version to 1.2.1-dev 2019-01-10 10:09:14 +01:00
Adam Klvač
c7917c1e73 Fixed missing columns in MySQL initialization script 2019-01-09 23:12:17 +01:00
Timo Smit
19c18fd11a Updated version 2019-01-04 18:15:38 +01:00
Timo Smit
7f0583485f Added MySQL collation conversion (refs #46) 2019-01-04 18:10:03 +01:00
Timo Smit
45002153c9 Deploy script update, added notice on startup (fixes #73) 2019-01-04 18:09:26 +01:00
Timo Smit
1549f950e0 Merge branch 'master' of github.com:timosmit/wolfadmin into develop/1.2.0
# Conflicts:
#	README.md
2019-01-04 17:55:24 +01:00
Timo Smit
93eb1a9544 Reverted 'luamods' dir back to 'luascripts'
* reverts commit 4ae1421
2019-01-04 17:44:56 +01:00
Timo Smit
c4da960bb8 Updated links to use HTTPS protocol 2019-01-04 17:35:36 +01:00
Timo Smit
d3874d3896 Yearly copyright update 2019-01-04 17:32:24 +01:00
Timo Smit
c7009e91d3 Updated TOML lib to 2.0.1 2019-01-04 17:18:39 +01:00
Timo Smit
b98bccbba6 Fixed foreign key constraints failing 2019-01-04 16:19:51 +01:00
Timo Smit
0212af1a6b Only enable chat logging in legacy 2019-01-03 12:51:31 +01:00
Timo Smit
47f9baf277 Fixed consistent checking of standalone setting
* treat everything non-zero as true (enabled)
2019-01-03 12:49:11 +01:00
Timo Smit
6d0ba325f1 Fixed greetings returning errors when database is not connected 2019-01-03 12:14:13 +01:00
Timo Smit
2a71ab2bb1 Updated docs (part II) 2019-01-03 12:09:10 +01:00
Timo Smit
241910ad38 Updated docs.
* docs directory was obsolete and has been removed.
* the readme is more reader friendly now.
* the license has been changed to Markdown format.
2019-01-03 12:08:06 +01:00
Timo Smit
aef9e0d426 Fixed aliases not being updated on connect 2019-01-03 11:28:22 +01:00
Timo Smit
a2f7f1dec4 Fixed OS and mode detection (refs #61, #74)
* fixed OS detection echoing errors to log when executables are not available
* OS detection makes use of Unix/Windows native functions rather than environment variables which can be modified
* fixed ability to override standalone mode
2019-01-03 11:15:22 +01:00
Timo Smit
9e2359363b Fixed closing the database when it is not connected 2019-01-03 11:11:09 +01:00
Timo Smit
da4fd9d235 Implemented checks for availability of TOML files (refs #60) 2019-01-03 11:10:35 +01:00
Timo Smit
7675419d61 Fixed GPL link in README.md 2019-01-02 15:30:48 +01:00
Timo Smit
b4b2b9d2b0 Fixed missing table existence checks 2019-01-02 10:15:24 +01:00
Timo Smit
98d4a30b21 Fixed Lua game init completely being interrupted when database is unavailable (refs #59)
* database module will throw debug messages when it cannot connect or read
* ACL module will enter 'dumb' mode and disallow any permissions (should be changed in future)
2019-01-01 21:12:22 +01:00
Timo Smit
aa67685e45 Improved checks for database availability 2019-01-01 19:50:39 +01:00
Timo Smit
e66d78bd35 Added database config table and schema detection (refs #73)
* only used to store schema version for the moment.
2019-01-01 19:49:38 +01:00
Timo Smit
b8688d7fca Fixed !listplayers taking PERM_INCOGNITO into account (refs #62, #69) 2018-12-31 11:17:26 +01:00
Timo Smit
78139e6e0f Fixed !listmaps not producing any output (refs #62) 2018-12-31 11:15:38 +01:00