1. 03 Feb, 2019 17 commits
    • PCoder's avatar
      Update changelog for 1.1.0 · 7131ed6d
      PCoder authored
      7131ed6d
    • PCoder's avatar
      Add /staticfiles to .gitignore · 24a9e3ae
      PCoder authored
      24a9e3ae
    • PCoder's avatar
      Update changelog · 93041f45
      PCoder authored
      93041f45
    • PCoder's avatar
      Update .gitignore · 6abb78db
      PCoder authored
      6abb78db
    • PCoder's avatar
      Handle more errors · 2196390d
      PCoder authored
      Internal Server Error: /ipv6/work/signup/
      Traceback (most recent call last):
        File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/exception.py", line 34, in inner
          response = get_response(request)
        File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
          response = self.process_exception_by_middleware(e, request)
        File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/base.py", line 124, in _get_response
          response = wrapped_callback(request, *callback_args, **callback_kwargs)
        File "./users/views.py", line 19, in signup
          create_user(username, raw_password, first_name, last_name, email)
        File "./users/ldap_funcs.py", line 18, in create_user
          uidNumber = get_max_uid() + 1
        File "./users/ldap_funcs.py", line 79, in get_max_uid
          return int(handler.read())
      ValueError: invalid literal for int() with base 10: ''
      2196390d
    • PCoder's avatar
      Bugfix: TypeError: write() argument must be str, not int · 506679b8
      PCoder authored
      Internal Server Error: /ipv6/work/signup/
      Traceback (most recent call last):
        File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/exception.py", line 34, in inner
          response = get_response(request)
        File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/base.py", line 126, in _get_response
          response = self.process_exception_by_middleware(e, request)
        File "/home/app/pyvenv/lib/python3.5/site-packages/django/core/handlers/base.py", line 124, in _get_response
          response = wrapped_callback(request, *callback_args, **callback_kwargs)
        File "./users/views.py", line 19, in signup
          create_user(username, raw_password, first_name, last_name, email)
        File "./users/ldap_funcs.py", line 38, in create_user
          set_max_uid(uidNumber)
        File "./users/ldap_funcs.py", line 68, in set_max_uid
          handler.write(max_uid)
      TypeError: write() argument must be str, not int
      506679b8
    • PCoder's avatar
    • PCoder's avatar
      Remove redundant code · a2550e4b
      PCoder authored
      a2550e4b
    • PCoder's avatar
      Bugfix: use correct setting name · 1bd4b42f
      PCoder authored
      1bd4b42f
    • PCoder's avatar
      Bugfix: use correct function and return value · fd8f5fc1
      PCoder authored
      fd8f5fc1
    • PCoder's avatar
      Refactor code · 88a58595
      PCoder authored
      88a58595
    • PCoder's avatar
      Add code to create user's unix profile also · c72f97de
      PCoder authored
      c72f97de
    • PCoder's avatar
      Add utility code to get max UID · f3d90a2b
      PCoder authored
      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
      f3d90a2b
    • PCoder's avatar
      Add ldap3 specific logging · 8e071518
      PCoder authored
      8e071518
    • PCoder's avatar
      Fix bug reading boolean config casting · c670eb52
      PCoder authored
      c670eb52
    • PCoder's avatar
      Update changelog · 78098a36
      PCoder authored
      78098a36
    • PCoder's avatar
      Enable logging by setting by setting `ENABLE_DEBUG_LOG` in .env · 38c7283c
      PCoder authored
      Also set the modules to log by using `MODULES_TO_LOG` config
      parameter in .env
      38c7283c
  2. 02 Feb, 2019 4 commits
  3. 27 Jan, 2019 6 commits
  4. 29 Nov, 2018 1 commit
  5. 28 Nov, 2018 1 commit
  6. 17 Nov, 2018 5 commits
  7. 16 Nov, 2018 6 commits