Commit graph

189 commits

Author SHA1 Message Date
Henrik Levkowetz 3d23e924cc Use the right module name for the json module.
- Legacy-Id: 3507
2011-10-25 14:02:01 +00:00
Ole Laursen 5c5d534104 Add person foreign key on Role to link the role and person directly instead of through Email, this will allow us to use non-personal emails on roles
- Legacy-Id: 3418
2011-09-14 14:01:17 +00:00
Henrik Levkowetz 6c93e2553b Add htpasswd management functionality.
- Legacy-Id: 3386
2011-08-26 18:06:12 +00:00
Ole Laursen f11b558d00 Refactor slightly to get rid of clunky "ex-ad" role, any future uses
should use GroupHistory/RoleHistory instead
 - Legacy-Id: 3370
2011-08-24 20:49:30 +00:00
Ole Laursen 03bed41630 Merged in changes from the conversion branch
- Legacy-Id: 3187
2011-06-28 18:20:20 +00:00
Ole Laursen 1bea94eb12 Change auth model for new schema to use Person rather than Email where email is not necessary, use Person for user profiles rather than the old unused profile class, use REMOTE_USER backend directly instead of custom backend, use group roles for authorization rather than Django groups, port/proxy code from using IESGLogin to the new model
- Legacy-Id: 3151
2011-05-25 12:33:24 +00:00
Henrik Levkowetz 02d0eb698d Show user levels as more than numbers in the IESG login table. Add utility methods for use in the admin interface.
- Legacy-Id: 2908
2011-03-24 10:07:46 +00:00
Ole Laursen 0de6066e78 Hack the temporary login fix to support Secretariat people too
- Legacy-Id: 2831
2011-02-08 16:38:45 +00:00
Ole Laursen d0f3b5e628 Port change_state view + helpers + tests to new schema, retaining the old view via settings; adjusted relationship model to use source/target as attribute names
- Legacy-Id: 2808
2011-02-03 19:40:38 +00:00
Henrik Levkowetz b9b25dae37 Merged [2782] from esanchez@yaco.es: Retrieve the person from the legacy tables of non IESG logins. Fixes #576.
- Legacy-Id: 2797
Note: SVN reference [2782] has been migrated to Git commit f0772cf415
2011-02-02 15:31:04 +00:00
Henrik Levkowetz c7d198f482 Merged from log:branch/yaco/liaison@2570: Yaco's port and rewrite of the Liaison Statement Management Tool.
- Legacy-Id: 2572
2010-10-26 12:59:53 +00:00
Emilio A. Sánchez López 81bcb7176c Users only belong to automatic groups if the group is retrieved from the correct source. Fixes #360
- Legacy-Id: 2477
2010-08-13 12:07:45 +00:00
Emilio A. Sánchez López 2cdc041588 Add groups from external sources to the existing ones. Fixes #360
- Legacy-Id: 2474
2010-08-13 07:33:10 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Henrik Levkowetz e113f13590 Changed the text emitted during testing to have less noice at the beginning of the line -- only 'OK', 'Fail', and the initial line of coverage reports now starts at the beginning of the line, without whitespace. This makes it easier to scan a test run visually to find reported failures.
- Legacy-Id: 2259
2010-05-12 12:13:48 +00:00
Pasi Eronen f760caa421 Cleaned away unused code
- Legacy-Id: 2065
2010-03-12 07:39:36 +00:00
Pasi Eronen cc13817101 More null/unique attribute fixes
- Legacy-Id: 2064
2010-03-11 21:11:29 +00:00
Pasi Eronen d07c05976f Fixed bunch of null/unique attributes for model fields
- Legacy-Id: 2063
2010-03-11 18:43:01 +00:00
Pasi Eronen 00783a2f06 Added group_required authentication/authorization decorator
- Legacy-Id: 1887
2009-12-02 10:01:06 +00:00
Pasi Eronen 11887ca938 Replaced old authentication/authorization system with new one (which uses Apache's authentication)
- Legacy-Id: 1877
2009-11-26 19:10:11 +00:00
Pasi Eronen 0de840c601 Run convert-096.py
- Legacy-Id: 1851
2009-11-09 09:11:44 +00:00
Pasi Eronen 1418e1be89 Moved old my/ code under ietfauth/
- Legacy-Id: 1737
2009-10-21 09:25:41 +00:00
Pasi Eronen 4077ea88ab Refactored testing code
- Legacy-Id: 1724
2009-10-14 18:33:26 +00:00
Pasi Eronen 2ec7c6ea09 Removed account creation/password changing functionality
- Legacy-Id: 1722
2009-10-08 17:41:15 +00:00
Pasi Eronen c65492df94 Added test cases for ietf, iesg, meeting, ietfauth
- Legacy-Id: 1633
2009-08-05 20:45:07 +00:00
Pasi Eronen 60d0b1c4a4 Commented out all testurl.list lines (will add some back later)
- Legacy-Id: 1624
2009-08-05 19:48:11 +00:00
Bill Fenner 3904c34055 Merge auth branch.
- Legacy-Id: 1426
2009-03-22 01:37:20 +00:00
Bill Fenner 473b2bdc60 Merge auth branch.
- Legacy-Id: 1149
2008-04-04 05:07:51 +00:00
Bill Fenner 052b774fa6 Rename the WgPassword and LiaisonUsers models to make their
legacy status clear.
 - Legacy-Id: 938
2007-09-18 18:31:42 +00:00
Bill Fenner f2c636a610 Fix addition of a rolodex entry in the admin interface
- Legacy-Id: 932
2007-09-06 17:50:22 +00:00
Bill Fenner b6301e4660 Based on Nico Williams' case-sensitive email problem, make sure
that usernames and emails are compared ignoring case when logging
in.
 - Legacy-Id: 925
2007-09-06 15:12:33 +00:00
Bill Fenner ee17e225c1 Remove unique=True from UserMap's user field, because of
http://code.djangoproject.com/ticket/565
 - Legacy-Id: 921
2007-09-05 11:58:48 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Bill Fenner f99fa39977 Make PersonOrOrgInfo unique=True again. Various things assume
that within auth_users, the email address is unique, so let's
not break those assumptions.
 - Legacy-Id: 617
2007-06-22 16:09:46 +00:00
Henrik Levkowetz e714734a58 Adding individual app testurl lists for /my/ and /ietfauth/
- Legacy-Id: 360
2007-06-13 12:35:49 +00:00
Henrik Levkowetz 03c18bd33d Fixing a bunch of nits pyflakes were complaining about, in order to get a clean run. There are still at least 2 cases of using undefined values which needs scrutiny.
- Legacy-Id: 235
2007-06-05 16:58:58 +00:00
Bill Fenner 27460c988b Don't do admin; it can't handle these tables.
- Legacy-Id: 181
2007-05-30 11:21:37 +00:00
Bill Fenner cb94159896 Allow login/logout/password change. The initial view once logged
in (unless it's a forced login) will be the (incomplete) "my" view.
Username and logout link are in the upper right corner while logged
in.
 - Legacy-Id: 163
2007-05-24 20:18:11 +00:00
Bill Fenner 4a5a5b1d59 Introduce initial authentication/authorization linkage. This has a
couple of aspects:

 - ietfauth.auth.EmailBackEnd is a django.contrib.auth backend to allow
   two modified authentication methods:

   - using email address (stored in django user table) as login username

   - using htpasswd-style "crypt" passwords (for compatability with
     existing user database).  On the first successful login, the
     password will be re-hashed to the django-hash style password.

 - ietfauth.models.UserMap: a mapping from django user to IETF
   person.  This is configured as the profile table, meaning
   that if you have a django user (e.g., from the RequestContext),
   you can use user.get_profile.person to get to the IETF person.

 - ietfauth.models has models for the "legacy" username/person mapping
   tables (LiaisonUser aka "users" and WgPassword aka "wg_password").
   This is to allow mapping of legacy permissions to django permissions
   by walking these tables and applying permissions to users.  The plan
   is to discard these tables eventually.
 - Legacy-Id: 155
2007-05-23 16:10:32 +00:00