Commit graph

1896 commits

Author SHA1 Message Date
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 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
Emilio A. Sánchez López 0dde7786cd Decorate two pages with revision errors. Fixes #616
- Legacy-Id: 2886
2011-03-12 17:26:29 +00:00
Emilio A. Sánchez López 67c6c39002 Same fix for two_pages that for idnits message. See #615
- Legacy-Id: 2885
2011-03-12 16:59:07 +00:00
Emilio A. Sánchez López e20afe45e8 Do not allow to cancel already posted submissions. See #614
- Legacy-Id: 2884
2011-03-12 16:35:05 +00:00
Emilio A. Sánchez López 496dfa3b06 Fixed template so hidden content do not take extra space in the page layout. Fixes #615
- Legacy-Id: 2883
2011-03-12 16:31:18 +00:00
Emilio A. Sánchez López d08c515e78 Fixed 'post first-click' bug.
Added domain into email with authorization key.
Extend the type of submission that secretariat can cancel or autopost. Fixes #614
 - Legacy-Id: 2882
2011-03-12 16:22:44 +00:00
Emilio A. Sánchez López 28da455254 Do not ask for cancel confirmation if the submission has errors. Fixes #613
- Legacy-Id: 2881
2011-03-12 14:06:58 +00:00
Emilio A. Sánchez López ebda871046 Improve abstract cutting by head regular expresion and add look for a previous blank line. Fixes #612
- Legacy-Id: 2880
2011-03-12 13:57:42 +00:00
Emilio A. Sánchez López d95d089bc4 Use the correct filename when calling idnits. Fixes #611
- Legacy-Id: 2879
2011-03-12 12:44:08 +00:00
Emilio A. Sánchez López cf455f5be2 Add a warning when submitting a draft that belongs to a non active WG. Fixes #607
- Legacy-Id: 2877
2011-03-03 18:03:47 +00:00
Emilio A. Sánchez López 3bd2097171 Customize mail sent to WG chairs requesting submission approval.
Added the domain of the tool to the url.
Save the submitter info.
Fixes #606
 - Legacy-Id: 2876
2011-03-03 17:27:06 +00:00
Emilio A. Sánchez López c1c37818ea Patched draft.py with patch for faulty header/footer stripping. Fixes #604
- Legacy-Id: 2873
2011-03-02 16:18:30 +00:00
Emilio A. Sánchez López 8756407eaf Fix the 'no txt file' bug. Fixes #603
- Legacy-Id: 2866
2011-03-01 08:34:32 +00:00
Emilio A. Sánchez López 9ef42cfc09 Change button style. See #603
- Legacy-Id: 2865
2011-03-01 08:34:02 +00:00
Emilio A. Sánchez López 4cb2f082d5 Link to a previous active submission. See #603
- Legacy-Id: 2864
2011-03-01 08:33:40 +00:00
Emilio A. Sánchez López 7181ca75b1 Fix bug if the submission has no idnits message. See #603
- Legacy-Id: 2863
2011-03-01 08:33:03 +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