Robert Sparks
ff48d32c08
Migration to repair missing StateDocEvents from wg chairs using
...
the datatracker to request publication of ietf stream documents.
Incremental improvement to the request publication view to create
those StateDocEvents going forward.
This is related to bug #1312
Commit ready to merge
- Legacy-Id: 7371
2014-02-28 17:14:18 +00:00
Henrik Levkowetz
4bb4eb779c
Replaced the 40 MB of code in the fill_in_references script with an explanatory note.
...
- Legacy-Id: 7369
2014-02-25 22:03:34 +00:00
Henrik Levkowetz
0eefa5760c
Added a management command to run pyflakes, with the added feature of being able to mark individual lines with # pyflakes:ignore, which is needed in some cases.
...
- Legacy-Id: 7367
2014-02-25 20:22:20 +00:00
Henrik Levkowetz
14d629afe9
Fixed another bug in the non-production setup.
...
- Legacy-Id: 7344
2014-02-25 18:12:14 +00:00
Henrik Levkowetz
ec58068139
Fixed a bug in the check for a SECRET_KEY setting
...
- Legacy-Id: 7343
2014-02-25 18:01:51 +00:00
Henrik Levkowetz
2f072a90ee
Set version info and settings back to development mode
...
- Legacy-Id: 7300
2014-02-25 15:53:59 +00:00
Henrik Levkowetz
8b049ec2d1
Set version info to release version 5.0.2 before branching.
...
- Legacy-Id: 7298
2014-02-25 15:53:55 +00:00
Henrik Levkowetz
3f55454724
Merged [7292] from rjsparks@nostrum.com: Allow 1-3 digit RFCs in status change documents.
...
Fixes bug #1321
- Legacy-Id: 7295
Note: SVN reference [7292] has been migrated to Git commit 31808eccb2
2014-02-24 23:10:21 +00:00
Robert Sparks
31808eccb2
Allow 1-3 digit RFCs in status change documents.
...
Fixes bug #1321
Commit ready for merge
- Legacy-Id: 7292
2014-02-24 15:43:32 +00:00
Henrik Levkowetz
b1ae148580
Extend the set of allowed hosts slightly.
...
- Legacy-Id: 7291
2014-02-22 20:37:47 +00:00
Henrik Levkowetz
2f274bdad8
Changed the use of non-existing variable 'ascii' to 'person.ascii'. Fixes a server failure for person alias creation during draft submissions.
...
- Legacy-Id: 7277
2014-02-20 12:39:34 +00:00
Henrik Levkowetz
722a008d25
Fixed overflow error for meetings without timeslots, which gave server errors for meeting/64/agenda.html.
...
- Legacy-Id: 7276
2014-02-20 11:26:52 +00:00
Henrik Levkowetz
980ad98180
Merged in [7204] from rjsparks@nostrum.com:
...
Adds the IAB-parented sessions to the set of things returned as \'areas\'.
Fixes bug #1288
- Legacy-Id: 7272
Note: SVN reference [7204] has been migrated to Git commit b1e0ba3d1b
2014-02-19 21:39:49 +00:00
Henrik Levkowetz
dfd9b98de8
Reapplied merge of [7209], which although listed in svn:mergeinfo on . actually doesn't seem to have made it into the repository.
...
- Legacy-Id: 7265
Note: SVN reference [7209] has been migrated to Git commit 8d56e458d9
2014-02-19 14:53:45 +00:00
Henrik Levkowetz
bcbc22f45b
Only show a link to the tools page for a group if the tools page is likely to exist, i.e., the group is a WG and it is or has been active.
...
- Legacy-Id: 7264
2014-02-19 14:41:29 +00:00
Henrik Levkowetz
5fd513e9cd
Added a logging filter to filter out the 'Invalid HTTP_HOST' emails.
...
- Legacy-Id: 7263
2014-02-18 23:10:03 +00:00
Henrik Levkowetz
ad1194799a
Changed the SECRET_KEY setting to take account of the settings in settings_local.
...
- Legacy-Id: 7262
2014-02-18 23:06:53 +00:00
Henrik Levkowetz
9ea9ba1d66
Merged in [7138] from rjsparks@nostrum.com:
...
Reworked SMTP Exception handling, adding sending a ticket to the secretariat when there are errors handing messages off for delivery.
Added SMTP exception handling to send-scheduled-mail.
This is related to ticket #1208
- Legacy-Id: 7256
Note: SVN reference [7138] has been migrated to Git commit 64727c1c33
2014-02-17 18:55:37 +00:00
Henrik Levkowetz
1c6c3835e8
Typo fixes.
...
- Legacy-Id: 7254
2014-02-17 12:42:43 +00:00
Henrik Levkowetz
49d5f1a010
Set version info and settings back to development mode
...
- Legacy-Id: 7252
2014-02-16 18:36:46 +00:00
Henrik Levkowetz
c09bcebdb3
Set version info to release version 5.0.1 before branching.
...
- Legacy-Id: 7250
2014-02-16 18:36:43 +00:00
Henrik Levkowetz
f59983ccd1
Merged [7236] from rcross@amsl.com: Ticket #1308 : fix Liaison Add CSRF token error and missing Post and Send button.
...
- Legacy-Id: 7246
Note: SVN reference [7236] has been migrated to Git commit ba6d31fd27
2014-02-16 16:58:54 +00:00
Henrik Levkowetz
5d1bdde730
Added control by the --verbosity switch of the not loaded template test and not tested urls test, so they only will be run for verbosity greater than 1.
...
- Legacy-Id: 7244
2014-02-16 16:49:34 +00:00
Henrik Levkowetz
c52d7c00fe
Removed a debug statement.
...
- Legacy-Id: 7243
2014-02-16 16:29:29 +00:00
Henrik Levkowetz
08c0b601c3
Merged [7214] from rcross@amsl.com: change old references to pub.ietf.org, to datatracker.ietf.org/secr/.
...
- Legacy-Id: 7242
Note: SVN reference [7214] has been migrated to Git commit b9552a9331
2014-02-16 16:28:47 +00:00
Henrik Levkowetz
1b3bbad040
Merged [7213] from rcross@amsl.com: add missing template unauthorized.html.
...
- Legacy-Id: 7241
Note: SVN reference [7213] has been migrated to Git commit 913d90b90a
2014-02-16 16:26:35 +00:00
Henrik Levkowetz
057dd43c73
Fixed a probem with wrong URLs in atom feeds, caused by caching. Fixes issue #1307 .
...
- Legacy-Id: 7239
2014-02-16 15:45:06 +00:00
Henrik Levkowetz
4abe34e34b
Workaround for missing CSRF tokens in liaison edit form.
...
- Legacy-Id: 7238
2014-02-16 15:11:16 +00:00
Henrik Levkowetz
5afcea1670
Added a blank line before new session group in the text agenda.
...
- Legacy-Id: 7237
2014-02-16 15:02:34 +00:00
Ryan Cross
ba6d31fd27
Ticket #1308 : fix Liaison Add CSRF token error and missing Post and Send button. ready for merge
...
- Legacy-Id: 7236
2014-02-13 19:31:12 +00:00
Henrik Levkowetz
612085779b
Added a secret key to settings.py for development use. NOT for production use; that needs to go in settings_local.py
...
- Legacy-Id: 7234
2014-02-11 19:37:13 +00:00
Henrik Levkowetz
e593d9d640
Added a warning to the draft submission page about upcoming submission cut-offs. Added a value in settings.py for the number of days before the first cut-off to display the waring.
...
- Legacy-Id: 7233
2014-02-11 19:28:59 +00:00
Henrik Levkowetz
07e93b599b
Updated the caching settings to use memcached in production.
...
- Legacy-Id: 7232
2014-02-11 19:21:36 +00:00
Henrik Levkowetz
85237c62e4
Remove spurious 'yes' in meeting requests page.
...
- Legacy-Id: 7231
2014-02-11 18:20:43 +00:00
Henrik Levkowetz
e508fbde5b
Merged [7215] from rjsparks@nostrum.com: Use idnits on www.ietf.org
...
Fixes ticket #1200
- Legacy-Id: 7227
Note: SVN reference [7215] has been migrated to Git commit 036d8246fa
2014-02-09 21:08:14 +00:00
Henrik Levkowetz
f9ae6883bd
Merged [7212] from rjsparks@nostrum.com: Removed the "Reason for (re)chartering" line from the charter main document page.
...
Fixes bug #1294
- Legacy-Id: 7226
Note: SVN reference [7212] has been migrated to Git commit bef9a2db4e
2014-02-09 21:04:26 +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
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
Robert Sparks
036d8246fa
Use idnits on www.ietf.org
...
Fixes ticket #1200
Commit ready for merge
- Legacy-Id: 7215
2014-02-07 21:26:47 +00:00
Ryan Cross
b9552a9331
change old references to pub.ietf.org, to datatracker.ietf.org/secr/. ready for merge
...
- Legacy-Id: 7214
2014-02-06 21:10:08 +00:00
Ryan Cross
913d90b90a
add missing template unauthorized.html. ready for merge
...
- Legacy-Id: 7213
2014-02-06 20:42:44 +00:00
Robert Sparks
bef9a2db4e
Removed the "Reason for (re)chartering" line from the charter main document page.
...
Fixes bug #1294
Commit ready for merge
- Legacy-Id: 7212
2014-02-06 19:58:29 +00:00
Robert Sparks
a0fd974c92
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
Commit ready for merge
- Legacy-Id: 7210
2014-02-06 04:25:33 +00:00
Ryan Cross
8d56e458d9
fix typo in drafts add(). ready for merge
...
- Legacy-Id: 7209
2014-02-05 21:24:59 +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
Robert Sparks
b1e0ba3d1b
Adds the IAB-parented sessions to the set of things returned as "areas"
...
Fixes bug #1288
Commit ready for merge
- Legacy-Id: 7204
2014-02-04 15:59:34 +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
Ole Laursen
3db6ae14a9
Add missing test of IPR details page, as found by coverage check
...
- Legacy-Id: 7083
2014-01-08 18:07:43 +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
09859b9e6a
Implement missing submit tests as spotted by the coverage check
...
- Legacy-Id: 7081
2014-01-08 17:47:39 +00:00
Ole Laursen
954c8fcedb
Fix spelling mistake in patterns that are ignored in coverage check
...
- Legacy-Id: 7080
2014-01-08 17:41:40 +00:00
Ole Laursen
5e7d8c6c08
Fix auth check for editing the metadata of a submission - the path
...
without an access token would not allow a Secretariat user but instead
always throw an exception
- Legacy-Id: 7079
2014-01-08 17:40:22 +00:00
Ole Laursen
8dc19fd17e
Improve the coverage checker, skip some trivial views (redirects and
...
flat templates)
- Legacy-Id: 7078
2014-01-08 17:00:37 +00:00
Robert Sparks
e93b5ec296
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
Commit ready for merge
- Legacy-Id: 7077
2014-01-07 23:16:44 +00:00