datatracker/ietf/submit
Henrik Levkowetz 2c1438c240 Moved unidecode_name from utils.text to person.name.
Modified UserFactory to use a new locale for each new user, instead of the
same locale for a whole test run.  This (almost) ensures the exercise of
code to deal with non-ascii names, something which would not happen if a
locale with ascii names was chosen at the start of a run.

Modified name.initials() to not use non-word characters as initials.

Modified unidecode_name() to do more normalization, to conform to the
conventions used in internet-drafts.

Added saving of the factory-boy random state in order to be able to re-run
a test suite with the same pseudo-random sequence as in a previous failed
run.

Fixed an issue with email formatting in test_api_submit_ok().

Modified the draft author extraction code to deal better with names with
embedded apostrophes.
 - Legacy-Id: 14141
2017-09-20 15:36:30 +00:00
..
management Converted all management commands which set up additional command-line switches to use the argparse approach instead of the deprecated optparse approach. 2017-01-11 18:42:38 +00:00
migrations Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
parsers Tweaked the wording of the unexpected-encoding warning. 2017-07-03 11:38:03 +00:00
templatetags Merged in [9766] from lars@netapp.com: 2015-07-18 12:42:38 +00:00
.gitignore Ignore *.pyc files under ietf/submit, as elsewhere. 2011-04-12 15:57:35 +00:00
__init__.py Remove backtrace email code from submit __init__.py, after the submit revamp I think I am responsible for all remaining bugs and not esanchez@yaco.es, and the code sometimes annoyingly interferes (through a bug in admin) with loading the submit module in the shell 2013-11-19 16:14:27 +00:00
admin.py Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
checkers.py Tweaked the submission checker shell invocation code to deal with command lines starting with environment variable settings. 2017-09-08 12:09:22 +00:00
forms.py Added an API for draft submission, at /api/submit. Added an urls.py file under api/ to hold api urls, and moved those from ietf/urls.py. Refactored out many parts of the regular submission forms and functions in submit/forms.py and submit/views.py in order to re-use the appropriate parts for the submission API. Moved support functions to submit/utils.py. Added a new validation errors for missing docName in xml-based submissions. Updated the submission test document templates to use insert additional values. Added failure and success test cases for automated API submissions, and refactored some test utility functions. 2017-09-16 09:35:42 +00:00
mail.py Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge. 2017-03-25 19:16:45 +00:00
models.py Changed the implementation of Submission.latest_checks() to also return None checks, so it's possible to update a Passed due to no yang modules to a None (no modules to check). 2017-06-20 21:05:48 +00:00
resources.py Added reverse relationships from drafts to submissions to submission checks to the Json API, to make it easier to find the yang checks for a given document. 2017-07-07 12:55:30 +00:00
test_submission.bad Improved the verification of submitted file extensions and mimetype. 2015-08-07 12:10:26 +00:00
test_submission.nonascii Added a new yang checker, 'yanglint', to the existing Yang checker class, in 2017-06-15 16:09:28 +00:00
test_submission.pdf Added support of xml-source only drafts submissions. 2015-07-22 21:35:44 +00:00
test_submission.ps Added support of xml-source only drafts submissions. 2015-07-22 21:35:44 +00:00
test_submission.txt Added an API for draft submission, at /api/submit. Added an urls.py file under api/ to hold api urls, and moved those from ietf/urls.py. Refactored out many parts of the regular submission forms and functions in submit/forms.py and submit/views.py in order to re-use the appropriate parts for the submission API. Moved support functions to submit/utils.py. Added a new validation errors for missing docName in xml-based submissions. Updated the submission test document templates to use insert additional values. Added failure and success test cases for automated API submissions, and refactored some test utility functions. 2017-09-16 09:35:42 +00:00
test_submission.xml Added an API for draft submission, at /api/submit. Added an urls.py file under api/ to hold api urls, and moved those from ietf/urls.py. Refactored out many parts of the regular submission forms and functions in submit/forms.py and submit/views.py in order to re-use the appropriate parts for the submission API. Moved support functions to submit/utils.py. Added a new validation errors for missing docName in xml-based submissions. Updated the submission test document templates to use insert additional values. Added failure and success test cases for automated API submissions, and refactored some test utility functions. 2017-09-16 09:35:42 +00:00
test_submission_invalid_yang.txt Added an API for draft submission, at /api/submit. Added an urls.py file under api/ to hold api urls, and moved those from ietf/urls.py. Refactored out many parts of the regular submission forms and functions in submit/forms.py and submit/views.py in order to re-use the appropriate parts for the submission API. Moved support functions to submit/utils.py. Added a new validation errors for missing docName in xml-based submissions. Updated the submission test document templates to use insert additional values. Added failure and success test cases for automated API submissions, and refactored some test utility functions. 2017-09-16 09:35:42 +00:00
tests.py Moved unidecode_name from utils.text to person.name. 2017-09-20 15:36:30 +00:00
urls.py Updated all urlpatterns to use ietf.utils.urls.url() instead of django's, 2017-02-11 14:43:01 +00:00
utils.py Moved unidecode_name from utils.text to person.name. 2017-09-20 15:36:30 +00:00
views.py Added submit API instructions and fixed a bug in error handling for the submission validity checkers. 2017-09-17 13:04:41 +00:00