Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: release v6.37.0 #5988

Merged
merged 26 commits into from
Mar 24, 2023
Merged

build: release v6.37.0 #5988

merged 26 commits into from
Mar 24, 2023

Conversation

wanlingt
Copy link
Contributor

@wanlingt wanlingt commented Mar 24, 2023

New

  • fix: submit admin feedback form #5981
  • fix: typo in readme #5979
  • docs: improve contribution guidelines #5925
  • fix: move permission list validation from model level to service layer #5946
  • docs: Script to find invalid whitespaces #5945
  • build: merge Release 6.36.1 back into develop #5941
  • fix: trim dropdown options for logic check #5940
  • test(e2e): add storage mode e2e tests #5926
  • feat: otp prefix for respondents email and mobile fields #5874
  • feat: update uen entity types #5915
  • test(e2e/email): add form auth tests #5876
  • build: merge v6.36.0 into develop #5914
  • build: release v6.36.0 #5913
  • chore: bump version to 6.36.1 faf75b5

Dependencies

  • fix(deps): bump type-fest from 3.6.1 to 3.7.0 in /shared #5986
  • fix(deps): bump libphonenumber-js from 1.10.15 to 1.10.24 #5943
  • fix(deps): bump moment-timezone from 0.5.40 to 0.5.41 #5939
  • fix(deps): bump libphonenumber-js from 1.10.21 to 1.10.24 in /shared #5936
  • chore(deps): bump @opengovsg/myinfo-gov-client from 4.0.1 to 4.0.2 #5931

Dev-Dependencies

  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.55.0 to 5.56.0 in /shared #5953
  • chore(deps-dev): bump @typescript-eslint/parser from 5.52.0 to 5.56.0 #5978
  • chore(deps-dev): bump eslint-config-prettier from 8.7.0 to 8.8.0 in /shared #5952
  • chore(deps-dev): bump @typescript-eslint/parser from 5.55.0 to 5.56.0 in /shared #5954
  • chore(deps-dev): bump csv-parse from 5.3.3 to 5.3.6 #5951
  • chore(deps-dev): bump rimraf from 3.0.2 to 4.4.0 #5947
  • chore(deps-dev): bump jest-localstorage-mock from 2.4.25 to 2.4.26 #5916
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 5.54.1 to 5.55.0 in /shared #5923
  • chore(deps-dev): bump @typescript-eslint/parser from 5.54.1 to 5.55.0 in /shared #5922

Tests

fix: submit admin feedback form #5981

@LinHuiqing

  • On an admin page, click the speech bubble icon on the bottom right of the screen. Submit your feedback (make sure that any text entered is longer than 5 characters)
  • (To test that the public feedback form is also still working) Change REACT_MIGRATION_RESP_ROLLOUT_EMAIL to 99. Go to an email-mode public form and click the "switch back" banner at the bottom of the page. This should open a modal with long text field (and email field if not logged in as admin). Fill the form. It should submit successfully to the public feedback form.

fix: move permission list validation from model level to service layer #5946

@KenLSM

  • Ensure that the email domain data.gov.sg is not in the govtech agency. Try to add [email protected] email as a collaborator. This should fail.
  • Add the data.gov.sg email domain to the govtech agency. Now add [email protected] and [email protected] email as collaborators. Then, remove the data.gov.sg email domain from the govtech agency. Perform the following actions in order.

Notes

Separately, I found an existing bug with transfer ownership. We currently allow ownership to be transferred to users whose emails are no longer valid domains belonging to any agency. You can see this in the second video clip, right at the end. I'll open a ticket for it after looking through the existing issues to see if it's duplicated.

feat: otp prefix for respondents email and mobile fields #5874

@wanlingt

  • OTP prefix should exist on FE on OTP enabled
    • email verification field
    • mobile number verification field
  • OTP prefix should sent to user's
    • mobile device
    • email

feat: update uen entity types #5915

@tshuli

  • newly added UEN should pass T23BN1234Y
  • existing UEN should pass
    • type A nnnnnnnnX i.e., 12345678Y
    • type B yyyynnnnnX i.e., 202312345Y
    • type C TyyPQnnnnX i.e., T23LP1234Y
  • sanity check of incorrect UEN should fail T23LP12345

KenLSM and others added 26 commits March 9, 2023 16:27
build: merge v6.36.0 into develop
* test(e2e): add instrumentation to support form auth tests

* test(e2e): add instrumentation to support verifying email confirmations

* test(e2e): fix issue in autoreply mail util

* test: uncomment existing form auth tests

* test(e2e): add instrumentation to support MyInfo tests

* test(e2e): add MyInfo test

* test(temp): comment out a bunch of tests just to do auth testing, CI goes to 1 retry, return bogus error codes to see what's causing 400

* test(temp): comment out even more tests, focus on Singpass, return bogus string for UIN

* test(e2e): remove extraneous stuff

* test: fix mockpass env vars

* chore: update README, remove some ts directives

* chore: fix naming and some syntax nits
… in /shared (#5922)

chore(deps-dev): bump @typescript-eslint/parser in /shared

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.54.1 to 5.55.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.55.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 5.55.0 in /shared (#5923)

chore(deps-dev): bump @typescript-eslint/eslint-plugin in /shared

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.54.1 to 5.55.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.55.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* test: add cases for OTP BE prefix

* feat: otp prefix for BE

* test: update cases

* feat: otp prefix for FE

* feat: add email prefix BE

* fix: remove redundant type
…5936)

Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.21 to 1.10.24.
- [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags)
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.21...v1.10.24)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…5916)

Bumps [jest-localstorage-mock](https://github.com/clarkbw/jest-localstorage-mock) from 2.4.25 to 2.4.26.
- [Release notes](https://github.com/clarkbw/jest-localstorage-mock/releases)
- [Commits](clarkbw/jest-localstorage-mock@v2.4.25...v2.4.26)

---
updated-dependencies:
- dependency-name: jest-localstorage-mock
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* test(e2e): add instrumentation for encrypt mode tests, add one encrypt mode test

* test(e2e): fix bug in computation of expected response values

* test(e2e): general code refactor, add more tests to encrypt submission tests

* test(e2e): remove attachments from storage mode tests
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.40 to 0.5.41.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](moment/moment-timezone@0.5.40...0.5.41)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.15 to 1.10.24.
- [Release notes](https://gitlab.com/catamphetamine/libphonenumber-js/tags)
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.15...v1.10.24)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build: merge Release 6.36.1 back into develop
Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 4.4.0.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](isaacs/rimraf@v3.0.2...v4.4.0)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: first pass at script to find invalid forms

* feat: find forms where logic checks can't be matched

* feat: extract the affected forms with submissions

* fix: fix report + add total number of affected submissions

* chore: lint

* chore: include list of affected submissions, write to csv

* chore: update date range

* chore: update format for postman

* chore: format for postman

* feat: add stats on total # of subs and forms during time period

---------

Co-authored-by: Timothee Groleau <[email protected]>
Bumps [csv-parse](https://github.com/adaltas/node-csv/tree/HEAD/packages/csv-parse) from 5.3.3 to 5.3.6.
- [Release notes](https://github.com/adaltas/node-csv/releases)
- [Changelog](https://github.com/adaltas/node-csv/blob/master/packages/csv-parse/CHANGELOG.md)
- [Commits](https://github.com/adaltas/node-csv/commits/[email protected]/packages/csv-parse)

---
updated-dependencies:
- dependency-name: csv-parse
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… in /shared (#5954)

chore(deps-dev): bump @typescript-eslint/parser in /shared

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.55.0 to 5.56.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.56.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…shared (#5952)

chore(deps-dev): bump eslint-config-prettier in /shared

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/eslint-config-prettier@v8.7.0...v8.8.0)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#5946)

* fix: move permission list validation from model level to service layer

* chore(test): update some backend test cases

* chore: disallow updating of invalid collaborators
* fix: change feedback form fields depending on isAdmin

* fix: add more common feedback form fields

* fix: reorder admin feedback form fields

* ref: refactor form fields
…#5978)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.52.0 to 5.56.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.56.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… 5.56.0 in /shared (#5953)

chore(deps-dev): bump @typescript-eslint/eslint-plugin in /shared

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.55.0 to 5.56.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.56.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 3.6.1 to 3.7.0.
- [Release notes](https://github.com/sindresorhus/type-fest/releases)
- [Commits](sindresorhus/type-fest@v3.6.1...v3.7.0)

---
updated-dependencies:
- dependency-name: type-fest
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@wanlingt wanlingt merged commit 638690e into release-al2 Mar 24, 2023
@wanlingt wanlingt deleted the release_v6.37.0 branch March 24, 2023 04:02
@tshuli tshuli mentioned this pull request Mar 29, 2023
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants