From dd0a8de6b264221aa1c4794bdd256bc07696a20b Mon Sep 17 00:00:00 2001 From: Lio Novelli Date: Mon, 1 Apr 2024 17:24:45 +0200 Subject: [PATCH] Obvescanje prek emailov s kontrib modulom content_moderation_notifications. --- composer.json | 4 +- composer.lock | 120 ++++++++---------- ...nt_moderation_notification.nov_osnutek.yml | 19 +++ ...ration_notification.spremembe_sprejete.yml | 17 +++ config/sync/core.extension.yml | 1 + 5 files changed, 92 insertions(+), 69 deletions(-) create mode 100644 config/sync/content_moderation_notifications.content_moderation_notification.nov_osnutek.yml create mode 100644 config/sync/content_moderation_notifications.content_moderation_notification.spremembe_sprejete.yml diff --git a/composer.json b/composer.json index 48d691d..4dae1e8 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,11 @@ "drupal/cer": "^5.0@beta", "drupal/config_ignore": "^3.1", "drupal/content_as_config": "^1.0", + "drupal/content_moderation_notifications": "^3.6", "drupal/core-composer-scaffold": "^10.0", "drupal/core-project-message": "^10.0", - "drupal/core-recommended": "^10.0", - "drupal/diff": "^1.1", "drupal/core-recommended": "^10.2.4", + "drupal/diff": "^1.1", "drupal/gin": "^3.0@RC", "drupal/gin_toolbar": "^1.0@RC", "drupal/jsonapi_menu_items": "^1.2", diff --git a/composer.lock b/composer.lock index 0b0b543..282695c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1e4c156c402a50481a77ff4b24a87020", + "content-hash": "39f3d592b41324eb32edb9388cc9682b", "packages": [ { "name": "asm89/stack-cors", @@ -1446,6 +1446,58 @@ "issues": "https://www.drupal.org/project/issues/content_as_config" } }, + { + "name": "drupal/content_moderation_notifications", + "version": "3.6.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/content_moderation_notifications.git", + "reference": "8.x-3.6" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/content_moderation_notifications-8.x-3.6.zip", + "reference": "8.x-3.6", + "shasum": "f475721b95de8d0520053d3101c35c48ea22f61c" + }, + "require": { + "drupal/core": "^9 || ^10" + }, + "require-dev": { + "drupal/token": "^1.0" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-3.6", + "datestamp": "1695836640", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "jhedstrom", + "homepage": "https://www.drupal.org/user/208732" + }, + { + "name": "Rob Holmes", + "homepage": "https://www.drupal.org/user/1774034" + } + ], + "description": "Manage notifications for content moderation transitions.", + "homepage": "https://www.drupal.org/project/content_moderation_notifications", + "support": { + "source": "https://git.drupalcode.org/project/content_moderation_notifications", + "issues": "https://www.drupal.org/project/issues/content_moderation_notifications" + } + }, { "name": "drupal/core", "version": "10.2.4", @@ -2567,72 +2619,6 @@ ], "time": "2023-10-06T06:47:41+00:00" }, - { - "name": "enlightn/security-checker", - "version": "v1.11.0", - "source": { - "type": "git", - "url": "https://github.com/enlightn/security-checker.git", - "reference": "68df5c7256c84b428bf8fcff0d249de06ce362d2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/enlightn/security-checker/zipball/68df5c7256c84b428bf8fcff0d249de06ce362d2", - "reference": "68df5c7256c84b428bf8fcff0d249de06ce362d2", - "shasum": "" - }, - "require": { - "ext-json": "*", - "guzzlehttp/guzzle": "^6.3|^7.0", - "php": ">=5.6", - "symfony/console": "^3.4|^4|^5|^6|^7", - "symfony/finder": "^3|^4|^5|^6|^7", - "symfony/process": "^3.4|^4|^5|^6|^7", - "symfony/yaml": "^3.4|^4|^5|^6|^7" - }, - "require-dev": { - "ext-zip": "*", - "friendsofphp/php-cs-fixer": "^2.18|^3.0", - "phpunit/phpunit": "^5.5|^6|^7|^8|^9" - }, - "bin": [ - "security-checker" - ], - "type": "library", - "autoload": { - "psr-4": { - "Enlightn\\SecurityChecker\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paras Malhotra", - "email": "paras@laravel-enlightn.com" - }, - { - "name": "Miguel Piedrafita", - "email": "soy@miguelpiedrafita.com" - } - ], - "description": "A PHP dependency vulnerabilities scanner based on the Security Advisories Database.", - "keywords": [ - "package", - "php", - "scanner", - "security", - "security advisories", - "vulnerability scanner" - ], - "support": { - "issues": "https://github.com/enlightn/security-checker/issues", - "source": "https://github.com/enlightn/security-checker/tree/v1.11.0" - }, - "time": "2023-11-17T07:53:29+00:00" - }, { "name": "ezyang/htmlpurifier", "version": "v4.17.0", diff --git a/config/sync/content_moderation_notifications.content_moderation_notification.nov_osnutek.yml b/config/sync/content_moderation_notifications.content_moderation_notification.nov_osnutek.yml new file mode 100644 index 0000000..f401b71 --- /dev/null +++ b/config/sync/content_moderation_notifications.content_moderation_notification.nov_osnutek.yml @@ -0,0 +1,19 @@ +uuid: ef0653bf-ad20-4659-bb94-9273264eb15b +langcode: en +status: true +dependencies: { } +id: nov_osnutek +workflow: concept_workflow +transitions: + create_new_draft: create_new_draft +roles: + editor: editor + maska: maska +author: false +site_mail: false +emails: '' +subject: 'New draft [node:title]' +body: + value: "New draft pedning moderation: [node:title] ([node:nid]) by [node:author:email].\r\n\r\n[node:url]\r\n\r\n[node:body]" + format: plain_text +label: 'Nov osnutek' diff --git a/config/sync/content_moderation_notifications.content_moderation_notification.spremembe_sprejete.yml b/config/sync/content_moderation_notifications.content_moderation_notification.spremembe_sprejete.yml new file mode 100644 index 0000000..886444f --- /dev/null +++ b/config/sync/content_moderation_notifications.content_moderation_notification.spremembe_sprejete.yml @@ -0,0 +1,17 @@ +uuid: c048753b-259e-4210-8e53-031ae5cbae0f +langcode: en +status: true +dependencies: { } +id: spremembe_sprejete +workflow: concept_workflow +transitions: + publish: publish +roles: { } +author: true +site_mail: false +emails: '' +subject: 'Yufu changes approved' +body: + value: 'Your proposed changes to [node:title] ([node:url]) were approved.' + format: plain_text +label: 'Spremembe sprejete' diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index ac517ee..973b689 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -14,6 +14,7 @@ module: config_translation: 0 content_as_config: 0 content_moderation: 0 + content_moderation_notifications: 0 contextual: 0 datetime: 0 dblog: 0