|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | 
| 
| 
| 
| 
| 
| | Removes the window features from the OAuth window to make it open in a
new tab if the client prefers.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| | Allows the Discord OAuth button to be renabled in case the window is
closed prematurely.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| | This reverts commit 7e0d4a9f
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| | Co-authored-by: Joe Banks <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| | Extends username expiry to a very far date, to prevent it from expiring
on session.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| 
| | Explicitly sets the path attribute of username and scope cookies, to
ensure they work correctly across page transitions, and to match the
actual authorization cookie.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| | Adds automatic token refresh, and removes manual setting of JWT.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| |\  
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | Signed-off-by: Hassan Abouelela <[email protected]>
# Conflicts:
#	package.json
#	src/commonStyles.tsx
#	src/pages/FormPage.tsx | 
| | | |  | 
| | | 
| | 
| | 
| | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | 
| | 
| | 
| | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| | | 
| | 
| | 
| | | Signed-off-by: Hassan Abouelela <[email protected]> | 
| |/  
|   
|   
|   
|   
|   
|   
| | Moves all authorization functionality to a new file, and adds a helper
to send discord OAuth code to the backend, and set JWT. Adds a library
to read and set cookies.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| | Changes the casing of the webhook enabled enum to fit with the other enums.
Co-authored-by: ks129 <[email protected]> | 
| | 
| 
| 
| 
| 
| | Fetches forms from the backend to be displayed.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| | Changes the models to match the backend.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | 
| 
| 
| 
| 
| 
| | Fixes all errors, and most warnings generated by eslint. Most were fixed
 by eslint automatically such as indentation and quotes.
Signed-off-by: Hassan Abouelela <[email protected]> | 
| | |  | 
| | 
| 
| | Co-authored-by: Joe Banks <[email protected]> | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
|  |  |