[Bug]: Database settings screen does not read manifest for plugin
An open-source desktop client for modern databases.
Status: Beta
Brought to you by:
debba92
Originally created by: traustitj
I have created a plugin here : https://github.com/traustitj/tabularis-mysql-ssl
The plugin asks for you to add certificate files to connect to MySQL/MariaDB with certificates, but they don't show up in the interface.
Add plugin to tabularis
Add new database for MySQL-SSL, no settings for certificates.
Windows 11
v0.9.13
Originally posted by: debba
Hi @traustitj ,
error is related to [#123] ?
Plugin is really interesting, if you want we can chat together in Discord.
You can reach us following the link in the readme or website.
Related
Tickets: #123
Originally posted by: traustitj
I'll connect after work. Lets see if we can meet up.
I don't think this is related to the wrong user path.
If you have a look at this file
{
"$schema": "https://tabularis.dev/schemas/plugin-manifest.json",
"id": "mysqlssl",
"name": "MySQL SSL",
"version": "0.2.0",
"description": "MySQL and MariaDB driver with PEM TLS client certificate support.",
"default_port": 3306,
"default_username": "root",
"executable": "mysqlssl-plugin",
"capabilities": {
"schemas": false,
"views": true,
"routines": true,
"file_based": false,
"folder_based": false,
"connection_string": true,
"connection_string_example": "mysql://user:pass@localhost:3306/db",
"identifier_quote": "`",
"alter_primary_key": true,
"auto_increment_keyword": "AUTO_INCREMENT",
"serial_type": "",
"inline_pk": false,
"alter_column": true,
"create_foreign_keys": true,
"no_connection_required": false,
"manage_tables": true,
"readonly": false
},
"settings": [
{
"key": "ssl_mode",
"label": "SSL Mode",
"type": "select",
"default": "required",
"options": ["disabled", "preferred", "required", "verify_ca", "verify_identity"],
"description": "TLS mode used for MySQL connections. verify_ca and verify_identity require a CA certificate."
},
{
"key": "ssl_ca",
"label": "CA Certificate Path",
"type": "string",
"description": "Absolute path, or a path relative to the plugin directory, to the PEM CA certificate used to validate the server."
},
{
"key": "ssl_cert",
"label": "Client Certificate Path",
"type": "string",
"description": "Absolute path, or a path relative to the plugin directory, to the PEM client certificate."
},
{
"key": "ssl_key",
"label": "Client Key Path",
"type": "string",
"description": "Absolute path, or a path relative to the plugin directory, to the PEM client private key."
},
{
"key": "max_connections",
"label": "Max Connections",
"type": "number",
"default": 5,
"description": "Maximum number of pooled MySQL connections kept by the plugin process."
},
{
"key": "max_blob_size",
"label": "Max Blob Size",
"type": "number",
"default": 104857600,
"description": "Largest BLOB value, in bytes, that the plugin will fetch or write through the grid and blob helpers."
}
],
"data_types": [
{ "name": "TINYINT", "category": "numeric", "requires_length": false, "requires_precision": false },
.... shortened
]
}
It seems that the settings part is not rendered.