This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2015-07-14 16:57:05 +02:00
2015-07-10 19:44:09 +02:00
2015-07-14 17:38:30 +02:00
2015-06-21 18:35:29 +02:00
2015-06-17 21:19:42 +02:00
2015-07-12 14:43:30 +02:00
2015-07-07 18:21:40 +02:00

Installation

apt install libldap2-dev # reqs
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
python manage.py migrate

LDAP

sudo docker run -e LDAP_DOMAIN=neuf.no -e LDAP_ORGANISATION="Neuf" -e LDAP_ADMIN_PASSWORD="toor" -p 389:389 -d nikolaik/openldap
ldapadd -D "cn=admin,dc=neuf,dc=no" -w "toor" -f test/testdata.ldif  # Testdata
# Verify import
ldapsearch -x -b dc=neuf,dc=no
# Login with test@example.com:test

TODO

  • Existing members adds membercard to user
  • support tablet (1280x800) resolution
  • Selected user in form: on select, display user details in register form.

Form

  • tlf field
    • validates in javascript with phonenumber-package
    • onkeyup could shows matching user data from inside (name, expires)
  • verify form consistency
  • submit button
    • change text to "... and renew" if existing member
    • grey if form invalid
    • blue if form valid
    • grey out on submit

Other

  • Inside auth

Backend

  • store in inside-table din_phonenumber, din_usedmembercard, din_user
  • lookup sms-tables in inside
S
Description
No description provided
Readme
1.3 MiB
0 Stars 9 Watchers 0 Forks
Languages
JavaScript 44.5%
Python 32.2%
HTML 17.7%
SCSS 4.7%
Shell 0.9%