aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use DiscoverRunner, which will be the default test discover runner in 1.6Theo Chatzimichos2013-08-131-0/+1
|
* Enable memcached cache backend.Michał Górny2013-08-111-0/+1
|
* Support displaying QRCode for TOTP URI.Michał Górny2013-08-091-0/+1
|
* Introduce initial code for two-phase auth support.Michał Górny2013-08-091-0/+1
| | | | | | | This commit adds a simple NoOTPDevice model that currently serves the purpose of responding successfully to any request. The login view has been extended with proper OTP device setup and initial verification support.
* Establish simple SSL client certificate auth.Michał Górny2013-08-051-0/+1
| | | | | | | | | | | | | | | | The auth is based on matching e-mail addresses from valid (and trusted) certificates onto system users. Whenever user requests SSL cert auth, he is redirected to a dedicated vhost where the HTTP server requests the certificate. Once there, ssl-auth view checks the verification result and obtains e-mail addresses from the certificate. The e-mail addresses are compared to system users and if a match occurs, an authentication token is created. The ssl-auth view redirects back to login, passing either the token, or error message. If a valid token is passed, ExternalBackend is used to sucessfully authenticate the user. Otherwise, the error message is printed alike regular login messages.
* switch to our fork of django-ldapdbTheo Chatzimichos2013-07-101-1/+1
|
* Add django-ldapdb in settings and dependency listTheo Chatzimichos2013-07-101-0/+2
| | | | | django-ldapdb is a library that uses LDAP server as Database backend. This way we will be able to use ORM by mapping LDAP users to python objects
* Remove os.path from setup.pyTheo Chatzimichos2013-07-031-2/+1
|
* Merge branch 'openid-week2'Theo Chatzimichos2013-06-301-0/+1
|\ | | | | | | | | | | Conflicts: okupy/accounts/urls.py okupy/accounts/views.py
| * Merge remote-tracking branch 'origin/master' into openid-week2Michał Górny2013-06-261-3/+5
| |\
| * | [OpenID] Initial endpoint discovery support.Michał Górny2013-06-171-0/+1
| | |
* | | Raise edpwd version, remove data_files (installed files in wrong places)Theo Chatzimichos2013-06-301-2/+1
| | |
* | | Use mockldap for the testsTheo Chatzimichos2013-06-301-2/+2
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | - Get rid of the forked django-auth-ldap, all the functionality is moved to mockldap - Get rid of ldapuser.py, it was used as a wrapper to ldap calls, in order to determine whether we need as a wrapper to get either a python-ldap or a mocked ldapobject. Mockldap handles this completely now, so the ldapuser wrapper got useless. - Use pure python-ldap calls instead of ldapuser ones in the view - Adjust the tests to use mockldap instead of _LDAPConfig and MockLDAP from django-auth-ldap - Update the dependencies accordingly
* | Fix remaining vim modelines.Michał Górny2013-06-261-1/+1
| |
* | Include vim modelines in all code files.Michał Górny2013-06-251-0/+1
| | | | | | | | | | Modelines enforce project-specific indent, help vim recognize django templates and provide encoding information for Python.
* | add django-compressor supportPavlos Ratis2013-06-251-0/+1
| |
* | Merge pull request #1 from mgorny/code-cleanupTheo Chatzimichos2013-06-241-1/+1
|\ \ | | | | | | Code cleanup
| * | Use github URI in setup.py.Michał Górny2013-06-241-1/+1
| |/ | | | | | | | | | | So far, there's nothing on identity.gentoo.org and the URI in setup.py should point to a kind of homepage where sources, bug tracker and downloads are available.
* / Use a new branch from the forked django-auth-ldapTheo Chatzimichos2013-06-241-2/+2
|/
* encrypt/decrypt_password and random_string moved to edpwdTheo Chatzimichos2013-06-111-1/+2
|
* Packaging updates:Theo Chatzimichos2013-06-091-7/+13
| | | | | | - Add more static files in MANIFEST.in and setup.py - Categorize the dependencies in setup.py - Remove non-hard dependencies from requirements.txt
* Add shebang in setup.py, add okupy.egg-info in .gitignoreTheo Chatzimichos2013-06-081-0/+1
|
* Add the signup and activate viewsTheo Chatzimichos2013-06-061-0/+1
| | | | | | | | | | | - Also add the needed models and forms - Print the error messages properly in the signup and index templates - Add their tests and a fixture - Enable signup and activate views in the urls.py and INSTALLED_APPS - This commit also introduces depedency to passlib. We use passlib.hash.ldap_md5_crypt to create the hash and verify the password. We use the same lib in the tests, thus the passwords in example_directory in tests.py have been converted from plaintext to md5 hash.
* Use tampakrap's fork of django-auth-ldap until our patches get acceptedTheo Chatzimichos2013-06-061-0/+4
|
* updates in setup.py and requirements.txtTheo Chatzimichos2013-05-111-8/+37
|
* typoTheo Chatzimichos2011-08-221-4/+4
|
* Add setup.pyTheo Chatzimichos2011-08-221-0/+10