Commit graph

205 commits

Author SHA1 Message Date
Henrik Levkowetz 3683a6af26 Backporting patches from production system.
- Legacy-Id: 4487
2012-06-21 00:35:33 +00:00
Henrik Levkowetz b1b21e5529 Merged in branch/iola/charter-fixes from olau@iola.dk with a series of fixes to the charter management code.
- Legacy-Id: 4483
2012-06-20 23:01:28 +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
Ole Laursen 822fd6daac Replace get_profile() hack with a test on the user instead, this
also makes the ballot icon more robust against users without profiles
(which shouldn't happen, but apparently we sometimes get one which
results in a crash rather than something more graceful)
 - Legacy-Id: 4480
2012-06-20 12:26:06 +00:00
Ole Laursen 35eb4f013a Give the incoming name to the top renderer so the links are internally
consistent, this is needed because we still have different views for
/doc/rfcXXXX/ and /doc/draft-foo-bar/
 - Legacy-Id: 4479
2012-06-20 11:16:55 +00:00
Ole Laursen 278776f597 Fix regexp fix - [.-_] does not mean "dot or dash or underscore", it
means all characters between dot and underscore
 - Legacy-Id: 4478
2012-06-20 11:13:46 +00:00
Ole Laursen 95c2b07691 Include _ in allowed document name regexp, we currently have 7 drafts
with _ in the database despite it not being valid - they can be found
with:
select name from doc_document where name like '%\_%' and type_id = "draft";
 - Legacy-Id: 4477
2012-06-20 11:00:35 +00:00
Henrik Levkowetz 77977bf32f Remove print statements.
- Legacy-Id: 4464
2012-06-17 14:07:18 +00:00
Henrik Levkowetz a4220324e0 Don't try to call get_profile() if it's not available.
- Legacy-Id: 4445
2012-06-10 18:28:28 +00:00
Henrik Levkowetz afe3ee71b8 Merged in fixes from Ole, from branch/charter:r4382-4407, and some changes from Henrik (removing the use of pos.blocked in views_ballot.py, and setting a ballot id in idrfc/testsREDESIGN.py) to make idrfc.EditPositionTestCase succeed.
- Legacy-Id: 4444
2012-06-10 16:22:16 +00:00
Ole Laursen bb30e1d681 Remove accidentally committed debug print.
- Legacy-Id: 4406
2012-05-07 19:21:54 +00:00
Henrik Levkowetz c7e75522ad Fix bug in picking up blocking text (patch provided by olau@iola.dk).
- Legacy-Id: 4387
2012-05-04 12:57:06 +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
Ole Laursen eaf09d9dc5 Move charter state help to /doc/help/state/charter/.
- Legacy-Id: 4379
2012-05-03 19:23:24 +00:00
Ole Laursen b6a057673a Fix wording of send ballot comment, the actual text was still specific
to drafts.
 - Legacy-Id: 4360
2012-05-03 16:15:20 +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 5fcd0297ed Reverse direction of revisions on charter /doc/ page to match tools.ietf.org/html/draft-*.
- Legacy-Id: 4349
2012-05-02 12:16:25 +00:00
Henrik Levkowetz fddaf58f41 Merged [4288] from rjsparks@nostrum.com:
Made several changes to correctly use the new (RFC6410)  "Internet Standard" level
in email that gets sent at various stages in the handling of documents.

Fixes bug 821.
 - Legacy-Id: 4332
Note: SVN reference [4288] has been migrated to Git commit 0e2dd258c7
2012-04-26 20:00:48 +00:00
Ole Laursen 6ef8b8227c Fix bug in diff'ing charter revisions.
- Legacy-Id: 4293
2012-04-20 12:51: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
Robert Sparks 0e2dd258c7 Made several changes to correctly use the new (RFC6410) "Internet Standard" level
in email that gets sent at various stages in the handling of documents.

Fixes bug 821
 - Legacy-Id: 4288
2012-04-17 21:00:26 +00:00
Ole Laursen 7932a75363 Fix ballot_icon templatetag bugs so it can handle other document types
too.
 - Legacy-Id: 4284
2012-04-17 16:22:30 +00:00
Ole Laursen 9fe98c88e5 Don't show ballot writeup unless we've got a ballot
- Legacy-Id: 4283
2012-04-17 16:01:45 +00:00
Ole Laursen f3013a18ca Back out automatic closing of ballot if state is changed to dead for
the time being; based on experience with the migration script it looks
like drafts are sometimes killed to later resurface with reused ballot
positions
 - Legacy-Id: 4282
2012-04-17 15:54:51 +00:00
Ole Laursen 24dd2ed521 Close draft ballot if the draft is moved into state "Dead"
- Legacy-Id: 4278
2012-04-16 13:59:48 +00:00
Ole Laursen 0fc1561260 Close draft ballot on Secretariat approval/disapproval action
- Legacy-Id: 4277
2012-04-16 13:59:16 +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
Ole Laursen 47b466eaae Move charter urls from /wgcharter/<group-acronym> to
/doc/<doc-name>/charter/ since they now all concern the actual charter
documents rather than the WG (this removes some redundant code).
 - Legacy-Id: 4271
2012-04-10 18:11:03 +00:00
Ole Laursen 4f4a47bffa Only show defer actions for I-Ds
- Legacy-Id: 4270
2012-04-10 17:42:30 +00:00
Ole Laursen 41fb923d01 More clean up and fix a bunch of bugs.
- Legacy-Id: 4261
2012-04-05 15:06:22 +00:00
Ole Laursen 7b2963aaf0 Move note about IANA scraping messages, apparently I managed to put it
in the wrong place (they're of course scraping draft approvals, not
the ballot announcements).
 - Legacy-Id: 4260
2012-04-05 14:45:33 +00:00
Ole Laursen 75ac144432 Make generic add comment return to history tab rather than the main
doc page
 - Legacy-Id: 4259
2012-04-05 14:20:36 +00:00
Ole Laursen 3768e36e60 Disable ballot tab when there's no ballot.
- Legacy-Id: 4256
2012-04-04 18:20:27 +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 25cb532348 Move last call announcement text to last call event rather than
stuffing it inside the state change event.
 - Legacy-Id: 4253
2012-04-03 16:46:23 +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 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 0fea5e015a Use doc.canonical_name() rather than generating the file name from the group acronym.
- Legacy-Id: 4219
2012-03-24 16:52:54 +00:00
Ryan Cross cbc660e7fb Ticket #673 Add ability to clear ballot
- Legacy-Id: 4212
2012-03-24 14:48:24 +00:00
Ole Laursen fc921ecb72 Fix crash if the charter text file isn't found.
- Legacy-Id: 4206
2012-03-24 14:08:23 +00:00
Ole Laursen c6f59d2c7c Give document tab URLs names.
- Legacy-Id: 4167
2012-03-22 18:20:03 +00:00
Henrik Levkowetz ca1148ab67 Python 2.6 (used in production) doesn't have the total_seconds() method on datetime.timedelta -- use a module function instead.
- Legacy-Id: 4157
2012-03-21 14:27:32 +00:00
Henrik Levkowetz 59aedbe937 The RFC Queue import has been broken by the introduction of '*R' suffices on some states. Ignore those for now; find out the semantics of this from the RFC editor and fix accordingly.
- Legacy-Id: 4152
2012-03-21 13:12:38 +00:00
Ole Laursen fb71294b99 Only show RFC documents that are in state RFC, this prevents documents
with an RFC DocAlias but not the right state from being displayed as
RFCs (as in issue #815). Displaying them as RFCs doesn't work properly
as most of the wrapper currently assumes the RFC state.
 - Legacy-Id: 4151
2012-03-21 11:08:16 +00:00
Ole Laursen 43e9ea2607 Unify history handling for groups and documents.
- Legacy-Id: 4149
2012-03-20 18:22:14 +00:00
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