Bladeren bron

simplenews mailjet subscription

bach 2 jaren geleden
bovenliggende
commit
77c295869c

+ 1 - 0
composer.json

@@ -150,6 +150,7 @@
         "drupal/select_translation": "^1.x-dev",
         "drupal/session_limit": "^2.0@beta",
         "drupal/simplenews": "3.x-dev@dev",
+        "drupal/simplenews_mailjet_subscriptions": "^1.2",
         "drupal/social_media_links": "^2.8",
         "drupal/string_translation_ui": "^1.2",
         "drupal/strings_i18n_json_export": "^1.x-dev@dev",

+ 66 - 1
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": "2a433a8719421af46eafa80282f838fd",
+    "content-hash": "51a1d0fa9d6908ab21626878c50da3c1",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -12928,6 +12928,71 @@
                 "source": "https://git.drupalcode.org/project/simplenews"
             }
         },
+        {
+            "name": "drupal/simplenews_mailjet_subscriptions",
+            "version": "1.2.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/simplenews_mailjet_subscriptions.git",
+                "reference": "8.x-1.2"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/simplenews_mailjet_subscriptions-8.x-1.2.zip",
+                "reference": "8.x-1.2",
+                "shasum": "ba295d052e87253973d962acd7915e0f4aef80d8"
+            },
+            "require": {
+                "drupal/core": "^8 || ^9",
+                "drupal/simplenews": "*"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-1.2",
+                    "datestamp": "1614341278",
+                    "security-coverage": {
+                        "status": "not-covered",
+                        "message": "Project has not opted into security advisory coverage!"
+                    }
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0-or-later"
+            ],
+            "authors": [
+                {
+                    "name": "Miguelpamferreira",
+                    "homepage": "https://www.drupal.org/user/3548054"
+                },
+                {
+                    "name": "Nelson Alves",
+                    "homepage": "https://www.drupal.org/user/3557178"
+                },
+                {
+                    "name": "dgaspara",
+                    "homepage": "https://www.drupal.org/user/3557179"
+                },
+                {
+                    "name": "joaomarques736",
+                    "homepage": "https://www.drupal.org/user/3557181"
+                },
+                {
+                    "name": "ricardotenreiro",
+                    "homepage": "https://www.drupal.org/user/213132"
+                },
+                {
+                    "name": "tmiguelv",
+                    "homepage": "https://www.drupal.org/user/3612421"
+                }
+            ],
+            "description": "Allows you to manage the subscriptions in a mailjet account .",
+            "homepage": "https://www.drupal.org/project/simplenews_mailjet_subscriptions",
+            "support": {
+                "source": "https://git.drupalcode.org/project/simplenews_mailjet_subscriptions"
+            }
+        },
         {
             "name": "drupal/smart_trim",
             "version": "1.3.0",

+ 1 - 0
config/sync/core.extension.yml

@@ -184,6 +184,7 @@ module:
   serialization: 0
   session_limit: 0
   simplenews: 0
+  simplenews_mailjet_subscriptions: 0
   smart_trim: 0
   smtp: 0
   social_media_links: 0

+ 1 - 1
config/sync/mailsystem.settings.yml

@@ -11,7 +11,7 @@ modules:
       formatter: swiftmailer
   simplenews:
     none:
-      sender: mailgun_mail
+      sender: mailjet_mail
       formatter: swiftmailer
   mailjet:
     none:

+ 25 - 0
config/sync/simplenews_mailjet_subscriptions.simplenews_mailjet_subsciption.simplenews_daily.yml

@@ -0,0 +1,25 @@
+uuid: 2ced9da8-6f30-4713-a310-c439a3d7473b
+langcode: fr
+status: true
+dependencies: {  }
+id: simplenews_daily
+title: 'Drupal simplenews mailjet subscription'
+api_key: cec52b4eb2d759f5372dfd194585c388
+secret_key: 07aaab76d591f8161158d0df79d280eb
+mapping_table:
+  -
+    simplenews_news: ze_daily_materio_
+    contact_property: 'simplenews daily'
+    newsletter_property_name: Daily
+  -
+    simplenews_news: materio_newsletter
+    contact_property: 'simplenews newsletter'
+    newsletter_property_name: Newsletter
+  -
+    simplenews_news: test
+    contact_property: 'simplenews test'
+    newsletter_property_name: Test
+  -
+    simplenews_news: companies
+    contact_property: 'simplenews Compagnie'
+    newsletter_property_name: Compagnie