I'm releasing version 2.2 of SQL Explorer (thanks Tig for updating the original post).
New Features:- Added a "Databases" tab that lets you easily view information about the databases you've configured and provides a convenient button to defragment it. The NPC-server will need r databases/*.db for database size to show.
- Added the ability to select multiple rows (this is currently not fully working on the Mac client, but may work better on other platforms) and right-click to delete multiple rows at a time.
- The rights system has been removed. Instead, there is a check to make sure the account using SQL explorer is in staff= in server options and has NC. The latter can be disabled, the former cannot.
- Numbers are now formatted nicely with commas (thanks Jer).
Bugfixes:- Now using escapestring2 for user input to prevent quotations and backslahes from being entered incorrectly.
- Dialog windows only open externally if you have SQL explorer set to external now (before they always opened externally).
Warnings to Upgraders:
The rights system has been removed. SQL Explorer is not meant to be given out as a staff right, which is what the former system was promoting. Now, access is limited to those in staff= in server options and who have the NPC-Control right. The latter can be disabled near the top of the script, but I don't recommend it.
SQL Explorer is no longer tested with Graal v5. If you're still using it, you should consider switching to v6.
Images for the databases tab are downloaded from the Wiki if you don't already have them. This means that, in theory, Stefan could tell when you open SQL Explorer and don't have the images downloaded. If for some reason you want to hide from him, you can
download the images yourself and place them in your images folder.
You can find the new version of SQL Explorer
here.
As always, suggestions and bug reports are welcome
.