Skip to content

feat: Easy extraction of qualified volunteer list for nomcom chair#5578

Merged
rjsparks merged 4 commits intoietf-tools:mainfrom
rjsparks:fix_4732
May 5, 2023
Merged

feat: Easy extraction of qualified volunteer list for nomcom chair#5578
rjsparks merged 4 commits intoietf-tools:mainfrom
rjsparks:fix_4732

Conversation

@rjsparks
Copy link
Copy Markdown
Member

@rjsparks rjsparks commented May 5, 2023

Fixes #4732.

Replaces #5412

@rjsparks rjsparks requested a review from jennifer-richards May 5, 2023 17:07
@rjsparks
Copy link
Copy Markdown
Member Author

rjsparks commented May 5, 2023

@richsalz Please review

Copy link
Copy Markdown
Collaborator

@richsalz richsalz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, which can be ignored.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2023

Codecov Report

Merging #5578 (cf2c145) into main (e32b453) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #5578   +/-   ##
=======================================
  Coverage   88.80%   88.81%           
=======================================
  Files         285      285           
  Lines       39757    39762    +5     
=======================================
+ Hits        35307    35313    +6     
+ Misses       4450     4449    -1     
Impacted Files Coverage Δ
ietf/nomcom/urls.py 100.00% <ø> (ø)
ietf/nomcom/views.py 96.76% <100.00%> (+0.02%) ⬆️

... and 2 files with indirect coverage changes

Comment thread ietf/templates/nomcom/qualified_volunteer_list_for_announcement.txt Outdated
Comment thread ietf/nomcom/views.py

@role_required("Nomcom Chair", "Nomcom Advisor", "Secretariat")
def qualified_volunteer_list_for_announcement(request, year, public=False):
_, volunteers = extract_volunteers(year)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I detect the essence of go or rust :)

@rjsparks rjsparks merged commit 3bbd514 into ietf-tools:main May 5, 2023
@rjsparks rjsparks deleted the fix_4732 branch May 8, 2023 14:31
rjsparks added a commit that referenced this pull request May 11, 2023
* 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

* chore: pin django-oidc-provider (#5588)

* fix: add a link to the simplified volunteer view (#5583)

* chore: add bibxml-ids dir to container build. (#5590)

* chore: add bibxml-ids dir to container build. (#5590)

* 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>

* 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>

* chore(deps): update all npm dependencies for dev/deploy-to-container (#5587)

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>

* chore: Remove mysqlclient dependency (#5589)

* fix: close open things (#5593)

* fix: close open things

* fix: clean up test created files

* fix: remove one close too many

* chore: add git safe directory to docker init script

* chore: move git safe directory command to top

* chore: remove debugging file write from test (#5598)

---------

Co-authored-by: NGPixel <github@ngpixel.com>
Co-authored-by: Jennifer Richards <jennifer@staff.ietf.org>
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generating volunteer list

3 participants