Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
daffdee
feat: added github actions to deploy to s3 bucket
isaackps Sep 17, 2025
7031d2f
fix: syntax error
isaackps Sep 17, 2025
545fc44
fix: if error
isaackps Sep 17, 2025
5930377
fix: remove optional
isaackps Sep 17, 2025
4d683cc
fix: update deploy s3 dev actions
isaackps Sep 23, 2025
b45e3d2
fix: update deploy prod yml
isaackps Sep 23, 2025
60c6c1e
fix: indent
isaackps Sep 23, 2025
b4dc649
fix: secrets
isaackps Sep 23, 2025
5356993
fix: if statement
isaackps Sep 23, 2025
72c9ee6
fix: env
isaackps Sep 23, 2025
879b78f
fix: update actions name
isaackps Sep 23, 2025
b371486
fix: combine dev and prod
isaackps Sep 23, 2025
355485a
fix: update file
isaackps Sep 23, 2025
7a4afc2
fix: update different artifact for dev and prod
isaackps Sep 23, 2025
46ebfc0
chore: update wordings from GovTech -> IMDA (#823)
HJunyuan Sep 25, 2025
7b16e4a
fix: add maintenance notice (#824)
isaackps Sep 30, 2025
dfd1d86
fix: update readme (#825)
isaackps Sep 30, 2025
ad61676
fix: update recaptcha client key
isaackps Sep 30, 2025
72939c4
fix: update opencerts-verify package
isaackps Oct 1, 2025
cdb4447
fix: update code
isaackps Oct 1, 2025
4f976e0
fix: disable email (#826)
nghaninn Oct 2, 2025
a6a418c
fix: re-enable email
isaackps Oct 3, 2025
6b87cf2
fix: update CICD pipeline
isaackps Oct 9, 2025
9ea9442
fix: update readme
isaackps Oct 9, 2025
eb5ad89
fix: update ci to run lint and test first
isaackps Oct 9, 2025
3d16fc9
fix: update dev env actions
isaackps Oct 9, 2025
4855980
fix: update prod deployment script
isaackps Oct 9, 2025
7cc335c
fix: update dev api end point
isaackps Oct 9, 2025
0bcf758
fix: dev actions (#827)
isaackps Oct 21, 2025
3d5dd00
fix: update prod deployment script to be manually triggered (#828)
isaackps Oct 28, 2025
dc768d7
Fix/branch develop (#830)
isaackps Nov 4, 2025
08e9b00
Merge branch 'master' into develop
isaackps Nov 4, 2025
6567ca4
fix: update dev api endpoint (#832)
rongquan1 Nov 6, 2025
f057d29
fix: website update (#831)
RishabhS7 Nov 6, 2025
61fe15e
fix: add test cafe retries (#833)
RishabhS7 Nov 10, 2025
52f2476
fix: update demo files names (#834)
RishabhS7 Nov 10, 2025
601779e
Merge branch 'master' into develop (#835)
rongquan1 Nov 17, 2025
c1fa3fd
fix: website update
rongquan1 Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ jobs:

- name: Unit tests
run: npm test -- --ci

- name: Build and run integration
run: ./scripts/integration-headless.sh
19 changes: 19 additions & 0 deletions .testcaferc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"selectorTimeout": 300000,
"assertionTimeout": 300000,
"pageLoadTimeout": 30000,
"speed": 0.1,
"browsers": ["chrome:headless --disable-web-security --no-sandbox --disable-dev-shm-usage"],
"concurrency": 1,
"src": ["src/**/*.spec.js"],
"quarantineMode": {
"successThreshold": 1,
"attemptLimit": 5
},
"skipJsErrors": true,
"compilerOptions": {
"typescript": {
"configPath": "./tsconfig.json"
}
}
}
2 changes: 0 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ const nextConfig = {
exportPathMap: function exportMap() {
return {
"/": { page: "/" },
"/collaborate": { page: "/collaborate" },
"/privacy": { page: "/privacy" },
"/terms": { page: "/terms" },
"/collaborators-terms": { page: "/collaborators-terms" },
"/viewer": { page: "/viewer" },
"/faq": { page: "/faq" },
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"serve-static": "http-server out -s -p 3000",
"integration": "testcafe chrome src/**/*.spec.js --selector-timeout 10000 --ts-config-path ./tsconfig.json",
"integration:single": "testcafe chrome -L --app \"npm run serve-static\"",
"integration:headless": "testcafe -c 1 'chrome --headless=new --disable-web-security' --selector-timeout 300000 src/**/*.spec.js",
"integration:headless": "testcafe",
"integration:watch": "nodemon --exec \"npm run integration\" --watch src",
"type-check": "npx tsc --noEmit"
},
Expand Down
32 changes: 0 additions & 32 deletions pages/collaborators-terms.tsx

This file was deleted.

119 changes: 59 additions & 60 deletions public/static/demo/amoy.opencert

Large diffs are not rendered by default.

114 changes: 58 additions & 56 deletions public/static/demo/homestead.opencert

Large diffs are not rendered by default.

Large diffs are not rendered by default.

93 changes: 0 additions & 93 deletions public/static/demo/rinkeby.opencert

This file was deleted.

93 changes: 0 additions & 93 deletions public/static/demo/ropsten.opencert

This file was deleted.

111 changes: 55 additions & 56 deletions public/static/demo/sepolia.opencert

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions public/static/registry.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"issuers": {
"0x007d40224f6562461633ccfbaffd359ebb2fc9ba": {
"name": "Government Technology Agency of Singapore (GovTech)",
"name": "ROPSTEN: OpenCerts",
"displayCard": true,
"website": "https://www.tech.gov.sg",
"email": "[email protected]",
Expand Down Expand Up @@ -64,7 +64,7 @@
"phone": "+65 6592 1136",
"logo": "/static/images/SIT_logo.png",
"id": "sit-registry"
},
},
"0x78CE67fcb40D9D9552A313670A2e0eef11043995": {
"name": "SkillsFuture Singapore",
"displayCard": true,
Expand Down Expand Up @@ -356,11 +356,11 @@
"displayCard": false
},
"0xdcA6Eea7024151c270b50FcA9E67161119B06BAD": {
"name": "ROPSTEN: Government Technology Agency of Singapore (GovTech)",
"name": "ROPSTEN: OpenCerts",
"displayCard": false
},
"0x532C9Ff853CA54370D7492cD84040F9f8099f11B": {
"name": "ROPSTEN: Government Technology Agency of Singapore (GovTech)",
"name": "ROPSTEN: OpenCerts",
"displayCard": false
},
"0x5AA6bF8F748cD2D8f1949eD328B2bEa61CE2B6d7": {
Expand Down Expand Up @@ -400,27 +400,27 @@
"displayCard": false
},
"0x7Ee2B9a0043Bda975398477695ba5c2361acC50C": {
"name": "RINKEBY: Government Technology Agency of Singapore (GovTech)",
"name": "RINKEBY: OpenCerts",
"displayCard": false
},
"0xb3db78c0cc3622e078622C8395095a7B95415Acf": {
"name": "GOERLI: Government Technology Agency of Singapore (GovTech)",
"name": "GOERLI: OpenCerts",
"displayCard": false
},
"0x49b2969bF0E4aa822023a9eA2293b24E4518C1DD": {
"name": "GOERLI: Government Technology Agency of Singapore (GovTech)",
"name": "GOERLI: OpenCerts",
"displayCard": false
},
"0x80732bF5CA47A85e599f3ac9572F602c249C8A28": {
"name": "AMOY: Government Technology Agency of Singapore (GovTech)",
"name": "AMOY: OpenCerts",
"displayCard": false
},
"0x71D28767662cB233F887aD2Bb65d048d760bA694": {
"name": "SEPOLIA: Government Technology Agency of Singapore (GovTech)",
"name": "SEPOLIA: OpenCerts",
"displayCard": false
},
"0x80ca96D2Aab5E1E23876a4D8140Ee1292327a4cd": {
"name": "SEPOLIA: Government Technology Agency of Singapore (GovTech)",
"name": "SEPOLIA: OpenCerts",
"displayCard": false
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Analytics/analytics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe("analytics*", () => {
document_store: `"0x007d40224f6562461633ccfbaffd359ebb2fc9ba"`,
issued_on: "a date",
registry_id: "govtech-registry",
issuer_name: "Government Technology Agency of Singapore (GovTech)",
issuer_name: "ROPSTEN: OpenCerts",
nonInteraction: true,
value: undefined,
});
Expand Down Expand Up @@ -196,7 +196,7 @@ describe("analytics*", () => {
document_store: `"0x007d40224f6562461633ccfbaffd359ebb2fc9ba"`,
issued_on: "a date",
registry_id: "govtech-registry",
issuer_name: "Government Technology Agency of Singapore (GovTech)",
issuer_name: "ROPSTEN: OpenCerts",
nonInteraction: true,
value: undefined,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ describe("certificate verify block getV2IdentityVerificationText", () => {
{
status: "VALID",
value: "0xdcA6Eea7024151c270b50FcA9E67161119B06BAD",
name: "ROPSTEN: Government Technology Agency of Singapore (GovTech)",
name: "ROPSTEN: OpenCerts",
displayCard: false,
},
],
Expand All @@ -291,7 +291,7 @@ describe("certificate verify block getV2IdentityVerificationText", () => {
.toMatchInlineSnapshot(`
<ol>
<li>
ROPSTEN: GOVERNMENT TECHNOLOGY AGENCY OF SINGAPORE (GOVTECH)
ROPSTEN: OPENCERTS
</li>
</ol>
`);
Expand Down
175 changes: 0 additions & 175 deletions src/components/Collaborate/CollaboratorsTerms.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions src/components/Layout/FooterBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ export const FooterBar: React.FunctionComponent = () => (
<footer className="flex-shrink-0 bg-navy text-white py-2">
<div className="container pt-8 pb-12">
<div className="flex flex-wrap justify-center">
<div className="w-full lg:w-40 mb-8 lg:mb-0">
<p className="font-poppins font-bold mb-2">Partners</p>
<ul className="text-sm">
<li>
<Link legacyBehavior href="/collaborate">
<a>Collaborate</a>
</Link>
</li>
</ul>
</div>
<div className="w-full lg:w-40 mb-8 lg:mb-0">
<p className="font-poppins font-bold mb-2">Support</p>
<ul className="text-sm">
Expand All @@ -35,11 +25,6 @@ export const FooterBar: React.FunctionComponent = () => (
Documentation
</a>
</li>
<li>
<a href="https://docs.opencerts.io/blog/" target="_blank" rel="noopener noreferrer">
Blog
</a>
</li>
</ul>
</div>
<div className="w-full lg:w-40">
Expand Down
Loading