|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | |\  
| | | 
| | | 
| | | 
| | | 
| | | 
| | | | 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]> | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |/ |  | 
| | |  | 
| | 
| 
| | Co-authored-by: Joe Banks <[email protected]> | 
| | |  | 
| |\ |  | 
| | | 
| | 
| | 
| | 
| | 
| | | Fix missing type annotation
Lint fix | 
| | |\ |  | 
| | | | |  | 
| | | | 
| | | 
| | | 
| | | | As Windows use \\ instead /, current way doesn't work in Windows, because replacing / with . doesn't do anything with \\.
Now this join parent parts instead, what doesn't include separations. | 
| | | | |  | 
| | | | |  | 
| | | | |  |