Commit Graph

36 Commits

Author SHA1 Message Date
Timo Smit 8c58482efb Fixed mute command not working after next map (fixes #110)
* this is due to a type issue
2020-03-19 20:56:55 +01:00
Timo Smit 71c8de4c0d Added new permission 'noaka'
* sets level to 0 and removes alias output in !listplayers
* binds !incognito to setlevel in shrubbot mode
* binds !incognito to its own permission in ACL mode
2019-02-12 13:26:11 +01:00
Timo Smit 910c0e15a6 Updated default permission set
* removed 'noreason' from level 4
2019-01-22 15:03:24 +01:00
Adam Klvač c7917c1e73 Fixed missing columns in MySQL initialization script 2019-01-09 23:12:17 +01:00
Timo Smit 7f0583485f Added MySQL collation conversion (refs #46) 2019-01-04 18:10:03 +01:00
Timo Smit b98bccbba6 Fixed foreign key constraints failing 2019-01-04 16:19:51 +01:00
Timo Smit b4b2b9d2b0 Fixed missing table existence checks 2019-01-02 10:15:24 +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 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 3927788b66 Updated MySQL scripts to make use of UTF-8 2017-03-21 18:54:33 +01:00
Timo Smit a767d7d82a Updated database (upgrade) scripts
* removed level history
* reordering based on constraints
* fixed history
2017-03-17 14:46:19 +01:00
Timo Smit ab5403da14 Removed !listlevels and moved functionality into !showhistory 2017-03-17 14:05:43 +01:00
Timo Smit 78213fbc78 Updated and fixed upgrade scripts from 1.1.0
* SQLite should now be in correct order
* MySQL added
2017-03-17 13:36:12 +01:00
Timo Smit 3ecbb438cd Updated upgrade scripts from 1.1.0
* renamed scripts
* sqlite should now be consistent with a new database
2017-03-17 12:44:51 +01:00
Timo Smit 88512ebca7 Renamed SQL update scripts 2017-03-17 10:33:29 +01:00
Timo Smit f9b141e675 Updated MySQL database script
* fixed consistency with SQLite
* added tables that were already present in SQLite
2017-03-17 10:23:41 +01:00
Timo Smit 0d5e1ceaca Fixed lastseen and seen NULL in SQLite install script 2017-02-27 21:56:56 +01:00
Timo Smit fafc53710b Added connection count and last connection information 2017-02-17 12:08:42 +01:00
Timo Smit a3e6241081 Fix C&P error in 2c848f0 2017-02-07 15:09:58 +01:00
Timo Smit 2c848f0237 Added cointoss role to SQL script 2017-02-07 10:46:33 +01:00
Timo Smit 7e5c009484 Updated SQLite script with more levels and roles (refs #62, #69)
* also added transactions to improve performance
2017-01-21 16:06:25 +01:00
Timo Smit dcb2859378 Fixed minor bugs 2017-01-17 12:02:03 +01:00
Timo Smit 44c10910e1 Fixed more inconcistencies between database script + lua script 2017-01-16 17:45:40 +01:00
Timo Smit 0001bc7a12 Fixed wrongly named column 2017-01-16 17:34:06 +01:00
Timo Smit 9d4aaa7a62 Revert "PRIMARY KEY consistency"
This reverts commit c7319028b6.
2017-01-15 11:51:19 +01:00
Timo Smit c7319028b6 PRIMARY KEY consistency 2017-01-14 15:15:36 +01:00
Timo Smit 8977ba41cb Implemented basic ACL functionality (issue #69) 2017-01-13 18:59:14 +01:00
Timo Smit b2a5fb53fe SQLite update
Contains update for new level setup
2017-01-12 21:12:23 +01:00
Timo Smit a9004cdb21 SQLite script update (issue #55)
Contains create statements for mute, bans and history.
2017-01-12 21:08:07 +01:00
Timo Smit 913545af00 Removed some upgrade stuff for pre-1.0.0 (old rows will be deleted) 2016-09-04 18:22:26 +02:00
Timo Smit 730db32608 Renamed MySQL database scripts for consistency 2016-08-26 10:04:28 +02:00
Timo Smit 32bf814562 Removed pre-1.0.2 update scripts 2016-08-07 19:10:47 +02:00
Timo Smit ea90a08989 Use separate select statement instead of hardcoding database name 2016-08-07 19:09:08 +02:00
Timo Smit ef8d478cf9 Added SQLite support (issue #23) 2016-08-05 22:15:58 +02:00
Timo Smit 5de6be4e12 Renamed database tables/indexes/keys to increase consistency 2016-03-09 11:32:57 +01:00
Timo Smit ecddc1dd04 1.0.0 2016-02-13 12:19:37 +01:00