Commit Graph

9 Commits

Author SHA1 Message Date
yzx9
a6448a51e9 Sync changes from upstream 2023-07-20 18:46:13 +08:00
Simon M. Haller-Seeber
a0e70e4f1f Adapted Contact Controller to work with Sharelatex 3.3.2 2022-12-21 11:07:59 +01:00
Simon M. Haller-Seeber
41c172b587 Update to version sharelatex version 3.0.1. Tested changes with our small experimental environment: Seems to work with the applied small fixes. 2022-01-13 15:29:43 +01:00
David Mehren
c40b47135c
Fix parsing the LDAP_CONTACTS environment variable
The current code skips loading contact information from LDAP if
`!process.env.LDAP_CONTACTS` evaluates to `true`.

This is nearly never the case, as `process.env` contains strings
and non-empty strings evaluate to `true`, making the negation falsy.
Only an empty string in `LDAP_CONTACTS` (or not setting the environment
variable at all) skips the contact loading.

This commit changes the logic to only load contacts from LDAP if the
`LDAP_CONTACTS` environment variable is explicitly set to `"true"` (case
insensitive). This should bring the behaviour of the application more in
line with the expectation and the docs.
2021-06-14 17:34:42 +02:00
Sven Feyerabend
19d3b30c93 Fix import of contacts 2021-05-26 17:09:58 +02:00
Simon Markus Haller
ca0dc33cb7 Merged pull reqeust #9. Added missing adaptions in ContactController. Generally moved GROUP_FILTER to USER_FILTER. Added some comments to the readme. 2021-05-25 15:35:13 +02:00
Simon M. Haller-Seeber
baccac37d5 fix external email registration, Admin. Working solution. 2020-05-15 12:45:34 +02:00
Simon M. Haller-Seeber
8eed93e3d3 Distinguish between ldap bind DN and ldap base dn - to match ldap functionality properly 2020-05-14 12:09:53 +02:00
Simon M. Haller-Seeber
1f22ef9450 Inital Release 2020-05-13 19:08:35 +02:00