Henrik Levkowetz
a9fbea113b
Changed incorrect use of 404 status code in api to 400. Fixes issue #2498 .
...
- Legacy-Id: 15044
2018-04-13 11:11:48 +00:00
Henrik Levkowetz
6e5e50c78c
Added an error message for missing email in extracted author information during automated draft submission.
...
- Legacy-Id: 14743
2018-03-07 16:42:57 +00:00
Henrik Levkowetz
26bf387356
Replaced direct assignment to m2m fields with .clear() and .set()
...
- Legacy-Id: 14666
2018-02-21 23:58:25 +00:00
Henrik Levkowetz
ec02ed5cdd
Removed case sensitivity in the submission API when comparing the submitter email address with the email addresses found in the draft. Fixes issue #2396 .
...
- Legacy-Id: 14265
2017-11-01 13:47:12 +00:00
Henrik Levkowetz
437a622141
Set a temporary state 'confirmed' when handling submission confirmations in order to avoid running the confirmation code multiple times on multiple form submits.
...
- Legacy-Id: 14191
2017-10-07 13:34:14 +00:00
Henrik Levkowetz
7b2d921a5a
Tweaked the submission search form to accept draft names which include revision numbers. Fixes issue #2380 .
...
- Legacy-Id: 14171
2017-09-27 15:08:40 +00:00
Henrik Levkowetz
2d817427fc
Added a cancel button to the submission confirmation page. Fixes issue #2379 .
...
- Legacy-Id: 14170
2017-09-27 14:18:12 +00:00
Henrik Levkowetz
d0583f4f02
Removed the repeat of the error message in the HTTP reason string. Fixes issue #2378 .
...
- Legacy-Id: 14168
2017-09-27 11:03:25 +00:00
Henrik Levkowetz
8d3c540edd
Added submit API instructions and fixed a bug in error handling for the submission validity checkers.
...
- Legacy-Id: 14126
2017-09-17 13:04:41 +00:00
Henrik Levkowetz
3af2554b2f
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.
...
- Legacy-Id: 14125
2017-09-16 09:35:42 +00:00
Henrik Levkowetz
b42f1cbeb5
Replaced the use of unaccent.asciify(), which has similar functionality to unidecode.unidecode(). Changed the draft parser to work exclusively with unicode text, which both makes the removal of unaccent easier, and takes us closer to Py35 compatibility. Adjusted callers of the draft parser to send in unicode.
...
- Legacy-Id: 13673
2017-06-18 18:23:18 +00:00
Henrik Levkowetz
d98054c103
Added a new yang checker, 'yanglint', to the existing Yang checker class, in
...
addition to the existing 'pyang' checker.
Added modal overlay displays showing the yang check results every place the
yin/yang symbol is shown (red or green) to indicate the presencee and result
of yang checks. Added a Yang Validation: line in the document
meta-information section on the document's page in the datatracker.
Added the result of the xym extaction to the yang check results, to make
extration failures visible.
Added the version of the used xym, pyang, and yanglint commands to the check
results.
Added an action to move successfully extracted and validated modules to the
module library directories immediately on submission.
Added the xym and pyang repositories as svn:external components, rather than
listing them in requirements.txt, as there has been delays of many months
between essential features in the repositories, and an actual release. We may
get occasional buildbot failures if broken code is pulled in from the
repository, but better that than the functionality failure of severely
outdated componets.
Added a new management command to re-run yang validation for active drafts for
which yang modules were found at submission time, in order to pick up imported
models which may have arrived in the model libraries after the draft's
submission. Run daily from bin/daily.
Added a table to hold version information for external commands. The yang
checker output should include the version information of the used checkers,
but seems unnecessary to run each command with its --version switch every
time we check a module...
Added a new management command to collect version information for external
commands on demand. To be run daily from bin/daily.
Added tests to verify that xym, pyang and yanglint information is available
on the submission confirmation page, and updated the yang module contained in
the test document to validate under both pyang and yanglint.
Updated admin.py and resource.py files as needed.
- Legacy-Id: 13630
2017-06-15 16:09:28 +00:00
Henrik Levkowetz
fb66f38afd
Undid an unintentional adaptation to the xml2rfc 2.6.0 call interface change.
...
- Legacy-Id: 13556
2017-06-07 00:07:39 +00:00
Henrik Levkowetz
76628be3fd
Merged in ^/branch/iola/author-stats-r13145 from olau@iola.dk, and fixed some tests in code which moved after the latest merge with trunk. The test suite passes, but the migrations are _not_ ready to run, because of numbering conflicts (again due to code changes on trunk since the latest sync).
...
- Legacy-Id: 13479
2017-05-31 20:59:26 +00:00
Ole Laursen
5b677dc6ba
Merge author stats branch into new branch from trunk
...
- Legacy-Id: 13159
2017-03-28 14:36:40 +00:00
Lars Eggert
8a70e9773d
Fix various "RemovedInDjango20Warning" warnings. Commit ready for merge.
...
- Legacy-Id: 13112
2017-03-25 19:16:45 +00:00
Henrik Levkowetz
27351c4349
Fixed url lookups for doc.views_doc.document_main() to only use dotted-path, and removed the doc_view explicit url name. Fixes a 500 error in /submit/status/NNNN/.
...
- Legacy-Id: 12897
2017-02-22 11:40:55 +00:00
Ole Laursen
9d8874d8b1
Add a suggestion to fix the country name when submitting a draft in
...
case we can't parse it and it's not empty, add page with list of
countries (to be able to refer people to it), add ISO codes as country
aliases - the country alias code is now more intelligent with respect
to case so it's easier to keep these aliases explicitly
- Legacy-Id: 12862
2017-02-16 17:56:23 +00:00
Ole Laursen
b2ff10b0f2
Add support for extracting the country line from the author addresses
...
to the draft parser (incorporating patch from trunk), store the
extracted country instead of trying to turn it into an ISO country
code, add country and continent name models and add initial data for
those, add helper function for cleaning the countries, add author
country and continent charts, move the affiliation models to
stats/models.py, fix a bunch of bugs.
- Legacy-Id: 12846
2017-02-15 18:43:57 +00:00
Ole Laursen
90051a1575
Add support for displaying and editing author affiliation and country
...
when submitting a draft, replace the Submission.authors line-based
text field with a JSON field
- Legacy-Id: 12745
2017-01-27 16:10:31 +00:00
Ole Laursen
9308948195
Add person, affiliation and country (through django-countries) to
...
DocumentAuthor, rename author field to email and make it optional (for
modeling old email-less submissions), remove the authors many to many
referencing field from Document as it is not really pointing the right
place.
Update the Secretariat tools to show affiliation and country.
Add migration for getting rid of the fake email addresses that the
migration script created some years ago (just set the author email
field to null).
- Legacy-Id: 12739
2017-01-26 17:10:08 +00:00
Ole Laursen
76bcab6efc
Show formal languages used on new submissions and make the field
...
editable, also add it to the test with a simple JSON example
- Legacy-Id: 12662
2017-01-17 13:52:16 +00:00
Ole Laursen
1850a26b23
Add words and formal languages to Submission, set them in the submit
...
view, clean up submit view a bit to avoid duplicated attribute setting
code
- Legacy-Id: 12660
2017-01-16 17:37:23 +00:00
Henrik Levkowetz
8a5593e714
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.
...
- Legacy-Id: 12097
2016-10-06 17:03:23 +00:00
Henrik Levkowetz
72cfe4cf68
Removed the creation of duplicate new revision doc events. Corrected the timestamp on approval docevents. Changed where the submission upload docevent is created, to avoid spurious events for cancelled uploads. Adjusted the person associated with some events from submitter to (System). Added tests for the sequence of events associated with a submission.
...
- Legacy-Id: 12072
2016-10-01 21:16:04 +00:00
Henrik Levkowetz
68655b569b
Fixed 2 testing bugs. Added tests for handling of submitters without email and drafts with non-ascii names in the author section.
...
- Legacy-Id: 12064
2016-09-30 17:35:35 +00:00
Henrik Levkowetz
da2c25182f
Code changes to handle draft submission authors without email addresses better.
...
- Legacy-Id: 12063
2016-09-30 10:48:46 +00:00
Henrik Levkowetz
613363cccc
Try various ways of handling non-ascii names/emails in draft submissions, in order to get past the early processing to the point where we run idnits and can flag non-ascii content, instead of failing with a server 500 error.
...
- Legacy-Id: 12053
2016-09-27 20:27:05 +00:00
Henrik Levkowetz
254c3db807
Style changes.
...
- Legacy-Id: 11944
2016-09-08 17:37:36 +00:00
Henrik Levkowetz
47d6bbbea3
Renamed the SubmissionEmail event class to SubmissionEmailEvent, and added an admin class for it.
...
- Legacy-Id: 11942
2016-09-08 15:04:53 +00:00
Henrik Levkowetz
7a8c067d83
Changed a state name, and renamed some view functions for easier code reading. Removed extra name= parameters from the submit/ urlpatterns.
...
- Legacy-Id: 11917
2016-09-01 09:14:34 +00:00
Henrik Levkowetz
e2fccfb094
Merged in ^/branch/scow/track-manual-id-posts-6.31.1.dev0@11899, which provides better support for manual ID posting.
...
- Legacy-Id: 11914
2016-08-31 22:30:31 +00:00
Mike Douglass
fa3a34389e
Merge forward to 6.31.1.dev0
...
- Legacy-Id: 11899
2016-08-31 03:00:10 +00:00
Robert Sparks
2009afe7b8
preparing to merge forward to 6.31
...
- Legacy-Id: 11875
2016-08-25 15:21:57 +00:00
Henrik Levkowetz
be2a2285bc
Added small orange or green yang symbols to draft info- and list-pages, signifying fail or pass for the submission yang validation.
...
- Legacy-Id: 10994
2016-03-28 18:47:53 +00:00
Henrik Levkowetz
76bb233b70
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.
...
- Legacy-Id: 10894
2016-03-04 20:08:29 +00:00
Robert Sparks
cb778b9660
Exclude concluded bofs from the set of groups for which a person can pre-approve drafts. Restore AD access to preapproval. (Need to consider adding delegate and group secretary access). Fixes #1896 . Commit ready for merge
...
- Legacy-Id: 10734
2016-01-26 19:42:57 +00:00
Robert Sparks
f0f5a51eb6
(Rocky) merge forward.
...
- Legacy-Id: 10157
2015-10-09 03:16:24 +00:00
Robert Sparks
f5b6465e81
mailtoken becomes mailtrigger
...
- Legacy-Id: 10090
2015-09-17 20:03:45 +00:00
Henrik Levkowetz
cd0a482cb9
Log and re-raise the initial exception, rather than raising one later because submission is undefined.
...
- Legacy-Id: 10073
2015-09-03 15:14:44 +00:00
Robert Sparks
90c3426e2f
updated mailtoken utilities to match the model refactor. Morphed all the code using the utilities to match. Added paths to get Cc through as needed. Next up: Recipient selection form for the iesg save-and-send-email workflow
...
- Legacy-Id: 10040
2015-08-23 18:15:06 +00:00
Robert Sparks
89f038a1e3
checkpoint
...
- Legacy-Id: 10019
2015-08-17 20:24:16 +00:00
Henrik Levkowetz
fe6aa25af5
Improved the handling of failed xml2rfc conversions when no txt document was submitted.
...
- Legacy-Id: 9914
2015-07-29 19:38:00 +00:00
Henrik Levkowetz
ea26114076
Merged in [9875] from rjsparks@nostrum.com:
...
Improve the form validation for the submission replaces form.
- Legacy-Id: 9877
Note: SVN reference [9875] has been migrated to Git commit 766270a344
2015-07-25 15:29:30 +00:00
Robert Sparks
766270a344
Improve the form validation for the submission replaces form. Commit ready for merge.
...
- Legacy-Id: 9875
2015-07-23 14:24:59 +00:00
Henrik Levkowetz
da893dad1c
Merged in support of xml-source only drafts submissions from personal/henrik/submitxml/.
...
- Legacy-Id: 9859
2015-07-22 21:53:23 +00:00
Henrik Levkowetz
d5f36911cf
Added support of xml-source only drafts submissions.
...
- Legacy-Id: 9858
2015-07-22 21:35:44 +00:00
Robert Sparks
02a9da52a1
Manually moved the concepts forward. Reworked some presentation. Working enough to bring testers in at Sprint93
...
- Legacy-Id: 9717
2015-07-13 21:09:39 +00:00
Henrik Levkowetz
bd6d0775e1
Require posting confirmation for some particular draft name prefixes.
...
- Legacy-Id: 8591
2014-11-08 03:15:20 +00:00
Henrik Levkowetz
9ff2b9ff9a
Merged in support for RG pages, from branch/iola/rg-support.
...
- Legacy-Id: 7866
2014-06-09 20:52:14 +00:00