From f66a5ecfdc95daa663e98b9fd5eb1111d1b191ab Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 29 Jan 2021 09:46:57 +0100 Subject: [PATCH 1/3] 2748 - Added module keybinds --- modules/account/front/routes.json | 3 +++ modules/entry/front/routes.json | 3 +++ modules/supplier/front/routes.json | 3 +++ modules/zone/front/routes.json | 3 +++ 4 files changed, 12 insertions(+) diff --git a/modules/account/front/routes.json b/modules/account/front/routes.json index a13092db6..309f93f02 100644 --- a/modules/account/front/routes.json +++ b/modules/account/front/routes.json @@ -31,6 +31,9 @@ {"state": "account.alias.card.users", "icon": "groups"} ] }, + "keybindings": [ + {"key": "u", "state": "account.index"} + ], "routes": [ { "url": "/account", diff --git a/modules/entry/front/routes.json b/modules/entry/front/routes.json index 010e738b3..db12e95fd 100644 --- a/modules/entry/front/routes.json +++ b/modules/entry/front/routes.json @@ -16,6 +16,9 @@ {"state": "entry.card.log", "icon": "history"} ] }, + "keybindings": [ + {"key": "e", "state": "entry.index"} + ], "routes": [ { "url": "/entry", diff --git a/modules/supplier/front/routes.json b/modules/supplier/front/routes.json index 54d203c8c..73ff28246 100644 --- a/modules/supplier/front/routes.json +++ b/modules/supplier/front/routes.json @@ -17,6 +17,9 @@ {"state": "supplier.card.consumption", "icon": "show_chart"} ] }, + "keybindings": [ + {"key": "p", "state": "supplier.index"} + ], "routes": [ { "url": "/supplier", diff --git a/modules/zone/front/routes.json b/modules/zone/front/routes.json index 0134c3b78..a0692cc3d 100644 --- a/modules/zone/front/routes.json +++ b/modules/zone/front/routes.json @@ -18,6 +18,9 @@ {"state": "zone.card.events", "icon": "today"} ] }, + "keybindings": [ + {"key": "z", "state": "zone.index"} + ], "routes": [ { "url": "/zone", From 57c124b9369046a70533f4ff13b7aca2b5f56478 Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 29 Jan 2021 10:03:18 +0100 Subject: [PATCH 2/3] Updated config params --- db/config.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/config.ini b/db/config.ini index 2caf3c2b9..8c7e3856c 100644 --- a/db/config.ini +++ b/db/config.ini @@ -4,3 +4,5 @@ port = 3306 user = root password = root default-character-set=utf8 +ssl-mode=DISABLED +enable-cleartext-plugin \ No newline at end of file From 3ec55426ae353efcb8086e6bbbfdd86ec1556f9e Mon Sep 17 00:00:00 2001 From: joan Date: Mon, 1 Feb 2021 07:21:36 +0100 Subject: [PATCH 3/3] Removed params due a docker error --- db/config.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/db/config.ini b/db/config.ini index 8c7e3856c..0d496dedd 100644 --- a/db/config.ini +++ b/db/config.ini @@ -3,6 +3,4 @@ host = localhost port = 3306 user = root password = root -default-character-set=utf8 -ssl-mode=DISABLED -enable-cleartext-plugin \ No newline at end of file +default-character-set=utf8 \ No newline at end of file