Commit Graph

28 Commits

Author SHA1 Message Date
Alex 01bf4aa522
Fix directory searching
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-08-16 16:27:20 +02:00
Alex e94bd728ec
Improve profile editing page & photo uploading
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
2021-08-16 15:30:14 +02:00
Alex 9e3279b9c0
Fail when no config file is given, add example in repo 2021-08-16 14:36:14 +02:00
MrArmonius f00702b51c
Correction Review Alex
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
Change json Identifiant to ID
2021-08-16 12:54:08 +02:00
MrArmonius a2a484daba
Add profile image front-end and back-end
Correct when empty result

The image showed when the result was empty. Now if the `dn == ""` then we
write in the column image just `""`
2021-08-16 12:54:08 +02:00
MrArmonius 815e9bfe2a
Add Description and visibility attributes
Modify in profil's page your description and your choice about show you
on the directory. The default visibility's choice is false. Tthe
description is empty by default.

In the directory, a new row exist to show the description.

Adapt view in column Description

I use the style `word-break: break-all;` on the `<td>`
2021-08-16 12:54:08 +02:00
MrArmonius cf4918e901
Add MessageID for asynchronous request
ID is stored in the session with the type `uint32`

Correction javascript

For the `for loop`, we need don't forget than know we have in format
`JSON` the response: `search:{..}, id:0`
For the id, don't forget to change the global value of `JS`.
2021-08-16 12:54:08 +02:00
MrArmonius b1ce932cd6
Add Route + file Directory.go 2021-08-16 12:54:08 +02:00
Alex 151a31a425 Invitation mechanism with codes etc 2020-02-14 21:58:34 +01:00
Alex 768f2de916 Mechanism to create new account 2020-02-14 19:11:16 +01:00
Alex 721eda63f8 Prettier message when wrong username or password on login 2020-02-12 16:02:42 +01:00
Alex 3fbbe61a46 Refactor is_admin check 2020-02-12 00:13:24 +01:00
Alex dc9b2bc458 Fix several group membership issue
TODO:
- check for other wrong uses of GetAttributeValue(s)
- refactor is_admin check
2020-02-11 20:10:47 +01:00
Alex 9a6e24aea0 Containerize 2020-02-10 15:26:02 +01:00
Alex e2e8a443ae Better tools for initial setup 2020-02-10 15:26:02 +01:00
Alex a85ffdfc80 Apply go fmt 2020-02-09 23:04:37 +01:00
Alex fa96e61d75 Add form to create objects 2020-02-09 23:04:27 +01:00
Alex 43825b1bbc LDAP modification form 2020-02-09 22:06:33 +01:00
Alex 1322220439 User list 2020-02-09 18:28:42 +01:00
Alex e9140c5a66 Split out profile editing in profile.go 2020-02-09 18:03:10 +01:00
Alex edc75d18b7 Do not always show invite and admin links 2020-02-09 17:52:48 +01:00
Alex 27a411fe69 Password change 2020-02-09 17:45:22 +01:00
Alex 6297981c3b Profile modify 2020-02-09 17:35:16 +01:00
Alex ebb7553cc8 Implement logout 2020-02-09 16:46:26 +01:00
Alex 3fe43f85ae Integrate Bootstrap CSS 2020-02-09 16:19:55 +01:00
Alex e72034c430 Implement login 2020-02-09 15:44:18 +01:00
Alex 8f5ab6cab3 Config file logic 2020-02-09 15:01:20 +01:00
Alex d12afb8a15 First commit 2020-02-09 14:46:52 +01:00