Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug/53883 pupil spa use monotonic clock (#2301)
* Bump deps (minor) * Fix test * Remove @angular-eslint Incompatible with angular upgrade * Remove lint target * Upgrade angular to v12 Drop IE11 support * Bump ngx-cookie-service ahead of upgrade * Update lock file * Upgrade angular to v13 * Upgrade angular to v14 * Bump deps * Bump deps * Remove ngx-logger Not used * Add eslint and lint target back * Remove dep ts-node Seemingly not needed * Bump version * Update pupil-spa prod build invocation for angular v14 in Dockerfile * Fix connectivity check test Initialise the config service mock * Add monotonic clock and service * Add test * Add monotonic time service to handle DI * Fix: use the eventTimestamp when provided * Answers to use Monotonic Time * fix: upgrade swagger-ui-express from 4.3.0 to 4.5.0 Snyk has created this PR to upgrade swagger-ui-express from 4.3.0 to 4.5.0. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mtc/project/56daaeb6-c73d-47a2-bd53-6b507ee08fdf?utm_source=github&utm_medium=referral&page=upgrade-pr * fix: upgrade moment-timezone from 0.5.35 to 0.5.37 Snyk has created this PR to upgrade moment-timezone from 0.5.35 to 0.5.37. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mtc/project/86296478-3a5b-43ab-9fc6-4b4c5f4833ba?utm_source=github&utm_medium=referral&page=upgrade-pr * fix: upgrade qrcode from 1.5.0 to 1.5.1 Snyk has created this PR to upgrade qrcode from 1.5.0 to 1.5.1. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mtc/project/86296478-3a5b-43ab-9fc6-4b4c5f4833ba?utm_source=github&utm_medium=referral&page=upgrade-pr * fix: upgrade xregexp from 5.1.0 to 5.1.1 Snyk has created this PR to upgrade xregexp from 5.1.0 to 5.1.1. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mtc/project/86296478-3a5b-43ab-9fc6-4b4c5f4833ba?utm_source=github&utm_medium=referral&page=upgrade-pr * Update load-test. NB the artillary upgrade requires node v16 * Fix constructor issue * fix tests * fix: upgrade sass from 1.52.1 to 1.54.8 Snyk has created this PR to upgrade sass from 1.52.1 to 1.54.8. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mtc/project/c7841ec1-118f-443b-9be4-7adb6042d775?utm_source=github&utm_medium=referral&page=upgrade-pr * fix: upgrade core-js from 2.6.10 to 2.6.12 Snyk has created this PR to upgrade core-js from 2.6.10 to 2.6.12. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mtc/project/c7841ec1-118f-443b-9be4-7adb6042d775?utm_source=github&utm_medium=referral&page=upgrade-pr * Refactor monotonic time / answers * Update assets version * Refator - Audits to use MontonicTime * Rafactor QuestionRendered audit * Refactor CheckStarted audit * refactor QuestionAnswered * refactor PauseRendered * refactor CheckSubmissionPending * refactor checkSubmissionAPI called * refactor CheckSubmissionAPICallSuceeded * refactor CheckSubmissionAPIFailed * refactor CheckSubmissionFailed * refactor SessionExpired * refactor RefreshDetected and UtteranceStarted * refactor UtteranceEnded * refactor QuestionReadingStarted * refactor QuestionReadingEnded * Lint fix * refactor QuestionTimerStarted * refactor QuestionTimerEnded * refactor QuestionTimerCancelled * refactor AppError * refactor AppVisible * lint fix * refactor AppHidden * refactor RefreshOrTabDetected * Update docker circleci config * Lots of other docker versions found in the circleCI config. Urgh. * refactor RegisterInput * refactor: use Date() for generating the clientTimestamp Answers, RegisteredInputs and Audits * Add sub-sort for events happening < 1 ms * Update assets version * Bump Angular minor/patch version * Bump vm2 from 3.9.9 to 3.9.11 in /load-test Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.9 to 3.9.11. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.9...3.9.11) --- updated-dependencies: - dependency-name: vm2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * Use JS Date instead of monotonic time for Registered Inputs * Fix test * Update sort on validator(s) * marking-service: answer sort to now include monotonic time sub-sort * store monotonic time after marking in table storage * data-sync - secondary sort on sequence number * Update unsupported browser list in spa * Add initial support for outdated browsers Unsupported browsers are now redirected from nginx to the unsupported-browser.html page Integration test needs more browsers adding in. * Update browserslist, add integration tests * Add style to unsupported browser page * Directory layout change * Wording change * Trivial changes * bugfix * Update tests * Update prod nginx rewrite destination for unsupported * monotonic test updates Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: snyk-bot <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mohsen Qureshi <[email protected]> Co-authored-by: Mohsen Qureshi <[email protected]>
- Loading branch information