Commit graph

77 commits

Author SHA1 Message Date
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
PCoder
0976d0dbcb Obtain some LDAP configs from env 2019-02-23 21:25:58 +01:00
PCoder
fc139296fb Add dal/ldap_max_uid_file to .gitignore 2019-02-23 21:25:15 +01:00
PCoder
122ee37e48 Use LdapManager to change password 2019-02-23 19:50:42 +01:00
PCoder
f6f688dcb5 WIP: Add ungleich_ldap and use it to reset password 2019-02-23 18:47:01 +01:00
PCoder
6a28b51354 Fix bug: check the posted username also with logged in user's
username
2019-02-23 18:45:58 +01:00
PCoder
113fa2c454 Pickup env variables and use them 2019-02-23 18:45:21 +01:00
PCoder
a3dca06c35 Use config instead of os.environ 2019-02-23 09:28:56 +01:00
PCoder
5c96f5c186 Add form_valid to the index form 2019-02-23 09:20:58 +01:00
PCoder
76c585cdf4 Comment/clean unused code 2019-02-23 09:19:20 +01:00
PCoder
e8f12e18d2 Obtain ALLOWED_HOSTS from config 2019-02-22 06:06:36 +01:00
PCoder
4d2ee8cf77 Add UserAccountValidationDetail model 2019-02-20 00:25:51 +01:00
PCoder
00bc02541d Add basic AUTH_LDAP_USER_ATTR_MAP 2019-02-19 23:40:09 +01:00
PCoder
47b714101b Reformat code 2019-02-19 23:39:47 +01:00
PCoder
a6a6f8213b Add LoginForm 2019-02-19 23:16:05 +01:00
PCoder
b60ffe6b58 Use python-decouple instead of django-dotenv + add logging 2019-02-19 23:15:07 +01:00
PCoder
eb4dc68b32 Create logs dir 2019-02-19 21:21:30 +01:00
PCoder
dab31aa853 Remove unwanted code / refactor code 2019-02-18 22:03:57 +01:00
PCoder
c571cf5c1d Add bootstrap3 to INSTALLED_APPS 2019-02-18 22:01:42 +01:00
PCoder
467af3422c Update django bootstrap and filter requirements 2019-02-18 22:01:07 +01:00
PCoder
c4c990a98d More correction 2019-02-17 18:25:12 +01:00
PCoder
876567f933 Correct the way we get ALLOWED_HOSTS 2019-02-17 18:20:56 +01:00
PCoder
5ec63d8536 Get ALLOWED_HOSTS and DEBUG from .env 2019-02-17 18:08:36 +01:00
PCoder
8b61db8dee Simplify getting LDAP_USE_TLS 2019-02-17 17:57:48 +01:00
PCoder
1673d6e03b Update .gitignore 2019-02-17 17:44:17 +01:00
PCoder
ace2fa6eb9 Move project files to root directory 2019-02-17 17:43:06 +01:00
Nico Schottelius
2fd7bf3041 Cleanup, add modlist 2019-01-27 13:00:45 +01:00
Nico Schottelius
93677e6ad6 Try ldap auth using python-ldap 2019-01-26 17:46:06 +01:00
Nico Schottelius
8cd904dcdc Add ldap user create support 2019-01-26 15:19:58 +01:00
Nico Schottelius
a7e6bdeb42 Make it run again[tm] 2019-01-26 14:02:37 +01:00
Nico Schottelius
0f0946b17f Cleanup 2019-01-26 13:54:20 +01:00
Nico Schottelius
9a44d45f39 Cleanup and add OS requirements 2019-01-26 13:19:19 +01:00
Nico Schottelius
6b21a3b1a0 +gitignore 2019-01-26 13:06:11 +01:00
Marcus Przyklink
030424d9c5 Merge branch 'master' into 'master'
Include working login page

See merge request downhill/vuejs-userservice!1
2018-11-10 17:27:46 +01:00
Nico Schottelius
1721014d8d Update README 2018-11-10 17:22:11 +01:00
Nico Schottelius
fb983b651d include working dump via wget -pk
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2018-11-10 17:20:57 +01:00