Commit graph

1500 commits

Author SHA1 Message Date
Henrik Levkowetz ee1a49c4be Merged [2961] from kivinen@iki.fi:
Restructured to be cleaner. Implemented text version of the list of working group drafts.
 - Legacy-Id: 2969
Note: SVN reference [2961] has been migrated to Git commit 4c59872221f66de1d9d00bdcee9d699751c335a6
2011-03-26 15:59:19 +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
Henrik Levkowetz 12f344054d Merged [2949] from rjsparks@nostrum.com:
Adds a view of documents currently in IETF Last Call

Fixes bug #630
 - Legacy-Id: 2957
Note: SVN reference [2949] has been migrated to Git commit 2cb9e0050a2970e5c5576b46ce75a0b7095532fd
2011-03-26 14:43:24 +00:00
Henrik Levkowetz 0ccff982bb Merged [2948] from bmheight@gmail.com:
Addresses issue #628, using reverse() and the newly created helper function 
reverse_lazy()  (found in ietf/utils/lazy.py) to DRY out the code a bit by 
decoupling the urls from being hardcoded.

With this commit idrfc, and ipr modules have been modified to take advantage 
of the reverse() and reverse_lazy() functions.
 - Legacy-Id: 2956
Note: SVN reference [2948] has been migrated to Git commit 9399a2e0e8bbfe5c5a16781fd784776cfa31fbac
2011-03-26 14:36:10 +00:00
Henrik Levkowetz 090be02a16 Merged [2947] from rjsparks@nostrum.com:
Changed the way ballot discuss/comment texts are displayed to
put the text from current ADs first, and mark ex-ADs with []
following the convention on the left bar.

This fixes issue #608
 - Legacy-Id: 2955
Note: SVN reference [2947] has been migrated to Git commit 3c88c011e48e626e842c027575feb2f2aedde230
2011-03-26 14:35:05 +00:00
Henrik Levkowetz 97b48252b1 Merged [2946] from adam@nostrum.com:
Added ical-format agenda (http://trac.tools.ietf.org/tools/ietfdb/ticket/601)
 - Legacy-Id: 2954
Note: SVN reference [2946] has been migrated to Git commit fe3189ba04734ac21d8c18fba99b289abc0bd358
2011-03-26 14:33:51 +00:00
Henrik Levkowetz f29a8fb2c6 Merged [2945] from peter.musgrave@magorcorp.com:
Ticket 552: Add IPR column to IESG Telechat Agenda
 - Legacy-Id: 2953
Note: SVN reference [2945] has been migrated to Git commit 109799b334a45053d62251bbb5107350fc5f4c57
2011-03-26 14:32:41 +00:00
Henrik Levkowetz c3f3fdb79a Merged [2944] from rjsparks@nostrum.com:
Add a defer/undefer button to the edit_position dialog
 - Legacy-Id: 2951
Note: SVN reference [2944] has been migrated to Git commit 6b997bca0146b9a93967cd319f617a626304e22e
2011-03-26 14:31:41 +00:00
Henrik Levkowetz 2cd7b18ba2 Merged [2942] from kivinen@iki.fi:
Changed cookie settings to be valid for 10 years, they used to be valid
until the end of session.
 - Legacy-Id: 2950
Note: SVN reference [2942] has been migrated to Git commit 1287da3cf9c5e51e08ac6ddf704650c8808b8de6
2011-03-26 14:30:40 +00:00
Henrik Levkowetz 2034b5655a Set version info and settings back to development mode
- Legacy-Id: 2926
2011-03-26 08:28:29 +00:00
Henrik Levkowetz 0fa2f24b15 Set version info to release version 3.13 before branching.
- Legacy-Id: 2924
2011-03-26 08:27:57 +00:00
Henrik Levkowetz fa16a7b0c1 Change ietf/utils/draft.py to provide an alternative method to get author
information: draft.get_author_info().  This method returns a list of
(full_name, first_name, middle_part, surname, suffix, email), with
middle_part, suffix and email set to None if none was found.
 - Legacy-Id: 2921
2011-03-24 13:25:14 +00:00
Henrik Levkowetz 79a283c3f6 Add the fix for email addresses from [2892].
- Legacy-Id: 2920
Note: SVN reference [2892] has been migrated to Git commit db905d3903
2011-03-24 13:09:01 +00:00
Henrik Levkowetz 0b8bcfa81d Fix a series of issues found during testing. This is the patch provide
to Yaco on 2011-03-19, and committed on branch/yaco/idsubmit as [2896].

   * Extraction of Title which don't have the draft name on a separate
     page fails.  See for instance this example:
     http://www.ietf.org/staging/draft-ma-cdni-publisher-use-cases-00.txt
     The regex should maybe be updated to permit but not require a newline
     before the draft filename:
     '(?:\n\s*\n\s*)((.+\n){1,2}(.+\n?))(\s+<?draft-\S+\s*\n)\s*\n'

   * If there are blank lines before the start of the author list on the
     first page, the author extraction will fail.  This sometimes happens
     when there's junk at the start of a draft, see for instance
     http://www.ietf.org/id/draft-ietf-mpls-tp-process-00.txt .

   * Sometimes the Authors' Addresses section lists authors with the same
     workplace address on the same line: "Sam Spade and Joe Smith".  This
     needs a fix in the author extraction code.

   * Sometimes the order of first name, surname is different on the first
     page and in the author list, and sometimes the surname is uppercase
     in one place, but not in the other.  This also needs a fix in the
     author extraction code.

   * The header stripping code had a bug, where multiple blank lines could
     be replaced by a single blank line in the stripped text, which could
     mess up title extraction.

   * Title space normalization should be done also for titles from the
     'unusual title format' code branch of the title extraction code.

   * Company names on the first page are sometimes rendered with different
     case than in the Authors' Addresses section.

   * Some drafts list the draft filename _before_ the title, rather than
     after the title.  Permit this too. Covered in the patch.

   * Spanish names can be shown as either
	<given_name> <fathers_first_surname> <mothers_first_surname>
     or less formally as
	<given_name> <fathers_first_surname>
     If the first form is used in the Authors' Addresses section, but the
     second form (with the given name possibly abbreviated to its first
     letter) the author extraction will fail.

   * Drafts containing tabs will be caught by idnits during I-D submission,
     but in case the drafts.py module is used independently from idnits,
     convert tabs to spaces in order for the author extraction and other
     methods to work as expected.  Example: recently submitted draft
     draft-bergeron-payload-rtpfec-rs-00.txt.

   * Found a draft with a previously unhandled header/footer format:
     draft-fang-mpls-tp-oam-toolset-01.txt.  Tweak needed for header/footer
      stripping.
 - Legacy-Id: 2919
Note: SVN reference [2896] has been migrated to Git commit 5a34b70e52
2011-03-24 13:05:48 +00:00
Henrik Levkowetz 61300a9354 Fix title extraction. Patch provided to yaco 2011-03-14, committed to yaco/idsubmit branch as [2887].
- Legacy-Id: 2918
Note: SVN reference [2887] has been migrated to Git commit fb7219c6ce
2011-03-24 12:58:33 +00:00
Henrik Levkowetz 9ae7b90b59 Merged in changes from Yaco @2880.
- Legacy-Id: 2917
2011-03-24 12:54:31 +00:00
Henrik Levkowetz 265b94c4ca Bugfix for faulty header/footer stripping, sent to Yaco 2011-03-02.
- Legacy-Id: 2916
2011-03-24 12:53:19 +00:00
Henrik Levkowetz 5ab9f020ec Merged in changes from Yaco @2855.
- Legacy-Id: 2915
2011-03-24 12:51:34 +00:00
Henrik Levkowetz 2f1426ed18 Copy ietf/utils/draft.py from the old idsubmit branch.
- Legacy-Id: 2914
2011-03-24 12:38:27 +00:00
Henrik Levkowetz dbe590372a Provide a full URL to the last call email, rather than just the local url path.
- Legacy-Id: 2913
2011-03-24 12:37:45 +00:00
Henrik Levkowetz 5daa6a86c8 Fix typo.
- Legacy-Id: 2912
2011-03-24 12:36:31 +00:00
Henrik Levkowetz 1cea818425 Disable the bulk delete action from the admin interface.
- Legacy-Id: 2911
2011-03-24 10:12:51 +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 55a2854690 Tweak model names and admin display to make it easier to manage things (and understand the meaning/content of the different tables).
- Legacy-Id: 2909
2011-03-24 10:09:55 +00:00
Henrik Levkowetz 02d0eb698d Show user levels as more than numbers in the IESG login table. Add utility methods for use in the admin interface.
- Legacy-Id: 2908
2011-03-24 10:07:46 +00:00
Henrik Levkowetz d3468f4ebe Add some refinements for the admin interface. Show contact link and coloured Login/User links to show broken entries.
- Legacy-Id: 2907
2011-03-24 10:05:55 +00:00
Henrik Levkowetz 3418e1045b Fix call signature.
- Legacy-Id: 2906
2011-03-24 10:03:10 +00:00
Henrik Levkowetz a6b719500e Wrap the sdo name query in a try clause to avoid server 500 errors.
- Legacy-Id: 2905
2011-03-24 10:01:56 +00:00
Henrik Levkowetz 2b50bfdcef Only try to populate the liaison user/email list from the from_entity if it's set.
- Legacy-Id: 2904
2011-03-24 09:59:53 +00:00
Henrik Levkowetz 2ae5776024 Make the document announcement default Cc: somewhat configurable. Remove iab@iab.org (on request).
- Legacy-Id: 2861
2011-02-21 12:45:09 +00:00
Henrik Levkowetz 06a0ed4512 Link to the State help page from the 'State:' label.
- Legacy-Id: 2859
2011-02-17 18:19:00 +00:00
Henrik Levkowetz 995f176eb1 Tweak the admin interface for emailaddress a bit.
- Legacy-Id: 2851
2011-02-11 14:24:55 +00:00
Henrik Levkowetz ed31b7ef2b Don't use '&lt;' and '&gt;' in text/plain email text.
- Legacy-Id: 2839
2011-02-10 12:40:12 +00:00
Henrik Levkowetz 6080c7ec02 Don't permit just any characters in the document name; limit this to characters we currently permit in the names, or which has occurred in posted documents. Fixes a problem where non-ascii characters were propagated to the database search and caused collation sequence exceptions, instead of giving 404 errors.
- Legacy-Id: 2813
2011-02-04 12:20:10 +00:00
Henrik Levkowetz 7e6134496b Remove the To/From/Subject headers from extra headers to prevent duplicate headers.
- Legacy-Id: 2812
2011-02-04 12:13:46 +00:00
Henrik Levkowetz 860c28ddf2 Set version info and settings back to development mode
- Legacy-Id: 2805
2011-02-02 17:35:44 +00:00
Henrik Levkowetz b0d2ba45d9 Set version info to release version 3.12 before branching.
- Legacy-Id: 2803
2011-02-02 17:35:21 +00:00
Henrik Levkowetz 07c1eea5c2 Merged in changes from esanchez@yaco.es, changesets 2790-2791. Refined handling of the To: and From: address lists when the Liaison Manager is also a WG Chair or AD.
- Legacy-Id: 2801
2011-02-02 17:31:02 +00:00
Henrik Levkowetz 63bc9cff6d Changes from esanchez@yaco.es, changesets 2783-2789. Lets the secretariat send liaisons on behalf of others, corrected powers to liaison managers, and other fixes.
- Legacy-Id: 2800
2011-02-02 16:04:42 +00:00
Henrik Levkowetz 1837b38bc8 Rename 'LiaisonDetail.taken_care' field to 'action_taken'. Miscellaneous associated fixes. Enhanced liaison-related admin pages.
- Legacy-Id: 2798
2011-02-02 15:35:21 +00:00
Henrik Levkowetz b9b25dae37 Merged [2782] from esanchez@yaco.es: Retrieve the person from the legacy tables of non IESG logins. Fixes #576.
- Legacy-Id: 2797
Note: SVN reference [2782] has been migrated to Git commit f0772cf415
2011-02-02 15:31:04 +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 985dd2138f Provide a utility function admin_link() for use in admin list pages.
- Legacy-Id: 2795
2011-02-02 15:21:32 +00:00
Henrik Levkowetz 3686b73dcd Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles.
- Legacy-Id: 2794
2011-02-02 15:19:27 +00:00
Henrik Levkowetz f341c5de0e Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles.
- Legacy-Id: 2793
2011-02-02 15:17:30 +00:00
Henrik Levkowetz 8d259d6c4c Add a clean_whitespace filter in some places to get rid of any newlines embedded in document titles.
- Legacy-Id: 2792
2011-02-02 15:09:03 +00:00
Emilio A. Sánchez López fb7b3d2152 Allow to filter the to field when a Liaison Manager changes de from field. Fixes #577
- Legacy-Id: 2790
2011-02-02 14:46:01 +00:00
Emilio A. Sánchez López dc854120ea This template was missed. Fixes #579
- Legacy-Id: 2788
2011-02-01 18:59:49 +00:00
Emilio A. Sánchez López 5684bc324d Allow the secretariat to send liaisons on behalf of another user. Fixes #578
- Legacy-Id: 2787
2011-02-01 18:56:07 +00:00