datatracker/ietf/static/js
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
..
agenda_filter.js Update deps (#4203) 2022-07-08 16:07:57 -05:00
agenda_materials.js test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
complete-review.js fix: .visually-hidden -> .d-none (#3800) 2022-04-08 14:53:56 -03:00
create_timeslot.js More fixes 2021-12-08 08:55:45 +00:00
d3.js
datepicker.js chore: Replace unmaintained bootstrap-datepicker with vanillajs-datepicker (#5259) 2023-03-09 10:12:26 -06:00
doc-search.js fix: Hide tooltips after review wish icon is clicked (#3799) 2022-04-08 14:55:41 -03:00
document_html.js fix: Unbreak HTMLized table of contents (#5486) 2023-04-12 17:34:30 -05:00
document_relations.js chore: Use codespell to fix typos in code. (#4797) 2022-12-07 15:10:35 -06:00
document_timeline.js fix: Make document revisions in timeline clickable again (#4065) 2022-06-13 11:16:41 -05:00
draft-submit.js feat: Process uploaded submissions asynchronously (#5580) 2023-05-09 15:21:46 -05:00
edit-meeting-schedule.js fix: Show overfull style based on max, not sum, of session durations (#5044) 2023-01-27 16:24:24 -06:00
edit-meeting-timeslots-and-misc-sessions.js fix: .visually-hidden -> .d-none (#3800) 2022-04-08 14:53:56 -03:00
edit-milestones.js chore: Replace unmaintained bootstrap-datepicker with vanillajs-datepicker (#5259) 2023-03-09 10:12:26 -06:00
edit_action_holders.js fix: Fix action holder form buttons (#3956) 2022-05-13 14:01:14 -05:00
edit_authors.js More test fixes 2022-01-05 11:25:25 +00:00
fullcalendar.js feat: Add calendar view to "important dates" page (#5260) 2023-03-08 13:05:33 -06:00
highcharts.js feat: Add group stats sunburst plots to active WG page (#5126) 2023-02-22 12:05:06 -06:00
highstock.js refactor: replace flot with highcharts (#4030) 2022-05-31 17:05:27 -05:00
ietf.js fix: Listen for show.bs.modal on document (#5565) 2023-05-02 13:50:38 -05:00
ipr-edit.js fix: Allow additional draft forms to be added to IPR disclosure edit form (#4952) 2023-01-06 15:24:08 -06:00
ipr-search.js fix: Make the IPR search form work when enter is pressed (#4114) 2022-06-22 11:59:32 -05:00
js-cookie.js More fixes 2021-12-08 08:55:45 +00:00
liaisons.js test: Validate HTML rendered during tests (#3782) 2022-04-07 13:30:38 -03:00
list.js fix: Only presort tables if sort order is specified (#5408) 2023-03-31 10:38:02 +09:00
listjs-search.js chore: Use codespell to fix typos in comments. (#4794) 2022-11-28 10:36:36 -06:00
manage-community-list.js More bs5 changes 2021-12-01 18:45:19 +00:00
manage-review-requests.js fix: tweak review assignment tooltips and control row height (#3788) 2022-04-07 09:48:23 -03:00
meeting-interim-request.js fix: Re-enable interim series "add session" button (#5485) 2023-04-25 16:30:06 -05:00
moment.js fix(ui): import moment.js library with moment-timezone support in wrapper (#3977) 2022-05-18 09:23:07 -05:00
nav.js fix: Make "navskip" apply to all headings in an element (#5364) 2023-03-17 13:57:22 -05:00
password_strength.js fix(ui): badge -> badge rounded-pill (#4076) 2022-06-15 13:43:49 -05:00
select2.js fix: Remove spurious title attribute (#4917) 2022-12-19 09:01:06 -06:00
session_details_form.js fix: Prevent ADs and chairs from being added to bethere constraint (#5169) 2023-02-21 11:03:33 -06:00
sortable.js More select2 and test fixes. 2021-12-14 18:19:12 +00:00
stats.js Bring back some additional js dependencies. 2021-11-24 14:32:35 +00:00
status-change-edit-relations.js fix: Fix status change form (#4598) 2022-10-18 09:59:04 -05:00
timeslot_edit.js Check the selenium console log for any issues as part of the test suite, 2022-02-10 21:20:20 +00:00
timezone.js fix(ui): import moment.js library with moment-timezone support in wrapper (#3977) 2022-05-18 09:23:07 -05:00
upcoming.js chore: Update to fullcalendar@6 (#5125) 2023-02-14 16:22:35 -06:00
upload-material.js More fixes. 2022-01-11 15:02:27 +00:00
upload_bofreq.js refactor: replace flot with highcharts (#4030) 2022-05-31 17:05:27 -05:00
zxcvbn.js More fixes. 2022-01-31 19:17:50 +00:00