Selaa lähdekoodia

replaced user_registrationpassword by user_email_verification

bach 3 vuotta sitten
vanhempi
commit
637b1d9bf0

+ 1 - 1
composer.json

@@ -86,7 +86,7 @@
         "drupal/ultimate_cron": "^2.x-dev",
         "drupal/unique_content_field_validation": "^1.0",
         "drupal/url_to_video_filter": "^2.0",
-        "drupal/user_registrationpassword": "^1.0@alpha",
+        "drupal/user_email_verification": "1.x-dev@dev",
         "drupal/views_conditional": "^1.x-dev",
         "drupal/views_ef_fieldset": "^1.5",
         "drush/drush": "^9",

+ 22 - 24
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": "6551b226eaa1ce5d151810ee7996bf9d",
+    "content-hash": "d1b8403c7c149b7c30ff036ccfe1fbe3",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -12081,30 +12081,27 @@
             }
         },
         {
-            "name": "drupal/user_registrationpassword",
-            "version": "1.0.0-alpha5",
+            "name": "drupal/user_email_verification",
+            "version": "dev-1.x",
             "source": {
                 "type": "git",
-                "url": "https://git.drupalcode.org/project/user_registrationpassword.git",
-                "reference": "8.x-1.0-alpha5"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://ftp.drupal.org/files/projects/user_registrationpassword-8.x-1.0-alpha5.zip",
-                "reference": "8.x-1.0-alpha5",
-                "shasum": "2443b1e7d1c080863c907da569187add5b0c0814"
+                "url": "https://git.drupalcode.org/project/user_email_verification.git",
+                "reference": "b19d5dc36171d6a2a9fc5fd24a5c11d89bfab5e3"
             },
             "require": {
-                "drupal/core": "^8.8 || ^9"
+                "drupal/core": "^8 || ^9"
             },
             "type": "drupal-module",
             "extra": {
+                "branch-alias": {
+                    "dev-1.x": "1.x-dev"
+                },
                 "drupal": {
-                    "version": "8.x-1.0-alpha5",
-                    "datestamp": "1592713735",
+                    "version": "8.x-1.x-dev",
+                    "datestamp": "1592398788",
                     "security-coverage": {
                         "status": "not-covered",
-                        "message": "Alpha releases are not covered by Drupal security advisories."
+                        "message": "Dev releases are not covered by Drupal security advisories."
                     }
                 }
             },
@@ -12114,19 +12111,20 @@
             ],
             "authors": [
                 {
-                    "name": "Rob C",
-                    "homepage": "https://www.drupal.org/user/313382"
+                    "name": "Antonnavi",
+                    "homepage": "https://www.drupal.org/user/875410"
                 },
                 {
-                    "name": "jide",
-                    "homepage": "https://www.drupal.org/user/146088"
+                    "name": "skek",
+                    "homepage": "https://www.drupal.org/user/417078"
                 }
             ],
-            "description": "Let users register with a password on the registration form when verification mail is required.",
-            "homepage": "https://www.drupal.org/project/user_registrationpassword",
+            "description": "Verify the user Email. If the Email of the user is not verified the system will block the user.",
+            "homepage": "https://www.drupal.org/project/user_email_verification",
             "support": {
-                "source": "https://git.drupalcode.org/project/user_registrationpassword"
-            }
+                "source": "https://git.drupalcode.org/project/user_email_verification"
+            },
+            "time": "2021-01-21T14:25:15+00:00"
         },
         {
             "name": "drupal/video_embed_field",
@@ -19361,7 +19359,7 @@
         "drupal/translate_side_by_side": 20,
         "drupal/translation_views": 20,
         "drupal/ultimate_cron": 20,
-        "drupal/user_registrationpassword": 15,
+        "drupal/user_email_verification": 20,
         "drupal/views_conditional": 20,
         "drupal/advanced_text_formatter": 10,
         "drupal/autocomplete_deluxe": 5,

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

@@ -187,7 +187,7 @@ module:
   update: 0
   url_to_video_filter: 0
   user: 0
-  user_registrationpassword: 0
+  user_email_verification: 0
   video_embed_field: 0
   video_embed_wysiwyg: 0
   views_bulk_edit: 0

+ 0 - 2
config/sync/language/fr/user_registrationpassword.mail.yml

@@ -1,2 +0,0 @@
-register_confirmation_with_pass:
-  subject: 'Détails du compte [user:display-name] sur [site:name]'

+ 17 - 0
config/sync/ultimate_cron.job.user_email_verification_cron.yml

@@ -0,0 +1,17 @@
+uuid: 08eadfe9-dd95-48db-bf97-7219b2f90604
+langcode: en
+status: true
+dependencies:
+  module:
+    - user_email_verification
+title: 'Default cron handler'
+id: user_email_verification_cron
+weight: 0
+module: user_email_verification
+callback: user_email_verification_cron
+scheduler:
+  id: simple
+launcher:
+  id: serial
+logger:
+  id: database

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 2
config/sync/user.mail.yml


+ 2 - 2
config/sync/user.settings.yml

@@ -7,8 +7,8 @@ notify:
   status_blocked: false
   status_canceled: false
   register_admin_created: true
-  register_no_approval_required: false
-  register_pending_approval: false
+  register_no_approval_required: true
+  register_pending_approval: true
 register: visitors
 cancel_method: user_cancel_block
 password_reset_timeout: 86400

+ 15 - 0
config/sync/user_email_verification.settings.yml

@@ -0,0 +1,15 @@
+skip_roles:
+  translator: translator
+  admin_showroom: admin_showroom
+  admin: admin
+  root: root
+validate_interval: 240
+num_reminders: 2
+mail_subject: '[site:name]: Email verification'
+mail_body: 'Verify your Email by following the link: [user:verify-email]'
+extended_enable: true
+extended_validate_interval: 1209600
+extended_mail_subject: '[site:name]: Account blocked, please verify Email address'
+extended_mail_body: 'Your account is blocked. Your Email may still be verified by following the link: [user:verify-email-extended]'
+_core:
+  default_config_hash: jMF3rV51ujHssuZyYCHEBAat_VlUArx0IGmGOZzOV8Y

+ 0 - 6
config/sync/user_registrationpassword.mail.yml

@@ -1,6 +0,0 @@
-register_confirmation_with_pass:
-  body: "[user:display-name],\r\n\r\nThank you for registering at [site:name]. You may now log in and verify your account by clicking this link or copying and pasting it to your browser:\r\n\r\n[user:registrationpassword-url]\r\n\r\nThis link can only be used once. You will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:name]\r\npassword: your password\r\n\r\n--  [site:name] team"
-  subject: 'Détails du compte [user:display-name] sur [site:name]'
-langcode: en
-_core:
-  default_config_hash: sd6r3H04eOul_dps8oyinjacaZmLgG7BrRZ3bmYiyZU

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 2
config/sync/user_registrationpassword.mail_original.yml


+ 0 - 7
config/sync/user_registrationpassword.settings.yml

@@ -1,7 +0,0 @@
-registration: with-pass
-registration_ftll_expire: false
-registration_ftll_timeout: 86400
-notify:
-  register_confirmation_with_pass: true
-_core:
-  default_config_hash: 2fwxXOq3dbjiboKslfHTJXYWAk4u1zadK65SRiDrxug

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 14 - 0
web/themes/custom/materiotheme/assets/dist/main.js


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä