Commit Graph

72 Commits

Author SHA1 Message Date
Denis CLAVIER 8f1f233794 Replace localhost with DNS entries in docker-compose - fix #91 2022-03-31 23:58:10 +02:00
Denis CLAVIER 04f46615ff Migrate from Apache to Nginx - Add HTTPS support - fix #80 2021-12-10 19:09:23 +01:00
Denis CLAVIER 1dda14438d Patch demo for Mattermost Desktop >= 4.7 (#80) 2021-11-24 16:32:18 +01:00
Denis CLAVIER 5d0b0a099f
Merge pull request #83 from digitalfabrik/master
Docs: document MM 6.x configuration
2021-11-24 12:45:24 +01:00
Sven Seeberg 1cc758e832
Docs: document MM 6.x configuration 2021-11-21 15:34:13 +01:00
Denis CLAVIER fee27cb47f Standalone Demo - Add test LDAP server 2021-01-18 20:52:30 +01:00
Denis CLAVIER e01077849f
Merge pull request #76 from nkoester/nginx-proxy-letsencrypt-documentation
Document usage with nginx-proxy-letsencry; Fixes #71
2021-01-18 20:26:08 +01:00
Norman Köster b9cb9058e5 Remove minor typos 2021-01-18 11:27:18 +01:00
Norman Köster 723eb5140e Document usage with nginx-proxy-letsencry; Fixes #71 2021-01-18 11:18:23 +01:00
Denis CLAVIER 122e7138e7 Correct typo in MySQL script #59 2020-07-02 00:36:18 +02:00
Denis CLAVIER 9525102af2 Merge branch 'Monogramm-chore/github' 2020-07-02 00:25:17 +02:00
Denis CLAVIER 9a41fced7e Add contribution guide 2020-07-02 00:22:03 +02:00
Denis CLAVIER 345778c1d8
Merge pull request #58 from akomakom/minor-corrections
bare metal requirements and undefined index
2020-06-30 12:32:06 +02:00
Denis CLAVIER 4f9b5e9f32
Merge pull request #56 from Monogramm/feat/starttls
 LDAP StartTLS
2020-06-30 12:22:51 +02:00
Akom 6ae77d6719 bare metal requirements and undefined index 2020-06-29 09:58:32 -04:00
mathieu.brunot f07f64bb46
LDAP StartTLS to fix #54
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-06-27 16:44:47 +02:00
mathieu.brunot 1eb44b8308
🔧 GitHub templates for issues and PR
Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
2020-06-27 13:48:57 +02:00
Denis CLAVIER 5dc2d428a6 Merge branch 'grvsmth-abg_redirect_uri_readme' into v2 2020-05-28 11:35:27 +02:00
Denis CLAVIER 8202da0237 Add note about redirect_uri 2020-05-28 11:35:13 +02:00
Angus B. Grieve-Smith 0d574b4f72 Updated README with instructions on updating redirect_uri in the database 2020-05-27 17:11:52 -04:00
Denis CLAVIER 930b007e07
Merge pull request #50 from grvsmth/abg_user_not_found
Friendlier error if user is not found in LDAP
2020-05-24 16:58:15 +02:00
Denis CLAVIER 62f9248a3d
Merge pull request #49 from grvsmth/abg_resource_dn
Fixed 'dn' bug and documentation in resource.php
2020-05-24 16:48:51 +02:00
Angus B. Grieve-Smith b94872a260 Merge v2 2020-05-07 18:02:42 -04:00
Angus B. Grieve-Smith 0ab3fe2576 Fix merge error in authorize.php 2020-05-07 17:55:02 -04:00
Angus B. Grieve-Smith a6fa569775 Fix merge error in authorize.php 2020-05-07 17:53:58 -04:00
Angus B. Grieve-Smith 700513b9f2 Merge branch 'v2' into abg_resource_dn 2020-05-07 17:52:00 -04:00
Angus B. Grieve-Smith 7ad94b975e Merge original 2020-05-07 17:40:46 -04:00
Denis CLAVIER 09c68d7d12 Adapt v2 with merged PR 2020-05-01 22:22:55 +02:00
Angus B. Grieve-Smith ebe47e7daf Remove changes from other branches 2020-05-01 16:06:18 -04:00
Denis CLAVIER 58dbdb957d Update Mattermost-LDAP to V2.0 2020-05-01 21:18:52 +02:00
Angus B. Grieve-Smith 3df8d4086a Reformatted resource array for easier reading 2020-05-01 15:05:46 -04:00
Angus B. Grieve-Smith 01bb928905 Fixed 'dn' bug and documentation in resource.php 2020-05-01 15:00:06 -04:00
Denis CLAVIER 0c5e9ae2e5 Merge branch 'master' of https://github.com/dimst23/Mattermost-LDAP into dimst23-master 2020-05-01 20:48:50 +02:00
Angus B. Grieve-Smith 177d6f85b0 Merge v2 code 2020-05-01 13:56:32 -04:00
Angus B. Grieve-Smith d0f241b206 Merge branch 'abg_token_https' into abg_user_not_found 2020-05-01 13:31:48 -04:00
Angus B. Grieve-Smith fd78a7b29e Clarify language in comment relating to URL modification 2020-05-01 13:28:42 -04:00
Angus B. Grieve-Smith 93c4a0ab84 Remove changes that are not related to the HTTPS redirect_uri 2020-05-01 13:24:17 -04:00
Angus B. Grieve-Smith 13dc19e040 Added config.php to specify that our Mattermost server is HTTPS 2020-05-01 12:21:26 -04:00
Denis CLAVIER 2a17782f9f
Merge pull request #40 from parnic-sks/bugfix/case-sensitivity
Fixed failing oauth if username case changed
2020-04-30 20:24:16 +02:00
Angus B. Grieve-Smith 6da202fe7c Copy 404 handling to connexion.php 2020-04-30 13:21:56 -04:00
Denis CLAVIER 9b9ef0f9e8 Update Mattermost-LDAP to V2.0 2020-04-30 15:43:07 +02:00
Angus B. Grieve-Smith e34253faf8 Handle instance where user is not found in LDAP more gracefully 2020-04-29 18:02:50 -04:00
Angus B. Grieve-Smith f46d2f7802 Missing space in username error 2020-04-29 17:55:04 -04:00
Angus B. Grieve-Smith 4942a1511f Clarify errors in connexion.php 2020-04-29 17:50:57 -04:00
Angus B. Grieve-Smith f752ead015 Remove erroneous log statement 2020-04-28 15:18:06 -04:00
Angus B. Grieve-Smith 6bd47420a1 .gitignore 2020-04-27 17:01:26 -04:00
Angus B. Grieve-Smith 0e06bf6c97 Line breaks and diagnostic logs 2020-04-27 17:00:45 -04:00
Angus B. Grieve-Smith b44b6c4116 Use cn value for external id 2020-04-27 14:38:13 -04:00
Angus B. Grieve-Smith 5a388efa14 Fix in case token comes through with HTTP instead of HTTPS 2020-04-24 16:50:30 -04:00
SKS Parnic a3a514d281 Fixed failing oauth if username case changed
If the user had previously logged into mattermost as "user" and then tried to connect another device as "User", a new set of entries would be created in the database which caused user IDs to not match up which caused Mattermost to throw an error about the account already being registered under a different service. This change ensures usernames are always processed in lowercase so that this can't happen.

Note that manual fixups of any existing entries in the mattermost-ldap database may need to be performed to fully fix everything. This just prevents the issue from occurring again in a very simple way. A more thorough fix would be to make the db queries check in a case-insensitive matter, though multiple entries in the users database would still exist.
2020-03-12 12:28:45 -05:00