Skip to content
Snippets Groups Projects
Commit f5e9be7b authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !89
parents 1b4df6bc 6b4733fe
No related branches found
No related tags found
1 merge request!89Merging develop into main
Pipeline #996537 passed
...@@ -133,6 +133,9 @@ ...@@ -133,6 +133,9 @@
"drupal/helpdesk_integration": { "drupal/helpdesk_integration": {
"#3228537 Exception Handling in Service class": "https://git.drupalcode.org/project/helpdesk_integration/-/merge_requests/7.diff" "#3228537 Exception Handling in Service class": "https://git.drupalcode.org/project/helpdesk_integration/-/merge_requests/7.diff"
}, },
"drupal/http_client_manager": {
"#3385117 Code generator": "https://git.drupalcode.org/project/http_client_manager/-/merge_requests/11.diff"
},
"drupal/inline_entity_form": { "drupal/inline_entity_form": {
"#3204051 Check access": "https://git.drupalcode.org/project/inline_entity_form/-/merge_requests/14.diff?v=4" "#3204051 Check access": "https://git.drupalcode.org/project/inline_entity_form/-/merge_requests/14.diff?v=4"
}, },
...@@ -212,7 +215,8 @@ ...@@ -212,7 +215,8 @@
"#3090673 URL field formatter": "https://www.drupal.org/files/issues/2019-10-29/3090673-2.svg_image_field.Add-support-for-a-URL-image-formatter.patch" "#3090673 URL field formatter": "https://www.drupal.org/files/issues/2019-10-29/3090673-2.svg_image_field.Add-support-for-a-URL-image-formatter.patch"
}, },
"drupal/tamper": { "drupal/tamper": {
"#3279973 WordCount plugin": "https://git.drupalcode.org/project/tamper/-/merge_requests/9.diff" "#3279973 WordCount plugin": "https://git.drupalcode.org/project/tamper/-/merge_requests/9.diff",
"#3268276 Timezone plugin": "https://www.drupal.org/files/issues/2023-04-06/0001-Issue-3268276-Reworking-timezones.patch"
}, },
"drupal/taxonomy_machine_name": { "drupal/taxonomy_machine_name": {
"#3193233 Filter doesn't work": "https://www.drupal.org/files/issues/2021-01-17/taxonomy_machine_name-view-save-error-3193233.patch", "#3193233 Filter doesn't work": "https://www.drupal.org/files/issues/2021-01-17/taxonomy_machine_name-view-save-error-3193233.patch",
......
...@@ -225,7 +225,8 @@ ...@@ -225,7 +225,8 @@
"#3090673 URL field formatter": "https://www.drupal.org/files/issues/2019-10-29/3090673-2.svg_image_field.Add-support-for-a-URL-image-formatter.patch" "#3090673 URL field formatter": "https://www.drupal.org/files/issues/2019-10-29/3090673-2.svg_image_field.Add-support-for-a-URL-image-formatter.patch"
}, },
"drupal/tamper": { "drupal/tamper": {
"#3279973 WordCount plugin": "https://git.drupalcode.org/project/tamper/-/merge_requests/9.diff" "#3279973 WordCount plugin": "https://git.drupalcode.org/project/tamper/-/merge_requests/9.diff",
"#3268276 Timezone plugin": "https://www.drupal.org/files/issues/2023-04-06/0001-Issue-3268276-Reworking-timezones.patch"
}, },
"drupal/taxonomy_machine_name": { "drupal/taxonomy_machine_name": {
"#3193233 Filter doesn't work": "https://www.drupal.org/files/issues/2021-01-17/taxonomy_machine_name-view-save-error-3193233.patch", "#3193233 Filter doesn't work": "https://www.drupal.org/files/issues/2021-01-17/taxonomy_machine_name-view-save-error-3193233.patch",
......
...@@ -139,10 +139,13 @@ class Handler extends BaseHandler { ...@@ -139,10 +139,13 @@ class Handler extends BaseHandler {
$file = $projectRoot . '/settings/default/' . $template; $file = $projectRoot . '/settings/default/' . $template;
$link = $webRoot . '/sites/default/' . $template; $link = $webRoot . '/sites/default/' . $template;
$rendered = $this->config->render($template, file_get_contents($pluginRoot . '/templates/' . $template . '.twig')); $rendered = $this->config->render($template, file_get_contents($pluginRoot . '/templates/' . $template . '.twig'));
if (file_exists($file)) {
$fs->chmod($file, 0664);
}
file_put_contents($file, $rendered); file_put_contents($file, $rendered);
$rel = substr($fs->makePathRelative($file, $projectRoot . '/' . $link), 3, -1); $rel = substr($fs->makePathRelative($file, $projectRoot . '/' . $link), 3, -1);
$fs->symlink($rel, $link); $fs->symlink($rel, $link);
$fs->chmod($file, 0664); $fs->chmod($file, 0444);
if ($this->config->readValue('chg-acl')) { if ($this->config->readValue('chg-acl')) {
$fs->chgrp($file, $this->config->readValue('webserver-groupname')); $fs->chgrp($file, $this->config->readValue('webserver-groupname'));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment