datatracker/ietf
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
..
api refactor: Tie Meetecho resources to Session pk (#5281) 2023-04-23 18:15:01 -05:00
bin feat: move IETF Activity reports from external text based to HTML pages (#5180) 2023-02-27 16:58:59 -06:00
community chore: Add type annotations to satisfy linter (#5435) 2023-03-29 09:06:14 +09:00
cookies More fixes 2021-12-02 11:07:50 +00:00
database-notes
dbtemplate chore: Add type annotations to satisfy linter (#5435) 2023-03-29 09:06:14 +09:00
doc fix: allow ISE to initiate conflict review (#5570) 2023-05-03 14:04:09 -05:00
group Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-03-31 10:52:45 +09:00
help refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
idindex fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
iesg feat: Move IESG agenda items from filesystem to DB (#5366) 2023-04-23 18:05:58 -05:00
ietfauth feat: Include support address in error message 2023-04-27 17:51:19 +00:00
ipr refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
liaisons refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
mailinglists refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
mailtrigger chore: Add type annotations to satisfy linter (#5435) 2023-03-29 09:06:14 +09:00
meeting refactor: Tie Meetecho resources to Session pk (#5281) 2023-04-23 18:15:01 -05:00
message refactor: Remove length limit on Message header fields (#5455) 2023-03-31 09:37:46 +09:00
name feat: Move IESG agenda items from filesystem to DB (#5366) 2023-04-23 18:05:58 -05:00
nomcom feat: Easy extraction of qualified volunteer list for nomcom chair (#5578) 2023-05-05 15:33:47 -05:00
person refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
redirects chore: Add type annotations to satisfy linter (#5435) 2023-03-29 09:06:14 +09:00
release feat: reflect breaking change in internal release description (#3826) 2022-04-14 15:04:09 -05:00
review fix: Do not add user to the top of queue after reject (fixes #4505) (#5427) 2023-03-30 08:34:08 +09:00
secr refactor: Tie Meetecho resources to Session pk (#5281) 2023-04-23 18:15:01 -05:00
static feat: Process uploaded submissions asynchronously (#5580) 2023-05-09 15:21:46 -05:00
stats refactor: Purge old migrations and update ci to build on a clean schema (#5431) 2023-03-28 18:06:07 +09:00
submit feat: Process uploaded submissions asynchronously (#5580) 2023-05-09 15:21:46 -05:00
sync Merge remote-tracking branch 'ietf-tools/main' into feat/postgres 2023-02-27 12:55:47 -06:00
templates feat: Process uploaded submissions asynchronously (#5580) 2023-05-09 15:21:46 -05:00
utils chore: add bibxml-ids dir to container build. (#5590) 2023-05-08 15:16:31 -05:00
.gitignore chore: Update test docs to postgresql; remove extraneous sqlite stuff (#5400) 2023-03-29 10:45:03 +09:00
.yarnrc Preliminary work on converting bower management of web resources to yarn. New management command, replacing bower_install will be needed. 2019-07-25 20:28:18 +00:00
__init__.py chore: update version in primary init (#5495) 2023-04-14 17:43:46 -05:00
celeryapp.py feat: Celery support and asynchronous draft submission API (#4037) 2022-08-22 13:29:31 -05:00
checks.py fix: use Internet-Draft more consistently across the UI (#5104) 2023-02-11 10:09:28 -06:00
context_processors.py feat: Improve links to meeting tools from group pages (#5130) 2023-02-11 10:00:30 -06:00
feed_urls.py Changed urlpattern order to list the more specific of overlapping patterns first, and made the rfc feed per year pattern more permissive. 2017-12-04 16:32:58 +00:00
LICENSE
manage.py Moved warnings settings from manage.py and test_runner.py to one single place, settings.py. Decreased the verbosity level when invoking 'loaddata' from the test runner. 2016-12-15 13:25:20 +00:00
middleware.py Updated a middleware function to use the correct Py3 idiom to access exception arguments. 2020-09-21 12:39:00 +00:00
settings.py refactor: Tie Meetecho resources to Session pk (#5281) 2023-04-23 18:15:01 -05:00
settings_postgrestest.py feat: Case Insensitive Email.address field (#5046) 2023-01-30 11:52:38 -06:00
settings_testcrawl.py chore: improve ALLOWED_HOSTS in settings (ports are not useful there) (#4232) 2022-07-20 15:16:14 -05:00
urls.py feat: enable editorial stream adoption and balloting (#5011) 2023-01-31 13:50:51 -06:00
virtualenv-manage.py More Py2/3 adaptations fetched from production. 2020-02-23 16:27:30 +00:00
wsgi.py Update internal references to trac.tools.ietf.org to point to trac.ietf.org. Remove several links into tools.ietf.org. Commit ready for merge. 2021-10-13 21:43:44 +00:00