From 8ea5e46a1f54b24714368647920da2c7e7472322 Mon Sep 17 00:00:00 2001 From: Ken Fallon Date: Sun, 22 Dec 2024 16:08:38 +0000 Subject: [PATCH] Update workflow/uploading_a_show.md --- workflow/uploading_a_show.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) 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 ```