Commit graph

207 commits

Author SHA1 Message Date
Ole Laursen 2ab52d9567 Defer import of get_stream_from_draft to kill import loop that
prevents bin/expire-ids from running.
 - Legacy-Id: 4142
2012-03-20 12:05:41 +00:00
Ole Laursen 5cfc72937d Fix missing import
- Legacy-Id: 4093
2012-03-15 17:56:41 +00:00
Ole Laursen a1b5671ead Preliminary generalization of /doc/ tabs with top factored out, main
page being specific, writeup page generic with some specific code to
setup writeups (only charter ported), history page being generic
(I-D/RFC not ported, needs two event hack fixes), and ballot page
not done, pending on multi-ballot solution.
 - Legacy-Id: 4091
2012-03-15 16:38:56 +00:00
Ole Laursen 43bef3929f Generalize add comment view slightly so it can be used with charters.
- Legacy-Id: 4090
2012-03-15 16:17:04 +00:00
Ole Laursen 4112ff58de Add support for not splitting output
- Legacy-Id: 4089
2012-03-15 16:03:54 +00:00
Ole Laursen f5621fee1e Try to deduce the correct day of month for RFC publication dates for
newly published RFCs instead of always assuming it's just the first
day of the month
 - Legacy-Id: 4067
2012-03-07 13:26:40 +00:00
Henrik Levkowetz 14e2af19bf Committing patch from #767, to make splitting of comma-separated multiset-ballot draft-names more robust. Related to #767
- Legacy-Id: 4055
2012-03-07 10:04:35 +00:00
Henrik Levkowetz 0736dec160 Only display intended std level names in use in the document edit form. Fixes #792.
- Legacy-Id: 4051
2012-03-07 09:54:21 +00:00
Ole Laursen 3127cd0928 Clear the discuss text if the position isn't discuss as we may get
some unintended text submitted from the browser if the previous
position was discuss. Fixes #788.
 - Legacy-Id: 4035
2012-03-05 19:49:16 +00:00
Ole Laursen 22cd30d8b1 Don't email people about soon-to-expire and expired drafts in IESG state
"Dead", also fix obscure __order__gte= query on states. Fixes #787.
 - Legacy-Id: 4028
2012-03-05 16:39:41 +00:00
Ole Laursen 6668404eb1 Set IESG state to RFC published if it was In RFC queue when syncing
with RFC Editor, and make sure we save a history object.
 - Legacy-Id: 4023
2012-03-02 17:58:42 +00:00
Ole Laursen 7747e3a836 Only trim ballot discusses/comments on the right side, not the left,
since some ADs are using the left-side for formatting, fixes #782.
 - Legacy-Id: 4022
2012-03-02 13:38:20 +00:00
Ole Laursen dbf5e6ab84 Remove a bunch of old admin files, fix a couple of issues with the new ones, add admin for meeting
- Legacy-Id: 3995
2012-02-28 17:29:52 +00:00
Ole Laursen 8aab6b30a3 Bug fix from Henrik, missing d.
- Legacy-Id: 3976
2012-02-25 18:09:10 +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 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