Commit graph

124 commits

Author SHA1 Message Date
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