datatracker/ietf/templates/submit
Jennifer Richards a0f6cdb661
feat: Process uploaded submissions asynchronously (#5580)
* fix: Use relative URL for submission status link

* refactor: Refactor/rename process_uploaded_submission async task

* feat: Add async task to process but not accept a submission

* feat: Replace upload_submission() with an async implementation (WIP)

* fix: Do not put Submission in "uploaded" state if an error occured

* refactor: Improve text/XML draft processing flow

* feat: Extract authors from text in async processing

* fix: Fix call signatures and abort submission on failed validation

* feat: Validate submission name format

* fix: Correctly validate emails from text submission

* fix: Clean up submission validation

* fix: Better display errors on upload_submission page

* feat: Reload submission status page when awaiting validation

* test: Fix call signatures; remove unused imports

* chore: Add type hint

* test: Update tests to match renamed task

* fix: Fix typo in error message

* test: Fix failing Api- and AsyncSubmissionTests

* Rename process_uploaded_submission to process_and_accept_...
* Remove outdated tests

Does not yet test new behavior.

* refactor: Break up submission_file() helper

* test: Refactor tests to run the async processing (wip)

* test: Drop test of bad PDF submission

The PDF submission field was removed, so no need to test it.

* test: Update more tests

* test: Bring back create_and_post_submission() and fix more tests

* fix: Drop to manual, don't cancel, on revision inconsistency

Fixes remaining failing SubmitTest tests

* style: Restyle upload_submission() with black

* test: Verify that async submission processing is invoked on upload

* test: Bring back old do_submission and fix tests

Properly separating the upload and async processing stages of submission
is a bigger refactoring than will fit right now. This better exercises
the submission pipeline.

* fix: Accept only XML for API submissions

* test: Test submission processing utilities

* feat: Improve status display for "validating" submissions

* chore: Remove obsolete code

* test: Update test to match amended text

---------

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-05-09 15:21:46 -05:00
..
add_preapproval.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
add_submit_email.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
announce_new_version.txt chore: Use URL resolver in more places (#4104) 2022-06-22 14:10:16 -05:00
announce_to_authors.txt chore: Use URL resolver in more places (#4104) 2022-06-22 14:10:16 -05:00
announce_to_lists.txt fix: Fix spacing/wrapping in I-D announce email. (#5277) 2023-03-07 10:40:38 -06:00
api_submission_info.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
api_submit_info.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
approval_request.txt fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
approvals.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
cancel_preapproval.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
confirm_submission.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
confirm_submission.txt fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
edit_submission.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
email.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
extresources_form.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
full_url.txt fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
manual_post.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
manual_post_request.txt fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
problem-reports-footer.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
replaces_form.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
search_submission.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
submission_email.html fix: add more HTML validation & fixes (#3891) 2022-05-03 13:55:48 -05:00
submission_files.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
submission_status.html feat: Process uploaded submissions asynchronously (#5580) 2023-05-09 15:21:46 -05:00
submit_base.html Hopefully the final check-ins. 2022-02-08 17:29:15 +00:00
submitter_form.html test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
tool_instructions.html fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
upload_submission.html feat: Process uploaded submissions asynchronously (#5580) 2023-05-09 15:21:46 -05:00