Commit graph

3826 commits

Author SHA1 Message Date
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
Henrik Levkowetz c83ef0c30b Merged [7077] from rjsparks@nostrum.com: Returns "there are no ballots to view yet" rather than 404ing when the ballot link is followed for a document that exists.
It is typical for last call to be issued (which includes a link to the ballot page) well in advance of creating any ballot for a document.
Fixes bug 1233
 - Legacy-Id: 7223
Note: SVN reference [7077] has been migrated to Git commit e93b5ec296
2014-02-09 20:36:36 +00:00
Henrik Levkowetz 3abaab1d98 Merged [7076] from rjsparks@nostrum.com:
Sets the State(type=draft) to Replaced when a document is replaced using views_draft.replaces.
Sets the state back to Active or Expired when a document is no longer replaced by another document.
Adds tests for the above functionality.
Provides a patch to repair the state of documents pointed to by RelatedDocument(relationship__slug='replaces') objects created by views_draft.replaces before this fix.
Fixes bug 1234
 - Legacy-Id: 7222
Note: SVN reference [7076] has been migrated to Git commit a3da5bbd87
2014-02-09 20:33:15 +00:00
Henrik Levkowetz 086c4290b7 Merged [6361] from rjsparks@nostrum.com:
Allow the secretariat and ads to change the title of a status change
document.  Fixes bug 1141.

Applied changes to adapt the code from Django 1.2 to 1.6: Provide a
quoted string to {% url %} and use request.user.person instead of
request.user.get_profile().
 - Legacy-Id: 7221
Note: SVN reference [6361] has been migrated to Git commit 7c4cf7002f
2014-02-09 18:46:19 +00:00
Henrik Levkowetz 3c611cd5ba Fix problem with nomcom RST templates not being rendered under Django 1.6.
- Legacy-Id: 7219
2014-02-09 17:33:39 +00:00
Henrik Levkowetz 690c36cd8a Merged [6359] from rjsparks@nostrum.com:
Send email to the secretariat when a status change document is put directly into the last-call-requested state.
Fixes bug 1139.
 - Legacy-Id: 7208
Note: SVN reference [6359] has been migrated to Git commit faabcb8328
2014-02-04 23:28:48 +00:00
Henrik Levkowetz 62e7b515a8 Added stream change and state change emails in adopt_draft() -- otherwise we wouldn't have the state change emails assumed in the previous commit. See issue #1246.
- Legacy-Id: 7207
2014-02-04 23:27:40 +00:00
Henrik Levkowetz 41c1c1a5fe Removing the extra (misleading) draft about WG adoption which is sent out in addition to the state change emails when a call for addoption (WG) or adoption (RG) is done using the 'Adopt Draft in Group' form. The state change messages should be sufficient, and are not misleading. Fixes issue #1246 (and 1290).
- Legacy-Id: 7206
2014-02-04 22:00:07 +00:00
Henrik Levkowetz 35cadc1763 Don't show deprecation warning during tests for verbosity < 2
- Legacy-Id: 7205
2014-02-04 21:35:19 +00:00
Henrik Levkowetz 908aacceff Handle the case in is_downref() where the src file doesn't have a std_level or intended_std_level set.
- Legacy-Id: 7198
2014-01-31 19:08:49 +00:00
Henrik Levkowetz 04d940534d Modified ALLOWED_HOSTS to permit some (surprising) alternative HTTP_HOST names. Are these a result of queries proxied through other ietf.org domains? The numerical address is the mail server address. We should find out why that appears, and see if it can be made to appear as mail.ietf.org instead.
- Legacy-Id: 7197
2014-01-31 19:07:37 +00:00
Henrik Levkowetz fd5aac4583 Set version info and settings back to development mode
- Legacy-Id: 7187
2014-01-30 21:11:34 +00:00
Henrik Levkowetz 79f14d9970 Set version info to release version 5.0.0 before branching.
- Legacy-Id: 7185
2014-01-30 21:11:30 +00:00
Henrik Levkowetz e67a78bf44 Merged in [7172], an additional django-port tweak from olau@iola.dk.
- Legacy-Id: 7180
2014-01-28 21:40:08 +00:00
Henrik Levkowetz 78b09b0c4e Merged [7174] from rcross@amsl.com:
fix build_nonsession for new db schema, and path to roles ajax call
 - Legacy-Id: 7179
Note: SVN reference [7174] has been migrated to Git commit 7e38c4becd
2014-01-28 21:17:07 +00:00
Henrik Levkowetz a07e2cfbc3 Merged [7151] from rcross@amsl.com:
Ticket #1248: catch DoesNotExist errors with user.get_profile() when user does not have a corresponding Person record.
 - Legacy-Id: 7178
Note: SVN reference [7151] has been migrated to Git commit d119b33a1a
2014-01-28 21:15:41 +00:00
Henrik Levkowetz 5dd0aa075d Merged [7073] from rcross@amsl.com:
changes to official proceedings generation code to support new agenda schema
 - Legacy-Id: 7177
Note: SVN reference [7073] has been migrated to Git commit 35a94362a1
2014-01-28 21:12:49 +00:00
Ryan Cross 7e38c4becd fix build_nonsession for new db schema, and path to roles ajax call
- Legacy-Id: 7174
2014-01-28 14:11:13 +00:00
Ole Laursen 5200a8170b Commit patch from r7172 to make the check for whether a draft
submitter is also one of the authors of the draft more robust on
djangoport branch too so it doesn't get lost in the noise
 - Legacy-Id: 7173
2014-01-28 11:23:52 +00:00
Henrik Levkowetz 2d420fac34 Merged additional django-port and shim-removal tweaks from olau@iola.dk: branch/iola/djangoport@7167.
- Legacy-Id: 7168
2014-01-26 16:30:52 +00:00
Ole Laursen e2554a6a0c It turns out that Django resetting the user if REMOTE_USER is not passed in is a problem on live to, so switch the whole code base to using the middleware to set REMOTE_USER from the logged in user if not passed in from the outside
- Legacy-Id: 7167
2014-01-24 14:30:00 +00:00
Ole Laursen 32874a2c89 Move draft files to archive when setting the draft state to RFC,
fixes #1254.
 - Legacy-Id: 7157
2014-01-23 11:41:22 +00:00
Ole Laursen 4525c22b54 Remove Python 2.6 compatibility hack
- Legacy-Id: 7156
2014-01-23 11:27:29 +00:00
Henrik Levkowetz 6e97c2c8da Merged in the port from Django 1.2 to Django 1.6 from olau@iola.dk: branch/iola/djangoport@7121, and fixed some merge issues.
- Legacy-Id: 7152
2014-01-18 21:02:40 +00:00
Ryan Cross d119b33a1a Ticket #1248: catch DoesNotExist errors with user.get_profile() when user does not have a corresponding Person record.
- Legacy-Id: 7151
2014-01-17 23:04:17 +00:00
Ole Laursen 1ab82bdbed Replace the somewhat fragile query for specific state descriptions
with a query for the appropriate event types, this should work now
that new events set the correct type and old events have been migrated
 - Legacy-Id: 7140
2014-01-15 23:32:17 +00:00
Ole Laursen 697f76bf84 Add migration to convert old state change events to StateDocEvents
with type changed_state from changed_document, this allows us to
easily query for them
 - Legacy-Id: 7139
2014-01-15 23:30:12 +00:00
Ole Laursen 886b6df981 Add match for "IESG state changed"
- Legacy-Id: 7130
2014-01-15 18:19:02 +00:00
Ole Laursen 87ca10d122 Remove usage of log_state_changed (and duplicate in
doc/utils_charter.py) in favour of add_state_change_event which has
slightly better API but otherwise does basically the same except it
sets an event type we can later search for. Also expand tests slightly
to exercise three more templates.
 - Legacy-Id: 7129
2014-01-15 17:52:00 +00:00
Ole Laursen 6b2d50db93 Implement missing charter tests as found by the coverage check
- Legacy-Id: 7127
2014-01-14 15:50:03 +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 c4313a4f42 Add rel="nofollow" to a couple of the account links to prevent the
test crawler from going to /account/login/ and getting an error back,
with this change the crawler currently runs without reporting any
errors
 - Legacy-Id: 7114
2014-01-13 12:21:46 +00:00
Ole Laursen 591e90a7a0 Put a proper command-line interface on the test crawler, spit out number of errors (if any), also add wrapper script for running the test-crawler and idindex generation scripts, in the future other (safe, non-mutating) scripts operating on real data can be added too
- Legacy-Id: 7107
2014-01-12 16:55:42 +00:00
Ole Laursen be8eb96bec Get rid of a bunch of DB queries in all_id2_txt
- Legacy-Id: 7106
2014-01-12 14:16:37 +00:00
Ole Laursen fe6c2d67c4 Replace the Http404 in release/views.py if the changelog file is not
found with a simple error message, this mimicks the way the rest of the
Datatracker is handling missing files and avoids an annoying 404 when
running the test-crawler without all directories set up
 - Legacy-Id: 7105
2014-01-10 17:55:50 +00:00
Ole Laursen 5dcd140a63 Improve test-crawler regexp so it can catch and visit linked feed URLs
- Legacy-Id: 7104
2014-01-10 17:34:33 +00:00
Ole Laursen b4dfae121b Integrate old patch for warning on the request for publication page if
intended std level and consensus is not filled in for the draft before
sending it (as per discussion with Alice Russo) - the consensus check
is skipped for ISE drafts
 - Legacy-Id: 7103
2014-01-10 17:16:12 +00:00
Ole Laursen 2196e75550 Remove more Javascript left-over includes from nomcom/ and one in community/
- Legacy-Id: 7100
2014-01-10 14:57:45 +00:00
Ole Laursen 2922495e65 Fix bug in community list, the show_field templatetag is now getting
the fields already instantiated while the tag was expecting to
instantiate them
 - Legacy-Id: 7099
2014-01-10 14:50:17 +00:00
Ole Laursen ab382a726f While cleaning up the Javascript includes in the nomcom app, it turns
out nomcom.js is included in the wrong pages, and on the pages it is
actually useful in, it's obsolete, so delete it together with the
obsoleted AJAX view and the other JS left-over cruft in nomcom/, this
fixes an include 404 and removes the remaining dependency on
jquery-1.5.1 apart from the Secretariat tools
 - Legacy-Id: 7097
2014-01-10 14:06:36 +00:00
Ole Laursen f685e45ca5 Add select_related to PositionNomineeField in nomcom app to save a
bunch of database queries
 - Legacy-Id: 7095
2014-01-10 13:13:03 +00:00
Ole Laursen 1fb05041cc Fix duplicate name in recently added stream tests
- Legacy-Id: 7093
2014-01-09 18:11:12 +00:00
Ole Laursen 29c72ab386 Add missing tests for group documents in text format and an AJAX view
- Legacy-Id: 7092
2014-01-09 18:08:42 +00:00
Ole Laursen f591735b7d Fix subtle search bug found by stream pages tests, the query was
checking a StreamName against the slug, which happened to work with
MySQL because the stream name is the same as the slug, just uppercase
- but MySQL is case insensitive
 - Legacy-Id: 7091
2014-01-09 17:52:42 +00:00
Ole Laursen be475b8996 Add missing tests of stream document pages
- Legacy-Id: 7090
2014-01-09 17:51:05 +00:00
Ole Laursen 0b27ff13ec Add missing test of AJAX person search view, found by coverage check
- Legacy-Id: 7089
2014-01-09 17:19:56 +00:00
Ole Laursen 72db45734b Add missing sync notify page test, found by coverage check
- Legacy-Id: 7088
2014-01-09 17:13:10 +00:00
Ole Laursen 84136cb5ae Add missing doc page tests, found by the coverage check
- Legacy-Id: 7087
2014-01-09 17:03:59 +00:00
Ole Laursen 86f2baea0a Move group feed from wgcharter (where it historically ended up) to wginfo, add test
- Legacy-Id: 7086
2014-01-09 16:24:54 +00:00
Ole Laursen 7dcaed414d Add a simple test of the dajaxice.core.js hack for the time being
- Legacy-Id: 7084
2014-01-08 18:13:10 +00:00