Skip to content

Resolves #55 "Implement deadlines"

YE Scotland Admin requested to merge 55-implement-deadlines into master

Closes #55 (closed)

Notes:

Added frontend page for deadline editing using bootstrap date selectors. Adds REST API for deadline getting and setting.

Updated MarketplaceSpecific and JudgeSubmission REST views to include guards on when submissions can be made. Changes were NOT made to the full Marketplace view as @Usmaan is making large changes to it so any changes will be deprecated soon.

Added tests to test new Deadline REST API and the changes to the JudgeSubmission and MarketplaceSpecific views.

Relies on https://stgit.dcs.gla.ac.uk/team-project-h/2021/cs11/ybc-core-fe/-/merge_requests/17

Demo:

Screen_Recording_2022-02-23_at_18.43.38

Testing team and judge submission editing/viewing Screen_Recording_2022-02-23_at_18.45.54

Manual testing TBC

  • That deadlines can be edited
  • That voting and judging deadlines cannot be before submission deadlines
  • That marketplace stalls cannot be edited after the submission deadline
  • That judge submission cannot be edited before the submission deadline or after the judging deadline
  • That teams cannot view other teams stalls before the submission deadline is passed or after the voting is passed
Edited by YE Scotland Admin

Merge request reports