From cdc52965bb91c7c2428ca005b15f59080bfc9481 Mon Sep 17 00:00:00 2001 From: jabello187 <125561460+jabello187@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:25:44 +0200 Subject: [PATCH 1/3] Duplicate url's by parents feature (#5) --- src/Omatech/Editora/Connector/Routes.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Omatech/Editora/Connector/Routes.php b/src/Omatech/Editora/Connector/Routes.php index b7baa62..b1738f0 100644 --- a/src/Omatech/Editora/Connector/Routes.php +++ b/src/Omatech/Editora/Connector/Routes.php @@ -38,7 +38,11 @@ } } - Route::get($routeString, 'Omatech\Editora\Connector\EditoraController@init'); + $editoraRoute = Route::get($routeString, 'Omatech\Editora\Connector\EditoraController@init'); + + if (config('editora.fullNiceUrlInterpretation')) { + $editoraRoute->where('nice_url', '.*'); + } } }); } From 4466e83b64c9a049a4714ddc0bf1615fa60d48c6 Mon Sep 17 00:00:00 2001 From: Christian <7813599+hondilla@users.noreply.github.com> Date: Wed, 27 Aug 2025 13:26:17 +0200 Subject: [PATCH 2/3] Update ConnectorServiceProvider.php --- src/Omatech/Editora/Connector/ConnectorServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Omatech/Editora/Connector/ConnectorServiceProvider.php b/src/Omatech/Editora/Connector/ConnectorServiceProvider.php index 746ac64..e13aaf7 100644 --- a/src/Omatech/Editora/Connector/ConnectorServiceProvider.php +++ b/src/Omatech/Editora/Connector/ConnectorServiceProvider.php @@ -69,7 +69,7 @@ private function toDoctrineDB($config) ]; $config['driver'] = $driverSchemeAliases[$config['driver']] ?? $config['driver']; - $config['user'] = $config['username']; + $config['user'] = $config['username'] ?? ''; $config['dbname'] = $config['database']; $config['driverOptions'] = $config['options'] ?? []; if($config['unix_socket'] ?? false) { From 5a0799443951393f6cfb8cbc24ad3d20fcc4c8bd Mon Sep 17 00:00:00 2001 From: Christian <7813599+hondilla@users.noreply.github.com> Date: Mon, 1 Sep 2025 10:36:42 +0200 Subject: [PATCH 3/3] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c5e242b..c420205 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "", "minimum-stability":"dev", "require": { - "omatech/editora-dbinterface": "^1.5" + "omatech/editora-dbinterface": "^1.6" }, "require-dev": { },