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
Robert Sparks
99c01fa54a
Fixed a typo in code that looks for the IRTF chair email address while adding replaces relationships.
...
Made that code slightly more robust.
Fixes ticket #1253
Commit ready for merge
- Legacy-Id: 7153
2014-01-21 20:53:07 +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
Robert Sparks
64727c1c33
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: 7138
2014-01-15 21:29:27 +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
Robert Sparks
e3d9fbabb1
Moved the target date for ending the ietf-announce header changes forward since we missed the start date.
...
Commit ready for merge.
Ryan - could you apply this to the current production branch as a patch and start a cron job that runs this file daily until the 24th please?
- Legacy-Id: 7085
2014-01-08 18:56:25 +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
Robert Sparks
a3da5bbd87
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
Commit ready for merge
- Legacy-Id: 7076
2014-01-07 22:58:52 +00:00
Ryan Cross
35a94362a1
changes to official proceedings generation code to support new agenda schema
...
- Legacy-Id: 7073
2014-01-04 00:38:44 +00:00
Ole Laursen
c7a2c64c10
Get rid of fixtures that were added for the meeting tests previously, they are not used anymore, and incomplete so will not load with Django 1.6
...
- Legacy-Id: 7070
2013-12-24 16:14:05 +00:00
Ole Laursen
d5b14f3fb3
Rewrite meeting tests: add fake data generator, rewrite the
...
SimpleUrlTest tests to work with fake data and expand them a bit (they
are still pretty basic), rewrite the agenda editing tests to work with
the small generated fake data, delete those tests that are trivial or
only testing fixture facts as opposed to actually exercising the code,
combine some of them, expand most to actually check the returned JSON
and generally clean up the copy-paste mess of incorrect comments and
incorrect POST data.
At this point, no tests are using the real data base test machinery,
so one can run the full test suite with just
python manage.py test --settings=settings_sqlitetest
This takes about 72 seconds one a 2.4 GHz Intel Core 2. The
test-crawler and other real data tests take somewhat longer, though.
- Legacy-Id: 7069
2013-12-24 16:09:33 +00:00
Ole Laursen
3408b73872
Use request.POST directly instead of aliasing it to update_dict, add a
...
FIXME on permission naming
- Legacy-Id: 7068
2013-12-24 15:59:01 +00:00
Ole Laursen
f8b1568c87
Rewrite meeting PUTs to POSTs. For no apparent reason, parts of the
...
meeting AJAX code is using PUT instead of POST (even if it's not
PUT'ing in the literal sense but POST'ing). Theoretical discussions
aside, Django has poor support for PUTs turned POSTs so rewriting them
removes the need for a couple of hacks, and makes it easier to test.
- Legacy-Id: 7067
2013-12-24 15:13:33 +00:00
Ole Laursen
083b3138c6
Rename group AJAX URL parameter to acronym instead of groupname since
...
it is in fact the acronym, not the name of the group
- Legacy-Id: 7064
2013-12-24 12:49:25 +00:00
Ole Laursen
c098fb4f07
Regularize meeting_json to take num instead of meeting_num like the
...
other meeting AJAX views
- Legacy-Id: 7060
2013-12-23 17:19:49 +00:00
Ole Laursen
77bd8772b5
Fix interesting syntax error in group_session_mapping, += was mistyped
...
as =+ which is legal (assignment followed by unary +)
- Legacy-Id: 7059
2013-12-23 16:59:21 +00:00
Ole Laursen
b4fa414406
Make agenda_permission use user_is_person, rewrite it to be a little
...
less verbose
- Legacy-Id: 7054
2013-12-23 16:43:44 +00:00
Ole Laursen
e69ba1e8c4
Fix spelling mistakes in comments for Constraint
...
- Legacy-Id: 7053
2013-12-23 16:08:36 +00:00
Ole Laursen
b42a1165d7
Use .first() and prevent an extra .count() query in TimeSlot.session
...
- Legacy-Id: 7052
2013-12-23 15:40:10 +00:00
Ole Laursen
7dc534f325
Add a couple of select_related fields to edit_timeslots to reduce
...
number of DB queries from 400 to 13
- Legacy-Id: 7051
2013-12-23 13:25:22 +00:00
Ole Laursen
d6d80a4a77
Make a couple of the utility methods in meeting.models use .first(),
...
fix potential bug in slot_to_the_right, test on location_id instead of
location in build_timeslices to speed up the edit timeslots view
- Legacy-Id: 7050
2013-12-23 13:24:40 +00:00
Henrik Levkowetz
9417351f39
Set version info and settings back to development mode
...
- Legacy-Id: 7035
2013-12-20 17:08:34 +00:00
Henrik Levkowetz
77ab20dd2b
Set version info to release version 4.90 before branching.
...
- Legacy-Id: 7033
2013-12-20 17:08:18 +00:00
Henrik Levkowetz
01c9d5ad26
Fixed a minor bug, restoring iesg agenda document page functionality after shim-layer rewrite.
...
- Legacy-Id: 7031
2013-12-20 16:34:19 +00:00
Ole Laursen
a5f5eb84d3
With the new test discovery mechanism in Django 1.6 (inherited from
...
unittest2 in Python 2.7), manually importing tests from files starting
with test* will run them twice, so don't do that
- Legacy-Id: 7030
2013-12-20 13:08:38 +00:00
Ole Laursen
3fa1834986
Remove Person.objects.by_username/by_email for now - they aren't actually in use, the email one looks suspicious in that it takes the email from the User object, and the username one does not seem generally useful; also remove the unit tests of these two which was relying on an incomplete fixture
...
- Legacy-Id: 7029
2013-12-20 12:13:02 +00:00
Ole Laursen
fa489ce37a
Upgrade Dajaxice to latest version from github (0.5.5) to make meeting agenda code work with CSRF, with url conf import fix and using json instead of deprecated simplejson from Django - add a simple view to serve dajaxice.core.js which we need because we are not using the staticfiles collection step (apparently Dajaxice hooks into that through a somewhat complicated hack)
...
- Legacy-Id: 7028
2013-12-20 11:59:09 +00:00
Ole Laursen
88860edba4
Use user_is_person to determine whether user is schedule owner in
...
agenda AJAX, instead of complicated try except
- Legacy-Id: 7027
2013-12-20 11:55:25 +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
Henrik Levkowetz
b68bedce30
Merged in [7009] from rcross@amsl.com: removed references to old models for shim removal release.
...
- Legacy-Id: 7020
Note: SVN reference [7009] has been migrated to Git commit cf81cce650
2013-12-19 17:17:58 +00:00
Ole Laursen
38c153c03d
Remove usage of distinct(field) in meeting/helpers.py, Django
...
complains that it doesn't work on MySQL and the two uses appear
superfluous anyway since they only return the field being distincted
- Legacy-Id: 7018
2013-12-19 16:06:37 +00:00
Ole Laursen
2cc2323b06
Speed up IPR list by adding a prefetch_related() call
...
- Legacy-Id: 7017
2013-12-19 11:53:41 +00:00
Ryan Cross
cf81cce650
remove references to old models for shim removal release. ready for merge
...
- Legacy-Id: 7009
2013-12-19 04:52:33 +00:00
Henrik Levkowetz
d416ae7977
Merged in a fix from Ole. A different fix for the same problem was already present, but by picking Ole's fix here we avoid hassle in the next (Django-upgrade) merge.
...
- Legacy-Id: 6993
2013-12-18 18:39:49 +00:00
Ole Laursen
defb116721
Use prefetch_related to reduce the number of queries on the search page and in idindex generation, adjust a couple of members on Document slightly to not filter on relations (filtering doesn't work with prefetch_related)
...
- Legacy-Id: 6992
2013-12-18 16:58:34 +00:00
Ole Laursen
a656cf8a8b
Add .prefetch_related on liaison list page to reduce the number of DB
...
queries (from 571 to 28)
- Legacy-Id: 6991
2013-12-18 16:30:18 +00:00
Ole Laursen
cb4d5b7c2b
Simplify make_test_data a bit by using the create_person helper for the chair and WG delegate, regularize the naming of those
...
- Legacy-Id: 6990
2013-12-18 16:27:02 +00:00
Ole Laursen
81e032b9e4
Remove unnecessary escapes from another bunch of templates
...
- Legacy-Id: 6989
2013-12-18 16:10:47 +00:00
Ole Laursen
23725f781c
Port secr/drafts/report_id_activity.py away from setup_environ too
...
- Legacy-Id: 6988
2013-12-18 16:02:04 +00:00
Ole Laursen
f02f2ccbfc
Regenerate name fixtures, apparently the indentation of the JSON output has changed
...
- Legacy-Id: 6987
2013-12-18 15:53:15 +00:00
Ole Laursen
e54bd17499
Port from django.core.management.setup_environ to DJANGO_SETTINGS_MODULE
...
- Legacy-Id: 6985
2013-12-18 15:51:11 +00:00
Ole Laursen
f88fb5f9ac
Port meeting fix from shimfree branch
...
- Legacy-Id: 6984
2013-12-18 14:56:37 +00:00
Ole Laursen
0945255452
Fix bug in meeting.helper.get_meeting - somehow managed to skip the
...
clause that makes sure that meetings that have no agenda yet are
skipped
- Legacy-Id: 6983
2013-12-18 14:51:03 +00:00
Ole Laursen
b72742764f
Set ALLOWED_HOSTS (may need some tweaking), add LOGGING setting to
...
enable HTML exception emails to compensate for not carrying the HTML
patch that was applied to Django 1.2
- Legacy-Id: 6982
2013-12-18 14:00:44 +00:00
Ole Laursen
cf61f2b59b
Remove a bunch of unnecessary |escape filter calls, auto-escaping is enabled by default so manual escape is only necessary in few cases
...
- Legacy-Id: 6981
2013-12-18 13:38:13 +00:00
Ole Laursen
b84440b857
MEDIA_ROOT -> STATIC_ROOT - apparently we don't really use MEDIA_ROOT at the moment since all files are handled not through file fields, but through explicit management of their paths
...
- Legacy-Id: 6980
2013-12-18 13:18:58 +00:00
Ole Laursen
2cefdd7410
Add WSGI application to settings to make it use the same application
...
definition as live (it probably doesn't matter at the moment though)
- Legacy-Id: 6979
2013-12-18 13:06:39 +00:00
Ole Laursen
ce3e6c59de
._meta.module_name -> ._meta.model_name
...
- Legacy-Id: 6978
2013-12-18 12:07:04 +00:00
Ole Laursen
896da07311
Disable XViewMiddleware, it has been moved in Django 1.6 and it's not
...
clear whether it's serving a useful purpose
- Legacy-Id: 6977
2013-12-18 12:01:24 +00:00
Ole Laursen
e348600bcb
raw_post_data -> body
...
- Legacy-Id: 6976
2013-12-18 11:52:21 +00:00
Ole Laursen
1dc860236f
Delete ADMIN_MEDIA_PREFIX which is now gone in Django, add a pattern to the static serving so a debug/test server serves the admin static files
...
- Legacy-Id: 6975
2013-12-18 11:45:36 +00:00
Ole Laursen
8c35b3e6da
Fix the send SDO reminder admin template to not rely on adminmedia which is now gone, also fix up the formatting and add a title
...
- Legacy-Id: 6973
2013-12-18 11:18:24 +00:00
Ole Laursen
1df2a37a9f
Remove dead admin templates from when there was an SDOs model
...
- Legacy-Id: 6972
2013-12-18 11:07:39 +00:00
Ole Laursen
8afd3fa5b7
Rewrite wg_menu tag to use simple_tag instead of a full template Node,
...
also fix a bug in the cache apparently not being filled in correctly
- Legacy-Id: 6971
2013-12-18 10:25:59 +00:00
Ole Laursen
e2e6c243a1
Remove the complicated tag processing from ballot_icon, instead just
...
decorate the function with @simple_tag(takes_context=True)
- Legacy-Id: 6970
2013-12-18 10:22:30 +00:00
Ole Laursen
35520c8473
Enable clickjacking prevention middleware
...
- Legacy-Id: 6969
2013-12-18 10:14:47 +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
ea24f5c3bd
Import slugify from django.utils.text (introduced in Django 1.5)
...
- Legacy-Id: 6967
2013-12-18 10:00:58 +00:00
Henrik Levkowetz
ecb5cd6526
Merged in branch/iola/shimfree@6856. This pretty much completes the shim removal. Next step is upgrading Django to 1.6, and then doing some final polishing.
...
- Legacy-Id: 6966
2013-12-17 21:29:05 +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
42ade6273c
Turn on CSRF protection - all forms must from now on have a {% csrf_token %}
...
- Legacy-Id: 6963
2013-12-17 12:50:24 +00:00
Ole Laursen
52a0825985
Take advantage of new include tag that can combine the include with a
...
"with foo=bar" instead of having separate "with" tags
- Legacy-Id: 6962
2013-12-17 11:08:58 +00:00
Ole Laursen
36dd439027
Rewrite ifequal/endifequal template tags to if tags with ==/!=
...
- Legacy-Id: 6961
2013-12-17 10:42:34 +00:00
Ole Laursen
d66ac15fc2
Rewrite a bunch of HttpResponseRedirect + url reverse calls to instead
...
take advantage of the redirect shortcut (introduced in Django 1.1)
- Legacy-Id: 6960
2013-12-17 10:23:42 +00:00
Ole Laursen
72e36bde55
Don't output coverage data if there are test failures
...
- Legacy-Id: 6959
2013-12-17 10:08:12 +00:00
Henrik Levkowetz
a3761a0951
Set version info and settings back to development mode
...
- Legacy-Id: 6958
2013-12-16 22:34:42 +00:00
Henrik Levkowetz
180ad4f405
Set version info to release version 4.84 before branching.
...
- Legacy-Id: 6956
2013-12-16 22:34:39 +00:00
Henrik Levkowetz
db5153b6e8
Merged [6859] from rcross@amsl.com:
...
fixed calls to reverse() to match new url names since code merge
- Legacy-Id: 6954
Note: SVN reference [6859] has been migrated to Git commit 9b06fb9958
2013-12-16 22:33:54 +00:00
Henrik Levkowetz
9ef4b5779e
Merged [6858] from rcross@amsl.com:
...
use correct URL in new IPR notification email
- Legacy-Id: 6953
Note: SVN reference [6858] has been migrated to Git commit e45aec37ac
2013-12-16 22:26:22 +00:00
Henrik Levkowetz
fa1075427a
Merged [6857] from rjsparks@nostrum.com:
...
Script to run from cron to send daily messages to IETF Announce showing the email header field change.
This should be run from Jan 6 to Jan 20, after which point we need to deploy analagous changes to the code that constructs last call announcements.
This is related to bug #811
Commit ready for merge.
- Legacy-Id: 6952
Note: SVN reference [6857] has been migrated to Git commit c500184eee
2013-12-16 22:25:16 +00:00
Henrik Levkowetz
24fb84c7de
Merged [6701] from rjsparks@nostrum.com:
...
Adds pages to show what a given document refers to and what refers to it.
Fixes bug #1194
commit ready for merge
- Legacy-Id: 6951
Note: SVN reference [6701] has been migrated to Git commit d19967ac93
2013-12-16 22:15:52 +00:00
Henrik Levkowetz
e6af776a19
Merged [6672] from rjsparks@nostrum.com:
...
removed requirement to enter a phone number in various places on an IPR disclosure entry form
Fixes bug #1176
- Legacy-Id: 6950
Note: SVN reference [6672] has been migrated to Git commit ac799a9874
2013-12-16 22:08:35 +00:00
Henrik Levkowetz
8b2730a499
Updated agenda test files. Looking forward to moving this to fixtures instead of live data.
...
- Legacy-Id: 6949
2013-12-16 22:08:00 +00:00
Henrik Levkowetz
bf05a61fd9
Import SendQueue from the right place.
...
- Legacy-Id: 6946
2013-12-16 21:58:33 +00:00
Ole Laursen
84a9f49053
mimetype -> content_type (mimetype is deprecated)
...
- Legacy-Id: 6945
2013-12-16 16:53:47 +00:00