forked from HPR/hpr_documentation
		
	2024-12-22_17-07-52Z_Sunday
This commit is contained in:
		| @@ -24,7 +24,7 @@ This process involves requesting a slot and verifying that the request is valid. | ||||
| sequenceDiagram | ||||
|   Host->>HPR: Display current schedule | ||||
|   Note over HPR: calendar.php    | ||||
|   HPR->>HPR: Remove any old stale requests REQUEST_UNVERIFIED | ||||
|   HPR->>DB: Remove any old stale requests REQUEST_UNVERIFIED | ||||
|   HPR->>HPR: Remove any requests from this IP older than 15min | ||||
|   HPR->>Host: Display Calendar page | ||||
| ``` | ||||
| @@ -51,7 +51,7 @@ sequenceDiagram | ||||
|     Note over Host: 412 Precondition Failed  | ||||
|   end | ||||
|   HPR->>HPR: Create a temporary entry for this Host | ||||
|   Note over HPR: Workflow state REQUEST_UNVERIFIED | ||||
|   HPR->>DB: Set status to REQUEST_UNVERIFIED | ||||
|   HPR->>HPR: Check for excessive uploads | ||||
|   alt Excessive uploads found | ||||
|     HPR->>Host: Uploads have temporarily been suspended | ||||
| @@ -66,6 +66,7 @@ sequenceDiagram | ||||
|   end | ||||
|   HPR->>HPR:  Generate webform of free slots | ||||
|   HPR->>HPR:  Populate the list of posted shows | ||||
|    | ||||
|   HPR->>Host: Webform | ||||
| ``` | ||||
| > The website returns the webpage for the Host  to enter their email address, and modify the date. | ||||
| @@ -90,11 +91,12 @@ sequenceDiagram | ||||
|       email-->>Host: email upload url | ||||
|     end | ||||
|   end | ||||
|   HPR->>DB: Set status to REQUEST_EMAIL_SENT | ||||
|   HPR->>Host: Thank You page | ||||
| ``` | ||||
| > If an error occurs one of the following error codes will be returned. | ||||
|  | ||||
| ## request_confirm.php Errors | ||||
| ### request_confirm.php Errors | ||||
|  | ||||
| | 412 Error Code | Check | | ||||
| | ---      |  ------  | | ||||
| @@ -126,6 +128,10 @@ sequenceDiagram | ||||
|  | ||||
| > The website provides a "Thank You" page notifying the Host that the email is sent. | ||||
|  | ||||
| # Confirming a working email address | ||||
|  | ||||
| > The Host checks their email and receives a link to where they can upload their show | ||||
|  | ||||
| `email`  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user