Compare commits
2 Commits
055cf79354
...
33aae65647
Author | SHA1 | Date | |
---|---|---|---|
33aae65647 | |||
083038d76c |
11
HISTORY.md
11
HISTORY.md
@ -5,11 +5,22 @@ Changelog
|
||||
(unreleased)
|
||||
------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Resolve linting errors, refs NOISSUE. [Simon Diesenreiter]
|
||||
|
||||
|
||||
0.2.2 (2025-05-18)
|
||||
------------------
|
||||
|
||||
Fix
|
||||
~~~
|
||||
- Also send pick suggestion to the group, refs NOISSUE. [Simon
|
||||
Diesenreiter]
|
||||
|
||||
Other
|
||||
~~~~~
|
||||
|
||||
|
||||
0.2.1 (2025-05-17)
|
||||
------------------
|
||||
|
@ -19,7 +19,8 @@ public class AppConfiguration
|
||||
this.AverageDaysBetweenRequests = int.Parse(Environment.GetEnvironmentVariable("AVERAGE_DAYS_BETWEEN_REQUESTS") ?? "2");
|
||||
var managersGroupName = Environment.GetEnvironmentVariable("LDAP_ADMINGROUP") ?? "admins";
|
||||
var userGroupName = Environment.GetEnvironmentVariable("LDAP_USERGROUP") ?? "everybody";
|
||||
this.LDAPConfig = new ConfigurationAD() {
|
||||
this.LDAPConfig = new ConfigurationAD()
|
||||
{
|
||||
Username = Environment.GetEnvironmentVariable("LDAP_BIND") ?? "cn=admin,dc=disi,dc=dev",
|
||||
Password = Environment.GetEnvironmentVariable("LDAP_PASS") ?? "adminPass2022!",
|
||||
Port = !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("LDAP_BIND")) ? int.Parse(Environment.GetEnvironmentVariable("LDAP_BIND")) : 389,
|
||||
@ -91,7 +92,8 @@ public class AppConfiguration
|
||||
get; private set;
|
||||
}
|
||||
|
||||
public ConfigurationAD LDAPConfig {
|
||||
public ConfigurationAD LDAPConfig
|
||||
{
|
||||
get; private set;
|
||||
}
|
||||
}
|
@ -109,7 +109,8 @@ public class LdapIntegration
|
||||
|
||||
foreach (SearchResultEntry result in response.Entries)
|
||||
{
|
||||
userList.Add(new LdapUser() {
|
||||
userList.Add(new LdapUser()
|
||||
{
|
||||
UserId = result.Attributes["uid"][0].ToString(),
|
||||
FirstName = result.Attributes["givenName"][0].ToString(),
|
||||
LastName = result.Attributes["sn"][0].ToString(),
|
||||
|
@ -1 +1 @@
|
||||
0.2.2
|
||||
0.2.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user