Commit graph

362 commits

Author SHA1 Message Date
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
Timo Smit
53e31020a1 Fixed incognito command for standalone mode (refs #62) 2018-12-31 11:04:38 +01:00
Timo Smit
44f78fb1d3 ACL system improvements (refs #69)
* renamed 'roles' to 'permissions'
* added player permissions
* added functions to manipulate shrubbot files
2018-12-31 11:03:48 +01:00
Timo Smit
1872921e52 Fixed !setlevel not being correctly saved 2018-04-15 20:36:01 +02:00
Timo Smit
84f008080d Added compatibility note 2018-02-16 12:49:12 +01:00
Timo Smit
27986cbf7a Added autodetection of standalone mode (refs #61) 2018-02-16 12:49:00 +01:00
Timo Smit
de27a4172b Fixed shrubbot flags for other mods (refs #46, #69, #62)
* changed !greeting flag from 'Q' to 'j' to maintain consistency across mods
* changed !cointoss flag to 'Z' so we do not take up another flag
* moved flags to separate files for each mod that includes shrubbot, autoloads on game init
2018-02-16 12:20:23 +01:00
Timo Smit
6a3459d988 Fixed mutes being checked regardless of module mode (refs #61) 2018-02-16 11:59:20 +01:00
Timo Smit
30750d7062 Fix for ACL system being loaded regardless of g_standalone setting
Caused by ACL command which requires the ACL system
2018-02-16 11:33:47 +01:00
Timo Smit
6282c0e9bf Fixed help texts in mute commands 2018-02-15 11:07:08 +01:00
Timo Smit
48522b8dcf Added util.typecheck function to ensure types in certain utility functions (fixes #78) 2018-02-13 11:45:11 +01:00
Timo Smit
25af884c7e Disabled GUID and ban check when database is disabled (fixes #83). 2018-02-13 11:02:38 +01:00
Timo Smit
8ef2d13015 Fixed consistency in deploy script (refs #73) 2018-02-13 09:39:35 +01:00
Timo Smit
ddb2c6fc21 Improved deploy script (refs #73)
* Improved several error messages
* Fixed several bugs related to fs_homepath
* Ability to create and copy pk3
2018-02-12 18:27:08 +01:00
Timo Smit
d27921ea1a Merge branch 'develop/1.1.1' of https://github.com/timosmit/wolfadmin into develop/1.2.0
# Conflicts:
#	luascripts/admin/admin.lua
#	luascripts/admin/rules.lua
#	luascripts/admin/warns.lua
#	luascripts/commands/admin/dewarn.lua
#	luascripts/commands/admin/listlevels.lua
#	luascripts/commands/admin/lock.lua
#	luascripts/commands/admin/putbots.lua
#	luascripts/commands/admin/readconfig.lua
#	luascripts/commands/admin/setlevel.lua
#	luascripts/commands/admin/showwarns.lua
#	luascripts/commands/admin/sprees.lua
#	luascripts/commands/admin/stats.lua
#	luascripts/commands/admin/unlock.lua
#	luascripts/commands/admin/warn.lua
#	luascripts/commands/client/pm.lua
#	luascripts/commands/client/r.lua
#	luascripts/commands/commands.lua
#	luascripts/commands/server/csay.lua
#	luascripts/db/mysql.lua
#	luascripts/db/sqlite3.lua
#	luascripts/game/sprees.lua
#	luascripts/players/greetings.lua
#	luascripts/players/stats.lua
#	luascripts/util/settings.lua
2018-02-12 14:49:39 +01:00
Timo Smit
49fbd3a8f0 Updated copyright 2018-02-12 14:48:34 +01:00
Timo Smit
ed882c58f0 Updated copyright 2018-02-12 14:37:49 +01:00
Timo Smit
68a31b62dd First attempt at a deployment script (refs #73)
Current known flaws:
* only accepts default name for sqlite database (wolfadmin.db)
2018-02-12 13:45:05 +01:00
Timo Smit
ecdd4d96c2 Removed usage instructions from license docs 2017-03-22 11:25:37 +01:00
Timo Smit
3927788b66 Updated MySQL scripts to make use of UTF-8 2017-03-21 18:54:33 +01:00
Timo Smit
875da02712 Fixed !setlevel from console returning unknown command 2017-03-18 12:36:43 +01:00
Timo Smit
2de8a2511c Fixed minor typos 2017-03-17 16:10:06 +01:00