Commit graph

192 commits

Author SHA1 Message Date
Ole Laursen 0909534588 Fix bug in test
- Legacy-Id: 3967
2012-02-25 01:41:05 +00:00
Ole Laursen 708c3a4df9 Look at intended_std_level instead of looking at the indefinite
article when determining document/protocol action status, also avoid
putting stuff in a list that has been taken directly by reference from
the settings
 - Legacy-Id: 3963
2012-02-24 16:55:53 +00:00
Ole Laursen 0107f67256 Try to be a little bit more robust in case people haven't filled in
the intended_std_level
 - Legacy-Id: 3954
2012-02-23 19:22:05 +00:00
Ole Laursen 3f22d78db8 Say "Intended RFC status" in edit form based on feedback
- Legacy-Id: 3952
2012-02-23 14:29:18 +00:00
Ole Laursen d8087ce05c Use "(None)" rather than None for empty labels
- Legacy-Id: 3948
2012-02-22 17:02:32 +00:00
Ole Laursen dbbc064cb4 Add order and description to stream names
- Legacy-Id: 3947
2012-02-22 16:12:57 +00:00
Ole Laursen ea78c5846a Fix some corner cases in area search
- Legacy-Id: 3946
2012-02-22 15:31:15 +00:00
Ole Laursen 65c16409f6 Add labels for std_level abbreviations
- Legacy-Id: 3945
2012-02-22 12:59:44 +00:00
Ole Laursen 6c592c7cc6 Catch "IESG process started in state" state change too for figuring
out the state date
 - Legacy-Id: 3944
2012-02-22 11:08:43 +00:00
Ole Laursen 1e9920fac1 Remove debug print
- Legacy-Id: 3943
2012-02-22 11:00:58 +00:00
Ole Laursen 793bb146c9 Expand send ballot comment test to check discuss too, fix bug where it
was testing pos directly instead of pos_id
 - Legacy-Id: 3931
2012-02-16 16:42:11 +00:00
Ole Laursen 9c06587c74 Refactor search logic to trigger with jQuery instead of inserting
attributes directly, moving it to a separate JS file; fixes a bug in
the new schema
 - Legacy-Id: 3927
2012-02-15 15:15:33 +00:00
Ole Laursen 1756491cf1 Add .distinct() to inactive ads to fix duplicate problem that was probably
introduced with pre-ADs
 - Legacy-Id: 3926
2012-02-15 13:38:18 +00:00
Ole Laursen 480cb04cd6 Save announcements generated by the system as Messages, adding an
extra relation to be able to associate a draft with the message
 - Legacy-Id: 3917
2012-02-08 21:05:28 +00:00
Ole Laursen 9467d53142 Fix to-logic in generation of approval mail via RFC Editor
- Legacy-Id: 3915
2012-02-08 14:05:33 +00:00
Ole Laursen cf394bf9ca Add test of generating approval announcement for IRTF
- Legacy-Id: 3914
2012-02-08 13:48:56 +00:00
Ole Laursen dce5197248 Fix bug in generating approval announcement for IRTF
- Legacy-Id: 3913
2012-02-08 13:48:32 +00:00
Ole Laursen af071fd142 Fix issue with draft approval emails for individual submission, found by Cindy Morgan
- Legacy-Id: 3912
2012-02-08 13:15:32 +00:00
Ole Laursen 978e2d69ff Remember to pass in the substate as initial value in the change state edit view
- Legacy-Id: 3906
2012-02-07 16:49:37 +00:00
Ole Laursen 320a79fa0d Change wording for called-for-adoption WG documents to explain it's a candidate
- Legacy-Id: 3904
2012-02-07 15:44:00 +00:00
Ole Laursen d43159cd90 Add support for incoming ADs with a new "pre-ad" role
- Legacy-Id: 3900
2012-02-03 16:22:31 +00:00
Ole Laursen 93e96e7567 Fix proxy to take combined draft/RFCs with two ballots into account when returning the ballot
- Legacy-Id: 3897
2012-02-02 20:10:06 +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 6079c17d79 Fix test
- Legacy-Id: 3868
2012-01-26 21:15:23 +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
Ole Laursen fc88964298 Go through the code and replace uses of Person.name with Person.plain_name()
- Legacy-Id: 3849
2012-01-23 20:22:45 +00:00
Ole Laursen 05c664423c Don't output the time part of the ballot timestamps
- Legacy-Id: 3843
2012-01-20 16:38:31 +00:00
Ole Laursen d16a5ea46a Fix bug
- Legacy-Id: 3839
2012-01-20 15:07:25 +00:00
Ole Laursen 0ba03ecb72 Fix start IESG process test to be more robust
- Legacy-Id: 3838
2012-01-20 15:07:08 +00:00
Ole Laursen 5fa8d71303 Autogenerate approval text if it's not there rather than requiring it
to be generated (noticed by Robert Sparks)
 - Legacy-Id: 3836
2012-01-20 14:21:24 +00:00
Ole Laursen 923239a5dc Clean up old draft files when submitting a new draft
- Legacy-Id: 3811
2012-01-13 16:38:00 +00:00
Ole Laursen 44c78762e8 Don't add fake expire notices with the new schema
- Legacy-Id: 3808
2012-01-13 13:09:03 +00:00
Ole Laursen f02b860e4d Fix bug introduced with generic states
- Legacy-Id: 3806
2012-01-13 12:21:08 +00:00
Ole Laursen 87e87cfc98 Fix bugs in expire tests
- Legacy-Id: 3805
2012-01-13 11:32:15 +00:00
Ole Laursen dceedbf53d Remove tombstone support from the code, importing drafts with their
version number unhacked
 - Legacy-Id: 3803
2012-01-12 16:50:26 +00:00
Ole Laursen f3685e7af1 Turn expiration into an explicit expires attribute on document, set
that on submission of new revision and resurrection
 - Legacy-Id: 3801
2012-01-12 12:03:45 +00:00
Ole Laursen 0745a1f08b Use TelechatDate rather than TelechatDates in new form
- Legacy-Id: 3799
2012-01-11 13:43:30 +00:00
Ole Laursen 2f00c3028f Don't use IDDates in new schema, use dates from Meeting
- Legacy-Id: 3790
2011-12-23 20:46:49 +00:00
Ole Laursen 3eee538db0 Port _get_versions helper to new schema
- Legacy-Id: 3788
2011-12-23 17:08:50 +00:00
Ole Laursen 5079d60eba Adjust test to recent person importer changes
- Legacy-Id: 3777
2011-12-21 19:12:48 +00:00
Ole Laursen de0fc12ce8 Port telechat dates
- Legacy-Id: 3774
2011-12-20 13:12:12 +00:00
Ole Laursen eac8676c12 Fix bug in resurrection role rewrite, was missing a line
- Legacy-Id: 3770
2011-12-14 15:36:25 +00:00
Ole Laursen ef5aff7b1a Use role email for resurrection requests
- Legacy-Id: 3748
2011-12-07 18:56:55 +00:00
Ole Laursen 3ed02196d7 Fix some instances where we use a non-role email for ADs in spite of them acting as ADs
- Legacy-Id: 3741
2011-12-06 14:01:44 +00:00
Ole Laursen af8c1b4bf8 Revamp comment handling on state changes slightly, reenable changing
substate in the IESG state interface (modeled with tags)
 - Legacy-Id: 3725
2011-11-29 18:46:42 +00:00
Ole Laursen 8153a1c130 Patch up to pass request object to send mail in the instances where
it's possible (i.e. when not run in cron) in preparation for better
mail test handling
 - Legacy-Id: 3711
2011-11-25 18:24:14 +00:00
Ole Laursen a8e219e16a Rename DocStreamName to StreamName, they're not really doc-specific
- Legacy-Id: 3707
2011-11-25 12:25:35 +00:00
Ole Laursen ca9dd9b61a Fix bug with states
- Legacy-Id: 3703
2011-11-24 16:37:58 +00:00
Ole Laursen 7f8df2edf1 Fix problem with the name-based URL for showing AD documents
introduced with the import-whole-names change
 - Legacy-Id: 3701
2011-11-24 15:46:46 +00:00
Ole Laursen 4d47f34a0d Fix bug introduced with generic states
- Legacy-Id: 3698
2011-11-24 11:46:26 +00:00
Ole Laursen eaf1ca34ee Fix some bugs in the trunk merge found through the automated tests
- Legacy-Id: 3692
2011-11-23 18:49:07 +00:00
Ole Laursen d45952b26b Fix changed URL after introduction of generic states
- Legacy-Id: 3691
2011-11-23 18:02:35 +00:00
Ole Laursen 2253be2c8f Fix missing revision numbers
- Legacy-Id: 3680
2011-11-22 16:04:50 +00:00
Ole Laursen 5a4c23ea92 Merge with trunk
- Legacy-Id: 3676
2011-11-21 16:41:21 +00:00
Ole Laursen 8e7ab0b8d2 Add stream to select_related
- Legacy-Id: 3666
2011-11-17 15:11:12 +00:00
Henrik Levkowetz ff187d2dd0 Give logins with group IANA access to comment form for drafts, so they don't have to use the old datatracker for that.
- Legacy-Id: 3664
2011-11-17 06:13:24 +00:00
Ole Laursen 5d291f222c Remove .state and .*_state on Document in favour of generic states
mapping, port the codebase to use these states
 - Legacy-Id: 3660
2011-11-16 18:18:06 +00:00
Henrik Levkowetz 7e62969d86 Merged [3612] from rjsparks@nostrum.com:
Changed the edit info form to allow (force) setting the stream when editing or adding a document to the iesg tracker.
Fixes bug 743
 - Legacy-Id: 3625
Note: SVN reference [3612] has been migrated to Git commit 97f2b6eedf
2011-11-16 04:30:43 +00:00
Ole Laursen ce74be89ef Use the test mode in the mail code when running automated tests instead of
reinventing the wheel in test_runner
 - Legacy-Id: 3620
2011-11-15 11:24:33 +00:00
Ole Laursen e01ba98af1 Introduce generic states, not fully incorporated yet, and rename tag
name model
 - Legacy-Id: 3616
2011-11-14 19:29:05 +00:00
Robert Sparks 97f2b6eedf Changed the edit info form to allow (force) setting the stream when editing or adding a document to the iesg tracker.
Fixes bug 743
 - Legacy-Id: 3612
2011-11-12 10:35:30 +00:00
Henrik Levkowetz e308b55d3e Provide kml in the test fixtures with a person_or_org_id.
- Legacy-Id: 3611
2011-11-12 10:32:40 +00:00
Henrik Levkowetz 03c6207144 Merged [3603] from lars.eggert@nokia.com:
Automatically set the recipients of RFC5742 review emails sent by the IESG
based on the RFC Stream.
 - Legacy-Id: 3610
Note: SVN reference [3603] has been migrated to Git commit c9bc01d8b7
2011-11-12 09:19:51 +00:00
Lars Eggert c9bc01d8b7 Automatically set the recipients of RFC5742 review emails sent by the IESG
based on the RFC Stream.
 - Legacy-Id: 3603
2011-11-12 06:13:21 +00:00
Robert Sparks 6b6e51a665 Changed the AD status page to group documents by current state.
Fixes bug 742
 - Legacy-Id: 3599
2011-11-12 04:12:23 +00:00
Ole Laursen 0778042a3a Add comment that IANA would like to be informed if the format of the
issue ballot email changes as they are apparently currently scraping
them, according to Michele Cotton
 - Legacy-Id: 3596
2011-11-09 09:32:55 +00:00
Ole Laursen 5c5d534104 Add person foreign key on Role to link the role and person directly instead of through Email, this will allow us to use non-personal emails on roles
- Legacy-Id: 3418
2011-09-14 14:01:17 +00:00
Ole Laursen a695aaff2f Change slug of independent stream to ise (Independent Submission
Editor) in accordance with the RFC
 - Legacy-Id: 3415
2011-09-05 17:13:15 +00:00
Ole Laursen aefe5ccb52 Fix another bug with not saving event description on status date change
- Legacy-Id: 3398
2011-08-30 10:52:50 +00:00
Ole Laursen 21d797d612 Fix bug with not saving event description properly
- Legacy-Id: 3397
2011-08-30 10:50:58 +00:00
Ole Laursen f11b558d00 Refactor slightly to get rid of clunky "ex-ad" role, any future uses
should use GroupHistory/RoleHistory instead
 - Legacy-Id: 3370
2011-08-24 20:49:30 +00:00
Ole Laursen dba085791a Fix edit info: fix bug with choice fields, remove use of ex-ads,
insert old AD at bottom if he/she is not current
 - Legacy-Id: 3369
2011-08-24 19:46:26 +00:00
Ole Laursen 2bf8e0a45d Move fixture generation for names to name app, add liaison edit test,
fix some liaison bugs
 - Legacy-Id: 3347
2011-08-22 12:37:56 +00:00
Ole Laursen 91ced5c24a Fix some problems with liaison importer and related models, add a
test, port account management and related utilities, fix up proxy and
port most of the views and form code
 - Legacy-Id: 3345
2011-08-19 21:11:49 +00:00
Robert Sparks 5cc5375580 Make it more likely to issue a ballot when it makes sense to do so. Fixes bug 703.
- Legacy-Id: 3331
2011-08-18 21:20:25 +00:00
Ole Laursen 38ee2921c4 Remove some artificial updates of the document timestamp to ensure
that the code follows the protocol for dealing with history objects
properly
 - Legacy-Id: 3304
2011-08-12 09:49:15 +00:00
Ole Laursen 67e317d535 Merged in changes from conversion branch fixing a couple of problems
- Legacy-Id: 3285
2011-08-04 15:09:54 +00:00
Robert Sparks 0389ebf3bd Fixed errors with the edit state link, the new ability to set an initial state when adding a document, the status date on the edit state form, and brought several tests up to date.
Fixes bug 695, bug 696, bug 697, and bug 698.
 - Legacy-Id: 3272
2011-07-31 16:43:31 +00:00
Henrik Levkowetz d29e54081a Merged [3249] from suresh.krishnan@ericsson.com:
Allowing adding documents in AD is watching state in addition to the default Publication Requested state. Trac #684
 - Legacy-Id: 3257
Note: SVN reference [3249] has been migrated to Git commit 5532512348
2011-07-23 22:13:37 +00:00
Suresh Krishnan 5532512348 Allowing adding documents in AD is watching state in addition to the default Publication Requested state. Trac #684
- Legacy-Id: 3249
2011-07-23 21:23:37 +00:00
Henrik Levkowetz 99e3b7ff22 Merged [3166] from rjsparks@nostrum.com:
Simple changes to EditInfoForm field initialization
 - Legacy-Id: 3248
Note: SVN reference [3166] has been migrated to Git commit eef5028182
2011-07-23 21:15:31 +00:00
Henrik Levkowetz f62bfc7588 Tweak ipr search to only look for IPRs in the appropriate state.
- Legacy-Id: 3200
2011-07-23 12:07:08 +00:00
Ole Laursen af768fb633 Fix a bunch of merge bugs
- Legacy-Id: 3191
2011-06-29 13:05:11 +00:00
Ole Laursen 03bed41630 Merged in changes from the conversion branch
- Legacy-Id: 3187
2011-06-28 18:20:20 +00:00
Robert Sparks eef5028182 Simple changes to EditInfoForm field initialization
- Legacy-Id: 3166
2011-06-01 03:17:41 +00:00
Henrik Levkowetz c485d5b527 Make the WG a draft belongs link to the WG page.
- Legacy-Id: 3138
2011-05-23 21:49:04 +00:00
Henrik Levkowetz b9b17625ea Correct an inappropriate use of the idsubmission repository location instead of the ID repository. Reported by Robert Sparks.
- Legacy-Id: 3137
2011-05-23 21:47:07 +00:00
Henrik Levkowetz a142e89a87 Merged in branch branch/yaco/wgchairs from esanchez@yaco.es. This provides the WG Chair Tracker functionality.
- Legacy-Id: 3120
2011-05-11 20:27:12 +00:00
Robert Sparks 6484874ca2 1) Restructured the position editing page to better integrate the defer button.
Fixes bug #659

2) Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js)
    because that's where the main document template was looking for it. There have
    probably been several problems since the change that left this dangling that
    showed up as things not behaving, but not as errors. The one that clued me in
    was the discuss text-box not being hidden when the position wasn't DISCUSS.
    They should all behave better now.

3) Added a django form validator to the discuss text field to not allow actions
   when the position is Discuss, but the discuss-text is empty.
   2 and 3 together fix bug #660 

4) Added logic to the undefer fuction to put the document back on the previous
   telechat (if that hasn't already passed). That is, date1 from telechat dates,
   and not date2.
   Fixes bug #661

5) Changed the last_call_announcement generation function's template to include
   the abstracts from the document sets (which with modern usage means the abstract
   of the document) reflecting the IESGs decision of a few months back.
   Fixes bug #662

6) Removed the old tracker link from the document's main page
   Fixes bug #663 

_M   .
M    ietf/idrfc/views_ballot.py
M    ietf/templates/idrfc/last_call_announcement.txt
M    ietf/templates/idrfc/undefer_ballot.html
M    ietf/templates/idrfc/doc_tab_document.html
M    ietf/templates/idrfc/edit_position.html
_M   ietf/utils/draft.py
_M   static/media
A  + static/js/lib/jquery-1.5.1.min.js
 - Legacy-Id: 3107
2011-05-09 20:16:32 +00:00
Robert Sparks 024a74a562 1) Restructured the position editing page to better integrate the defer button.
2) Copied the jquery-1.5.1.min.js library into /static/js/lib (from /static/js)
   because that's where the main document template was looking for it. There have
   probably been several problems since the change that left this dangling that
   showed up as things not behaving, but not as errors. The one that clued me in
   was the discuss text-box not being hidden when the position wasn't DISCUSS.
   They should all behave better now.

3) Added a django form validator to the discuss text field to not allow actions
   when the position is Discuss, but the discuss-text is empty.

4) Added logic to the undefer fuction to put the document back on the previous
   telechat (if that hasn't already passed). That is, date1 from telechat dates,
   and not date2.

5) Changed the last_call_announcement generation function's template to include
   the abstracts from the document sets (which with modern usage means the abstract
   of the document) reflecting the IESGs decision of a few months back.
 - Legacy-Id: 3097
2011-05-05 13:58:37 +00:00
Henrik Levkowetz 663113d6fa Previous IPR information in last call announcements could be incomplete. Use a better search for IPR declarations related to a document, and include the IPR information in the last call preview.
- Legacy-Id: 3084
2011-05-03 14:12:00 +00:00
Henrik Levkowetz 7e42ad64df Add some documentation to this opaque code.
- Legacy-Id: 3081
2011-05-03 14:06:46 +00:00
Henrik Levkowetz fe10dfd20c Tweaked a number of setting value names and adjusted one value.
- Legacy-Id: 3037
2011-04-09 22:13:45 +00:00
Henrik Levkowetz f08da46457 Fix from Brandon (updated somewhat) for a bad reverse() argument.
- Legacy-Id: 3001
2011-03-29 15:53:05 +00:00
Henrik Levkowetz abab86db1a Fix a couple of places where we have to handle potential exceptions from the URL reverse() call, because not all old draft names adhere to the current rules. For RFC 1356 the draft name was draft-ietf-iplpdn-x25_isdn (notice the underscore) for which reverse() will fail.
- Legacy-Id: 2998
2011-03-29 07:34:44 +00:00
Henrik Levkowetz 4e5ce997e5 Merged [2967] from jelte@nlnetlabs.nl:
Make search result table headers clickable; clicking will sort on said column, see trac #484
 - Legacy-Id: 2974
Note: SVN reference [2967] has been migrated to Git commit a6ef460f3a3a24b9f32f83bf8dbeffe2fa220958
2011-03-26 16:58:07 +00:00
Henrik Levkowetz 9416744367 Merged [2958] from shane@time-travellers.org:
Updated the JavaScript associated with the search page to 
control whether the 'search' button is enabled or not. It is
now enabled if either the main search box has input, or if
any of the sub-options have input, or both.

Note that the Yahoo! widgets we were using did weird things 
to the button name, so I disabled that. This changes the
look and feel of the button - that may be a contenious issue.
OTOH, I think that this is probably a good thing, since this
is the only place where we override the user's default 
appearance settings.

Another possible issue is the use of JavaScript without
JQuery. The existing code here did not use JQuery, so I 
decided to simply extend it.

See the Trac ticket #480 for more.

http://trac.tools.ietf.org/tools/ietfdb/ticket/480
 - Legacy-Id: 2966
Note: SVN reference [2958] has been migrated to Git commit fc46dd1c9ebbe14c43a7e8726e194d197544e416
2011-03-26 15:40:20 +00:00
Henrik Levkowetz fbfee9b1e8 Merged [2959] from rjsparks@nostrum.com:
Changed wrapper construction to get the IPR column working.
This refixes #630
 - Legacy-Id: 2964
Note: SVN reference [2959] has been migrated to Git commit b1cc77d0ce180524538ecfd03ec9bfb4193b88f8
2011-03-26 15:39:11 +00:00