Commit graph

14962 commits

Author SHA1 Message Date
Jennifer Richards 9fa54270e6
chore: Remove mysqlclient dependency (#5589) 2023-05-09 15:24:17 -05:00
depfu[bot] c53d7836ed
chore(deps): update all npm dependencies for dev/deploy-to-container (#5587)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-05-09 15:23:33 -05:00
depfu[bot] 5b091a0558
chore(deps): update all Yarn dependencies (#5564)
* chore(deps): update all Yarn dependencies

* chore: fix yarn cache

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: NGPixel <github@ngpixel.com>
2023-05-09 15:23:14 -05:00
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
Robert Sparks b1c60efbb3
chore: add bibxml-ids dir to container build. (#5590) 2023-05-08 15:17:00 -05:00
Robert Sparks 400a830661
chore: add bibxml-ids dir to container build. (#5590) 2023-05-08 15:16:31 -05:00
Robert Sparks 2b1f248e36
fix: add a link to the simplified volunteer view (#5583) 2023-05-08 10:29:18 -05:00
Robert Sparks f919184e14
chore: pin django-oidc-provider (#5588) 2023-05-08 09:15:36 -05:00
Robert Sparks 3bbd5149de
feat: Easy extraction of qualified volunteer list for nomcom chair (#5578)
* feat: Easy extraction of qualified volunteer list for nomcom chair

* fix: tune test setup to years where eligibility calculations can return nonempty

* chore: revert unintended change

* feat: default string when no affiliation is provided
2023-05-05 15:33:47 -05:00
NGPixel 3af357467c
Merge remote-tracking branch 'origin/release' into main 2023-05-04 15:18:51 -04:00
Robert Sparks e32b453c09
Merge pull request #5575 from ietf-tools/main
chore: merge main to the release branch for next release
2023-05-04 12:51:04 -05:00
Eliot Lear 8af8a91c20
fix: allow ISE to initiate conflict review (#5570)
* ISE may initiate conflict review

Add ISE to list of those roles who can initiate a conflict review.

* fix: improve conditional for conflict review action. Add tests.

* chore: fix comment typo

---------

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2023-05-03 14:04:09 -05:00
Jennifer Richards 6986cae1bf
fix: Listen for show.bs.modal on document (#5565)
Avoids losing the listener when DOM is changed dynamically.
2023-05-02 13:50:38 -05:00
Robert Sparks 1359a5998f
Merge pull request #5558 from ietf-tools/depfu/batch_all/devcoverage-action/npm/2023-05-01
chore(deps): update all npm dependencies for dev/coverage-action
2023-05-01 10:14:56 -05:00
Robert Sparks f8b23b377c
Merge pull request #5557 from ietf-tools/depfu/batch_all/playwright/npm/2023-05-01
chore(deps): update all npm dependencies for playwright
2023-05-01 10:14:34 -05:00
depfu[bot] f2d34dddac
chore(deps): update all npm dependencies for dev/coverage-action 2023-05-01 06:18:43 +00:00
depfu[bot] 0bf9462d8a
chore(deps): update all npm dependencies for playwright 2023-05-01 06:18:14 +00:00
Robert Sparks f835b6f7b0
Merge pull request #5540 from jennifer-richards/create-account-no-person
fix: Avoid 500 error creating account when User.person is None
2023-04-27 14:05:03 -05:00
Jennifer Richards 82e5db7bbd
Merge branch 'main' into create-account-no-person 2023-04-27 13:52:20 -04:00
Jennifer Richards db2f7362c5
feat: Include support address in error message 2023-04-27 17:51:19 +00:00
Nicolas Giard bef11af9de
Merge pull request #5543 from ietf-tools/main
ci: new release (hopefully?)
2023-04-26 15:51:42 -04:00
Nicolas Giard 180663e4ed
ci: fix build workflow conditions 2023-04-26 15:48:15 -04:00
Robert Sparks 69bc878f70
Merge pull request #5541 from ietf-tools/main
ci: Next datatracker release
2023-04-26 14:38:02 -05:00
Jennifer Richards b691cb4a9f
fix: Avoid 500 error creating account when User.person is None 2023-04-26 18:34:49 +00:00
Nicolas Giard 18445f27bf
ci: replace production flag with release trigger 2023-04-25 20:50:19 -04:00
Nicolas Giard 82d0d42b28
chore: add pgadmin to dev environment 2023-04-25 18:02:34 -04:00
Lars Eggert 732cecf0e9
fix: Re-enable interim series "add session" button (#5485)
Fixes #5478

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2023-04-25 16:30:06 -05:00
depfu[bot] ec7b974d52
chore(deps): update all Yarn dependencies (#5532)
* chore(deps): update all Yarn dependencies

* chore: fix yarn cache

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: NGPixel <github@ngpixel.com>
2023-04-25 16:29:08 -05:00
Nicolas Giard ad5280ba29
chore: update devcontainer.json 2023-04-25 16:55:13 -04:00
Nicolas Giard 86a183ec21
chore: cleanup of legacy scripts 2023-04-25 16:42:46 -04:00
Robert Sparks be47b76128
fix: more search_path tweaking (#5535) 2023-04-25 13:35:33 -05:00
Nicolas Giard 7f2043336b
chore: remove alter search_path from app-init.sh 2023-04-25 14:17:17 -04:00
dependabot[bot] 835d99d06e
chore(deps): bump postgres from 14.5 to 14.6 in /docker (#5528)
* chore(deps): bump postgres from 14.5 to 14.7 in /docker

Bumps postgres from 14.5 to 14.7.

---
updated-dependencies:
- dependency-name: postgres
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: Update db.Dockerfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2023-04-25 12:10:18 -05:00
Robert Sparks ad4f7f2c16
docs: make a short description of starting the dev environment easier to find (#5522)
* doc: make a short description of starting the dev environment easier to find.

* doc: more tl;dr tweaks

* doc: still more tl;dr tweaks

* chore: silly cleanup

* chore: more sillyness

* chore: hoopjumping around semicolons

* chore: _what_ semicolon

* chore: de-red-on-blue a parenthesis

* docs: Update README.md

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2023-04-25 12:03:49 -05:00
depfu[bot] 00d302237e
chore(deps): update all npm dependencies for playwright (#5525)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2023-04-25 12:03:00 -05:00
Robert Sparks e649bfdb3b
chore: wrangle db search_path (#5523) 2023-04-25 11:59:58 -05:00
Robert Sparks 5f36905515
fix: reorder new nomcom migration (#5534) 2023-04-25 11:59:41 -05:00
Nicolas Giard d1ae52de9b
ci: fix remaining ietf db name references 2023-04-25 12:53:00 -04:00
Nicolas Giard 9a2fa59977
ci: fix ci-run-tests.yml workflow 2023-04-25 12:21:35 -04:00
Nicolas Giard 392fa0826a
ci: fix prepare.sh database name 2023-04-25 12:17:24 -04:00
Nicolas Giard d79ed21998
ci: fix build workflow 2023-04-24 18:10:48 -04:00
Nicolas Giard 502fa41560
ci: fix build workflow conditions 2023-04-24 18:08:01 -04:00
Nicolas Giard 27ae8a6734
ci: fix build workflow conditions 2023-04-24 17:59:30 -04:00
Nicolas Giard d9d7035ace
ci: fix build workflow 2023-04-24 17:49:20 -04:00
Nicolas Giard 703d7f5a9f
ci: improve build workflow notifications 2023-04-24 17:47:35 -04:00
Nicolas Giard 65ee1ae549
ci: improve build workflow conditions 2023-04-24 17:26:16 -04:00
Nicolas Giard 6b893ce71f
ci: add release branch check to build workflow 2023-04-24 17:16:23 -04:00
dependabot[bot] 3eedaea8b1
ci(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 (#5529)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 16:27:34 -04:00
Nicolas Giard bd8013163c
ci: update build workflow to use 10.0 prefix for dev builds 2023-04-23 19:39:06 -04:00
Jennifer Richards 09ff9c6ced
refactor: Tie Meetecho resources to Session pk (#5281)
* feat: Use session.id to specify session for api_set_session_video_url

* feat: Use session.id to specify session for api_upload_bluesheet

* refactor: Add audio/video stream and onsite tool URLs to Session model

* refactor: Get onsite tool/stream URLs for agenda from Session

* refactor: Use Session methods for onsite tool/stream a few more places

* refactor: Move hard-coded meetecho URLs into settings.py

* feat: Add has_onsite_flag to Session

* chore: Set has_onsite_tool for sessions that had meetecho UrlResources

* fix: Only show onsite tool URLs when Session.has_onsite_tool is True

* test: Update test_api_upload_bluesheet to test deprecated version

* fix: Fix test failure in api_upload_bluesheet view

* test: Add test of new api_upload_bluesheet view

* style: Apply Black style to test_api_upload_bluesheet

* fix: Fix test failures in api_upload_bluesheet()

* test: Update test_api_set_session_video_url to test deprecated version

* fix: Fix test failure in api_set_session_video_url view

* test: Add test of new api_set_session_video_url view

* style: Apply Black styling to new test

* fix: Fix test failures in api_set_session_video_url view

* test: Fix test_meeting_agenda; set has_onsite_tool in SessionFactory

* feat: Add has_onsite_tool to Session list in admin

* feat: Add has_onsite_tool flag to SessionDetailsForm

* feat: Add has_onsite_tool flag to sreq

* feat: Show has_onsite_tool flag on secr view for a submitted request

* feat: Only prompt for has_onsite_tool in sreq for non-wg type groups

* fix: Clean up styling of sreq view a bit

* chore: Renumber migrations
2023-04-23 18:15:01 -05:00