-
Notifications
You must be signed in to change notification settings - Fork 78
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.74.0 #6680
build: release v6.74.0 #6680
Conversation
build: merge v6.73.0 into develop
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.2.0 to 4.3.0. - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](sindresorhus/type-fest@v4.2.0...v4.3.0) --- updated-dependencies: - dependency-name: type-fest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add base virus scanner * chore: add buckets for virus scanner * chore: update local env vars * feat: add putS3FileStream to s3.service * chore: add virus scanning bucket env vars to convict * fix: correct eslint ref * chore: add build step to dev for update * chore: add dev env var * chore: scanFileStream returns clean file buffer * refactor: put s3 file buffer only after scan * chore: add logs to clamscan * chore: remove backend service * feat: virus scanner feature * chore: shift typings to types * chore: update serverless.yml * chore: use http-status-codes * refactor: use promise notation for clarity * chore: add case where key is invalid * chore: add virus scanner to npm run dev * feat: add scanner deploy for stg * chore: swap prefix order for virus scanner ssm * chore: use hyphen for path * chore: log test params from ssm * chore: update param parser format * chore: use /virus-scanner prefix to scope iam perms * feat: provisioned concurrency to keep lambda hot * chore: use serverlessifelse * chore: validate that key is uuid * chore(deps): install uuid types * chore: improve docs, fix validate chore: docs * chore: return virus metadata on malicious file * chore: tighten perms * fix: syntax * feat: delete malicious file from quarantine bucket after logging * chore: delete clean file from quarantine bucket * feat: move clean file on successful scan * chore: use cp for now * chore: versioning enabled for local s3 bucket * chore: add versionId to copy command * fix: do not specify versionId in delete command * chore: return malicious file metadata * fix: include objectTagging perms for copy object * fix: include s3:GetObjectVersion * chore: check for empty body * chore: remove unused utils * chore: add try catch block * chore: specify versionId when deleting * chore: add name to workflow * chore: fix concurrency config * chore: add provisionedConcurrency to npm run package * fix: extra hyphen * chore: use param for provisionedConcurrency * fix: use param directly * chore: simplify logger and update docs * chore: add tests for clamscan service * chore: add versionId when deleting object after copy * chore: add tests for s3.service * chore: wrap file scanning in try catch * chore: add tests for index handler * chore: add log tests for s3.service * chore: update test description * chore: add scripts for prod and UAT * chore: update module path for tests * chore: add iam perms to delete object version * chore: add jest dependencies * chore: remove todo * chore: check for all dev envs * chore: error out if env name is invalid * chore: combine tests * chore: concise Co-authored-by: Lin Huiqing <37061143+LinHuiqing@users.noreply.github.com> --------- Co-authored-by: Lin Huiqing <37061143+LinHuiqing@users.noreply.github.com>
…6672) Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.41 to 1.10.43. - [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.41...v1.10.43) --- updated-dependencies: - dependency-name: libphonenumber-js dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ref: shift MYINFO_DATE_FORMAT const to DateField * feat: parse and format myinfo DOB * fix: change dateFormat of ChildDateOfBirth * fix: add space to CHILD_PREFIX * fix: undo date formatting * fix: change date format * fix: add validation to backend * fix: move date constants to shared * ref: use shared formatMyinfoDate function * test: use correct import * fix: remove unused imports * docs: add explanation * ref: use const for myInfoFormattedValue
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.3.0 to 4.3.1. - [Release notes](https://github.com/sindresorhus/type-fest/releases) - [Commits](sindresorhus/type-fest@v4.3.0...v4.3.1) --- updated-dependencies: - dependency-name: type-fest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: output empty array if no child is selected * fix: remove validator for empty arrays * fix: check for empty string before validation in validChildAnswersNonEmpty * fix: failure to deploy due to outdated mirror * ref: use terser condition check * fix: add comments for case where no child is selected in validChildAnswersNonEmpty
* chore: add sticky bottom theme for modal * feat: add quantity selector modal and button * fix: payment card focus border * chore: remove unused imports * chore: remove unused utils * refactor: rename size sticky-bottom to align-bottom * fix: ui issues raised from live-review * refactor: move paymentcard into separate file * refactor: remove unused colortheme props * fix: failure to deploy due to outdated mirror * fix: incorrect default qty when min qty is not 1 * fix: input field not reseting to default when reopened, validation not running when stepper buttons were clicked * fix: issue where minus button presses doesnt revalidate input * fix: payment card content not aligned to top * fix: payment card font titles * fix: quantity selection modal ui, add variant bottom, remove selector-bottom size * fix: error message margins * chore: rename paymentcard to productpaymentcard * fix: remove unnecessary null coalesce * chore: update checkbox and radio component pseudo selector bg * fix: theming and background color * fix: productpaymentcard checked background * fix: sync total payment amount with paymentpreview, update pseudo selector css for checkbox and radio
…Error (#6675) fix: return appropriate status code for MissingUserError
…itespace_issue (#6677) chore(deps): bump mongodb in /scripts/20230317_whitespace_issue Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.1.0 to 5.8.0. - [Release notes](https://github.com/mongodb/node-mongodb-native/releases) - [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.0/HISTORY.md) - [Commits](mongodb/node-mongodb-native@v5.1.0...v5.8.0) --- updated-dependencies: - dependency-name: mongodb dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
UX issue (don't think its blocking?)
![]() |
For #6648: ![]() |
Some notes for the Qty selector:
|
For #6648: |
Edit: Resolved
@wanlingt This is probably the behaviour previously, i.e., the change didn't work as intended, but didn't introduce additional issues either. |
Updated @KenLSM - it's because the user object needs an |
New
#6676
#6675
#6669
#6673
#6648
#6642
#6658
#6652
#6659
#6657
1476fae
2ce5099
Dependencies
#6677
#6674
#6672
#6668
Dev-Dependencies
Tests
fix: allow submission when Myinfo child field is hidden by logic
#6673
@foochifa
For staging, these are the NRICs of profiles with children.
Regression test:
fix: Myinfo Child DOB
#6648
@LinHuiqing
DOB
(already has existing Myinfo data) andMarriage Date
(has no existing Myinfo data)feat: enable myinfo child vax field
#6652
@KenLSM
children
beta flag to your admin user.feat: virus scanner for storage mode submissions
#6642
@justynoh
key: <filename>
.key: <filename>
.key: <filename>
.key: <filename>
.fix: platform api v1 - return appropriate status code for MissingUserError
#6675
@KenLSM
"isPlatform" : true
to your user'sapiToken
property in the DB.POST /api/public/v1/admin/forms/:formId/webhooksettings
to retrieve webhook settingsPATCH /api/public/v1/admin/forms/:formId/webhooksettings
to update webhook settingsfeat: payment quantity selector
#6669
@foochifa @LinHuiqing
Payment Modal
Modal x PaymentCard
data mutation, on adminname: min qty 1 max qty 99, description: bar, amt: 1, multi_qty: min_qty: 1, max_qty: 99
Qty: 1
99
X
button closes the modalQty: 1
99
Cancel
button closes the modalQty: 1
99
Qty: 99
PaymentPreview
updates toS$99.00
Modal x PaymentCard
data mutation, on responder sidename: min qty 1 max qty 99, description: bar, amt: 1, multi_qty: min_qty: 1, max_qty: 99
Qty: 1
99
Qty: 99
PaymentPreview
updates toS$99.00
S$99.00
Item without multi_qty
name: no multi_qty, description: bar, multi_qty: toggled off
Item with min and max as 1
name: min qty 1 max qty 1, description: bar, multi_qty: toggled on, min_qty: 1, max_qty: 1
Qty: 1
1
1
(the min_qty)Item with non min of 1
name: min qty 2 max qty 99, description: bar, multi_qty: min_qty: 2, max_qty: 99
Qty: 2
2
2
(the min_qty)Item quantity taking large width
name: min qty 1 max qty 200000, description: bar, amt: 1, multi_qty: min_qty: 1, max_qty: 200000
200000
Qty: 200000
with the button width increased to accommodate the valuesMobile View
On a mobile screen (
<768px
)Deploy Notes
feat: virus scanner for storage mode submissions
#6642
New environment variables:
/virus-scanner/[staging|production|uat]
, we have