|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | Moves the validation code of webhook urls to an async function that is
called by the route, to avoid blocking code.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | | Uses builtin user formatting for username and mentions.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | 
| | | 
| | | | Co-authored-by: Joe Banks <[email protected]> | 
| | |\ \  
| | | | 
| | | | 
| | | | 
| | | | | # Conflicts:
#	backend/routes/forms/submit.py | 
| | | | | 
| | | | 
| | | | 
| | | | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | |\ \ \  
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
#	backend/routes/forms/submit.py | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | Builds and sends a discord webhook on form submission.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | 
| | | | | | Fixes a bug that would force you to do a dummy webhook object when
creating a form. Fixes a bug that would force you to add an empty
message for webhooks.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | | | 
| | | | | 
| | | | | 
| | | | | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | |\ \ \ \ |  | 
| | | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | 
| | | | | | | Adds webhook option on form creation, and adds validation. Updates
`SCHEMA.md`.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | | | | 
| | | | | | 
| | | | | | | Co-authored-by: Joe Banks <[email protected]> | 
| | | | | | | 
| | | | | | 
| | | | | | | Co-authored-by: Joe Banks <[email protected]> | 
| | | | | | | 
| | | | | | 
| | | | | | | Co-authored-by: Joe Banks <[email protected]> | 
| | |_|_|_|/  
|/| | | | |  | 
| |\ \ \ \ \  
| | | | | | 
| | | | | | | Add PATCH method to form endpoint | 
| | | | | | | 
| | | | | | 
| | | | | | | Co-authored-by: Joe Banks <[email protected]> | 
| | | | | | | |  | 
| | |\ \ \ \ \  
| |/ / / / /  
|/| | | | | |  | 
| |\ \ \ \ \ \  
| |_|_|_|_|/  
|/| | | | | |  | 
| | |\ \ \ \ \  
| |/ / / / /  
|/| | | | | |  | 
| | | | | | | |  | 
| | | | | | | |  | 
| | | |_|_|/  
| |/| | | |  | 
| | | |\ \ \  
| |_|/ / /  
|/| | | | |  | 
| |/ / / / |  | 
| |/ / / |  | 
| |\ \ \  
| |_|/  
|/| | | Provide HTML documentation of endpoints | 
| | |\ \  
| |/ /  
|/| | |  | 
| |\ \ \  
| |_|/  
|/| | | Adds Timestamp Field | 
| | | | 
| | | 
| | | | Co-authored-by: ks129 <[email protected]> | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | As pointed out by @ks129, fetching the responses would cause an error in
 the timestamp, as the validation was returning the current time at
 fetching, instead of the stored value.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| |/ /  
| |   
| |   
| |   
| |   
| | | Adds timestamp field to user form responses on generation.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |/ |  | 
| |\  
| | 
| | | Add DELETE method to response route for form response deleting | 
| |/ |  | 
| |\  
| | 
| | | Use a custom status embed to report workflow status | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | | To access information about the PR in the status embed workflow, we need
to upload an artifact whenever the forms-backend.yml workflow runs for a
`pull_request` trigger. This artifact will be downloaded in the workflow
that sends the status embed. | 
| |/  
|   
|   
|   
| | I've added a `workflow-run`-triggered workflow that sends an enhanced
status embed to our #dev-log GitHub Actions webhook. It will run
whenever the main workflow finishes and report its status. | 
| |\ |  | 
| | | 
| | 
| | | Co-authored-by: Joe Banks <[email protected]> |