Commit graph

331 commits

Author SHA1 Message Date
Ole Laursen c061caaf04 Merge in changes from community-list-cleanup
- Legacy-Id: 10968
2016-03-23 13:31:24 +00:00
Ole Laursen cdcad43fc0 Simplify community lists further by letting email subscriptions reuse
the existing infrastructure for accounts and emails, instead of a
having a separate confirmation step
 - Legacy-Id: 10951
2016-03-17 12:02:45 +00:00
Robert Sparks e81b473282 Expose views for concluded nomcoms. Close feedback and nomination. Initial work on factory-boy based testing. Partially addresses #1856
- Legacy-Id: 10520
2015-11-25 22:17:41 +00:00
Henrik Levkowetz db7aa73eb4 Merged in [10418] from henrik@levkowetz.com:
Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
 - Legacy-Id: 10420
Note: SVN reference [10418] has been migrated to Git commit cf7d794b09
2015-11-04 08:46:35 +00:00
Henrik Levkowetz cf7d794b09 Modified the test data to use some AD and WG chair names that contain non-ascii characters, and fixed test issues found.
- Legacy-Id: 10418
2015-11-04 07:34:56 +00:00
Henrik Levkowetz 8aafb65743 Merged in [10383] from rcross@amsl.com:
Update proceedings permissions.
 - Legacy-Id: 10410
Note: SVN reference [10383] has been migrated to Git commit 788748d7e7
2015-11-03 14:43:47 +00:00
Henrik Levkowetz a7667fb29e Merged in branch/amsl/liaisons/6.4.1@10160 from rcross@amsl.com, bringing in the new liaison tool.
- Legacy-Id: 10161
2015-10-09 19:48:21 +00:00
Robert Sparks 4e1b3b2888 let the IAB see the new pages
- Legacy-Id: 9600
2015-05-04 15:10:34 +00:00
Henrik Levkowetz e8f2d27de3 Commented out a lot of what I believe to be dead code.
- Legacy-Id: 9418
2015-04-06 07:48:01 +00:00
Henrik Levkowetz 625347cd2f Merged trunk@9354 to facelift copy
- Legacy-Id: 9357
2015-04-02 06:51:34 +00:00
Henrik Levkowetz 9e0c178e79 Merged in [9143] from rcross@amsl.com:
Add AG Secretary to Proceedings authorized roles.
 - Legacy-Id: 9152
Note: SVN reference [9143] has been migrated to Git commit 096bd5e83e
2015-03-04 19:39:46 +00:00
Henrik Levkowetz 86997e1e95 Turned the api.py file into a module. Moved the makeresources management command to the api module. Added some api tests. Added crawling of api files to the test-crawler. Adjusted some resource files discovered by the test suite and test-crawler. Removed a bunch of empty model files.
- Legacy-Id: 9144
2015-03-03 20:23:36 +00:00
Ryan Cross 096bd5e83e Add AG Secretary to Proceedings authorized roles. Commit ready to merge.
- Legacy-Id: 9143
2015-03-02 23:40:17 +00:00
Ole Laursen a225fd5069 Make new branch from trunk and merge facelift-r9007 into it, fixing a few merge conflicts
- Legacy-Id: 9072
2015-02-12 10:43:52 +00:00
Henrik Levkowetz 7ecfac6308 Merged in personal/henrik/django-1.7@9020 which upgrades Django from 1.6.0 to 1.7.4 and applies the needed changes to the datatracker code to work with release 1.7.x.
- Legacy-Id: 9028
2015-02-08 21:16:44 +00:00
Henrik Levkowetz 028b7e315a Reverted to [9025] because commit [9026] failed (it was incomplete with a broken working dir).
- Legacy-Id: 9027
Note: SVN reference [9026] has been migrated to Git commit 4a3749a66b
2015-02-08 20:03:16 +00:00
Ole Laursen d0999c8b5e Merge facelift-r8510 branch with trunk. The IPR tool still has some non-facelifted parts and ideosyncracies. Fix a couple of minor bugs (including infamous empty licensing choice) in the IPR code, and port the IPR views to use the render shortcut.
- Legacy-Id: 8896
2015-01-22 17:38:05 +00:00
Henrik Levkowetz 90b4794c3b Fix django 1.7 incompatibilities: The role_required() decorator isn’t signature-preserving — which now breaks reverse().
- Legacy-Id: 8832
2014-12-22 17:59:24 +00:00
Henrik Levkowetz dd15785936 Removing south migrations as part of the django 1.7 changeover to builtin migrations.
- Legacy-Id: 8820
2014-12-22 16:44:35 +00:00
Ryan Cross 882e0af92e fix role_required to permit access to proposed RGs. Commit ready for merge
- Legacy-Id: 8573
2014-11-03 19:11:45 +00:00
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00
Henrik Levkowetz e98e6c3e27 Merged in [8166] from rcross@amsl.com:
Added the 'proposed' WG state to WG role queries for Chair and Secretary
 - Legacy-Id: 8309
Note: SVN reference [8166] has been migrated to Git commit e9a7133fec
2014-09-16 19:05:39 +00:00
Henrik Levkowetz fd9ee73df3 Improved fix for the problem with trying to use None as a Q object.
- Legacy-Id: 8203
2014-07-24 14:45:22 +00:00
Henrik Levkowetz 0d5fbf4eb3 Fixed a problem with trying to use None as a Q object.
- Legacy-Id: 8202
2014-07-24 14:06:21 +00:00
Henrik Levkowetz 872762670c Check for no doc.stream first, to avoid exception on doc.stream.slug.
- Legacy-Id: 8201
2014-07-23 07:28:26 +00:00
Henrik Levkowetz f7772cf6a4 Merged in [8155] from rcross@amsl.com:\n allow Team Chairs access to proceedings.
- Legacy-Id: 8165
Note: SVN reference [8155] has been migrated to Git commit c046739045
2014-07-22 13:33:41 +00:00
Henrik Levkowetz 22e006aba2 Merged in [8146] from sunqi.csnet.thu@gmail.com:
Changed the ietfauth file to allow to change the replaces relationship without setting the doc stream. Fixes ticket #1305.
 - Legacy-Id: 8157
Note: SVN reference [8146] has been migrated to Git commit 03711ef538
2014-07-21 20:02:34 +00:00
Ryan Cross c046739045 allow Team Chairs access to proceedings. Commit ready for merge.
- Legacy-Id: 8155
2014-07-20 17:17:31 +00:00
Sun Qi 03711ef538 Changed the ietfauth file to allow to change the replaces relationship without setting the doc stream. Fixes ticket #1305. Commit ready for merge.
- Legacy-Id: 8146
2014-07-19 21:45:40 +00:00
Henrik Levkowetz 5f03888065 Adjusted the permissions checking in has_role to accept bof chairs and secretaries.
- Legacy-Id: 8054
2014-07-08 07:30:59 +00:00
Henrik Levkowetz 0baf1899d8 Merged [7734] from rcross@amsl.com: changes to support IAB group types, including requesting a session and uploading materials.
- Legacy-Id: 7762
Note: SVN reference [7734] has been migrated to Git commit ed53dfdf78
2014-05-20 20:21:42 +00:00
Ryan Cross ed53dfdf78 changes to support IAB group types, including requesting a session and uploading materials. Commit ready for merge
- Legacy-Id: 7734
2014-05-12 20:54:33 +00:00
Henrik Levkowetz 303e93f65f Added a data migration for htpasswd import, to be run as part of the deployment of the django-auth release.
- Legacy-Id: 7584
2014-04-09 18:29:46 +00:00
Henrik Levkowetz 156b0d4e3a Changed the code to use django's own authentication, instead of http basic auth. This will let people log out, and will also use stronger password hashing than basic auth. Added a login page, and logout links, and links from the logged in username (in the upper right corner) to the user's profile page.
- Legacy-Id: 7580
2014-04-07 18:56:44 +00:00
Henrik Levkowetz b02b0a96df All tests pass, except for some pyflakes tests which I believe are fixed in trunk.
- Legacy-Id: 7579
2014-04-06 20:04:36 +00:00
Henrik Levkowetz 5549088331 With the complications caused by the TransactionMiddleware gone, we can use Django's default login() and logout() views.
- Legacy-Id: 7539
2014-03-23 23:17:15 +00:00
Henrik Levkowetz 475bcbbd30 Working django-auth login and logout views. Password import from htpasswd file still needed.
- Legacy-Id: 7536
2014-03-23 18:27:14 +00:00
Henrik Levkowetz 828836239f Made ietf/ietfauth pyflakes-clean, additional commit.
- Legacy-Id: 7469
2014-03-15 17:45:03 +00:00
Henrik Levkowetz 78e0301f02 Made ietf/ietfauth pyflakes-clean.
- Legacy-Id: 7468
2014-03-15 17:43:07 +00:00
Henrik Levkowetz 295b484bea Merged [7210] from rjsparks@nostrum.com: Allow the IRTF Chair and the ISE to request a conflict review directly through the tracker.
Notify the Secretariat when someone other than the secretariat initiates a conflict review.
Notify IANA when anyone initiates a conflict review.
Fixes tickets #1287 and #1289
 - Legacy-Id: 7225
Note: SVN reference [7210] has been migrated to Git commit a0fd974c92
2014-02-09 21:01:29 +00:00
Ole Laursen 7f277a8fbb Replace user.get_profile() with user.person, the profile stuff is deprecated since Django 1.5
- Legacy-Id: 6968
2013-12-18 10:13:40 +00:00
Ole Laursen 84a9f49053 mimetype -> content_type (mimetype is deprecated)
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen cfa0d47ca0 Port to new class-based generic redirect and simple template views, remove utils.lazy.reverse_lazy, it's now included in Django
- Legacy-Id: 6878
2013-12-11 16:36:09 +00:00
Ole Laursen fc991a5ba1 Revamp and add tests for ietfauth - still missing tests for most views here though
- Legacy-Id: 6823
2013-12-06 18:40:48 +00:00
Ole Laursen e63ac36b8f Remove shim layer from ietfauth, delete some dead code and migrate
remaining importers of ietfauth.decorators to ietfauth.utils
 - Legacy-Id: 6797
2013-12-05 16:24:03 +00:00
Henrik Levkowetz a7db9eec43 Require logins to be all-lowercase. This was prompted by repeated
trouble with people registering non-lowercase logins, then trying to
log in with all-lowercase, or vice versa.
 - Legacy-Id: 6472
2013-10-21 20:26:03 +00:00
Henrik Levkowetz 2f890235de Undid gratuitous whitespace changes.
- Legacy-Id: 6279
2013-09-26 21:04:57 +00:00
Henrik Levkowetz 6154b9922d This commit isn't tested. It captures the state after merging in branch/ssw/agenda/v4.70.
- Legacy-Id: 6273
2013-09-26 19:56:17 +00:00
Henrik Levkowetz 4538ef7b0e Added Nomcom role suport to role_required() through has_role(). This will let us get rid of the more specialized ad_hoc nomcom_memeber_required() which can't handle access for multiple roles.
- Legacy-Id: 6155
2013-09-16 19:18:22 +00:00
Henrik Levkowetz 9b04370eb6 Added secretaries to those who are authorized to edit stream info for a document.
- Legacy-Id: 6028
2013-08-09 18:21:16 +00:00
Henrik Levkowetz 6baea429aa Merged in the nomcom app from ejimenez@yaco.es and esanchez@yaco.es, and accompanying dbtemplate app and the (standard) docutils module. Added some tweaks to get all tests to pass and migrations to run.
- Legacy-Id: 5948
2013-08-06 10:09:29 +00:00
Henrik Levkowetz 9f998e5bbc Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5935
2013-07-31 17:11:19 +00:00
Henrik Levkowetz 88bd027776 Added handling for missing association between login and Person record.
- Legacy-Id: 5932
2013-07-31 14:54:03 +00:00
Henrik Levkowetz 07683cae08 Updated the doc stream auth function to permit Area Directors to edit stream
info for ietf documents.
 - Legacy-Id: 5841
2013-07-17 22:28:33 +00:00
Ole Laursen 99a14b3ede Move the decoraters + utilities to new ietfauth/utils.py file
- Legacy-Id: 5210
2013-01-16 14:36:02 +00:00
Emilio Jiménez 8b0c358810 Move some views to the private area
Refactor edit_chair, edit_members and edit_publickey with the news decorators and form styles
fixed error in the role_required decorator
See #904 #905
 - Legacy-Id: 5162
2013-01-02 15:33:21 +00:00
Emilio Jiménez cca4924597 Create views skel for private area.
Create new decorators to test if user is nocom member
News function in Group model to get the group members
Move util functions to utils.py module
Improve passes_test_decorator function so test_func accept more params.
See #919
 - Legacy-Id: 5161
2012-12-29 00:52:52 +00:00
Henrik Levkowetz 1fbcd783f3 Merged branch/iola/statesync up to @5118 to trunk.
- Legacy-Id: 5147
2012-12-20 20:32:03 +00:00
Emilio Jiménez 587681b9ba Revert accidental changes.
See #905
 - Legacy-Id: 5072
2012-11-22 12:26:34 +00:00
Emilio Jiménez 1b976ab6d1 Add view to edit groups public key.
See #905
 - Legacy-Id: 5071
2012-11-22 12:08:09 +00:00
Ole Laursen 91bea25382 Fix bug in the /accounts/testmail/ thing (missing import, probably
broken by a refactor some time ago)
 - Legacy-Id: 4881
2012-09-24 11:52:23 +00:00
Ole Laursen 1072f3b5e4 Fix bitrot bug in RFC Editor branch in has_role
- Legacy-Id: 4870
2012-09-20 13:30:32 +00:00
Ole Laursen 5c89b8a51d Add RFC Editor role handling
- Legacy-Id: 4856
2012-09-17 16:07:24 +00:00
Henrik Levkowetz 843493aa23 Fixed a password reset url which didn't work due to a wrong keyword name in the urlpattern.
- Legacy-Id: 4810
2012-08-24 08:50:31 +00:00
Henrik Levkowetz d4e8a98346 Merged [4737] from adam@nostrum.com:
Fixed profile update page to keep Alias table up to date. Also, roles for inactive groups are no longer displayed on the profile page.
 - Legacy-Id: 4776
Note: SVN reference [4737] has been migrated to Git commit 6d87558b06
2012-08-22 10:01:52 +00:00
Henrik Levkowetz 3038396b5f Fix the update password request form to *not* give an error for existing accounts ,:-)
- Legacy-Id: 4742
2012-07-31 22:29:07 +00:00
Henrik Levkowetz 469bfa11a3 Fix some parameter names in the ietfauth urlconf which had reverted to an old form in a recent merge.
- Legacy-Id: 4741
2012-07-31 22:27:49 +00:00
Adam Roach 6d87558b06 Fixed profile update page to keep Alias table up to date. Also, roles for inactive groups are no longer displayed on the profile page.
- Legacy-Id: 4737
2012-07-31 16:54:17 +00:00
Henrik Levkowetz 0b1158491f Merged [4705] from adam@nostrum.com:
Adding self-management page for user profile information
 - Legacy-Id: 4714
Note: SVN reference [4705] has been migrated to Git commit 1502efba76
2012-07-29 00:04:08 +00:00
Adam Roach 1502efba76 Adding self-management page for user profile information
- Legacy-Id: 4705
2012-07-28 21:51:00 +00:00
Henrik Levkowetz 73f00aa920 Enabled the check for existing account, disabled when we started using self-service http password reset, but hadn't started creating accounts yet. Refactored the two confirm*() methods in ietfauth/views.py; they need the same processing, only the templates to use differ.
- Legacy-Id: 4583
2012-07-04 05:12:20 +00:00
Henrik Levkowetz 20f5d25fd4 Add another needed import missed in the merge.
- Legacy-Id: 4581
2012-07-04 04:26:11 +00:00
Henrik Levkowetz 8b224559a7 Fix missing import.
- Legacy-Id: 4574
2012-07-03 19:08:43 +00:00
Henrik Levkowetz b0016c0fe9 Minor cleanup.
- Legacy-Id: 4520
2012-06-27 08:31:15 +00:00
Henrik Levkowetz b2573a43aa Merged community tracking branch from esanchez@yaco.es, r3175-3679,3713-3830.
[[Split portion of a mixed commit.]]
 - Legacy-Id: 4518.2
2012-06-27 08:15:14 +00:00
Henrik Levkowetz bcd28cc45f Merged in fixes to the migration from olau@iola.dk. Merged in charter branch from olau@iola.dk. Added various fixes and correction of merge errors.
- Legacy-Id: 4353
2012-05-02 19:35:32 +00:00
Ole Laursen e4a9d8c7aa Finish ballot support for charters (apart from non-generic ballot
deferral), remove a bunch of now obsolete charter code.
 - Legacy-Id: 4255
2012-04-04 18:09:03 +00:00
Ole Laursen 8bfcced00f Add some more roles for use in the Secretariat tools (requested by
Ryan Cross)
 - Legacy-Id: 4016
2012-03-01 18:21:43 +00:00
Ole Laursen d43159cd90 Add support for incoming ADs with a new "pre-ad" role
- Legacy-Id: 3900
2012-02-03 16:22:31 +00:00
Ole Laursen 328ecb08c3 Replace old charter branches with new branch based on conversion branch and some preliminary work on generalizing document handling
[[Split portion of a mixed commit.]]
 - Legacy-Id: 3883.1
2012-01-31 17:38:27 +00:00
Ole Laursen 13aed82a0e More import path fixes from Henrik
- Legacy-Id: 3877
2012-01-30 19:05:27 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00
Ole Laursen 06b1ecf90c Skip testLogin test which is interfering with the now obsolete permission app
- Legacy-Id: 3802
2012-01-12 14:29:23 +00:00
Ole Laursen 498dc38507 Port to Django 1.2, replacing built-in patched Django with Django 1.2.7 (with patches applied on top) and replacing South with South 0.7.3
- Legacy-Id: 3773
2011-12-15 14:13:54 +00:00
Ole Laursen e866d9d8a9 Fix name of cookie
- Legacy-Id: 3718
2011-11-28 17:50:29 +00:00
Ole Laursen b114e5e6cf Add simple view for setting testemailcc cookie when server is in test mode
- Legacy-Id: 3716
2011-11-28 17:19:45 +00:00
Ole Laursen 8153a1c130 Patch up to pass request object to send mail in the instances where
it's possible (i.e. when not run in cron) in preparation for better
mail test handling
 - Legacy-Id: 3711
2011-11-25 18:24:14 +00:00
Ole Laursen bca620d500 Add roles useful for Secretariat tools (patch by Ryan Cross)
- Legacy-Id: 3697
2011-11-24 11:34:44 +00:00
Ole Laursen 6d74a91e05 Add IANA group and import IANA roles
- Legacy-Id: 3696
2011-11-24 11:33:50 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Emilio A. Sánchez López c1ca982ec4 Open the file for appending. See #688
- Legacy-Id: 3589
2011-11-03 18:34:35 +00:00
Emilio A. Sánchez López 7207329b0b Add the 'new account' link in the left sidebar.
Change urls from registration to account.
Fixes #719
 - Legacy-Id: 3553
2011-10-31 11:32:57 +00:00
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