Commit graph

2113 commits

Author SHA1 Message Date
Henrik Levkowetz c609c95fce Change the URL of the wg documents text dump to be more similar to /iesg/agenda/documents/.
- Legacy-Id: 2970
2011-03-26 16:05:32 +00:00
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 58131e99ac Changelog entry for 3.13
- Legacy-Id: 2923
2011-03-26 08:27:26 +00:00
Emilio A. Sánchez López aa7cfebc68 Mix the state and tag edit views into one. Fixes #619
- Legacy-Id: 2922
2011-03-25 12:34:02 +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
Emilio A. Sánchez López 153cdc72fe Include middle initial and name suffix into authors information if presented.
Fix author update when auto posting. Fixes #626
 - Legacy-Id: 2903
2011-03-23 18:14:12 +00:00
Emilio A. Sánchez López 1dbe9bf3ed Add fields to store middle initial and name suffix of incoming authors. See #626
- Legacy-Id: 2902
2011-03-23 18:12:49 +00:00
Emilio A. Sánchez López cdeb47f133 Pathec draft.py for including full name, middle initial and name suffix in authors info. See #626
- Legacy-Id: 2901
2011-03-23 18:02:33 +00:00
Emilio A. Sánchez López 6f6d720daa Get author information from the tuple of draft.py. Do not mark as error if some author has no email. Fixes #626
- Legacy-Id: 2900
2011-03-23 09:53:25 +00:00
Emilio A. Sánchez López 15a576b348 Add initial _author_info. See #626
- Legacy-Id: 2899
2011-03-23 09:44:20 +00:00
Emilio A. Sánchez López 2a9394025d Patch draft.py for extracting author information as tuples. See #626
- Legacy-Id: 2898
2011-03-23 09:24:03 +00:00
Emilio A. Sánchez López e2e11b82aa Place the edit state/stream action into the draft view. Show only actions allowed. Fixes #625
- Legacy-Id: 2897
2011-03-21 09:48:35 +00:00
Emilio A. Sánchez López 5a34b70e52 Applied patch to draft.py. Fixes #624
- Legacy-Id: 2896
2011-03-21 08:18:17 +00:00
Emilio A. Sánchez López 883ec1d1d1 Do not require approval for individual submissions. Fixes #623
- Legacy-Id: 2895
2011-03-17 17:26:29 +00:00
Emilio A. Sánchez López 8db45b0bb9 Fixed grammar nit. Fixes #620
- Legacy-Id: 2894
2011-03-17 17:13:35 +00:00
Emilio A. Sánchez López 2c2655a564 Fix form to not crash on invalid author extraction. Fixes #621
- Legacy-Id: 2893
2011-03-17 17:11:47 +00:00
Emilio A. Sánchez López db905d3903 Patched draft.py for extract mails in the form username at domain. See #621
- Legacy-Id: 2892
2011-03-17 16:38:27 +00:00
Emilio A. Sánchez López 3bb83a6e23 Fix bug calling a self method. See #618
- Legacy-Id: 2891
2011-03-17 14:37:49 +00:00
Emilio A. Sánchez López 917d287182 Button to request the full access url of a submission. Fixes #618
- Legacy-Id: 2890
2011-03-17 12:14:53 +00:00
Emilio A. Sánchez López cc6af53359 Require submission hash in the url to perfom edit/post/cancel actions as a non secretariat user. See #618
- Legacy-Id: 2889
2011-03-17 10:38:32 +00:00
Emilio A. Sánchez López be8fb661d5 Added submission_hash field. See #618
- Legacy-Id: 2888
2011-03-17 09:57:23 +00:00
Emilio A. Sánchez López fb7219c6ce Patch title extraction. Patch provided by Henrik. Fixes #617
- Legacy-Id: 2887
2011-03-14 14:42:08 +00:00