aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix misc pep8 errorsPavlos Ratis2013-09-081-5/+10
|
* move password and email settings to another pagePavlos Ratis2013-09-041-0/+2
|
* add support for user settingsPavlos Ratis2013-09-011-6/+6
| | | | | | | | | | | | | | | | | | | Basic setting pages that allow users to edit easily their LDAP attributes via web forms. Settings: * Profile settings (first name , last name, email , timezone, birthday, * passwords) * Contact settings (website, IM , GPG fingerprint, location, longitude, latitude) * Gentoo settings (mentors, developer bug, join date, retire date, ssh key) Notes: * Currently settings work only with single values and not * listfields. * Timezone needed for OpenID (cc: @mgorny) * Gentoo Account Settings page is available for everyone.(testing purposes)
* Fix flake8 errorsTheo Chatzimichos2013-08-261-4/+8
|
* switch back to non-relative imports, they proved to be confusingTheo Chatzimichos2013-08-251-1/+1
|
* Switch ciphers to output urlsafe base64.Michał Górny2013-08-211-1/+1
|
* rename accounts_lists view to listsPavlos Ratis2013-08-181-3/+3
|
* add url tag to templatesPavlos Ratis2013-08-181-5/+5
| | | | | Using url tag the templates become more portable and respect the DRY principle.
* improved dev lists viewPavlos Ratis2013-08-171-3/+3
| | | | | Improved lists view by replacing class-based view to a more flexible view suggested by tampakrap and mgorny.
* Support displaying QRCode for TOTP URI.Michał Górny2013-08-091-0/+1
|
* Introduce 'otp-setup', to set TOTP up.Michał Górny2013-08-091-0/+1
|
* urls: import the whole module rather than single views.Michał Górny2013-08-081-14/+14
| | | | | We import all the views anyway, so we end up repeating every name twice, and potentially polluting the namespace.
* use of LDAPUser and ldapdb to get lists infoPavlos Ratis2013-08-061-7/+5
| | | | | | | | In addition, I changed lists from function-based view to class-based view and grouped them: 1) Flexible and respects DRY principle 2) Reduce variables and code
* Establish simple SSL client certificate auth.Michał Górny2013-08-051-1/+2
| | | | | | | | | | | | | | | | 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.
* Fix all pep8 issues apart from:Theo Chatzimichos2013-07-091-2/+3
| | | | | | | | | | | | 1) tests/* 2) settings/* 3) urls.py ./okupy/urls.py:7:5: E128 continuation line under-indented for visual indent ./okupy/accounts/urls.py:9:5: E128 continuation line under-indented for visual indent 4) setup.py ./setup.py:14:80: E501 line too long (85 characters) ./setup.py:23:80: E501 line too long (93 characters) ./setup.py:32:80: E501 line too long (81 characters)
* add data retrieval support from LDAP to user pagePavlos Ratis2013-07-011-1/+2
| | | | | | | | | Users are now able to login and see their LDAP attributes in profile page. Infromation included: - Personal Information(Real Name, Nickname, Location) - Contact Information(Email, IRC nick) - Gentoo related Information(Roles,Herds,Date Joined, Recruitment Bug number, Mentor)
* Merge branch 'openid-week2'Theo Chatzimichos2013-06-301-1/+5
|\ | | | | | | | | | | Conflicts: okupy/accounts/urls.py okupy/accounts/views.py
| * Support OpenID CheckID requests.Michał Górny2013-06-291-1/+2
| |
| * Add a minimal user page with OpenID <link/>s.Michał Górny2013-06-291-1/+2
| | | | | | | | | | In the future, it will be used for the user profile. Currently it is used only to match OpenID identifier with the endpoint.
| * Re-enable a minimal OpenID endpoint facility.Michał Górny2013-06-261-1/+3
| |
* | Add logout/Theo Chatzimichos2013-06-291-1/+2
|/
* Use url() in urlpatterns.Michał Górny2013-06-261-6/+6
|
* Move urlpatterns into application.Michał Górny2013-06-261-0/+13