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
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
Ryan Cross
8d56e458d9
fix typo in drafts add(). ready for merge
...
- Legacy-Id: 7209
2014-02-05 21:24:59 +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
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
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
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