Update workflow/uploading_a_show.md
This commit is contained in:
parent
90e6f7d26f
commit
8ea5e46a1f
@ -16,11 +16,23 @@ This process involves requesting a slot and verifying that the request is valid.
|
|||||||
|
|
||||||
## Sequence Diagram Requesting a slot
|
## Sequence Diagram Requesting a slot
|
||||||
|
|
||||||
|
### Picking a slot
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
sequenceDiagram
|
sequenceDiagram
|
||||||
host->>HPR: Reserve Slot
|
Host->>HPR: Display current schedule
|
||||||
HPR->>HPR: Remove any old stale requests
|
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->>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
|
HPR->>HPR: Check for existing upload from this IP
|
||||||
alt Existing Upload found
|
alt Existing Upload found
|
||||||
HPR->>host: You already made a request for a show
|
HPR->>host: You already made a request for a show
|
||||||
@ -46,10 +58,10 @@ sequenceDiagram
|
|||||||
loop Preform Checks
|
loop Preform Checks
|
||||||
alt If check fails
|
alt If check fails
|
||||||
HPR->>HPR: Log Error
|
HPR->>HPR: Log Error
|
||||||
HPR->>host: 412 ${error_code}
|
HPR->>Host: 412 ${error_code}
|
||||||
else All checks passed
|
else All checks passed
|
||||||
HPR-->>email: email upload url
|
HPR-->>email: email upload url
|
||||||
email-->>host: email upload url
|
email-->>Host: email upload url
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user