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
Henrik Levkowetz
4a3749a66b
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: 9026
2015-02-08 19:16:46 +00:00
Robert Sparks
65804be683
This is the second step towards ADs out of GroupInfo into Role.
...
The use of group.ad has been scrubbed from the code and templates.
- Those places that set group.ad have been directly manipulate Role objects instead
- Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views.
Related to #1555 and #1557 .
Commit ready for merge.
- Legacy-Id: 8854
2015-01-09 18:52:06 +00:00
Robert Sparks
4c9db8f250
This is the first step towards using Role to represent Area directors. It
...
- Migrates the information captured in GroupInfo.ad to Role objects.
- Renames GroupInfo.ad to GroupInfo._ad (retaining the current column name) to prepare for deletion of that field.
- Provides ad property accessor and setter methods implemented using the group's role_set (so that the existing view code continues to work with minimal changes)
- Improved selection in many querysets that assumed only groups of type 'area' would have area directors.
Related to #1557 and #1555 .
Commit ready to merge.
- Legacy-Id: 8851
2015-01-08 20:22:23 +00:00
Henrik Levkowetz
b5dad67b05
Fix django 1.7 deprecation warnings: get_query_set() --> get_queryset().
...
- Legacy-Id: 8827
2014-12-22 17:38:49 +00:00
Henrik Levkowetz
770b36d575
Added generated (and sometimes manually tweaked) resources.py files.
...
- Legacy-Id: 8744
2014-12-14 20:33:25 +00:00
Henrik Levkowetz
55cef621bd
Merged in [8305] from rjsparks@nostrum.com:\n Replaces the return_to_url notion with logic that uses the session object. Related to bug #1430 .
...
- Legacy-Id: 8483
Note: SVN reference [8305] has been migrated to Git commit feb57a04f0
2014-10-26 19:35:10 +00:00
Henrik Levkowetz
cea60ad8df
Merged in [8255] from rjsparks@nostrum.com:\n Combined defer/undefer tests from doc/tests_ballot and iesg/tests, extending them to demonstrate current reported bugs.
...
Made doc.active_defer_event() look for the events that are currently being created. This remains brittle.
Added email notifying the IESG of an undefer analagous to the defer email.
Guarded against deferring an already deferred document or undeferring a document that hasn't been deferred.
Guarded against deferring a document that's not scheduled for a telechat.
Fixes bugs 1417, 1465, 1417
- Legacy-Id: 8366
Note: SVN reference [8255] has been migrated to Git commit 0b49f402b4ec9145cb290b8a968755cc9ebdef92
2014-09-28 18:59:10 +00:00
Henrik Levkowetz
c276ecac4a
Slight reversion to earlier code - checking up on codecs.open(), it turns out that it returns a file object with __enter__ and __exit__ methods, so can be used in a 'with codecs.open(path) as file:' pattern.
...
- Legacy-Id: 8317
2014-09-16 20:00:28 +00:00
Henrik Levkowetz
cbb5b84652
Merged in [8209] from rjsparks@nostrum.com:\n Fixed several places where files were not being closed.
...
- Legacy-Id: 8315
Note: SVN reference [8209] has been migrated to Git commit 4aae3ff6785ca2649e54a212bd669369950f4b86
2014-09-16 19:48:30 +00:00
Robert Sparks
feb57a04f0
Replaces the return_to_url notion with logic that uses the session object. Related to bug #1430 .
...
- Legacy-Id: 8305
2014-09-11 20:41:59 +00:00
Robert Sparks
7266cda08a
Small cleanup refactor removing redundant configuration line in settings for charter text URLs. Commit ready to merge.
...
- Legacy-Id: 8150
2014-07-20 03:50:20 +00:00
Henrik Levkowetz
1d9e9e7745
Merged [7589] from rjsparks@nostrum.com: Functional changes allowing consensus to be set back to Unknown. Fixes ticket #1150 .
...
- Legacy-Id: 7611
Note: SVN reference [7589] has been migrated to Git commit 7fb3e913e5377aa4e38c369aeefe2449e07e3c4e
2014-04-16 18:45:55 +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
8c42989d5d
Pyflakes cleanup compliant with pyflakes 0.8.1, which seems to find things 0.8.0 didn't fin.
...
- Legacy-Id: 7558
2014-04-01 16:25:18 +00:00
Henrik Levkowetz
f20a5d0cfb
Changed URLs with explicit scheme from http to https.
...
- Legacy-Id: 7555
2014-03-31 00:25:08 +00:00
Henrik Levkowetz
8f6a21daf6
Made ietf/iesg pyflakes-clean.
...
- Legacy-Id: 7467
2014-03-15 17:38:56 +00:00
Ole Laursen
7e00fa1424
Move the Secretariat group email utility to wginfo and the rest of the wgcharter stuff to doc/(views|urls|utils)_charter.py alongside the other document types
...
- Legacy-Id: 7121
2014-01-13 16:08:58 +00:00
Ole Laursen
5c63ed982a
Implement missing iesg test of milestones page, as found by the
...
coverage check
- Legacy-Id: 7082
2014-01-08 17:59:00 +00:00
Ole Laursen
fdb6baf4e6
Use collections.OrderedDict instead of the SortedDict bundled with Django
...
- Legacy-Id: 7026
2013-12-20 11:00:07 +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
d1782297ab
assertEquals -> assertEqual in tests, the former is deprecated
...
- Legacy-Id: 6964
2013-12-17 12:52:24 +00:00
Ole Laursen
84a9f49053
mimetype -> content_type (mimetype is deprecated)
...
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00
Ole Laursen
5021ed5629
Port feed setup to new feed API where each feed is a class-based view
...
- Legacy-Id: 6939
2013-12-16 16:29:22 +00:00
Ole Laursen
6a98fec2c3
Use built-in json module in Python instead of simplejson bundled with Django
...
- Legacy-Id: 6883
2013-12-11 16:59:19 +00:00
Ole Laursen
c15063f3c2
Adjust the import path for feeds
...
- Legacy-Id: 6879
2013-12-11 16:40:49 +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
19da33d8ff
Make the search for specific draft name in IPR support both drafts and RFCs, clean up some related cruft
...
- Legacy-Id: 6775
2013-12-02 17:29:17 +00:00
Ole Laursen
9457669310
Merge in changes from the old shimfree branch
...
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen
52583aa850
Add extra newline, forgot to commit that with previous commit
...
- Legacy-Id: 6489
2013-10-25 13:55:49 +00:00
Ole Laursen
d202c65835
Add tests of document placement in the agenda
...
- Legacy-Id: 6488
2013-10-25 12:54:39 +00:00
Ole Laursen
9842eef405
For no good reason, agenda_data took request as first parameter, remove this as it makes testing harder
...
- Legacy-Id: 6487
2013-10-25 12:53:54 +00:00
Ole Laursen
10dceef26d
Refactor IESG agenda pages, put the agenda structure in a helper function in agenda.py, build the agenda up around this structure, and reuse this everywhere instead of duplicating the structure in various templates and the JSON view - this also fixes a couple of minor bugs where the copy-pasted copies were not entirely in sync
...
- Legacy-Id: 6454
2013-10-16 13:07:09 +00:00
Ole Laursen
ec7e01481d
Fix a potential bug with milestones_needing_review and ad-less groups
...
- Legacy-Id: 6430
2013-10-11 14:50:30 +00:00
Ole Laursen
87aaf4a47e
Remove unused idtracker import from iesg/models.py
...
- Legacy-Id: 6429
2013-10-11 14:38:50 +00:00
Ole Laursen
a17c07f282
Remove unused fixtures/sieve-charter.txt
...
- Legacy-Id: 6428
2013-10-11 14:37:11 +00:00
Ole Laursen
5f337e3c70
Remove obsolete testurl.list tests from IESG, the tests in
...
iesg/tests.py together with the test crawler has better coverage
- Legacy-Id: 6427
2013-10-11 14:35:30 +00:00
Ole Laursen
b24a20d328
Add test for /iesg/discusses/
...
- Legacy-Id: 6425
2013-10-11 14:31:50 +00:00
Ole Laursen
b6c4f725b9
Fix accidental debug slicing in IESG discusses - of note is that the
...
discusses page now supports more than just I-Ds
- Legacy-Id: 6420
2013-10-11 13:06:38 +00:00
Ole Laursen
1975ff27d0
Port IESG discusses to new schema
...
- Legacy-Id: 6418
2013-10-11 13:03:40 +00:00
Ole Laursen
f6ff2a8082
Delete all old WGAction stuff, it's superceded by the WG charter
...
support, clean up iesg/models.py a bit
- Legacy-Id: 6411
2013-10-10 16:12:34 +00:00
Ole Laursen
77aa4723bf
Use the right path for other document types in
...
/iesg/agenda/telechat-YYYY-MM-DD-docs.tgz which now as a side-effect
of the port can bundle more than just drafts
- Legacy-Id: 6410
2013-10-10 15:57:00 +00:00
Ole Laursen
72cc997151
Add test for /iesg/agenda/telechat-YYYY-MM-DD-docs.tgz
...
- Legacy-Id: 6408
2013-10-10 15:53:24 +00:00
Ole Laursen
21b32e72a3
Port /iesg/agenda/telechat-YYYY-MM-DD-docs.tgz, use tarfile.addfile
...
and StringIO to avoid the temporary file
- Legacy-Id: 6407
2013-10-10 11:12:13 +00:00
Ole Laursen
a81af95500
Add simple test for /iesg/agenda/documents/
...
- Legacy-Id: 6406
2013-10-10 10:38:59 +00:00
Ole Laursen
0860342e34
Port /iesg/agenda/documents/ to new schema, fix problem with rows
...
being colored for ADs with their position even if a ballot icon is not
shown (issue #1128 )
- Legacy-Id: 6405
2013-10-10 10:31:28 +00:00
Ole Laursen
a728468711
Fix some problems highlighted by the tests, making the code a bit more
...
robust in case of unexpected data
- Legacy-Id: 6402
2013-10-09 16:28:36 +00:00
Ole Laursen
bb952fa281
Add test for agenda_documents_txt
...
- Legacy-Id: 6401
2013-10-09 16:27:36 +00:00