Commit graph

32 commits

Author SHA1 Message Date
PCoder
763ce32159 Remove unused config 2019-02-04 20:19:29 +01:00
PCoder
a0ecec665e Refactor code 2019-02-04 20:12:56 +01:00
PCoder
67c1dcb1f3 Change default user/search DNs 2019-02-04 19:59:41 +01:00
PCoder
b0a09969ec Refactor LDAP_USER_DN to .env 2019-02-04 19:56:17 +01:00
PCoder
a2550e4bff Remove redundant code 2019-02-03 13:43:23 +01:00
PCoder
88a58595fb Refactor code 2019-02-03 13:31:36 +01:00
PCoder
c72f97de42 Add code to create user's unix profile also 2019-02-03 13:05:44 +01:00
PCoder
f3d90a2b7d Add utility code to get max UID
Other changes:
- Introduce logging
- Introduce .env config parameters
  - LDAP_SEARCH_BASE: The base used in the LDAP search to find uid
  - IPV6_WORK_USER_GROUP: The LDAP group to which the newly added
      user should belong to
2019-02-03 12:59:22 +01:00
PCoder
8e07151837 Add ldap3 specific logging 2019-02-03 10:22:17 +01:00
PCoder
c670eb52e9 Fix bug reading boolean config casting 2019-02-03 10:20:00 +01:00
PCoder
38c7283cb6 Enable logging by setting by setting ENABLE_DEBUG_LOG in .env
Also set the modules to log by using `MODULES_TO_LOG` config
parameter in .env
2019-02-03 10:13:18 +01:00
PCoder
f112b85f17 Reorganize imports 2019-02-02 22:32:33 +01:00
PCoder
1e457ea1f0 Remove ipv6middleware 2019-02-02 22:08:09 +01:00
4e460726dd use x-real-ip headers 2018-11-29 19:48:02 +05:45
3a76ab9a76 use session_cookie_name 2018-11-17 11:21:18 +05:45
3fd4273b5f add media and static url based on script_name 2018-11-17 11:01:57 +05:45
635b929b24 remove static from git 2018-11-17 10:59:25 +05:45
1287105067 add CSRF_TRUSTED_ORIGINS 2018-11-17 10:57:15 +05:45
d8705d4946 make force_script_name configurable 2018-11-16 22:29:47 +05:45
216a5c3c9f force script name so it works behind proxy_pass 2018-11-16 21:09:34 +05:45
b4bf9318df configurable database backend 2018-11-16 20:27:21 +05:45
ed99dad379 link signup to account.ungleich.ch, landing page changes 2018-11-10 10:52:50 +05:45
c42160193e ensure ipv4/ipv6 test is included 2018-11-03 17:57:43 +05:45
eab9d7b714 add ldap authentication and function to create ldap user on signup 2018-11-03 10:09:11 +05:45
d3ade15c9a add python decouple 2018-10-26 14:55:13 +05:45
862023840d add messages on success, use permissions for views 2018-10-26 14:15:31 +05:45
eb07ef249b add login/logout urls and templates 2018-10-26 14:13:34 +05:45
28d061304f add Dockerfile spec 2018-10-26 13:43:32 +05:45
95d2f9c3d1 add rules package, create rule for is_job_poster 2018-10-20 13:33:33 +05:45
7d4195fc6c use crispy with bootstrap4 for forms, job creation view with autocomplete tags 2018-10-17 15:24:31 +05:45
d122a1db39 add basic index and job listing page
register models to admin for easy testing
2018-10-17 14:36:51 +05:45
c8536289fd create initial models for tag, job and application 2018-10-17 13:20:54 +05:45