|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | | 
| | 
| | | This was OPEN before, but we need to return discoverable closed forms too. | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | | As of pyjwt 2.0.0, `jwt.encode` does not return a bytestring, so
decoding is unnecessary.
ref: https://github.com/jpadilla/pyjwt/blob/c96131b970fd341106ce33d0a85b50e3bdbb67ec/CHANGELOG.md#jwtencode-return-type | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| | | |  | 
| |/ |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| |\ |  | 
| | | 
| | 
| | | 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]> |