Commit graph

768 commits

Author SHA1 Message Date
Ole Laursen cadedce023 Port cookies/ away from use of |equal filter, remove |equal filter
- Legacy-Id: 6776
2013-12-02 18:11:01 +00:00
Ole Laursen e9638cb1c2 Port IPR module to new schema, remove some cruft
- Legacy-Id: 6774
2013-12-02 16:34:00 +00:00
Ole Laursen 9457669310 Merge in changes from the old shimfree branch
- Legacy-Id: 6764
2013-11-27 12:55:50 +00:00
Ole Laursen 66bff20847 Remove legacy ballot_json view which has not worked for a while
- Legacy-Id: 6720
2013-11-19 16:07:29 +00:00
Ole Laursen 3a483461a2 Add simple split filter, as the opposite of the built-in join filter
- Legacy-Id: 6710
2013-11-15 12:49:37 +00:00
Robert Sparks d19967ac93 Adds pages to show what a given document refers to and what refers to it.
Fixes bug #1194
commit ready for merge
 - Legacy-Id: 6701
2013-11-11 23:12:53 +00:00
Henrik Levkowetz ba70c3067a Merged [6696] from tterriberry@mozilla.com:
Improve e-mails from replaced-by updates.

Fix an incorrectly-expanded file tag in the subject.
Fixes #1178.
Use a slightly more natural grammatical construct in the message body.
Fixes #1179.
 - Legacy-Id: 6699
Note: SVN reference [6696] has been migrated to Git commit 03896647cc
2013-11-08 18:56:24 +00:00
Henrik Levkowetz 9aefd3dccf Fixed the saving of shepherd writeups for documents in iesg processing without
a stream state (ad-sponsored documents). Fixes issue #1186 and #1187.
 - Legacy-Id: 6697
2013-11-08 16:33:35 +00:00
Timothy B. Terriberry 03896647cc Improve e-mails from replaced-by updates.
Fix an incorrectly-expanded file tag in the subject.
Fixes #1178.
Use a slightly more natural grammatical construct in the message body.
Fixes #1179.
 - Legacy-Id: 6696
2013-11-08 13:09:17 +00:00
Henrik Levkowetz c41bb723b9 Merged [6642] from tterriberry@mozilla.com:
Add 'Track this document' link on drafts.

Fixes #1085.
 - Legacy-Id: 6664
Note: SVN reference [6642] has been migrated to Git commit 0ffa8be8ea
2013-11-06 16:20:46 +00:00
Henrik Levkowetz 27895541a4 Merged [6641] from bartosz.balazinski@interdigital.com:
Added the new version of the shepherd writeup as a comment when it's edited.
The new version works like this:

 -  Any shepherd writeups done before the document is submitted for
    publication are not disclosed in the history.

 -  When the document is submitted for publication the available writeup (if
    available) is added to history.

 -  Any further writeups after the document has been submitted for publication
    are disclosed in the history.
 - Legacy-Id: 6662
Note: SVN reference [6641] has been migrated to Git commit a0a451881b
2013-11-06 16:06:07 +00:00
Henrik Levkowetz 28bc1d2dce Merged [6630] from jmh@joelhalpern.com:
Add document titles to status change request email.  Fixes issue #1069.
 - Legacy-Id: 6648
Note: SVN reference [6630] has been migrated to Git commit bb539aa0c2
2013-11-04 15:49:41 +00:00
Timothy B. Terriberry 0ffa8be8ea Add 'Track this document' link on drafts.
Fixes #1085.
 - Legacy-Id: 6642
2013-11-03 00:26:02 +00:00
Bartosz Balazinski a0a451881b Fix for issue 1121
- Legacy-Id: 6641
2013-11-03 00:15:49 +00:00
Henrik Levkowetz f029c88347 Merged [6629] from tterriberry@mozilla.com:
Allow wgchairs to edit replaces relationships.

This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent.

Fixes #1002
 - Legacy-Id: 6639
Note: SVN reference [6629] has been migrated to Git commit 9ef29a323f
2013-11-02 23:41:51 +00:00
Henrik Levkowetz 7925223ef8 Merged [6622] from rjsparks@nostrum.com:
Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.

Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.

fixes bug #1173
 - Legacy-Id: 6633
Note: SVN reference [6622] has been migrated to Git commit a677a70df3
2013-11-02 23:04:28 +00:00
Joel M. Halpern bb539aa0c2 Add document titles to status change request email. Fixes issue #1069.
- Legacy-Id: 6630
2013-11-02 22:25:15 +00:00
Timothy B. Terriberry 9ef29a323f Allow wgchairs to edit replaces relationships.
This actually allows anyone with can_edit_stream_info permission
to edit the list. This does draft name completion, but does not
currently filter those names for likely replacements. Styling is
also basically non-existent.

Fixes #1002
 - Legacy-Id: 6629
2013-11-02 22:20:58 +00:00
Henrik Levkowetz e32d83939f Merged [6613] from adam@nostrum.com:
Ticket #1153: Fixes IPR disclosures being counted multiple times and counting of \'not yet approved\' IPR disclosures.
 - Legacy-Id: 6623
Note: SVN reference [6613] has been migrated to Git commit b72c8a7cfd
2013-11-02 21:28:19 +00:00
Robert Sparks a677a70df3 Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.

Note to deployer: There is a script to run in patches/fill_in_references.py that does the work of bringing the database up to date. It takes around 10 minutes to complete on a fast development laptop.

fixes bug #1173
 - Legacy-Id: 6622
2013-11-02 21:11:07 +00:00
Robert Sparks e309ff92b3 Don't insert references to self.
Move the data filler from a migration to a standalone script
 - Legacy-Id: 6620
2013-11-02 20:59:43 +00:00
Adam Roach b72c8a7cfd Ticket #1153: Fixes IPR disclosures being counted multiple times and counting of "not yet approved" IPR disclosures.
- Legacy-Id: 6613
2013-11-02 18:42:11 +00:00
Joel M. Halpern 5e00182ade Add the last call expiration date to the document header,
and remove duplicate code for producing the iest state summary.
 - Legacy-Id: 6612
2013-11-02 18:31:13 +00:00
Robert Sparks b18249222b Refines Bill Fenner's regex based search through documents for references.
Populates RelatedDocument with relations for references for each type draft Document.
Replaces these reference relationships with updated copies on draft submission.
Note to deployer: This migration takes around 10 minutes to complete on a fast development laptop.
 - Legacy-Id: 6572
2013-10-30 20:51:11 +00:00
Henrik Levkowetz bf75cd1bef Added a template filter to do required escaping in iCalendar pages.
- Legacy-Id: 6533
2013-10-29 22:20:51 +00:00
Ole Laursen 10dceef26d Refactor IESG agenda pages, put the agenda structure in a helper function in agenda.py, build the agenda up around this structure, and reuse this everywhere instead of duplicating the structure in various templates and the JSON view - this also fixes a couple of minor bugs where the copy-pasted copies were not entirely in sync
- Legacy-Id: 6454
2013-10-16 13:07:09 +00:00
Ole Laursen 1c8c87f88a Remove search for "IESG has approved and state has been changed to"
from state change doc event searches, these have been split up by a
migration and no longer exist
 - Legacy-Id: 6424
2013-10-11 13:19:07 +00:00
Ole Laursen 75a2c9ba0d Remove idwrapper compatibility code from ballot_icon.py
- Legacy-Id: 6423
2013-10-11 13:17:32 +00:00
Ole Laursen b3ed153015 Get rid of old in_group template tag, it's been superseded by has_role
- Legacy-Id: 6422
2013-10-11 13:13:23 +00:00
Ole Laursen b63c622564 Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit
 - Legacy-Id: 6421
2013-10-11 13:07:16 +00:00
Ole Laursen dcfe368f74 Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit
 - Legacy-Id: 6419
2013-10-11 13:05:33 +00:00
Henrik Levkowetz 697dcc450a If an exception is raised earlier in field validation, the
position field may not be set when we get to this point and
try to retrieve the value of a different field than the one
we're processing. Don't cause a new exception in that case.
 - Legacy-Id: 6416
2013-10-11 12:31:50 +00:00
Ole Laursen bfde86f52b Add support for status change in Document.get_file_path, ideally
someone would clean up the directory structure and we would transition
to something simpler
 - Legacy-Id: 6409
2013-10-10 15:54:32 +00:00
Ole Laursen 0860342e34 Port /iesg/agenda/documents/ to new schema, fix problem with rows
being colored for ADs with their position even if a ballot icon is not
shown (issue #1128)
 - Legacy-Id: 6405
2013-10-10 10:31:28 +00:00
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
Robert Sparks 7c4cf7002f Allow the secretariat and ads to change the title of a status change document.
Fixes bug 1141
Commit ready to merge.
 - Legacy-Id: 6361
2013-10-03 22:36:57 +00:00
Robert Sparks faabcb8328 Send email to the secretariat when a status change document is put directly into the last-call-requested state.
Fixes bug 1139.

Commit ready for merge.
 - Legacy-Id: 6359
2013-10-03 21:58:42 +00:00
Henrik Levkowetz c78be852a5 Added a new WG (ietf stream) tag slug.
- Legacy-Id: 6349
2013-10-03 11:48:56 +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
Henrik Levkowetz e4f4467725 Changed tests to use our own subclassed TestCase, and changed almost all fixtures to be perma_fixtures.
- Legacy-Id: 6320
2013-09-30 20:36:20 +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 050929a56d Remove ietfworkflows which is now obsolete
- Legacy-Id: 6297
2013-09-28 19:48:48 +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 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 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 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 44a8eb207b Removed the old ad documents page, and it's view function, and put in a redirect from the temporary /ad2/ url to the /ad/ url.
- Legacy-Id: 6204
2013-09-19 18:24:23 +00:00
Henrik Levkowetz e09667122a Added the ability to search for documents from a certain stream to the main document search form.
- Legacy-Id: 6201
2013-09-19 18:16:10 +00:00
Ole Laursen a871d6e19e Remove wgchairs app, all of its functionality is now superceded by wginfo/ and other recent developments in doc/
- Legacy-Id: 6198
2013-09-19 15:22:59 +00:00
Henrik Levkowetz 11c1b0738a Cleaned up the ipr count code in doc/views_search.py a bit more.
- Legacy-Id: 6162
2013-09-18 17:43:09 +00:00
Henrik Levkowetz 11e56aa5b2 Modified the code which accumulates ipr disclosures associated with a document, shown as an IPR count in search results. The previous code had two deficiencies: it could count some IPR disclosures twice, and it also included withdrawn and pending disclosures. The current count matches the IPR search results better.
- Legacy-Id: 6158
2013-09-16 20:55:24 +00:00
Henrik Levkowetz 71f85f96c7 Merged in a fix from rjsparks@nostrum.com for incorrect IANA notification email addresses.
- Legacy-Id: 6152
2013-09-13 22:23:55 +00:00
Ole Laursen 95fdfb5d8a Add tags for streams to state help
- Legacy-Id: 6134
2013-09-10 16:15:18 +00:00
Ole Laursen 026ed3f8df Add statehelp template filter for outputting a little help icon for a
state with a tooltip and link to the description
 - Legacy-Id: 6133
2013-09-10 16:13:59 +00:00
Henrik Levkowetz 9dc13aa8f2 Merged in personal/rjs/r6117-pubreq:
- Made Publication Request (for documents from IETF working groups) an
  explicit action rather than a side-effect.

- Simplified the working group state edit form.

- Added hints to the WG state edit form to use the document's main page to
  request publication.

- If a document is moved into IESG processing directly by the secretariat or
  an AD (old processing path), set working group state accordingly.
 - Legacy-Id: 6120
2013-09-09 19:29:56 +00:00
Henrik Levkowetz 2a2389d17f Merged in branch/iola/shimfree@6083. This cleans up and moves relevant code from idrfc/ to doc/. There should now only be a bit of old wrapper code left in idrfc; that will go away when the remaining models which use it are cleaned up.
- Legacy-Id: 6117
2013-09-09 17:45:36 +00:00
Henrik Levkowetz 38b0a59ba3 Merged personal/rjs/v4.70@6042:
* Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete.

  * Brought search results against WGs and document titles into consistency with results from searching for individual documents

  * Added the IPR count to the link on the documents main page (when not zero)

  * Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias? lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument? objects.

  * Added getting the DocAlias? with the same name to Document

  * Added getting related IPR disclosures (as described in the first bullet) to Document

  * Simplified ipr/related.py

  * Removed the use of DraftLikeDocAlias? and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias? and IprDocAlias? directly.

  * Removed dead code from ipr/search.py

  * Removed the special handling of WG 2000 from ipr/search.py 

  This fixes bug #1071
 - Legacy-Id: 6083
2013-09-02 18:34:54 +00:00
Henrik Levkowetz d6471397ef Fixed bug in previous commit, for case where iesg_state is None.
- Legacy-Id: 6082
2013-08-30 12:32:11 +00:00
Henrik Levkowetz ffb4581008 Fixed regression in display of IESG state; added back substate information. Fixes issue #1117.
- Legacy-Id: 6081
2013-08-30 12:21:36 +00:00
Henrik Levkowetz 37e69a02c6 Changed the order of the files diffed in the draft diff links on the history page. Fixes issue #1114.
- Legacy-Id: 6077
2013-08-28 10:36:32 +00:00
Ole Laursen 2a85572777 Add status-change to state_help framework, remove last traces of former framework
- Legacy-Id: 6057
2013-08-14 16:16:52 +00:00
Ole Laursen d2b9adf3cb Move ietf_filters templatetag from idtracker/ to doc/
- Legacy-Id: 6053
2013-08-14 15:11:24 +00:00
Ole Laursen 6ac0920af0 Move idrfc/ templates to doc/ and subdirectories in doc/, move ported ballot_icon template tag, delete dead code
- Legacy-Id: 6052
2013-08-14 14:10:46 +00:00
Ole Laursen 742dbace24 Move views and templatetags from idrfc/ to doc, the I-D specific views
go into views_draft.py and tests in tests_draft.py; what's left in
idrfc is wrapper code, templates and the ballot_icon templatetag
 - Legacy-Id: 6051
2013-08-14 10:32:25 +00:00
Ole Laursen 2cf79bb04c Move update_telechat from idrfc.utils to doc.utils, port remaining
code to using log_state_changed from doc.utils, remove idrfc/utils.py
 - Legacy-Id: 6050
2013-08-13 16:44:07 +00:00
Ole Laursen de7ae60985 Move markup_txt.py from idrfc/ to utils/
- Legacy-Id: 6046
2013-08-13 14:33:22 +00:00
Robert Sparks a593fec06e * Made reporting IPR consistant across document searches, IPR searches, AD document queues, last calls, and agendas. All these points now report on the document(s) being directly queried, and the documents those transitively replace or obsolete.
* Brought search results against WGs and document titles into consistency with results from searching for individual documents
* Added the IPR count to the link on the documents main page (when not zero)
* Built on Henrik's reimplementation of all_related_*, making the *_related_* functions return DocAlias lists consistently, and added corresponding _relations_ functions to get lists of actual RelatedDocument objects.
* Added getting the DocAlias with the same name to Document
* Added getting related IPR disclosures (as described in the first bullet) to Document
* Simplified ipr/related.py
* Removed the use of DraftLikeDocAlias and IETFWG from ipr/search.py. Retooled the various search functions and templates to use DocAlias and IprDocAlias directly.
* Removed dead code from ipr/search.py
* Removed the special handling of WG 2000 from ipr/search.py

Fixes bug 1071
 - Legacy-Id: 6042
2013-08-12 21:41:57 +00:00
Henrik Levkowetz 9f998e5bbc Tweaked code to correct access to document metadata and actions, adding RGs to the groups and group secretaries to the roles which are given access.
- Legacy-Id: 5935
2013-07-31 17:11:19 +00:00
Henrik Levkowetz 8b1b38d57e Added group secretaries to those authorise to edit group document meta-information.
- Legacy-Id: 5933
2013-07-31 16:07:16 +00:00
Henrik Levkowetz b090f1e92c Merged [5903] from adam@nostrum.com:
Added tooltip capability to document tabs, and tooltips for disabled IESG Evaluation/Review tab.  Fixes bug #448.
 - Legacy-Id: 5931
Note: SVN reference [5903] has been migrated to Git commit d87379c177
2013-07-31 14:16:37 +00:00
Henrik Levkowetz 3decaf3300 Added back the 'Request Publication' action (regression loss) on draft pages for the non-ietf streams.
- Legacy-Id: 5921
2013-07-30 14:56:25 +00:00
Henrik Levkowetz 12bd97c7cf Added convenience methods to the Document class to recursively retrieve all forward / reverse relationship of a kind or set of kinds.
- Legacy-Id: 5912
2013-07-29 13:31:18 +00:00
Henrik Levkowetz 7a131cd777 Fixed the handling of help pages for doc states.
- Legacy-Id: 5911
2013-07-29 13:25:10 +00:00
Adam Roach d87379c177 Fixed bug #448 -- added tooltip capability to document tabs
- Legacy-Id: 5903
2013-07-27 14:25:01 +00:00
Henrik Levkowetz 9d2db7c6e4 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5884
2013-07-25 19:44:44 +00:00
Henrik Levkowetz a055370da1 Removed debug statement.
- Legacy-Id: 5883
2013-07-25 19:29:05 +00:00
Henrik Levkowetz 75fa9bb0e4 Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5882
2013-07-25 19:26:14 +00:00
Henrik Levkowetz 5eac4a86ce Additional fix for diff regression: make the RFC part of the version list.
- Legacy-Id: 5881
2013-07-25 19:24:47 +00:00
Henrik Levkowetz 6a2ae39913 Fixed a regression: restore diff pane in history page for RFCs.
- Legacy-Id: 5880
2013-07-25 18:52:24 +00:00
Henrik Levkowetz 3c4bee32e5 Fixed a regression: display of full draft/rfc text now again obeys the full_draft cookie setting.
- Legacy-Id: 5879
2013-07-25 18:29:37 +00:00
Henrik Levkowetz cbfe489ff5 Merged in more shim-layer removals from olau@iola.dk
(-r5465:HEAD from branch/iola/shimfree).  Copying relevant
commit messages here:

 - Deleted dead code in many places.

 - Renamed id-something to draft-something, make the "is
   this eligible for expiration" logic clearer

 - Added a name for IPR search URL

 - Revamped the ballot popup view

 - URL reversed the IPR search link instead of hardcoding it

 - Cleaned up search views and remove dead code, port them to the new DB
   schema, hack related views in iesg/ and wginfo/ to use the new search
   interfaces, avoid camelCase in search GET parameters (with
   backwards-compat fallback), add some simple search unit tests, remove
   caching from views_search.py index pages as they're now pretty fast to
   generate, rewrite ballot popup JS, regularize some CSS classes to use
   hyphen-notation rather than camelCase, move some of the search
   templates to doc/.

   idrfc/ now mostly contains some wrapper code still in use by other
   subdirs, some ported code not yet moved, and dead code.

 - Fixed output bug in test crawler and print referrer upon errors so it's
   easier to figure out where a link came from

 - Added /doc/in-last-call/ to crawler, report original page as referrer in
   a redirect chain rather than intermediate URL

 - Ported idindex to new schema, speed them up, add tests, refactor index
   page in views_search to share code with the text index file, get rid
   of some special-case idindex filters from ietf_filters, move
   "/drafts/" redirects to a file in /doc/

 - Ported /idtracker/status/ and /idtracker/status/last-call/ overview of
   drafts in IESG process to new schema in /doc/iesg/ and
   /doc/iesg/last-call/

 - Added redirects for all of /idtracker/*, removed all view code and other
   dead code from idtracker/

 - Removed the idtracker sitemap indexing drafts - in its current form,
   it adds nothing of value to the HTML-based /doc/all/ view, and it's
   pretty slow

 - Ported idtracker feeds to new schema, move them to doc/, cleaned up
   idtracker/ - only templatetags/ietf_filters and proxy code is left
 - Legacy-Id: 5836
2013-07-17 20:52:39 +00:00
Henrik Levkowetz 68b05b609a Various fixes due to clear up tree conflicts and other bugs resulting from
the [5830] merge.
 - Legacy-Id: 5834
Note: SVN reference [5830] has been migrated to Git commit e678659b56
2013-07-16 14:02:43 +00:00
Henrik Levkowetz e678659b56 Merged in a lot of shim-layer removals from olau@iola.dk
(-r5194:5465 from branch/iola/shimfree).  Copying relevant
commit messages here:

  - Removed .related many to many relationship, it's not really useful
    since we always have to restrict on the relationship type anyway,
    instead add two helpers for doing the necessary queries (in both
    directions)

  - Added migration for transforming the .desc on the new_revision events
    into something more akin to what is actually shown in the history page

  - Added migration for blanking IESG notes that just consist of "RFC
    XXXX", these have been superfluous for some time

  - Grant stream chairs access to changing the stream on a draft

  - Hacked the format_history_text filter to be less weird, using the same
    formatting for snippets and full text, also link up legacy ballot set
    events

  - Moved the decoraters + utilities to new ietfauth/utils.py file

  - Added simple helper to Email to identify invalid email addresses (from
    legacy author entries)

  - Used new new_revision .desc format for when drafts are submitted

  - Improved the looks of the button class by adding extra contrast and a
    linear gradient. Currently the gradient is only visible in fairly
    recent browsers.

  - Rewrote draft and RFC tabs in terms of the new schema, porting
    write-up and history tabs as well

  - Fixed two bugs in RFC Editor syncing: make sure documents we don't know
    beforehand get a "draft" type and make sure individually submitted
    drafts get the type="individ" group instead of NULL

  - Made the CSS-styled button feel a bit nicer to use by flattening the
    active state, also introduce some temporary styles until browsers
    catch up with the standard syntax

  - Added migrations for fixing 1) a dummy RFC entry, 2) three stand-alone
    RFCs that didn't get their doc.type set, 3) a big bunch of historic
    stand-alone RFCs that have doc.group=None - set these to the
    individual submission "none" group for the time being so the view code
    doesn't have to deal with a special case.

    In some cases this is wrong since there actually was a WG associated
    but unfortunately fixing them properly requires detective work
    (probably parsing the RFCs) and in at least some cases recreating
    historic WGs. In case someone ends up doing this, the documents to
    check can still be found with

    Document.objects.filter(name__startswith="rfc", group__type="individ")
    since there are almost no new RFCs that didn't went through the I-D
    process.

  - Merged the I-D and RFC views by showing I-D information on RFCs too.
    I-Ds that have been published as RFCs redirect to the RFC URL. Also
    support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX.

  - Fixed revision augmentation so events after RFC publication gets a "RFC"
    designation

  - Fixed a bug with tabs not using provided name but rather doc.name

  - Displaying draft-iesg state rather than doc.friendly_state as IESG state,
    also show a notice that the IESG state refers to post-RFC processing
    if it does, like the old separate RFC page did

  - Fixed the RFC number doc.note migration to catch combined "RFC XXX; BCP
    XXX" notes too, use the opportunity to remove inserted HTML tags from
    notes and rely on linebreaksbr filter instead (the other thing was a
    left-over from the Perl days), update the various uses of the note to
    reflect that

  - Refactored slightly to make views_doc.py independent of other idrfc code

  - Moveed idrfc/views_doc.py to doc/ with associated templates, replace the
    somewhat fragile simple URL tests for views_doc.py with ordinary unit
    tests. The new tests are still fairly basic but at least test more
    than the URL tests did.

  - Made sure RFC's (and BCP/STD/FYI) are stored as RFC123 instead of
    RFC0123 in the alias table with a new migration and a change to the
    RFC Editor sync, this in turn makes /doc/std1/ do the right thing

  - Now /doc/std1/ works, we can actually do a local link in
    urlize_ietf_docs rather than linking to the tools.ietf.org server

  - Fixed history text formatter: sanitize HTML before adding linebreaks and
    non-breaking spaces, this cuts the time to render a history page with
    long comments in half

  - Added a test crawler that walks through the crawlable part of the site,
    reporting errors and slow pages

  - Got rid of initial "No record" positions when showing old positions,
    it's just noise

  - Added a .select_related() to the document main tab to reduce the number
    of DB queries, unfortunately it seems it doesn't really help with
    Django 1.2.x due to a bug (Document inherits from DocumentInfo which
    makes things a bit more complicated)

  - Introduced a simple cache in doc.get_state so repeated reads don't
    cause a DB query

  - Cleaned up the search code in preparation for removal of the shim-layer;
    use a static button and don't send extraneous GET parameters

  - Removed dead code in several places
 - Legacy-Id: 5830
2013-07-15 20:55:24 +00:00
Henrik Levkowetz 1aacb9fa45 Save document before set_state, to maintain database consistency.
- Legacy-Id: 5820
2013-07-14 14:52:00 +00:00
Henrik Levkowetz 1d7218df94 Save document before set_state, to maintain database consistency.
- Legacy-Id: 5819
2013-07-14 14:41:01 +00:00
Robert Sparks a741642717 Added editing last call messages, requesting, issuing and tracking IETF LCs to status-change documents
Added a Cancel button to the form that allows editing the relations for status-change documents
Added instructions to the agenda section 3.3

This adds states to status-change- documents and has a migration that must be applied.

This fixes bug #1039
 - Legacy-Id: 5770
2013-06-01 21:01:45 +00:00
Henrik Levkowetz bd0c07290a Merged in branch/iola/milestones, which provides datatracker support for management of WG milestones.
- Legacy-Id: 5739
2013-05-15 22:07:23 +00:00
Ole Laursen 7892e29036 Port idtracker feeds to new schema, move them to doc/, clean up
idtracker/ - only templatetags/ietf_filters and proxy code is left
 - Legacy-Id: 5643
2013-04-11 14:20:42 +00:00
Ole Laursen ec920d5a83 Add redirects for all of /idtracker/*, remove all view code and other
dead code from idtracker/
 - Legacy-Id: 5640
2013-04-11 11:54:35 +00:00
Ole Laursen 4db36b0fbc Add a generic state help page, make provisions for displaying
IESG I-D states in it
 - Legacy-Id: 5635
2013-04-10 16:11:27 +00:00
Ole Laursen 3d1eb07afe Port idindex to new schema, speed them up, add tests, refactor index
page in views_search to share code with the text index file, get rid
of some special-case idindex filters from ietf_filters, move
"/drafts/" redirects to a file in /doc/
 - Legacy-Id: 5634
2013-04-10 11:48:07 +00:00
Henrik Levkowetz 0a76a26ed7 Fixed the additional nit mentioned in issue #974 better. Together with earlier commits, this fixes #974.
- Legacy-Id: 5632
2013-04-08 20:21:09 +00:00
Henrik Levkowetz 7a98fff79c Merged [5476] from rjsparks@nostrum.com:
* Added a document type for changing the publication status of other documents, and the UI for manipulating them.
* Added charters, conflict reviews, and status changes to the AD's \'My Documents\' page
* Improved the presentation of all document types on the Agenda, Future Telechats, Scribe and Moderator package pages
* Made the reverse name for document relationships explicit rather than deriving them from forward names
* Added a way to get to the underlying Document (when it exists) from an RfcWrapper
* Unified several common forms used by different document types
 - Legacy-Id: 5629
Note: SVN reference [5476] has been migrated to Git commit 10b4f7a4dc
2013-04-07 19:11:18 +00:00
Henrik Levkowetz 7ac4113751 Import math as needed. Related to [5626] and issue #974.
- Legacy-Id: 5628
Note: SVN reference [5626] has been migrated to Git commit fb1df9e2eb
2013-04-07 17:10:19 +00:00
Henrik Levkowetz f3833e1d17 Fixed another issue with the ballot counts (unreachable code). See issue #974.
- Legacy-Id: 5627
2013-04-05 14:07:59 +00:00
Henrik Levkowetz fb1df9e2eb Fixed the ballots needed count error in two more places. See issue #974.
- Legacy-Id: 5626
2013-04-05 14:06:13 +00:00
Henrik Levkowetz b183273c72 Add new tag 'rev-wg' to the list of valid annotation tags for the ietf stream. Note: This list and those on nearby lines needs to be refactored into a table, instead of sitting in the code.
- Legacy-Id: 5623
2013-04-05 11:19:35 +00:00
Ole Laursen e94d1df549 Clean up search views and remove dead code, port them to the new DB
schema, hack related views in iesg/ and wginfo/ to use the new search
interfaces, avoid camelCase in search GET parameters (with
backwards-compat fallback), add some simple search unit tests, remove
caching from views_search.py index pages as they're now pretty fast to
generate, rewrite ballot popup JS, regularize some CSS classes to use
hyphen-notation rather than camelCase, move some of the search
templates to doc/.

idrfc/ now mostly contains some wrapper code still in use by other
subdirs, some ported code not yet moved, and dead code.
 - Legacy-Id: 5611
2013-04-04 13:42:57 +00:00
Ole Laursen 5a1a2b4f65 Revamp the ballot popup view
- Legacy-Id: 5609
2013-04-04 13:26:08 +00:00
Joel M. Halpern fe13ee8dfa Repair the ballot requirements string
- Legacy-Id: 5516
2013-03-09 18:30:29 +00:00
Henrik Levkowetz 2f3476690f In order that document states (which may be used by old documents) should not need to be removed when state machines change and states go out of use, all document states have a 'used' field. The code which accesses the state fields have not been requiring that used=True for the states returned, which is an error. Fixed this by adding 'used=True' to all State.objects.get() and State.objects.filter() call where it's relevant.
- Legacy-Id: 5486
2013-03-05 23:24:41 +00:00
Robert Sparks 10b4f7a4dc * Added a document type for changing the publication status of other documents, and the UI for manipulating them.
* Added charters, conflict reviews, and status changes to the AD's "My Documents" page
* Improved the presentation of all document types on the Agenda, Future Telechats, Scribe and Moderator package pages
* Made the reverse name for document relationships explicit rather than deriving them from forward names
* Added a way to get to the underlying Document (when it exists) from an RfcWrapper
* Unified several common forms used by different document types
 - Legacy-Id: 5476
2013-03-01 15:47:51 +00:00
Robert Sparks 33e2a0766e Repairing migration merge conflict
- Legacy-Id: 5423
2013-02-04 02:34:01 +00:00
Robert Sparks 8a7c5ac977 All documents show on the AD status page now
- Legacy-Id: 5422
2013-02-04 02:24:14 +00:00
Robert Sparks c67661311f Improved validaiton of status change document name
added the ability to start a status change when looking at an RFC (populating the start from accordingly)
Made changes and proposed changes show on the RFC pages
 - Legacy-Id: 5330
2013-01-28 16:25:42 +00:00
Robert Sparks 589ff698ee Merge forward complete
- Legacy-Id: 5328
2013-01-24 21:28:27 +00:00
Ole Laursen 4b312de464 Introduce a simple cache in doc.get_state so repeated reads don't
cause a DB query
 - Legacy-Id: 5314
2013-01-21 14:01:33 +00:00
Ole Laursen 06f4ed4cf3 Add a .select_related() to the document main tab to reduce the number
of DB queries, unfortunately it seems it doesn't really help with
Django 1.2.x due to a bug (Document inherits from DocumentInfo which
makes things a bit more complicated)
 - Legacy-Id: 5313
2013-01-21 12:27:26 +00:00
Ole Laursen ab6a7f85c0 Get rid of initial "No record" positions when showing old positions,
it's just noise
 - Legacy-Id: 5312
2013-01-21 11:54:56 +00:00
Ole Laursen 9bcc4a9f3d Remove ballot.tsv view and comment out the ballot.json view in urls.py
- Legacy-Id: 5299
2013-01-18 13:54:33 +00:00
Ole Laursen 7998371ace Make sure RFC's (and BCP/STD/FYI) are stored as RFC123 instead of
RFC0123 in the alias table with a new migration and a change to the
RFC Editor sync, this in turn makes /doc/std1/ do the right thing
 - Legacy-Id: 5296
2013-01-18 13:47:31 +00:00
Ole Laursen accf6d4470 Move idrfc/views_doc.py to doc/ with associated templates, replace the
somewhat fragile simple URL tests for views_doc.py with ordinary unit
tests. The new tests are still fairly basic but at least test more
than the URL tests did.
 - Legacy-Id: 5295
2013-01-18 13:17:00 +00:00
Ole Laursen 1a3aa3b443 Refactor slightly to make views_doc.py independent of other idrfc code
- Legacy-Id: 5294
2013-01-18 10:32:05 +00:00
Ole Laursen ce081cb31d Fix the RFC number doc.note migration to catch combined "RFC XXX; BCP
XXX" notes too, use the opportunity to remove inserted HTML tags from
notes and rely on linebreaksbr filter instead (the other thing was a
left-over from the Perl days), update the various uses of the note to
reflect that
 - Legacy-Id: 5289
2013-01-17 17:10:19 +00:00
Ole Laursen 188c619635 Display draft-iesg state rather than doc.friendly_state as IESG state,
also show a notice that the IESG state refers to post-RFC processing
if it does, like the old separate RFC page did
 - Legacy-Id: 5288
2013-01-17 16:02:50 +00:00
Ole Laursen 5efcc5fbef Fix revision augmentation so events after RFC publication gets a "RFC"
designation
 - Legacy-Id: 5286
2013-01-17 15:39:57 +00:00
Ole Laursen c0ecb78761 Merge the I-D and RFC views by showing I-D information on RFCs too.
I-Ds that have been published as RFCs redirect to the RFC URL. Also
support alias URLs so e.g. /doc/bcpXXXX redirects to /doc/rfcXXXX.
 - Legacy-Id: 5285
2013-01-17 13:28:42 +00:00
Ole Laursen a6a0596be6 Add migration for fixing 1) a dummy RFC entry, 2) three stand-alone
RFCs that didn't get their doc.type set, 3) a big bunch of historic
stand-alone RFCs that have doc.group=None - set these to the
individual submission "none" group for the time being so the view code
doesn't have to deal with a special case.

In some cases this is wrong since there actually was a WG associated
but unfortunately fixing them properly requires detective work
(probably parsing the RFCs) and in at least some cases recreating
historic WGs. In case someone ends up doing this, the documents to
check can still be found with

Document.objects.filter(name__startswith="rfc", group__type="individ")

since there are almost no new RFCs that didn't went through the I-D
process.
 - Legacy-Id: 5284
2013-01-17 13:00:36 +00:00
Ole Laursen aa70cffe73 Rewrite draft and RFC tabs in terms of the new schema, porting
write-up and history tabs as well
 - Legacy-Id: 5214
2013-01-16 14:57:01 +00:00
Ole Laursen 4624f4a31c Add migration for blanking IESG notes that just consist of "RFC
XXXX", these have been superfluous for some time
 - Legacy-Id: 5207
2013-01-16 14:20:20 +00:00
Ole Laursen e8daf2fbdf Add migration for transforming the .desc on the new_revision events
into something more akin to what is actually shown in the history page
 - Legacy-Id: 5206
2013-01-16 14:17:07 +00:00
Ole Laursen 6e45e5e17b Remove .related many to many relationship, it's not really useful
since we always have to restrict on the relationship type anyway,
instead add two helpers for doing the necessary queries (in both
directions)
 - Legacy-Id: 5205
2013-01-16 14:15:18 +00:00
Ole Laursen 6e89f3b606 Merge changes from old milestones branch
- Legacy-Id: 5198
2013-01-15 16:45:19 +00:00
Henrik Levkowetz 1fbcd783f3 Merged branch/iola/statesync up to @5118 to trunk.
- Legacy-Id: 5147
2012-12-20 20:32:03 +00:00
Ole Laursen b19f6d8060 Merge in milestones branch
- Legacy-Id: 5091
2012-12-03 14:36:30 +00:00
Ole Laursen 6c91e93886 Allow State.next_states to be blank so the admin doesn't barf
- Legacy-Id: 5023
2012-11-07 14:57:04 +00:00
Ole Laursen 9b73aa30b9 Add migration for DeletedEvent
- Legacy-Id: 5022
2012-11-07 14:55:58 +00:00
Ole Laursen 730cd6056e Add DeletedEvent for storing redacted events
- Legacy-Id: 5021
2012-11-07 14:55:39 +00:00
Ole Laursen a77b2ae0ab Add missing admin entries for StateDocEvent and ConsensusDocEvent
- Legacy-Id: 5006
2012-11-05 13:32:31 +00:00
Henrik Levkowetz 5eeb670b28 Merged [4909] from rjsparks@nostrum.com:
Reimplemented clear_ballot to close the existing ballot and create a new one. Changed the all_positions code to only return synthetic no-positions for current ADs when a ballot is actually open
 - Legacy-Id: 4962
Note: SVN reference [4909] has been migrated to Git commit 2e6caa21b1
2012-10-30 12:07:10 +00:00
Henrik Levkowetz 8493ce7e38 Merged [4885] from rjsparks@nostrum.com:
refactored close_open_ballots, creating a way to close one abllot at a time. rewrote the clear ballot code to close each open ballot and open a new one
 - Legacy-Id: 4960
Note: SVN reference [4885] has been migrated to Git commit b3bdbc9506
2012-10-30 12:06:15 +00:00
Henrik Levkowetz 6e4d27ca5b Added a management command to generate bibxml files for drafts. It's not fully cooked yet, as it needs to differentiate between documents which are currently drafts, and those that have been published as RFCs, but the basics are there.
- Legacy-Id: 4953
2012-10-25 21:18:06 +00:00
Henrik Levkowetz 0efc882252 Merged [4873] from rjsparks@nostrum.com:
Includes the conflict-review document contents in the email sent with the results of the conflict review.
Fixes bug #883
 - Legacy-Id: 4944
Note: SVN reference [4873] has been migrated to Git commit d6579c63e6
2012-10-21 21:02:03 +00:00
Ole Laursen e87b8483e5 Add migration script for setting the group on IAB stream documents to
IAB and IRTF stream documents to the corresponding RG (if it exists),
instead of keeping it as individual submission
 - Legacy-Id: 4911
2012-10-11 15:26:21 +00:00
Robert Sparks 2e6caa21b1 Reimplemented clear_ballot to close the existing ballot and create a new one. Changed the all_positions code to only return synthetic no-positions for current ADs when a ballot is actually open
- Legacy-Id: 4909
2012-10-10 15:48:34 +00:00
Ole Laursen a8671798fd Return None explicitly rather than implicitly
- Legacy-Id: 4886
2012-09-28 14:49:37 +00:00
Robert Sparks b3bdbc9506 refactored close_open_ballots, creating a way to close one abllot at a time. rewrote the clear ballot code to close each open ballot and open a new one
- Legacy-Id: 4885
2012-09-27 21:41:11 +00:00
Henrik Levkowetz 27186d111e Added a docstring note about the convention for when save_*_in_history() shoudl be called.
- Legacy-Id: 4883
2012-09-27 10:03:16 +00:00
Robert Sparks d6579c63e6 Includes the conflict-review document contents in the email sent with the results of the conflict review.
Fixes bug #883
 - Legacy-Id: 4873
2012-09-20 19:35:50 +00:00
Ole Laursen 79a16d913b Add order on IANA Action states
- Legacy-Id: 4871
2012-09-20 14:16:08 +00:00
Ole Laursen 07490fcb83 Add new IANA states, add consensus event, add a state change event,
add migrations for these that also clean up the RFC Editor states a
little given the recent changes
 - Legacy-Id: 4846
2012-09-17 10:00:56 +00:00
Robert Sparks 33e9663b0e Send email to IANA and the IESG when entering IESG evaluation of an RFC5742 conflict review
- Legacy-Id: 4833
2012-09-07 15:39:37 +00:00
Henrik Levkowetz c245f6a020 Make .ballot_open() available on DocumentInfo instead of on Document, too.
- Legacy-Id: 4807
2012-08-24 08:13:33 +00:00
Henrik Levkowetz 7c78ed81ef Make .active_ballot() available on DocumentInfo instead of on Document, to make charter history snapshots work.
- Legacy-Id: 4803
2012-08-23 10:08:41 +00:00
Henrik Levkowetz c90a26ca50 Merged [4772] from rjsparks@nostrum.com:
Liasion Manager:
* Patch from Yaco to avoid resetting the From field when changing other items on the form
* Gave the secretariat the ability to find/approve any unapproved liaisons
* Changed all the email code to use ietf.mail.utils (and removed the fake-mail concept)

Charter documents and the Agenda pages:
* Added charter documents to iesg/agenda and iesg/agenda/documents
* Synced the ordering of drafts on iesg/agenda and iesg/agenda/documents
* Allow setting a responsible AD for charter documents
* Changed the UI of the charter page to use editlink for changing attributes and buttons for actions (to align with drafts and conflict-reviews)

Moderator package:
* Refactor: Simplified access to the current BallotDocEvent from a Document
* Added functions to BallotDocEvents? to faciliate access to BallotPositionDocEvents?, both for all positions, and current AD postions.
* Updated the moderator package to use the Documents from _agenda_data.
* Added a filter to assist with rendering the moderator package.
* Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).

Cleanup from codesprint:
* Removed some duplication between doc/util and doc/models by moving things into doc/models
* Do not show non-empty discuss text when the ballot position is not blocking
* Added a migration to update non-blocking ballot positions that have non-empty discuss text


DEPLOYMENT NOTES
Please be aware that migration step will take a few minutes to complete.

Fixes bug 865
 - Legacy-Id: 4780
Note: SVN reference [4772] has been migrated to Git commit e5c3a5adc5
2012-08-22 12:34:55 +00:00
Henrik Levkowetz 9bde5b91d6 Added support for conflrev documents based on branch /personal/rcross/v4.32@4722, but tweaked to return only the directory, not the full directory+name+ext path, in order to behave the same way as for other document types.
- Legacy-Id: 4779
2012-08-22 11:26:50 +00:00
Robert Sparks 87ebddd0ba Simplified access to current BallotDocevent from a Document.
Added functions to BallotDocEvents to faciliate access to BallotPositionDocEvents, both for all positions, and current AD postions.
Updated the moderator package to use the Documents from _agenda_data.
Added a filter to assist with rendering the moderator package.
Fixed a bug where different functions in idrfc/views_ballot were using log_state_changed expecting different implementations (a cleanup task should reconcile the _three_ implementations in the codebase of that function).
 - Legacy-Id: 4768
2012-08-17 20:45:32 +00:00
Robert Sparks e21e5fefa4 Added a migration to update non-blocking ballot positions that have non-empty discuss text. Fixes bug #856
- Legacy-Id: 4752
2012-08-03 21:33:49 +00:00
Robert Sparks fb2b9c9e6c Removed some duplication between doc/util and doc/models by moving things into doc/models. Fixes bug #857
- Legacy-Id: 4750
2012-08-02 21:36:36 +00:00
Henrik Levkowetz 6dd8086125 Merged [4724] from rbarnes@bbn.com:
Adjusted the scribe template to make it XHTML compliant and fix what Robert broke
 - Legacy-Id: 4730
Note: SVN reference [4724] has been migrated to Git commit 08c1c0cb19
2012-07-30 21:44:42 +00:00
Richard Barnes 08c1c0cb19 Adjusted the scribe template to make it XHTML compliant and fix what Robert broke
- Legacy-Id: 4724
2012-07-29 01:09:41 +00:00
Adam Roach 80d7ab9eba Adding an "href" method to documents. It doesn't work for documents of type 'liai-att' or 'liaison', but it's a good start.
- Legacy-Id: 4721
2012-07-29 00:42:19 +00:00
Henrik Levkowetz 798f7697af Merged [4600] from rjsparks@nostrum.com:
* Adds a new document type for conflict reviews, with a ballot for the IESG 5742 response to a review request
* Integrated the new document type into the iESG agenda views (including RSS feeds)* Removed the Edit and Add buttons from the document main view.
* Replaced Add with actions appropriate for the document type, such as "Begin IESG Processing" or "Begin IETF Conflict Review", and made most data directly editable on the document's main page, depending on access permissions.
* Removed a manual editing step that the secretariat had to perform when sending conflict review messages. The view now composes the message correctly given the stream.
* Added a pencil icon motif to differentiate fields that are editable.
* Generalized several views and helper functions to use Document instead of (e.g.) IdWrapper
* Generalized reading documents from the repository
* Added a way to get from IdWrapper  to the underlying Document to facilitate migrating way from the Wrapper classes* Added many helpers to Document to assist with migrating off IdWrapper
* Minor fixes and other changes
  * Fixes to document main view to avoid (silent) template failures. 
  * Began removing some of the code that is no longer reachable post-migration  * Corrected the behavior of the undefer code and added test cases for it
  * Improved initial population of notification lists and added the ability to regenerate the initial list
* Made the test code that scans for template coverage more robust
* Deployment notes:
  * new setting: CONFLICT_REVIEW_PATH. The associated directory will need to be created

This branch fixes bugs #805, #744 and #812
 - Legacy-Id: 4652
Note: SVN reference [4600] has been migrated to Git commit 798e7a50e7
2012-07-28 16:29:28 +00:00
Henrik Levkowetz aa65e63dff Add admin support for RelatedDocument.
- Legacy-Id: 4637
2012-07-27 21:21:11 +00:00
Henrik Levkowetz 225e1a8e3a Reverting previous commit, going back to rev 4633. (Commit all made in error, only one file intended).
- Legacy-Id: 4635
2012-07-27 21:16:12 +00:00
Henrik Levkowetz 3176bea4a1 Added new RFC-Editor state tag 'AUTH48-DONE' to the rfc-ed-queue mirror script.
- Legacy-Id: 4634
2012-07-27 21:08:01 +00:00
Robert Sparks f3fd4db35c Merge forward complete - checkpointing before fixing popup position dialogs
- Legacy-Id: 4595
2012-07-04 19:35:46 +00:00
Henrik Levkowetz a5041a262f Tweak the display of DocEvents.
- Legacy-Id: 4563
2012-07-03 10:58:54 +00:00
Robert Sparks 8b5d95e71b Added the ability to reset the conflict review response text to the template at Sean's request
- Legacy-Id: 4549
2012-06-28 19:51:39 +00:00
Henrik Levkowetz fdb18755a7 Tweak the display of explicitly added documents some more.
- Legacy-Id: 4530
2012-06-27 10:22:01 +00:00
Ole Laursen 8929413a71 Merged in changes from former milestones branch
- Legacy-Id: 4516
2012-06-26 18:09:43 +00:00
Ole Laursen 6c1e87b773 Move milestones branch out of the way to prepare for merge with trunk to get latest charter changes in
[[Split portion of a mixed commit.]]
 - Legacy-Id: 4514.1
2012-06-26 17:47:53 +00:00
Robert Sparks 51ab8123d9 merged in from 4.20-ise
- Legacy-Id: 4502
2012-06-22 20:25:17 +00:00
Henrik Levkowetz 2b78e1573e Merged in personal/rjs/v4.02_via_rfc containing [4356] which replaces code using the old via-rfc tag with code looking at the document stream (and more), and [4364] which adds document page counts on the future telechats page.
- Legacy-Id: 4482
Note: SVN reference [4356] has been migrated to Git commit 4eabc033c1

Note: SVN reference [4364] has been migrated to Git commit b3c665287d
2012-06-20 22:17:48 +00:00
Henrik Levkowetz 7b75d6fd65 Quick fix for extensionless get_absolute_url(). XXX Fixme: needs bigger refactoring.
- Legacy-Id: 4476
2012-06-20 10:27:32 +00:00
Henrik Levkowetz 839df60480 Merged in charter branch fixes from olau@iola.dk, from r4354 through r4381.
- Legacy-Id: 4382
2012-05-04 11:47:30 +00:00
Henrik Levkowetz 741b85926b Fix signature of DocEventAdmin method (needs explicit 'self' parameter)
- Legacy-Id: 4381
2012-05-04 11:44:15 +00:00
Ole Laursen 5215527de2 Treat BoF as proposed WG.
- Legacy-Id: 4374
2012-05-03 18:50:51 +00:00
Robert Sparks 4eabc033c1 Replaced the concept of a tag (via-rfc) identifying ise or irtf document (previously the idinternal.via_rfc_editor boolean) with looking at the document's stream.
Removed the stream editing form - that functionality is on the edit info form.
Put the old-ADs back into the list of choices when editing a document's info.

This (re) fixes bug #749
 - Legacy-Id: 4356
2012-05-03 04:26:09 +00:00
Henrik Levkowetz 462aff53ad Merged in fixes to the charter branch (r4345 - r4353) from olau@iola.dk.
- Legacy-Id: 4354
2012-05-02 19:37:46 +00:00
Henrik Levkowetz bcd28cc45f Merged in fixes to the migration from olau@iola.dk. Merged in charter branch from olau@iola.dk. Added various fixes and correction of merge errors.
- Legacy-Id: 4353
2012-05-02 19:35:32 +00:00
Ole Laursen 891ac2585d Use revision numbers to identify ballots and put a warning on closed ballots.
- Legacy-Id: 4352
2012-05-02 17:47:40 +00:00
Ole Laursen 85708073f0 Fix "yes" calculation in needed_ballot_position (bug found by Robert Sparks).
- Legacy-Id: 4347
2012-05-02 11:32:42 +00:00
Ole Laursen 2eec257dc8 Add default=None to ballot in BallotPositionDocEvent so it's backwards compatible
- Legacy-Id: 4342
2012-04-30 18:18:47 +00:00
Ole Laursen 5763c77e54 Fix up doc migration which included too much in the initial migration compared to trunk.
- Legacy-Id: 4295
2012-04-20 17:19:24 +00:00
Ole Laursen b9a90f35e1 Clean up and polish charter branch code, fix some subtle bugs with
revision and approved charter lookup.
 - Legacy-Id: 4290
2012-04-19 15:15:43 +00:00
Ole Laursen 1ce4444732 Fix missing parentheses in needed position calculations.
- Legacy-Id: 4279
2012-04-16 17:24:57 +00:00
Ole Laursen 1ff4bc0121 Port idrfc code to use new ballot setup with an explicit ballot on
positions, port and clean up ballot icon renderer, add preliminary migration
script for inserting extra events in drafts
 - Legacy-Id: 4274
2012-04-16 13:19:47 +00:00
Adam Roach c113bd0588 Migrated HTML agenda to new data model. This has several improvements, as well, such as clearer marking of BOFs.
- Legacy-Id: 4265
2012-04-05 19:30:36 +00:00
Ole Laursen 6d0d014b0d Close charter ballots when the charter is approved or abandoned.
- Legacy-Id: 4262
2012-04-05 16:20:25 +00:00
Ole Laursen e4a9d8c7aa Finish ballot support for charters (apart from non-generic ballot
deferral), remove a bunch of now obsolete charter code.
 - Legacy-Id: 4255
2012-04-04 18:09:03 +00:00
Ole Laursen a9817e555a Some fixes to generic doc ballot view, fix edit position and send
ballot comment email views, moving them to
/doc/foo-bar/ballot/[id]/position/ and ../emailposition/.
 - Legacy-Id: 4249
2012-04-03 14:53:38 +00:00
Ole Laursen 4fc98cfdd3 Add help_text for StateType.label
- Legacy-Id: 4247
2012-04-02 17:11:25 +00:00
Ole Laursen 837823f8ae Make sure HTML id does't containt spaces
- Legacy-Id: 4246
2012-04-02 17:05:10 +00:00
Ole Laursen ed15193bcf Introduce more generic ballot models, start porting doc ballot page to the
new database schema.
 - Legacy-Id: 4240
2012-03-30 17:16:50 +00:00
Ole Laursen df4b36c561 Implement a latest_event for history entries, make canonical name for
charters depend on group acronym and save canonical name in history
entries,
 - Legacy-Id: 4166
2012-03-22 18:19:12 +00:00
Henrik Levkowetz 0dd2563b22 Tweak the admin interface for Documents a bit.
- Legacy-Id: 4153
2012-03-21 14:20:29 +00:00
Ole Laursen c7d9839b1c Fix get_absolute_url to make it point to /doc/ page for charters
- Legacy-Id: 4094
2012-03-15 17:57:12 +00:00
Ole Laursen 618e308ac0 Add WG chartering/rechartering overview page, missing ballot icon
pending on getting ballot situation cleared up, but otherwise done.
 - Legacy-Id: 4087
2012-03-15 16:01:59 +00:00
Ole Laursen f992c21925 Fix file globbing try to match against full known file names rather
than trying to extract an extension which may be buggy with I-Ds with
periods in the name, as per suggestion from Henrik.
 - Legacy-Id: 4086
2012-03-15 11:34:45 +00:00
Ole Laursen 3731f7cccc Split extension at first . when looking for an extension,
prevents us from considering .txt.pdf a PDF for the purpose of RFCs.
Fixes #807.
 - Legacy-Id: 4082
2012-03-14 18:47:21 +00:00
Henrik Levkowetz fd7c95fd28 Guard against blowup when displaying std_level if it hasn't been set.
- Legacy-Id: 4059
2012-03-07 10:13:35 +00:00
Henrik Levkowetz 9ea97b8674 Show doc author inline in DocumentAdmin.
- Legacy-Id: 4056
2012-03-07 10:06:27 +00:00
Ole Laursen 4806a52de9 Improve Position proxy to return proxied ADs (with a functioning is_current_ad), fixes #782.
- Legacy-Id: 4018
2012-03-01 19:19:48 +00:00
Ole Laursen 8723e7f60d Use Person.plain_name as token holder names in proxy, and also in the WGAction form, fixes #776.
- Legacy-Id: 3996
2012-02-28 18:11:57 +00:00
Ole Laursen 6afceb835e Port idindex to new schema, fixes #770.
- Legacy-Id: 3985
2012-02-27 18:46:27 +00:00
Ole Laursen f05bc8cf1f Add "Assigned to area" select box to individually submitted documents
in the AD edit form, change search to define area = doc.group or
doc.group.parent (so don't take AD into account), plus a bunch of
small tweaks to make a document with an area set as group behave like
an individually submitted document, at least for the time being (they
are presented as "Individual in xyz area" on their document page)
 - Legacy-Id: 3968
2012-02-25 01:48:33 +00:00
Ole Laursen ed4a38918d Add augment_with_start_time where start time is currently defined as
time of first revision
 - Legacy-Id: 3958
2012-02-24 14:29:51 +00:00
Ole Laursen 4566bd7941 Fix IDState wrapper to fix the /idtracker/help/state/ page
- Legacy-Id: 3949
2012-02-22 18:08:21 +00:00
Ole Laursen 65c16409f6 Add labels for std_level abbreviations
- Legacy-Id: 3945
2012-02-22 12:59:44 +00:00
Ole Laursen feb4f93dc6 Import new_revision events for the non-draft document types, this will
allow a more generic document history page; this will be important for
charters, less important for other types, but might as well get it
right from the beginning
 - Legacy-Id: 3940
2012-02-21 16:50:17 +00:00
Ole Laursen 6a128b0250 Merge in patch from Ryan Cross for supporting meeting materials type
in get_absolute_url, currently pointing to the actual item instead of
the corresponding /doc/ page
 - Legacy-Id: 3935
2012-02-17 17:43:50 +00:00
Ole Laursen 5382b31ab2 Fix problem with incomplete proxying in IESG scribe template, found by
John Leslie
 - Legacy-Id: 3925
2012-02-15 13:23:49 +00:00
Ole Laursen 46139d2486 Fix up DocEvent admin
- Legacy-Id: 3911
2012-02-08 12:31:00 +00:00
Ole Laursen 12eaebbe09 Only claim a document is on the agenda if it is on the schedule for a
current or future telechat
 - Legacy-Id: 3909
2012-02-08 11:45:51 +00:00
Ole Laursen d8c546ec21 Cap ballots at latest ballot initation in active_ballot_positions
- Legacy-Id: 3896
2012-02-02 19:58:19 +00:00
Ole Laursen 6b75ce8e6b Fix problem with URL reversal when models are used in another project
- Legacy-Id: 3892
2012-02-02 14:58:36 +00:00
Ole Laursen 328ecb08c3 Replace old charter branches with new branch based on conversion branch and some preliminary work on generalizing document handling
[[Split portion of a mixed commit.]]
 - Legacy-Id: 3883.1
2012-01-31 17:38:27 +00:00
Ole Laursen 13aed82a0e More import path fixes from Henrik
- Legacy-Id: 3877
2012-01-30 19:05:27 +00:00
Ole Laursen f999045c49 Fix import paths to include ietf.
- Legacy-Id: 3874
2012-01-30 17:26:07 +00:00
Ole Laursen 65e5298630 Be more careful in handling Document.stream now that it can be null
- Legacy-Id: 3865
2012-01-26 13:28:02 +00:00
Ole Laursen 980d4e6444 Move new schema models from redesign/ to ietf/
- Legacy-Id: 3855
2012-01-24 17:17:24 +00:00