Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Should not be merged yet - TryIT [2021] covid edition #200

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

onmax
Copy link
Member

@onmax onmax commented Mar 6, 2021

Changes:

  • Email content sent to attendees updated
  • Added student_id in the ticket form if is UPM student
  • new validation method:
    • Each session will have 3 valid intervals when it is expected that the students will validate that they attended the session. This session will be distributed randomly with a time gap of 5 minutes. This intervals in the database(model of the congress app) are also called AttendanceSlot
    • In those five minutes the student will read a QR that will be shown in the screen with which will load a new page with a form in the /asistencia endpoint. In this form, the student will introduce his/her student id which will be sent to the back.
    • Then, the relation between an Attendant (person with a ticket) and AttendanceSlot will be created in a new database table called Attendance which will have only two columns with foreign keys.
    • If a request is made out of the range of any interval, the backend will ignore the request and just return an error message.
    • For every request made in a valid interval Attendance model will be created and a request to a blockchain will be made as well which will save the data so the attendance of any student can be validated and no post-process in the database was made.

@onmax onmax requested a review from cud4m March 6, 2021 19:30
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.

1 participant