Commit graph

1687 commits

Author SHA1 Message Date
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