Commit graph

3930 commits

Author SHA1 Message Date
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
Ole Laursen 516a5fcc92 Port /iesg/agenda/documents.txt to new schema, compose the table in
Python instead of using a template to make the code easier to read
 - Legacy-Id: 6400
2013-10-09 15:55:45 +00:00
Ole Laursen 53c59e56e3 Remove vary_on_cookie on agenda view, it's not needed anymore, Django
already adds the vary: cookie header automatically
 - Legacy-Id: 6399
2013-10-09 12:55:28 +00:00
Ole Laursen be9fd53d55 Remove the ?private thing in /iesg/agenda/, the only use of it appears
to be agenda_package.txt and that file already includes the links that
are enabled by the flag - perhaps it predates the user modeling that
allows ADs and Secretariat to see the links
 - Legacy-Id: 6398
2013-10-09 12:53:13 +00:00
Ole Laursen b99cf963ae Move /iesg/milestones to /iesg/milestones/, apparently the URL (by accident) didn't include the ending slash
- Legacy-Id: 6397
2013-10-09 12:43:45 +00:00
Ole Laursen 55c7c69679 Remove unused secr/ copy of agenda outline template (from iesg/)
- Legacy-Id: 6396
2013-10-09 12:41:59 +00:00
Ole Laursen bd34270cbc Port IESG agenda pages to new schema, add tests for them, move agenda
utilities to agenda.py, fix a couple of things, remove obsolete test
versions of agenda view, add support for viewing future IESG agendas
through /agenda/YYYY-MM-DD/* (useful when testing)
 - Legacy-Id: 6395
2013-10-09 12:40:42 +00:00
Ole Laursen 53ec62a5c9 Fix a bug in the Secretariat telechat menu, "232" -> "s232"
- Legacy-Id: 6394
2013-10-09 12:16:14 +00:00
Ole Laursen 11f3efdec7 Add test of ReviewDecisions
- Legacy-Id: 6380
2013-10-07 17:56:29 +00:00
Ole Laursen 5fe7ce62ff Add timeframe to IESG Review Decisions page
- Legacy-Id: 6348
2013-10-03 11:41:47 +00:00
Ole Laursen 43d4017891 Get rid of some unnecessary queries on IESG review decision page, fix
a couple of issues in the layout
 - Legacy-Id: 6343
2013-10-02 15:50:29 +00:00
Ole Laursen 66e2503e89 Add db_index on DocEvent.time to speed up queries on historical data
- Legacy-Id: 6341
2013-10-02 15:38:26 +00:00
Ole Laursen b552ff31aa Replace the announcement pages with a new page collecting all IESG
review decisions. Add migration to split up iesg_approve/disapprove
events of the form "IESG has approved ... and state has been changed
..." into the approve/disapprove event and a synthesized state change
event. Also regularize the descriptions a bit. This simplifies the
code in the new page.
 - Legacy-Id: 6340
2013-10-02 15:37:44 +00:00
Ole Laursen d9ccff1889 Get rid of the view behind /iesg/ann/0-9+/ (apparently for displaying
ballot text for drafts processed by the IESG) - it has not worked
since the switch to the new schema as it's based on the old numeric
primary keys which we no longer have
 - Legacy-Id: 6313
2013-09-30 12:49:08 +00:00
Ole Laursen 5c6ee01bf7 drafts -> docs in /feed/iesg-agenda/ since we're returning more than
just I-Ds, sort by latest first, limit to documents on current and
future telechats (as the description says) to speed it up, add simple
test of the feed
 - Legacy-Id: 6312
2013-09-30 12:17:38 +00:00
Ole Laursen 52febb2fc0 Fix spelling bug in global[e] test fixtures
- Legacy-Id: 6311
2013-09-30 12:17:15 +00:00
Ole Laursen c191a691e0 Remove "names" fixture from all tests, since it's now loaded once just
after creating the test database through the global test fixture
mechanism - this speeds up multiple tests considerably
 - Legacy-Id: 6305
2013-09-29 17:35:59 +00:00
Ole Laursen f13837ef5f Add support for global test fixtures to avoid loading them for all
tests
 - Legacy-Id: 6304
2013-09-29 17:32:52 +00:00
Ole Laursen 0c0c0c9194 Fix test fixture generation, it wasn't catching new name models not
ending in Name
 - Legacy-Id: 6303
2013-09-29 15:48:44 +00:00
Ole Laursen 37825f2e5e Save the test fixtures as JSON rather than XML, this seems to speed up
the tests by 10-15%
 - Legacy-Id: 6302
2013-09-29 13:31:10 +00:00
Ole Laursen 3701f2ac7d Use Role rather than Email when retrieving roles in wginfo - Role has
a link to both the email and the person (but didn't originally with
the new schema) so is better than the going through the email only, do
a couple of extra cleanups too while at it
 - Legacy-Id: 6301
2013-09-28 21:10:28 +00:00
Ole Laursen c419271d97 Remove (external) permissions app which has been obsolete since the move to the new schema
- Legacy-Id: 6300
2013-09-28 20:00:28 +00:00
Ole Laursen f7ad84ecb9 Remove (external) workflows app which has been obsolete since the move to the new schema
- Legacy-Id: 6299
2013-09-28 19:52:28 +00:00
Ole Laursen e5871284b6 Remove ietfworkflows from mkdiagram
- Legacy-Id: 6298
2013-09-28 19:50:56 +00:00
Ole Laursen 050929a56d Remove ietfworkflows which is now obsolete
- Legacy-Id: 6297
2013-09-28 19:48:48 +00:00
Ole Laursen 8145d688de Remove references to ietfworkflows/urls.py
- Legacy-Id: 6296
2013-09-28 18:57:59 +00:00
Ole Laursen 74966fac88 Fix URL schema of change stream state to use the state type (to be
more in line with the IANA ones), remove debug output, link to the new
change state page from the draft main page
 - Legacy-Id: 6295
2013-09-28 18:54:43 +00:00
Ole Laursen 8c88bc5aec Rewrite change stream state page, moving it to doc/views_draft.py,
port associated tests, make the recommended next states clickable with
Javascript so a standard state change is just two clicks (next state
and save button)
 - Legacy-Id: 6288
2013-09-27 14:19:27 +00:00
Ole Laursen f1e0be1033 Improve the stream state change email a bit, switch to using a
specific message for adoptions with the name of the WG/RG
 - Legacy-Id: 6270
2013-09-26 15:03:55 +00:00
Ole Laursen c508a5672d Reimplement WG/RG adoption of drafts with the new schema, move it to
doc/ together with test and utilities, rewrite the UI to be more in
line with the rest of the edit pages (including the revamped stream
state change UI)
 - Legacy-Id: 6269
2013-09-26 13:14:07 +00:00
Ole Laursen c760b48b38 Make streams_menu tag more robust in the face of "request" missing
from context, this would normally be an error but it can happen if a
404 is returned
 - Legacy-Id: 6268
2013-09-26 13:00:25 +00:00
Ole Laursen 56ea114e31 Fix missing parameter to is_rgdelegate
- Legacy-Id: 6267
2013-09-26 09:48:59 +00:00
Ole Laursen 5ba00a9362 Move stream views to views_stream.py
- Legacy-Id: 6266
2013-09-26 09:48:37 +00:00
Ole Laursen f0eddecf6b Add test for stream management page
- Legacy-Id: 6262
2013-09-25 11:43:23 +00:00
Ole Laursen 525259a84f Remove unused ietfworkflows imports
- Legacy-Id: 6258
2013-09-24 17:34:20 +00:00
Ole Laursen 2e152bbc9c Fix naming bug in streams_menu template tag
- Legacy-Id: 6257
2013-09-24 17:32:41 +00:00
Ole Laursen 8bc5df166b Get rid of unused ietfworkflows import
- Legacy-Id: 6256
2013-09-24 17:28:43 +00:00
Ole Laursen 2d902e28d1 Add stream edit page for setting delegates instead of page in
ietfworkflows, add streams_menu template tag for outputting the
streams menu instead of the one in ietfworkflows, move
base_wgmenu.html and base_leftmenu.html templates to base/ (together
with base/streams_menu.html), get rid of "first" madness in
base/left_menu.html which is now obsolete anyway because we have a
Settings headline which is always first
 - Legacy-Id: 6255
2013-09-24 17:25:10 +00:00
Ole Laursen 5f6f966355 Add stream edit page for setting delegates
- Legacy-Id: 6254
2013-09-24 16:55:23 +00:00
Ole Laursen 210a90e0b4 Remove unused ietfworkflows import
- Legacy-Id: 6253
2013-09-24 16:53:23 +00:00
Ole Laursen 705322f4a1 Add a select_related to role extraction in wginfo to reduce number of
DB queries a bit
 - Legacy-Id: 6247
2013-09-23 10:47:34 +00:00
Ole Laursen b4988b2b45 Make IESG discusses use doc/search/status_columns.html with a quick hack to break dependency on ietfworkflows, remove now unused idrfc/status_columns.html, remove unused iesg/agenda_documents_row_status.html
- Legacy-Id: 6220
2013-09-20 15:55:28 +00:00
Ole Laursen 2e29298d0c Move group charter actions from box and button next to header up to an
edit menu under the ordinary group menu
 - Legacy-Id: 6219
2013-09-20 14:09:30 +00:00
Ole Laursen 5924024513 Swap the arguments to group.has_role so they match the arguments to
the existing has_role
 - Legacy-Id: 6218
2013-09-20 13:46:47 +00:00
Ole Laursen 0eed4ad9e5 Add has_role(role_name, user) utility to group, used like
group.has_role("chair", request.user). Remove the NomCom specific
group utilities, apparently they're not actually used.
 - Legacy-Id: 6217
2013-09-20 11:23:17 +00:00
Ole Laursen e1bd47b509 Add ietf. qualifier to settings import, this fixes a weird bug where
model files apparently get the wrong settings
 - Legacy-Id: 6216
2013-09-20 11:02:06 +00:00
Ole Laursen 019ca2ae03 Merge changes from attic/shimfree into new branch to complete rebasing shimfree on trunk
- Legacy-Id: 6215
2013-09-20 09:48:58 +00:00
Henrik Levkowetz c52efcae8c Set version info and settings back to development mode
- Legacy-Id: 6210
2013-09-19 19:31:46 +00:00
Henrik Levkowetz faf1917062 Set version info to release version 4.72 before branching.
- Legacy-Id: 6208
2013-09-19 19:31:44 +00:00