datatracker/ietf/utils
Henrik Levkowetz 0c49999fc9 Updated utils/draft.py and modified the submit app code accordingly.
New features (keep in mind that utils/draft.py can be run standalone
to do extraction of draft author data, too):

  * The handling of author info formatted in columns causes problems
    in the face of an author named for instance A. Author with the
    company 'Al Author and Associates', causing breakage of email
    addresses longer than 'Al Author and'.  Tweaked the recognition
    of column data to require multiple (not only one) space around
    'and'.

  * Added support for extraction of author affiliation.

  * Tweaked the meaning of -t, --timestamp and added --notimestamp; and
    made the default be to emit leading timestamps based ont the draft
    file time.

  * Added support for running author extraction on RFCs, by not bailing
    out on not finding a draft name when RFC information is available.

  * Added support for additional date formats and author name formats.

  * Improved creation date extraction -- previously, the first supported
    date format which was recognized on the first page of the draft would
    be used, rather than the first date in a supported format.  This could
    cause errors if the Status of Memo section or Abstract contained a
    date occurring at the start of a line.

  * Tweaked the honorific regex to make things work better for the case
    when the full name in the author's address section includes a first
    name which isn't part of the first-page abbreviated name.  Fixes
    problems with draft-chiappa-lisp-introduction and similar.

  * Added a special case for people who provide their email address as
    'foo&cisco.com' instead of 'foo@cisco.com'.  Bah.

  * Added an alternative, more human-readable key-value-pair attribute
    output mode with a '-a' switch.

  * Tweaded the first-name regex to capture cases where the first name
    is indicated with an alternate first letter: 'Y(J) Stein'.  Fixes
    problems with draft-anavi-tdmoip and similar.
 - Legacy-Id: 4612
2012-07-11 12:51:33 +00:00
..
.gitignore * Moved utility functions into utils/ directory, and started breaking out 2007-05-11 15:48:45 +00:00
__init__.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
admin.py Provide a utility function admin_link() for use in admin list pages. 2011-02-02 15:21:32 +00:00
broken_foreign_key.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
cache_foreign_key.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
cached_lookup_field.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
draft.py Updated utils/draft.py and modified the submit app code accordingly. 2012-07-11 12:51:33 +00:00
draft_search.py Merged r840 from branch/2.00 to trunk, and updated version information in ietf/__init__.py 2007-07-04 21:17:57 +00:00
history.py Add generic find_history_active_at(obj, time), refactor to use it 2011-08-12 09:41:50 +00:00
html.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
lazy.py Merged [2948] from bmheight@gmail.com: 2011-03-26 14:36:10 +00:00
log.py Merged from log:branch/2.00@2363: Current release branch head to trunk. 2010-07-21 12:48:05 +00:00
mail.py Save announcements generated by the system as Messages, adding an 2012-02-08 21:05:28 +00:00
pipe.py Utility function to execute external functions. 2010-11-06 05:24:02 +00:00
proxy.py Move new schema models from redesign/ to ietf/ 2012-01-24 17:17:24 +00:00
test_data.py Add started_iesg_process event back in in test data as it's still 2012-04-16 13:57:18 +00:00
test_runner.py Tweak test setup message for site_id change. 2012-07-03 13:42:36 +00:00
test_utils.py Make test runner multi-DB-aware 2011-12-23 13:15:27 +00:00
textupload.py Check and sanitize text file upload (code is factored out in a new 2012-05-04 11:37:16 +00:00
unaccent.py Move unaccent helpers 2011-09-16 11:32:33 +00:00