From 5ab09ec579b5142c09ba270960bd442c4c0662fa Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 28 Nov 2023 14:54:17 +0100 Subject: [PATCH 1/7] notify watchdog level --- config/sync/notify.settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sync/notify.settings.yml b/config/sync/notify.settings.yml index 0d95ea5..a4e35b0 100644 --- a/config/sync/notify.settings.yml +++ b/config/sync/notify.settings.yml @@ -6,7 +6,7 @@ notify_send_hour: '9' notify_attempts: '5' notify_include_updates: '1' notify_unpublished: '1' -notify_watchdog: '3' +notify_watchdog: '0' notify_weightur: '20' notify_reg_default: '0' notify_def_node: '0' From 9aab063340067a7c32e0d144479c33c718d4059c Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 28 Nov 2023 15:16:07 +0100 Subject: [PATCH 2/7] user_register_form Valider #2439 --- config/sync/core.extension.yml | 1 + web/modules/reha_mod/reha_mod.info.yml | 5 +++++ web/modules/reha_mod/reha_mod.module | 11 +++++++++++ 3 files changed, 17 insertions(+) create mode 100644 web/modules/reha_mod/reha_mod.info.yml create mode 100644 web/modules/reha_mod/reha_mod.module diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 74db991..3e124ee 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -97,6 +97,7 @@ module: persistent_login: 0 phone_number: 0 redis: 0 + reha_mod: 0 responsive_image: 0 rules: 0 search_api: 0 diff --git a/web/modules/reha_mod/reha_mod.info.yml b/web/modules/reha_mod/reha_mod.info.yml new file mode 100644 index 0000000..1eab22a --- /dev/null +++ b/web/modules/reha_mod/reha_mod.info.yml @@ -0,0 +1,5 @@ +name: reha_mod +type: module +description: Provides additional functionality for the site. +package: Custom +core_version_requirement: ^9 || ^10 diff --git a/web/modules/reha_mod/reha_mod.module b/web/modules/reha_mod/reha_mod.module new file mode 100644 index 0000000..5e8f4e0 --- /dev/null +++ b/web/modules/reha_mod/reha_mod.module @@ -0,0 +1,11 @@ + Date: Tue, 28 Nov 2023 15:23:18 +0100 Subject: [PATCH 3/7] =?UTF-8?q?rester=20connect=C3=A9=20#2440?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/modules/reha_mod/reha_mod.module | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/modules/reha_mod/reha_mod.module b/web/modules/reha_mod/reha_mod.module index 5e8f4e0..6a773e9 100644 --- a/web/modules/reha_mod/reha_mod.module +++ b/web/modules/reha_mod/reha_mod.module @@ -8,4 +8,8 @@ function reha_mod_form_user_register_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { $form['actions']['submit']['#value'] = "valider"; +} + +function reha_mod_form_user_login_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { + $form['persistent_login']['#title'] = "rester connecté"; } \ No newline at end of file From 9cc2c5922d464dd40aa1f8de0c951471e2a9047f Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 28 Nov 2023 15:29:56 +0100 Subject: [PATCH 4/7] contacts #2441 --- config/sync/block.block.reha_config_pages.yml | 3 ++- config/sync/content_as_config.block_content.yml | 2 +- config/sync/content_as_config.menu_link_content.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/sync/block.block.reha_config_pages.yml b/config/sync/block.block.reha_config_pages.yml index f08ee96..352187d 100644 --- a/config/sync/block.block.reha_config_pages.yml +++ b/config/sync/block.block.reha_config_pages.yml @@ -3,6 +3,7 @@ langcode: fr status: true dependencies: module: + - block_class - config_pages theme: - reha @@ -14,7 +15,7 @@ provider: null plugin: config_pages_block settings: id: config_pages_block - label: Contact + label: Contacts label_display: visible provider: config_pages config_page_type: contact diff --git a/config/sync/content_as_config.block_content.yml b/config/sync/content_as_config.block_content.yml index b876126..6940327 100644 --- a/config/sync/content_as_config.block_content.yml +++ b/config/sync/content_as_config.block_content.yml @@ -8,7 +8,7 @@ fields: field_lien: - - uri: 'http://reha.figli.io' + uri: 'internal:/' title: '' options: { } field_logo: diff --git a/config/sync/content_as_config.menu_link_content.yml b/config/sync/content_as_config.menu_link_content.yml index 3fbec8e..d5b017d 100644 --- a/config/sync/content_as_config.menu_link_content.yml +++ b/config/sync/content_as_config.menu_link_content.yml @@ -1,7 +1,7 @@ 6af09942-a538-4c95-beb4-05ef50e8179a: uuid: 6af09942-a538-4c95-beb4-05ef50e8179a menu_name: footer - title: Contact + title: Contacts parent: '' link: - From 533895fd6f8318f286e2bf76e2ad0dbffd304d1b Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 28 Nov 2023 15:55:45 +0100 Subject: [PATCH 5/7] adresse field details --- .gitignore | 2 +- web/modules/reha_mod/reha_mod.module | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b48fd13..0792497 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ /web/sites/*/settings.local.php /web/sites/*/services*.yml /web/sites/*/salt.txt -/web/sites/development.services.yml +/web/sites/*/development.services.yml # Ignore Drupal's file directory /web/sites/*/files/ diff --git a/web/modules/reha_mod/reha_mod.module b/web/modules/reha_mod/reha_mod.module index 6a773e9..c5f0fd6 100644 --- a/web/modules/reha_mod/reha_mod.module +++ b/web/modules/reha_mod/reha_mod.module @@ -12,4 +12,15 @@ function reha_mod_form_user_register_form_alter(&$form, \Drupal\Core\Form\FormSt function reha_mod_form_user_login_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { $form['persistent_login']['#title'] = "rester connecté"; +} + +function reha_mod_form_node_operation_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) { + $route = \Drupal::routeMatch(); + $params = $route->getParameters(); + /** @var Drupal\node\Entity\NodeType **/ + $node_type = $route->getParameter('node_type'); + $type = $node_type->id(); + if($type === 'operation'){ + $form['field_adresse']['widget'][0]['#type'] = 'container'; + } } \ No newline at end of file From b5537929cad44245460ba2321a66537a03e598d5 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 28 Nov 2023 16:03:46 +0100 Subject: [PATCH 6/7] destination mes_operations #2438 --- config/sync/content_as_config.block_content.yml | 2 +- config/sync/views.view.operations.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/sync/content_as_config.block_content.yml b/config/sync/content_as_config.block_content.yml index 6940327..752fb1c 100644 --- a/config/sync/content_as_config.block_content.yml +++ b/config/sync/content_as_config.block_content.yml @@ -126,7 +126,7 @@ bc48e271-75cf-4c3f-a4aa-ecc3c573c060: format: wysiwyg field_node_link: - - uri: 'internal:/user/register?destination=/node/add/operation' + uri: 'internal:/user/register?destination=/node/add/operation?destination=/mes_operations' title: 'Proposer un site' options: { } e05f593a-38ab-4dba-ad1c-9ae23c1222a9: diff --git a/config/sync/views.view.operations.yml b/config/sync/views.view.operations.yml index 98a34a5..323ac46 100644 --- a/config/sync/views.view.operations.yml +++ b/config/sync/views.view.operations.yml @@ -382,7 +382,7 @@ display: plugin_id: text empty: true content: - value: 'Proposer un autre site' + value: 'Proposer un autre site' format: wysiwyg tokenize: false display_extenders: { } @@ -397,6 +397,7 @@ display: - 'user.node_grants:view' - user.roles tags: + - 'config:core.entity_view_display.node.operation.compact' - 'config:core.entity_view_display.node.operation.default' - 'config:core.entity_view_display.node.operation.teaser' - 'config:core.entity_view_display.node.static.content_no_title' From 7b975c53bd0a2165b0a4a37915f74bb2ea1ebf1d Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 28 Nov 2023 16:22:25 +0100 Subject: [PATCH 7/7] social media links #2419 --- .../block.block.reha_socialmedialinks.yml | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/config/sync/block.block.reha_socialmedialinks.yml b/config/sync/block.block.reha_socialmedialinks.yml index 227b3b4..c567a47 100644 --- a/config/sync/block.block.reha_socialmedialinks.yml +++ b/config/sync/block.block.reha_socialmedialinks.yml @@ -19,138 +19,138 @@ settings: label_display: '0' provider: social_media_links platforms: + linkedin: + value: company/plan-urbanisme-construction-architecture-puca + description: '' + weight: '-43' twitter: - value: reha + value: puca_gouv description: '' - weight: '-47' + weight: '-42' youtube: - value: reha + value: channel/UCOC9-aGNPangqvUXMraAkxw description: '' - weight: '-46' + weight: '-41' instagram: value: '' description: '' - weight: '-43' + weight: '-40' xing: value: '' description: '' - weight: '-42' + weight: '-39' contact: value: '' description: '' - weight: '-41' + weight: '-38' rss: value: '' description: '' - weight: '-40' + weight: '-37' tiktok: value: '' description: '' - weight: '-39' + weight: '-36' mastodon: value: '' description: '' - weight: '-38' + weight: '-35' amazon: value: '' description: '' - weight: '-37' + weight: '-34' bitbucket: value: '' description: '' - weight: '-36' + weight: '-33' patreon: value: '' description: '' - weight: '-35' + weight: '-32' vkontakte: value: '' description: '' - weight: '-34' + weight: '-31' slideshare: value: '' description: '' - weight: '-33' + weight: '-30' github: value: '' description: '' - weight: '-32' + weight: '-29' behance: value: '' description: '' - weight: '-31' + weight: '-28' vimeo: value: '' description: '' - weight: '-30' + weight: '-27' telegram: value: '' description: '' - weight: '-29' + weight: '-26' youtube_channel: value: '' description: '' - weight: '-28' + weight: '-25' googleplus: value: '' description: '' - weight: '-27' + weight: '-24' facebook: value: '' description: '' - weight: '-26' + weight: '-23' drupal: value: '' description: '' - weight: '-25' + weight: '-22' flickr: value: '' description: '' - weight: '-24' + weight: '-21' gitlab: value: '' description: '' - weight: '-23' + weight: '-20' tumblr: value: '' description: '' - weight: '-22' + weight: '-19' pinterest: value: '' description: '' - weight: '-21' + weight: '-18' email: value: '' description: '' - weight: '-20' + weight: '-17' goodreads: value: '' description: '' - weight: '-19' + weight: '-16' googleplay: value: '' description: '' - weight: '-18' + weight: '-15' whatsapp: value: '' description: '' - weight: '-17' + weight: '-14' meetup: value: '' description: '' - weight: '-16' + weight: '-13' website: value: '' description: '' - weight: '-10' + weight: '-12' glassdoor: value: '' description: '' - weight: '-9' - linkedin: - value: reha - description: '' - weight: '7' + weight: '-11' appearance: orientation: h show_name: 0