datatracker/ietf/submit
Henrik Levkowetz aa5e61d958 Updated all urlpatterns to use ietf.utils.urls.url() instead of django's,
in order to autogenerate dotted path url pattern names.  Updated a number
of url reverses to use dotted path, and removed explicit url pattern names
as needed.

Changed some imports to prevent import of ietf.urls before django
initialization was complete.


Changed 3 cases of form classes being curried to functions; django 1.10
didn't accept that.

Started converting old-style middleware classes to new-style middleware
functions (incomplete).

Tweaked a nomcom decorator to preserve function names and attributes, like
a good decorator should.

Replaced the removed django templatetag 'removetags' with our own version
which uses bleach, and does sanitizing in addition to removing explicitly
mentionied html tags.

Rewrote the filename argument handling in a management command which had
broken with the upgrade.
 - Legacy-Id: 12818
2017-02-11 14:43:01 +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 migrations for the model changes done for the Django 1.8 upgrade. 2016-12-07 19:41:48 +00:00
parsers Changed the acceptable mime type for uploaded xml files to be either text/xml or application/xml. 2016-06-06 07:38:02 +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 Tweaked admin models. 2016-10-01 13:36:31 +00:00
checkers.py Added a pylint rc-file, and fixed or silenced a number of issues found by pylint using the settings .pylintrc (which enable only error checking). 2016-09-08 14:48:59 +00:00
forms.py Specified strip=False for another bunch of CharField form fields with Textarea widgets. 2017-01-23 17:38:56 +00:00
mail.py Renamed the SubmissionEmail event class to SubmissionEmailEvent, and added an admin class for it. 2016-09-08 15:04:53 +00:00
models.py Fixed all the warnings emitted by the check command; mostly use of null=True on ManyToManyFields, which doesn't make sense. 2016-11-03 20:13:44 +00:00
resources.py Change the cache key construction to deal with query arguments containing spaces. Fixes 500 errors which would otherwise occur. 2016-09-25 13:53:22 +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 Tweaked the nonascii draft test template. 2016-09-30 20:31:24 +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 Refactored draft submission checks so that new checkers can be slotted in through a configuration in settings.py. Refactored the calling of idnits to use the new API, and added a pyang validation check. 2016-03-04 20:08:29 +00:00
test_submission.xml Added guards against picking up non-ascii title and abstract from drafts submitted in xml form. 2016-11-30 15:56:22 +00:00
tests.py Added guards against picking up non-ascii title and abstract from drafts submitted in xml form. 2016-11-30 15:56:22 +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 Replaced the use of plain DocEvent for submission doc events with a SubmissionDocEvent that carries rev and a FK to submission. 2016-11-07 18:21:34 +00:00
views.py When converting submission events to doc events, post them in chronological order. Don't add upload doc events until we're past the possibility of submission cancellation. 2016-10-06 17:03:23 +00:00