Commit graph

112 commits

Author SHA1 Message Date
200699486a rest interface for retrieve-create users seed 2019-05-05 16:44:02 -04:00
503e31cc69 fix user ldap creation from bytes to string 2019-05-02 21:24:54 -04:00
86a082c29f Fix typho email verification 2019-05-02 17:36:31 -04:00
d07ff15f69 Add validation email before creation 2019-05-02 17:29:01 -04:00
c4079a1c1d request the username in login instead of the email 2019-05-02 04:10:06 -04:00
de44229ac2 Merge branch 'make-cn-uid-uname-same' into 'master'
Make cn, uid, uname the same

See merge request ungleich-public/ungleich-user!5
2019-05-02 00:34:10 +02:00
PCoder
1183573b65 Make cn, uid, uname the same 2019-05-02 00:31:13 +02:00
d0cb515cd9 Merge branch 'william' into 'master'
fix password reset view

See merge request ungleich-public/ungleich-user!3
2019-05-02 00:14:55 +02:00
926b91ef97 fix password reset view 2019-05-01 17:48:24 -04:00
PCoder
55ca8688b9 Merge remote-tracking branch 'origin/master' 2019-05-01 20:40:24 +02:00
PCoder
3a88a98b95 Add logger + improve the way we build password reset url 2019-05-01 20:39:25 +02:00
a951932118 Merge branch 'william' into 'master'
Enhancements of the UI

See merge request ungleich-public/ungleich-user!2
2019-05-01 20:29:18 +02:00
PCoder
d0faf78168 Keep env.sample 2019-05-01 20:28:23 +02:00
f29ac4eb2f Added sending welcome email on user registration 2019-04-25 16:14:58 -04:00
8fff460305 added restframework in req 2019-04-23 01:21:30 -04:00
019ac98249 added rest user creation 2019-04-23 01:19:45 -04:00
7848f07252 buttons block 2019-04-16 11:55:11 -04:00
942301d94d fix overflow-x 2019-04-16 11:52:58 -04:00
1e0fa89445 added red btn similar to blue one 2019-04-16 11:52:22 -04:00
163d977bc2 added styles to pages 2019-04-15 20:16:30 -04:00
5cc22c0965 Merge branch 'master' into 'master'
Make user service functional

See merge request ungleich-public/ungleich-user!1
2019-04-14 18:55:40 +02:00
PCoder
7191eb0997 Initialize checks_out variable to False (missing before) 2019-02-24 23:51:41 +01:00
PCoder
bcb3d6165d Logout user after password reset 2019-02-24 23:32:50 +01:00
PCoder
bdb57221e5 Also check user before password reset 2019-02-24 23:25:12 +01:00
PCoder
a5e91ffda2 Simplify search_base logic 2019-02-24 22:23:43 +01:00
PCoder
bf3b3b364f Get ENTIRE_SEARCH_BASE from env 2019-02-24 22:21:55 +01:00
PCoder
c0264e5dda Remove LoginRequiredMixin for ResetPassword view
As this can be done even when the user is logged out
2019-02-24 20:35:29 +01:00
PCoder
a20e9479c8 Add login_url for all LoginRequiredMixin views 2019-02-24 20:34:53 +01:00
PCoder
14949cedb7 Add register link to landing.html 2019-02-24 20:34:08 +01:00
PCoder
d4a02dc571 Remove unused imports 2019-02-24 20:16:10 +01:00
PCoder
5903e10d87 Redirect user to login page after logout 2019-02-24 20:15:52 +01:00
PCoder
f61023d01a Take user to logged in page when already authenticated 2019-02-24 20:14:49 +01:00
PCoder
c3b8f7b553 Add LoginRequiredMixin mixin for various views 2019-02-24 20:13:09 +01:00
PCoder
0591a186d8 Add EMAIL settings 2019-02-24 19:28:09 +01:00
PCoder
acff3fc592 Use LdapManager in password reset too 2019-02-24 18:42:27 +01:00
PCoder
16b02cfe3f Create base_url from request rather than hard code 2019-02-24 18:42:02 +01:00
PCoder
9ce45e6f56 Set EMAIL_FROM_ADDRESS from env 2019-02-24 18:41:07 +01:00
PCoder
ccf600b620 Add initial migration for dal 2019-02-24 18:37:40 +01:00
PCoder
6e0788097f Update message 2019-02-24 17:46:44 +01:00
PCoder
db4ffe7979 Use LdapManager delete_user to delete the user's account 2019-02-24 17:45:39 +01:00
PCoder
4e9493f198 Add delete_user 2019-02-24 17:44:48 +01:00
PCoder
a909a9b5c5 Add change_user_details 2019-02-24 17:25:58 +01:00
PCoder
3bc2e0a7e5 Take uid as parameter for change_password instead of user_dn 2019-02-24 17:24:44 +01:00
PCoder
7d09819ccb Improve logging 2019-02-24 17:23:41 +01:00
PCoder
3f7ab047a5 Use LdapManager call in change user details page 2019-02-24 15:29:40 +01:00
PCoder
3a867a4cd1 Update check_user_exists to accept attributes and add doc 2019-02-24 15:28:29 +01:00
PCoder
017ca767be Also return entries in the ldap search result 2019-02-24 14:43:24 +01:00
PCoder
89b535c3d6 Add ldap3 requirement 2019-02-23 21:37:27 +01:00
PCoder
57fe6a0143 Call create_user code 2019-02-23 21:29:33 +01:00
PCoder
ac89df9254 Add complete implementation of create_user 2019-02-23 21:27:23 +01:00