diff --git a/workflow/uploading_a_show.md b/workflow/uploading_a_show.md index ee5dadc..b735ed5 100644 --- a/workflow/uploading_a_show.md +++ b/workflow/uploading_a_show.md @@ -16,11 +16,23 @@ This process involves requesting a slot and verifying that the request is valid. ## Sequence Diagram Requesting a slot +### Picking a slot + ```mermaid sequenceDiagram - host->>HPR: Reserve Slot - HPR->>HPR: Remove any old stale requests + Host->>HPR: Display current schedule + Note over HPR: calendar.php + HPR->>HPR: Remove any old stale requests REQUEST_UNVERIFIED HPR->>HPR: Remove any requests from this IP older than 15min + HPR->>Host: Display Calendar page +``` +### Reserving the slot + +```mermaid +sequenceDiagram + Host->>HPR: Pick a free slot + Note over HPR: request.php + host->>HPR: Reserve Slot HPR->>HPR: Check for existing upload from this IP alt Existing Upload found HPR->>host: You already made a request for a show @@ -46,10 +58,10 @@ sequenceDiagram loop Preform Checks alt If check fails HPR->>HPR: Log Error - HPR->>host: 412 ${error_code} + HPR->>Host: 412 ${error_code} else All checks passed HPR-->>email: email upload url - email-->>host: email upload url + email-->>Host: email upload url end end ```