[rel-db] Feature/new_vote_service#3167
Merged
rrenkert merged 14 commits intoOpenSlides:feature/votefrom Feb 26, 2026
Merged
Conversation
c5b1c0b to
6521e1f
Compare
cd68147 to
0777b44
Compare
72cbfed to
87326e0
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Changes needed to integrate into the backend the changes from the updated vote service described in this version of the migration file from the vote service
Deleted files
Reason: Actions were moved to the vote service:
Reason: Cascade delete - internal actions used only in
pollactions:poll.reset)poll.anonymize)Reason: Deletion of the 'option' collection in meta PR:
option.update)Reason: Cascade delete - internal actions used only in
pollandoptioncollections:poll.stop,option.create,option.update)option.update)pollandoptionactions)poll_candidate_list.create)option.create)option.delete)Other changes
export_meeting: now the votes are exported manually because there's no direct relation to the meetingchecker.check_relation: Added special logic for thevotecollection - to theck the relation to the meeting through thepollenv.pyfrominternaltosystem. Both are described in the current vote service readmeNotes to further meta cleanup
Meta requires more cleanup (changes will also have to be implemented in the other services including backend).
Fields to delete
Reason: group consistency accross settings of different poll types
poll.backendwas deleted,meeting.poll_default_backendis already deleted as well:meeting.motion_poll_default_backendmeeting.assignment_poll_default_backendpoll.onehundred_percent_basewas deleted, no more need for defaults:meeting.poll_default_onehundred_percent_basemeeting.motion_poll_default_onehundred_percent_basemeeting.assignment_poll_default_onehundred_percent_basepoll.max_votes_per_optionwas deleted:meeting.assignment_poll_enable_max_votes_per_optionpoll.live_voting_enabledwas deleted:meeting.poll_default_live_voting_enabledDefaults/options to change
Deleted field
poll.type:meeting.poll_default_typemeeting.motion_poll_default_typemeeting.assignment_poll_default_typeDeleted field
poll.method:meeting.poll_default_method(no default value)meeting.motion_poll_default_method(default value == "YNA")meeting.assignment_poll_default_method(default value == "YNA")