|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| |\ |  | 
| | | 
| | 
| | | Co-authored-by: Joe Banks <[email protected]> | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |/ |  | 
| | 
| 
| 
| 
| 
| 
| | Changes the patching strategy to modify certain objects instead of
 outright overwriting them.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| | Removes the meta object, and moves the webhook object under the main
form object to reduce nesting.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| |\ |  | 
| | |\  
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
#	backend/routes/forms/submit.py | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | Adds better parsing and formatting for webhook message variables, and
documents them in SCHEMA.md.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | 
| | | 
| | | 
| | | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | | 
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | 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]> | 
| | |_|_|_|/  
|/| | | | |  | 
| | | | | | 
| | | | | 
| | | | | | Co-authored-by: Joe Banks <[email protected]> | 
| | | | | | |  | 
| |\ \ \ \ \ |  | 
| | |\ \ \ \ \  
| | | |_|_|/  
| | |/| | | |  | 
| | | | | | | |  | 
| | | |_|_|/  
| |/| | | |  | 
| |\ \ \ \ \  
| | |/ / /  
| |/| | | |  | 
| | |/ / / |  | 
| |/ / / |  | 
| |\ \ \  
| | |/  
| |/| |  | 
| | | | 
| | | 
| | | | 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]> | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  |