summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Blais <jason@spinpunch.com>2016-09-08 08:48:12 -0400
committerenahum <nahumhbl@gmail.com>2016-09-08 09:48:12 -0300
commitb6ed10a31ecf16f7a0cf594db6b5a10e983e2db9 (patch)
tree08b289a5241827df4c6eebf7c23d1e2f2de4d218
parentba2e131804cb28c9ae133aaafe24187243f6e2f3 (diff)
downloadchat-b6ed10a31ecf16f7a0cf594db6b5a10e983e2db9.tar.gz
chat-b6ed10a31ecf16f7a0cf594db6b5a10e983e2db9.tar.bz2
chat-b6ed10a31ecf16f7a0cf594db6b5a10e983e2db9.zip
PLT-3766 Change remaining LDAP references to AD/LDAP (#3985)
* Update user.go * Update en.json * Update ldap_test_button.jsx * Update en.json
-rw-r--r--api/user.go2
-rw-r--r--i18n/en.json2
-rw-r--r--webapp/components/admin_console/ldap_test_button.jsx8
-rw-r--r--webapp/i18n/en.json4
4 files changed, 9 insertions, 7 deletions
diff --git a/api/user.go b/api/user.go
index daa405ad4..a33e2f7d7 100644
--- a/api/user.go
+++ b/api/user.go
@@ -2156,7 +2156,7 @@ func emailToLdap(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- go sendSignInChangeEmail(c, user.Email, c.GetSiteURL(), "LDAP")
+ go sendSignInChangeEmail(c, user.Email, c.GetSiteURL(), "AD/LDAP")
m := map[string]string{}
m["follow_link"] = "/login?extra=signin_change"
diff --git a/i18n/en.json b/i18n/en.json
index de69a0b29..74a227f91 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -2461,7 +2461,7 @@
},
{
"id": "ent.ldap.disabled.app_error",
- "translation": "LDAP disabled or licence does not support LDAP."
+ "translation": "AD/LDAP disabled or licence does not support AD/LDAP."
},
{
"id": "ent.ldap.do_login.bind_admin_user.app_error",
diff --git a/webapp/components/admin_console/ldap_test_button.jsx b/webapp/components/admin_console/ldap_test_button.jsx
index 082c13b1b..16a433c23 100644
--- a/webapp/components/admin_console/ldap_test_button.jsx
+++ b/webapp/components/admin_console/ldap_test_button.jsx
@@ -71,7 +71,7 @@ export default class LdapTestButton extends React.Component {
<i className='fa fa-warning'/>
<FormattedMessage
id='admin.ldap.testFailure'
- defaultMessage='LDAP Test Failure: {error}'
+ defaultMessage='AD/LDAP Test Failure: {error}'
values={{
error: this.state.fail
}}
@@ -86,7 +86,7 @@ export default class LdapTestButton extends React.Component {
<i className='fa fa-success'/>
<FormattedMessage
id='admin.ldap.testSuccess'
- defaultMessage='LDAP Test Successful'
+ defaultMessage='AD/LDAP Test Successful'
values={{
error: this.state.fail
}}
@@ -99,7 +99,7 @@ export default class LdapTestButton extends React.Component {
let helpText = (
<FormattedHTMLMessage
id='admin.ldap.testHelpText'
- defaultMessage='Tests if the Mattermost server can connect to the LDAP server specified. See log file for more detailed error messages.'
+ defaultMessage='Tests if the Mattermost server can connect to the AD/LDAP server specified. See log file for more detailed error messages.'
/>
);
@@ -115,7 +115,7 @@ export default class LdapTestButton extends React.Component {
contents = (
<FormattedMessage
id='admin.ldap.ldap_test_button'
- defaultMessage='LDAP Test'
+ defaultMessage='AD/LDAP Test'
/>
);
}
diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json
index e50c709f0..a90d2949a 100644
--- a/webapp/i18n/en.json
+++ b/webapp/i18n/en.json
@@ -417,7 +417,7 @@
"admin.ldap.loginNameEx": "Ex \"AD/LDAP Username\"",
"admin.ldap.loginNameTitle": "Login Field Name:",
"admin.ldap.maxPageSizeEx": "Ex \"2000\"",
- "admin.ldap.maxPageSizeHelpText": "The maximum number of users the Mattermost server will request from the LDAP server at one time. 0 is unlimited.",
+ "admin.ldap.maxPageSizeHelpText": "The maximum number of users the Mattermost server will request from the AD/LDAP server at one time. 0 is unlimited.",
"admin.ldap.maxPageSizeTitle": "Maximum Page Size:",
"admin.ldap.nicknameAttrDesc": "(Optional) The attribute in the AD/LDAP server that will be used to populate the nickname of users in Mattermost.",
"admin.ldap.nicknameAttrEx": "Ex \"nickname\"",
@@ -440,7 +440,9 @@
"admin.ldap.syncNowHelpText": "Initiates an AD/LDAP synchronization immediately.",
"admin.ldap.sync_button": "AD/LDAP Synchronize Now",
"admin.ldap.testFailure": "AD/LDAP Test Failure: {error}",
+ "admin.ldap.testSuccess": "AD/LDAP Test Successful",
"admin.ldap.testHelpText": "Tests if the Mattermost server can connect to the AD/LDAP server specified. See log file for more detailed error messages.",
+ "admin.ldap.ldap_test_button": "AD/LDAP Test",
"admin.ldap.uernameAttrDesc": "The attribute in the AD/LDAP server that will be used to populate the username field in Mattermost. This may be the same as the ID Attribute.",
"admin.ldap.userFilterDisc": "(Optional) Enter an AD/LDAP Filter to use when searching for user objects. Only the users selected by the query will be able to access Mattermost. For Active Directory, the query to filter out disabled users is (&(objectCategory=Person)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))).",
"admin.ldap.userFilterEx": "Ex. \"(objectClass=user)\"",