aboutsummaryrefslogtreecommitdiffstats
path: root/src/api (follow)
Commit message (Collapse)AuthorAgeLines
* Update getForm to return form with ancillary dataGravatar Joe Banks2025-08-08-1/+15
|
* Handle voting component callbacksGravatar Joe Banks2024-07-11-0/+1
|
* Unit tests for Navigation componentGravatar Joe Banks2024-07-10-1/+1
|
* Set Sentry user data when authenticatingGravatar Joe Banks2024-07-10-0/+11
|
* Gracefully handle user cancelled authorizationGravatar Joe Banks2024-07-10-1/+8
|
* Send dispatches to store on authorization state attempt changesGravatar Joe Banks2024-07-10-2/+23
|
* Explicitly tag PyDis messages for integrityGravatar Joe Banks2024-07-03-0/+5
|
* Stringify received data in OAuth2 LoggingGravatar Joe Banks2024-07-03-1/+1
|
* Add more logging for OAuth2 state mismatchesGravatar Joe Banks2024-07-03-1/+1
|
* Add additional logging for OAuth2 state mismatchesGravatar Joe Banks2024-07-03-1/+1
|
* Add new field for capturing timezonesGravatar Joe Banks2024-07-03-1/+2
|
* Clear Authorization On ErrorGravatar Hassan Abouelela2022-07-14-2/+11
| | | | | | | Deletes the OAuth cookies when an error happens during submit. This is a stopgap till we fix the authorization issues. Signed-off-by: Hassan Abouelela <[email protected]>
* Base refresh timeout on diff from current timeGravatar Chris Lovering2022-07-02-1/+1
| | | | Previously the logic was using the expiry date's unix timestamp as if it was a number of ms until it expired. This caused the timeout to be far after the actual token expiry.
* Style ChangesGravatar Hassan Abouelela2022-07-01-2/+2
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Add Unittest Failure InterfaceGravatar Hassan Abouelela2022-07-01-0/+13
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Prompt for OAuth2 consent on every auth flowGravatar ChrisJL2022-06-17-1/+1
| | | Closes #439
* Opens OAuth In New TabGravatar Hassan Abouelela2021-03-08-2/+1
| | | | | | | 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]>
* Renables OAuth Button On FailureGravatar Hassan Abouelela2021-03-07-2/+3
| | | | | | | Allows the Discord OAuth button to be renabled in case the window is closed prematurely. Signed-off-by: Hassan Abouelela <[email protected]>
* Revert "Removes Unused OAuth Cleaning"Gravatar Hassan Abouelela2021-03-07-0/+9
| | | | | | This reverts commit 7e0d4a9f Signed-off-by: Hassan Abouelela <[email protected]>
* Removes Unused OAuth CleaningGravatar Hassan Abouelela2021-03-07-9/+0
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Remove Unused OAuth ScopesGravatar Hassan Abouelela2021-03-07-18/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Set Username Expiry To PermanentGravatar Hassan Abouelela2021-03-06-2/+2
| | | | | | | Extends username expiry to a very far date, to prevent it from expiring on session. Signed-off-by: Hassan Abouelela <[email protected]>
* Saves Username & Scopes On `/` PathGravatar Hassan Abouelela2021-02-21-2/+2
| | | | | | | | 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 Token RefreshGravatar Hassan Abouelela2021-02-20-32/+55
| | | | | | Adds automatic token refresh, and removes manual setting of JWT. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into discord-oauthGravatar Hassan Abouelela2021-02-20-1/+2
|\ | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # package.json # src/commonStyles.tsx # src/pages/FormPage.tsx
| * Add submitted_text field to formGravatar ks1292021-01-21-1/+2
| |
* | Removes Path From AuthGravatar Hassan Abouelela2021-02-17-12/+11
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Adds Error Handling To Auth HelpersGravatar Hassan Abouelela2021-02-16-18/+57
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Makes Authorize Helper AsyncGravatar Hassan Abouelela2021-02-13-3/+5
| | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
* | Adds Basic Auth FunctionalityGravatar Hassan Abouelela2021-02-13-0/+208
|/ | | | | | | | 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]>
* Fixes Model Casing Gravatar Hassan Abouelela2021-01-06-1/+1
| | | | | Changes the casing of the webhook enabled enum to fit with the other enums. Co-authored-by: ks129 <[email protected]>
* Implements Form FetchingGravatar Hassan Abouelela2021-01-04-22/+7
| | | | | | Fetches forms from the backend to be displayed. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates ModelsGravatar Hassan Abouelela2021-01-04-2/+9
| | | | | | Changes the models to match the backend. Signed-off-by: Hassan Abouelela <[email protected]>
* Fixes Preexisting Linting IssuesGravatar Hassan Abouelela2021-01-03-5/+5
| | | | | | | 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]>
* Add required field to question interfaceGravatar ks1292020-12-28-1/+2
|
* Simplify Axios client baseURL definitionGravatar ks1292020-12-14-1/+1
| | | Co-authored-by: Joe Banks <[email protected]>
* Update getForms function to fetch data from APIGravatar ks1292020-12-14-21/+4
|
* Create Axios client for backendGravatar ks1292020-12-14-0/+6
|
* Update form interface and add featuresGravatar ks1292020-12-13-11/+18
|
* Update question types and interface to match changes in backendGravatar ks1292020-12-13-5/+11
|
* Add a very basic question typeGravatar Joe Banks2020-10-05-0/+11
|
* Update the forms API wrapper to fetch a specific formGravatar Joe Banks2020-10-05-2/+30
|
* Update form properties to mirror those in the form listing componentGravatar Joe Banks2020-09-30-4/+4
|
* Update description of form listingGravatar Joe Banks2020-09-30-2/+2
|
* Add dummy form data for fetching form listingsGravatar Joe Banks2020-09-30-0/+25