-
Notifications
You must be signed in to change notification settings - Fork 0
Update: Various Elections API changes, Part 2 #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 23 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
9e63846
docs: update /elections/list endpoint with doc data
jbriones1 bc3aa12
wip: updating the return fields and some logic for /elections APIs
jbriones1 49f0e06
wip: update create elections
jbriones1 90da368
wip: create election endpoint updated
jbriones1 6077fb0
wip: update PATCH /elections
jbriones1 985441d
wip: elections-related tables use the declarative mapping form
jbriones1 5ad363c
fix: ElectionParams not a Pydantic model
jbriones1 8bbc19e
wip: change officer positions to enums
jbriones1 1bfcfd7
wip: update election delete
jbriones1 ab6c1b4
wip: update get election registrations
jbriones1 8029e6f
wip: update PUT of /election/registration
jbriones1 ad5749a
wip: update creating a registrant
jbriones1 6399c75
wip: PATCH registrants
jbriones1 518edf7
wip: return patched registrants and update DELETE registrants
jbriones1 f6851e6
wip: update getting nominee info
jbriones1 5f17540
wip: update PATCH nominee
jbriones1 bcd5d8b
wip: add success responses to registration deletes
jbriones1 79fa4e7
update: fix some issues with unit tests
jbriones1 cdeacb0
fix: all test_endpoint tests work
jbriones1 f2e1704
fix: updating parameters works for election dates
jbriones1 0b0a228
fix: one test with wrong position
jbriones1 8b92b42
fix: all elections unit tests pass
jbriones1 d3a02e8
chore: code clean up
jbriones1 a6b60c1
fix: marshalling available positions from str to list[str]
jbriones1 718ce25
fix: typing for officer positions
jbriones1 1d50019
chore: replace OfficerPosition strings with OfficerPositionEnum
jbriones1 9243988
fix: made datetime aware of the timezone
jbriones1 4b6a34b
fix: moved registration to its own endpoint
jbriones1 80a4f93
wip: move Nominee Application stuff to its own directory
jbriones1 dd464a8
refactor: move Nominee Info into its own directory
jbriones1 c4f35d4
fix: add nominees models and tables
jbriones1 3dc49c6
fix: registrations from single election needed a user
jbriones1 42e626c
fix: make all datetimes timezone aware
jbriones1 f128b1e
fix: time being stripped from the datetime
jbriones1 2081312
fix: election type enum used on the Election table model
jbriones1 8623bf1
fix: wrong parameter passed into _raise_if_bad_election_data
jbriones1 280d60d
fix: don't update the primary key in the nominees table
jbriones1 a00ded0
fix: use OfficerPositionEnum in the RegistrationModel
jbriones1 12ae1cf
fix: remove unnecessary return type in process_result_value
jbriones1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.