Skip to content

Commit

Permalink
feature: add and enable ocha_entraid module
Browse files Browse the repository at this point in the history
Refs: OPS-10828
  • Loading branch information
orakili committed Dec 2, 2024
1 parent 122f54d commit 00687ee
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
"unocha/gtm_barebones": "^1.1",
"unocha/ocha_ai": "^1.7",
"unocha/ocha_content_classification": "^1.0",
"unocha/ocha_entraid": "^1.0",
"unocha/ocha_monitoring": "^1.0",
"webflo/drupal-finder": "^1.2.2"
},
Expand Down
45 changes: 44 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ module:
ocha_ai: 0
ocha_ai_chat: 0
ocha_ai_tag: 0
ocha_entraid: 0
ocha_content_classification: 0
ocha_monitoring: 0
openid_connect: 0
Expand Down
30 changes: 30 additions & 0 deletions config/ocha_entraid.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
_core:
default_config_hash: NAmQvdKWBfPlHEZzOU3fgGjxcYBQTfz7xn9goDv0r80
uimc_api:
token_url: ''
registration_url: ''
user_details_url: ''
group_management_url: ''
username: ''
password: ''
consumer_key: ''
consumer_secret: ''
send_email: false
verify_ssl: true
request_timeout: 10
default_group: ''
encryption_key: ''
messages:
invalid_email: 'Invalid valid email address.'
login_explanation: '<p>Please enter your email address to access your account.</p>'
login_account_blocked: 'We encountered an issue with your account. Please reach out for assistance.'
login_account_not_found: 'We were unable to find your account. Please check your information and try again.'
login_account_verification_error: 'We encountered an issue while verifying your account. Please try again later or reach out for assistance if the problem persists.'
login_redirection_error: 'We are experiencing difficulties with the login process. Please try again later or reach out for assistance if the issue continues.'
registration_explanation: '<p>Create an account to easily access our services.<br>If you already possess a UN email address, please <a href="/user/login/entraid">log in here</a> directly.</p>'
registration_invalid_first_name: 'First name must contain only letters, spaces, hyphens, or apostrophes and be no longer than 30 characters.'
registration_invalid_last_name: 'Last name must contain only letters, spaces, hyphens, or apostrophes and be no longer than 30 characters.'
registration_invalid_email: 'Email must contain only letters, numbers, hyphens, or periods and be no longer than 100 characters.'
registration_success: 'Thank you for signing up. Please wait a moment and then log in to finalize your registration.'
registration_success_with_email: 'Thank you for signing up! A confirmation email has been sent to your mailbox. Please check your email and follow the instructions to finalize your registration.'
registration_failure: 'We encountered an issue while processing your registration. Please try again later or reach out for assistance.'

0 comments on commit 00687ee

Please sign in to comment.