Commit graph

88 commits

Author SHA1 Message Date
Henrik Levkowetz 1d6cca7255 Merged in changes from rjsparks@nostrum.com, changeset [3107]. Fixes issues #659, #660, #661, #662 and #663.
- Legacy-Id: 3109
Note: SVN reference [3107] has been migrated to Git commit 6484874ca2
2011-05-09 21:34:09 +00:00
Henrik Levkowetz dd887eabeb Expand tabs in line during text wrapping, for consistent indentation handling.
- Legacy-Id: 3096
2011-05-04 18:15:34 +00:00
Henrik Levkowetz fb1ee770a7 Wrap long lines in the 'save and send email' view of AD ballot comments and discusses.
- Legacy-Id: 3082
2011-05-03 14:08:49 +00:00
Henrik Levkowetz 842b8f428f Merged branch/yaco/idsubmit@2903 from esanches@yaco.es to trunk: The Rewritten I-D Submission Tool.
- Legacy-Id: 3036
2011-04-07 20:29:45 +00:00
Henrik Levkowetz f0e20e2f30 Tweak the admin interface for WGs and Chairs, adding some useful links to the tabular displays.
- Legacy-Id: 2910
2011-03-24 10:11:55 +00:00
Henrik Levkowetz 995f176eb1 Tweak the admin interface for emailaddress a bit.
- Legacy-Id: 2851
2011-02-11 14:24:55 +00:00
Emilio A. Sánchez López 21bccc85b7 Fixed bug in InternetDraft.save. Fixes #594
- Legacy-Id: 2844
2011-02-10 18:25:02 +00:00
Henrik Levkowetz 6a5e06a773 Tweak the admin site email address list using admin_link().
- Legacy-Id: 2796
2011-02-02 15:23:11 +00:00
Henrik Levkowetz 1c961950fb Corrected spelling error in list_display specification for the PersonOrOrgInfo Admin page.
- Legacy-Id: 2760
2011-01-27 14:43:10 +00:00
Henrik Levkowetz c20d969eaf Merged [2673] from rjsparks@nostrum.com:
Refined the email sent when an position changes.
Added a helper to Position to get the current position description as a string This fixes issue #547.
 - Legacy-Id: 2674
Note: SVN reference [2673] has been migrated to Git commit 770429b398a9480a5367066d43d9c503d8fdae4a
2010-11-10 09:21:09 +00:00
Henrik Levkowetz 23cfcbebb1 Merged [2619] from kivinen@iki.fi:
Setting user cookies, and settable expires soon and new tags
	in id/rfc list.
 - Legacy-Id: 2634
Note: SVN reference [2619] has been migrated to Git commit ddd9b6fe4d702af5e9b132621a47f59fe2f36b4e
2010-11-06 09:33:32 +00:00
Henrik Levkowetz 6d6d3aac51 Merged [2604] from rjsparks@nostrum.com: Added filename to the subject of Protocol Action and Document Action email messages.
Fixed a bug that was preventing CC/BCC from being honored. Fixes issue #528.
 - Legacy-Id: 2623
Note: SVN reference [2604] has been migrated to Git commit 4d27ae4d7a535fb7c9cb44dd0d486a0f5850b1b1
2010-11-06 08:44:42 +00:00
Henrik Levkowetz af72493157 Merged from log:sprint/79/suresh@2605: Suresh' addition of a search function for drafts on their respective mailing lists. Fixes issue #458.
- Legacy-Id: 2611
2010-11-06 06:27:06 +00:00
Henrik Levkowetz eafcdccd3d Merged from log:branch/iesg-tracker@2571: IOLA's port of cron-scripts.
- Legacy-Id: 2578
2010-10-26 14:49:12 +00:00
Henrik Levkowetz e74dd34d2e Fix exception triggered by all_id* and 1id_* generating scripts when a document lacks creation date. Closes #371.
- Legacy-Id: 2501
2010-08-24 13:18:11 +00:00
Henrik Levkowetz 266b7820d0 Merged from log:branch/2.00@2363: Current release branch head to trunk.
- Legacy-Id: 2365
2010-07-21 12:48:05 +00:00
Henrik Levkowetz fa77ac30d5 Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py
- Legacy-Id: 841
2007-07-04 21:17:57 +00:00
Henrik Levkowetz cd030d3b43 Adding copyright notices to all python files
- Legacy-Id: 716
2007-06-27 21:16:34 +00:00
Henrik Levkowetz 320e2549da Add another missing test URL.
- Legacy-Id: 677
2007-06-26 23:59:40 +00:00
Bill Fenner 6d03969bac URL shuffling in iesg, idtracker and my
- Legacy-Id: 666
2007-06-26 20:21:31 +00:00
Bill Fenner 258ab62de9 Skip the diff for the last call - #120
Diffs:
 * The django version displays "waiting for writeup" documents, and has state labels
 * The django version omits the "hit counter"
 * The django version displays dates as "Jun 29" instead of "2007-06-29"
 * The django version displays "Last Call End" date for documents in Last Call, and "Status Date" otherwise.

These are all acceptable.
 - Legacy-Id: 640
2007-06-25 18:00:33 +00:00
Bill Fenner 5ed1f62f35 If the announcement hasn't been sent, then use the "old"
algorithm of displaying the current IESG with empty positions
for those that haven't been cast yet; if it has been sent
then just list the actual positions that are recorded since
the database doesn't have any record of whether the positions
were for current or old ADs.
 - Legacy-Id: 636
2007-06-25 17:41:50 +00:00
Bill Fenner 9dad4b8a75 Return a space inside a bracket if the text was empty.
- Legacy-Id: 634
2007-06-25 17:39:41 +00:00
Bill Fenner 430c53c9a3 Spell "skipredirect" properly.
- Legacy-Id: 613
2007-06-22 11:22:42 +00:00
Bill Fenner 0a3cee08a0 Skip the mailinglists/request/help redirect tests; those are only
served by the mailing list form so bookmarks to them are extremely
unlikely.

Remove trailing "?" from /idtracker/ entry; the redirect tool
strips off empty query strings.

Add ?cat=bugs to the send_email entry so the redirect will pass.

Skip the redirect test for the ballot, since there's an extra
(unused) query argument, filename=.

Add in all the query args that will get passed through the
redirect when searching for bgp-m, to make sure that they work
and to make the redirect test pass.
 - Legacy-Id: 609
2007-06-22 01:46:47 +00:00
Bill Fenner edb82f5d6c Implement revision_display for RFCs.
- Legacy-Id: 607
2007-06-22 01:43:00 +00:00
Bill Fenner 3c0e569d33 Import TemplateSyntaxError
- Legacy-Id: 601
2007-06-21 20:15:17 +00:00
Bill Fenner 09c0829127 Use the "M, j" format for last call end date too.
Add the year to the date field when it's not this year, using a new template tag "thisyear" which returns a boolean.
Also implement template tag "inpast" which I think could be useful for the meeting materials page.
 - Legacy-Id: 599
2007-06-21 20:03:39 +00:00
Bill Fenner c6493ad8ab Match I-D tracker search results better:
* Don't sort by ballot ID.
 * dictsort by filename within 'primary_flag' sets inside the template.
 * Change myifchanged to not reset on the first cycle of a for loop.
 * Introduce cyclevalue tag, to get the current cycle color from the cycle node itself instead of the context, since the context gets reset between for loops.
 - Legacy-Id: 596
2007-06-21 19:07:40 +00:00
Bill Fenner 8749188880 Pseudo-documents need primary_flag=1 to get rendered as though
they're the primary in their document set.
 - Legacy-Id: 594
2007-06-21 18:54:12 +00:00
Bill Fenner d43dd881a4 For the "I-D Exists" search, only search active documents - ignore
the supplied status in the pulldown.
 - Legacy-Id: 591
2007-06-21 17:51:30 +00:00
Bill Fenner 21c00de37f The status of items page isn't good to diff for two reasons:
* It changes all the time, so database update lag will cause differences
 * It changes all the time, so any diff file will be quickly outdated.

I've done extensive review of the whole set of differences between
the django code and perl code running on the same database and am
confident in the correctness of the django code.
 - Legacy-Id: 589
2007-06-21 17:02:44 +00:00
Bill Fenner d3e4dc6064 Omit 'RFC Ed Queue' and 'RFC Published' states.
- Legacy-Id: 584
2007-06-21 15:35:04 +00:00
Bill Fenner 91fbd02ef6 Fix #112 : filter by RFC number if it's an RFC.
- Legacy-Id: 563
2007-06-20 21:44:36 +00:00
Bill Fenner dc0832af51 Chase the renaming of the areadirectors model to areadirector,
and thus the renaming of the auto-generated _set attribute.

Remove the areadirectors_set() function.
 - Legacy-Id: 555
2007-06-20 14:02:32 +00:00
Michael Lee 02cbe98a1f * Add javascripts to the first step
* Add a method areadirectors_set to idtracker/models.py
 * Edit templates to adopt same look and feel with the existing tool
 - Legacy-Id: 550
2007-06-20 05:21:48 +00:00
Bill Fenner f7578e627b Use a regular ChoiceField for substate to allow "None" as an
option.
 - Legacy-Id: 508
2007-06-18 21:18:55 +00:00
Bill Fenner e454f1e4db Filter IETFWG.choices() on type='WG'.
- Legacy-Id: 507
2007-06-18 21:18:21 +00:00
Bill Fenner 91fe8ea9c2 Update compatability with bookmarked searches
- Legacy-Id: 491
2007-06-18 15:53:01 +00:00
Henrik Levkowetz 06091fcdb4 The same name for two functions is unfortunate. Fixed.
- Legacy-Id: 482
2007-06-17 21:07:22 +00:00
Bill Fenner ad150b5a7d Add another couple of redirects to skip
- Legacy-Id: 474
2007-06-17 13:44:11 +00:00
Henrik Levkowetz 73f8620a96 Removing unused imports
- Legacy-Id: 427
2007-06-16 11:24:28 +00:00
Bill Fenner 63d325b0eb This is obsoleted by test/sql_fixup.sql.
- Legacy-Id: 406
2007-06-15 15:28:52 +00:00
Henrik Levkowetz de55978562 New filters to strip leading zeroes, and change rendering of RFCs to be without space between 'RFC' and number
- Legacy-Id: 396
2007-06-15 11:46:36 +00:00
Henrik Levkowetz d989d0aa21 A little filter to add a space to strings like 'RFC1234' to get 'RFC 1234'
- Legacy-Id: 386
2007-06-14 23:38:51 +00:00
Bill Fenner a74d09d172 A debugging print crept into my commit, oops!
- Legacy-Id: 381
2007-06-13 19:47:45 +00:00
Bill Fenner 2bf510f43b Add "myifchanged" tag, which is different from the standard ifchanged
in two ways:
 * It permits an "else" clause.  This code is from http://code.djangoproject.com/ticket/4534
 * It doesn't push the context while rendering, so context changes can be performed (like the change that cycle makes: putting the current value into the context)

Use this new tag to cycle the row color if the ballot_id has changed, or
if it's a synthetic document.
 - Legacy-Id: 380
2007-06-13 18:43:56 +00:00
Bill Fenner 62b82e5ed1 Sort the primary document on a ballot set to the top.
- Legacy-Id: 379
2007-06-13 18:35:11 +00:00
Bill Fenner ada5521a9f Sort states and substates by their ID in the model.
Use the right number of hyphens to separate the current ADs from
old ADs in the I-D Search form.
 - Legacy-Id: 374
2007-06-13 17:23:38 +00:00
Bill Fenner 2ad2219895 Implement DocumentWrapper class, which isn't a model but has enough
of the same API as IDInternal to allow the template to render it.

When fetching lists of document IDs, use values() to fetch only the
ID to reduce database overhead (and model object creation overhead)
 - Legacy-Id: 373
2007-06-13 17:21:22 +00:00