aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeLines
* Unit tests for Navigation componentGravatar Joe Banks2024-07-10-1/+49
|
* Set Sentry user data when authenticatingGravatar Joe Banks2024-07-10-0/+11
|
* Add new test suite for testing authorization splashGravatar Joe Banks2024-07-10-0/+62
|
* Update App test to render with Redux storeGravatar Joe Banks2024-07-10-2/+3
|
* Add new testing utility for rendering with Redux storesGravatar Joe Banks2024-07-10-0/+36
|
* Gracefully handle user cancelled authorizationGravatar Joe Banks2024-07-10-3/+12
|
* Add AuthorizationSplash to display above content when auth in progressGravatar Joe Banks2024-07-10-0/+45
|
* Send dispatches to store on authorization state attempt changesGravatar Joe Banks2024-07-10-2/+23
|
* Wrap application in Redux Provider with new storeGravatar Joe Banks2024-07-10-1/+6
|
* Add new redux stores and slices for authorization stateGravatar Joe Banks2024-07-10-0/+41
|
* Reconfigure Sentry with new featuresGravatar Joe Banks2024-07-10-4/+24
|
* Update tests to work with new Jest versionGravatar Joe Banks2024-07-10-3/+1
|
* Remove unused linting ignoresGravatar Joe Banks2024-07-10-3/+1
|
* Update code component to use @uiw/react-codemirrorGravatar Joe Banks2024-07-10-22/+6
|
* Update test to reflect new greenGravatar Joe Banks2024-07-03-1/+1
|
* Remove unnecessary debug logging from TimeZoneGravatar Joe Banks2024-07-03-4/+0
|
* Convert TimeZone to functional component to fix lazy loading bugGravatar Joe Banks2024-07-03-70/+87
|
* Update success colourGravatar Joe Banks2024-07-03-1/+1
|
* Update tests with new OAuth2 message parametersGravatar Joe Banks2024-07-03-1/+2
|
* Explicitly tag PyDis messages for integrityGravatar Joe Banks2024-07-03-1/+6
|
* 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 some debug logging to timezone autoselectionGravatar Joe Banks2024-07-03-4/+8
|
* Add additional logging for OAuth2 state mismatchesGravatar Joe Banks2024-07-03-1/+1
|
* Better format copy about timezonesGravatar Joe Banks2024-07-03-2/+2
|
* Add new field for capturing timezonesGravatar Joe Banks2024-07-03-1/+330
|
* Add 404 PageGravatar Hassan Abouelela2022-07-19-8/+61
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Simplify Navigation ComponentGravatar Hassan Abouelela2022-07-19-120/+101
| | | | | | | Extract the styles from the navigation component to common styles, and convert it to a function component. Signed-off-by: Hassan Abouelela <[email protected]>
* Clear Authorization On ErrorGravatar Hassan Abouelela2022-07-14-2/+14
| | | | | | | 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]>
* Fix Failing jest.spyOnGravatar Hassan Abouelela2022-07-14-1/+5
| | | | | | | | | | | Version 1.2.206 of swc introduces a breaking change which makes jest.spyOn not work with our configuration. The response from the swc maintainer seems like a complete mess, so I won't touch it, and just use something else. See issue 5059 on https://github.com/swc-project/swc/issues Signed-off-by: Hassan Abouelela <[email protected]>
* Wrap Tests In ActGravatar Hassan Abouelela2022-07-14-31/+32
| | | | | | Wrap the tests that were raising warnings in act statements. 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.
* Codify Question State TypeGravatar Hassan Abouelela2022-07-01-171/+164
| | | | | | | | Uses an interface to define the RenderedQuestion component state, to reduce the required type and existence checks in the rest of the codebase. Signed-off-by: Hassan Abouelela <[email protected]>
* Remove Unused Prop From ErrorPageGravatar Hassan Abouelela2022-07-01-3/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Improve ErrorMessage InterfaceGravatar Hassan Abouelela2022-07-01-7/+8
| | | | | | | Unify the string and element types on the interface to clarify they are mutually exclusive. Signed-off-by: Hassan Abouelela <[email protected]>
* Style ChangesGravatar Hassan Abouelela2022-07-01-3/+3
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Restructure FormPageGravatar Hassan Abouelela2022-07-01-362/+545
| | | | | | | | | | | | | The main FormPage component had gotten very out of hand, with many moving parts that were hard to parse, understand, or modify. This refactors breaks things up into separate files with better defined goals. Most changes are just straight copies without much change, however some structural changes have been introduced as a foundation for improving the app. Signed-off-by: Hassan Abouelela <[email protected]>
* Display Test Names For Unittest FailuresGravatar Hassan Abouelela2022-07-01-5/+33
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Add Unittest Failure InterfaceGravatar Hassan Abouelela2022-07-01-0/+13
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Allow More Customization In Error MessageGravatar Hassan Abouelela2022-07-01-2/+13
| | | | | | | | Add transitions to the error message component, and allow more flexibility by allowing the caller to specify the inner component of the message. Signed-off-by: Hassan Abouelela <[email protected]>
* Add Selectable Styles To Code Field (#469)Gravatar Hassan Abouelela2022-06-30-1/+3
| | | | | | | | Adds the selectable CSS styles to the code field to fix a bug on safari that prevented users from clicking into it and writing. Thanks to Etzeitet & NoodleReaper for discovering this. Signed-off-by: Hassan Abouelela <[email protected]>
* Expand Code Field To Fill SpaceGravatar Hassan Abouelela2022-06-29-0/+4
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Fix Dropdown Overlap IssueGravatar Hassan Abouelela2022-06-29-9/+20
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Bump React To 18.2.0Gravatar Hassan Abouelela2022-06-18-64/+66
| | | | | | | | | | | | Bump react to v18, and handle all the breaking changes. This includes bumping a lot of other dependencies to versions which support react 18, and handling the breaking changes for those. Refer to the following documents for migration guides: React: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html Router: https://reactrouter.com/docs/en/v6/upgrading/v5 Signed-off-by: Hassan Abouelela <[email protected]>
* Bump CodeMirror to 6.0.0Gravatar Hassan Abouelela2022-06-18-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Remove Jest SVG TransformerGravatar Hassan Abouelela2022-06-18-0/+4
| | | | | | | | | The current SVG transformer has not had an update in 4 years, and breaks with the latest jest version. The behavior can be very easily replicated by hand, as is documented by SVGR, the library we are already using in webpack. Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'main' into snekbox-results-feedbackGravatar Hassan Abouelela2022-06-18-1/+1
|\
| * Prompt for OAuth2 consent on every auth flowGravatar ChrisJL2022-06-17-1/+1
| | | | | | Closes #439
* | Fix rendering error message for failed unit tests.Gravatar DavinderJolly2022-06-18-16/+22
| | | | | | | | fix rendering of error message by updating public_state prop before updating state, and only catch 422 status code in FormPage
* | Add processing for POST request responseGravatar Janine vN2022-03-14-4/+22
| | | | | | | | | | | | | | | | We now process the POST request response, catching the error. It re-runs the code validationField() function. It currently processes it assuming there's only one failed codeblock. This will be updated later.