Skip to content

Misc v2 fixes (duplicate participant, non-base64 logos, "none" user lookup)

@ mention of reviewers`

@jimmykodes`

A brief description of the purpose of the changes contained in this PR.

Make CompetitionParticipant unique on user and competition

A checklist for hand testing

  • can participate in competition
  • can't participate multiple times
  • can add a collaborator after they've requested participation and things still work
  • also fixes bug with newly created user having a "None" name (should also work on Queue's page)
  • Changing logos in a competition should still work

Extra credit

  • Add a competition test confirming a participant gets "accepted" if added as organizer and they are pending participation acceptance (thinking it is OK to skip acceptance email?)

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • Ready to merge

Merge request reports

Loading