Skip to content

Commit

Permalink
Merge pull request #6866 from opengovsg/release_v6.86.0
Browse files Browse the repository at this point in the history
build: release v6.86.0
  • Loading branch information
KenLSM authored Nov 7, 2023
2 parents 9176cdb + 1eec9b6 commit 245291d
Show file tree
Hide file tree
Showing 14 changed files with 5,583 additions and 1,367 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,29 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v6.86.0](https://github.com/opengovsg/FormSG/compare/v6.86.0...v6.86.0)

- chore: use non-testing branch for font-wqy-zenhei [`#6867`](https://github.com/opengovsg/FormSG/pull/6867)

#### [v6.86.0](https://github.com/opengovsg/FormSG/compare/v6.85.1...v6.86.0)

> 6 November 2023

- chore: update credits and terms of use [`#6865`](https://github.com/opengovsg/FormSG/pull/6865)
- fix: add cloudflareinsights as allowable csp [`#6864`](https://github.com/opengovsg/FormSG/pull/6864)
- feat: optimise submission query [`#6863`](https://github.com/opengovsg/FormSG/pull/6863)
- chore(dockerfile): update mocktwilio to start asap [`#6862`](https://github.com/opengovsg/FormSG/pull/6862)
- fix: only render delete button if owner [`#6837`](https://github.com/opengovsg/FormSG/pull/6837)
- build: merge release v6.85.1 into develop [`#6861`](https://github.com/opengovsg/FormSG/pull/6861)
- fix: hotfix v6.85.1 to prevent creation of SGID_MyInfo storage mode forms [`#6860`](https://github.com/opengovsg/FormSG/pull/6860)
- chore: bump version to v6.86.0 [`1c827cd`](https://github.com/opengovsg/FormSG/commit/1c827cd11844649ca303bb5dc9987db5367637c9)

#### [v6.85.1](https://github.com/opengovsg/FormSG/compare/v6.85.0...v6.85.1)

> 31 October 2023

- build: release v6.85.0 [`#6857`](https://github.com/opengovsg/FormSG/pull/6857)
- chore: bump version to 6.85.1 [`6b0fbeb`](https://github.com/opengovsg/FormSG/commit/6b0fbeb241a1bafd097d1d38905369c744b6b6b1)
- fix: add validation check for SGID_MyInfo [`c5e6a70`](https://github.com/opengovsg/FormSG/commit/c5e6a70764d5229a36985b363cc4695e49dfad6d)

#### [v6.85.0](https://github.com/opengovsg/FormSG/compare/v6.84.0...v6.85.0)
Expand Down
6,113 changes: 4,940 additions & 1,173 deletions CREDITS.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

# This package is needed to render Chinese characters in autoreply PDFs
RUN echo @edge http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && apk add font-wqy-zenhei@edge
RUN apk add font-wqy-zenhei --repository https://dl-cdn.alpinelinux.org/alpine/edge/community

ENV CHROMIUM_BIN=/usr/bin/chromium-browser

# Run as non-privileged user
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ services:
mocktwilio:
image: stoplight/prism:4
container_name: formsg-mocktwilio
depends_on:
- backend
network_mode: 'service:backend' # reuse backend service's network stack so that it can resolve localhost:4010 to prismtwilio:4010
command: mock https://raw.githubusercontent.com/twilio/twilio-oai/main/spec/json/twilio_api_v2010.json

Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "form-frontend",
"version": "6.85.0",
"version": "6.86.0",
"homepage": ".",
"private": true,
"dependencies": {
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/constants/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { PRIVACY_POLICY_ROUTE, TOU_ROUTE } from './routes'
export const CONTACT_US = 'https://go.gov.sg/formsg-support'
export const FEATURE_REQUEST = 'https://go.gov.sg/form-featurerequest'
export const REPORT_VULNERABILITY = 'https://go.gov.sg/report-vulnerability'
export const OSS_README =
'https://s3-ap-southeast-1.amazonaws.com/misc.form.gov.sg/OSS-Legal.pdf'
export const OSS_README = 'https://go.gov.sg/formsg-thirdparty'

export const SINGPASS_FAQ = 'https://www.singpass.gov.sg/main/html/faq.html'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const RowActionsDrawer = ({
previewFormLink,
handleDeleteForm,
handleDuplicateForm,
isFormAdmin,
handleCollaborators,
handleShareForm,
} = useRowAction(formMeta)
Expand Down Expand Up @@ -156,15 +157,19 @@ export const RowActionsDrawer = ({
<BiChevronRight fontSize="1.25rem" />
</Flex>
</Button>
<Divider />
<Button
{...buttonProps}
onClick={handleDeleteForm}
color="danger.500"
leftIcon={<BiTrash fontSize="1.25rem" />}
>
Delete
</Button>
{isFormAdmin && (
<>
<Divider />
<Button
{...buttonProps}
onClick={handleDeleteForm}
color="danger.500"
leftIcon={<BiTrash fontSize="1.25rem" />}
>
Delete
</Button>
</>
)}
</>
)}
</ButtonGroup>
Expand Down
Loading

0 comments on commit 245291d

Please sign in to comment.