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

Sancho-v1.0.12 #1674

Merged
merged 223 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
6a08db6
[#1404] improve query data type from any
j-dyczka Jul 5, 2024
7d62260
Fix: gov-action-loader: remove old cardano-cli dependency
mesudip Jul 8, 2024
6123621
test: 6M navigate between footer links
kneerose Jul 8, 2024
d6e62fa
test: 6N open feedback modal on feedback button action
kneerose Jul 8, 2024
bcec5a8
test: Add test 6O verify bug report form
kneerose Jul 8, 2024
0b1dd64
test: Add test 6P verify feature form
kneerose Jul 8, 2024
c009b1e
chore: Add usersnap page and use usersnap page on it test
kneerose Jul 8, 2024
82df0c4
chore: bump cardano-test-wallet version to 2.0.1
NabinKawan Jul 8, 2024
4c19fc9
Merge pull request #1518 from IntersectMBO/bugfix/test-1D-reject-main…
NabinKawan Jul 8, 2024
3c8cbf3
test: Add test 6Q report an issue
kneerose Jul 8, 2024
294292c
test: Add test 6R submit an idea or new feature
kneerose Jul 9, 2024
42b2e80
chore: Mock info-proposed-govactions
NabinKawan Jul 3, 2024
eebc4a5
fix: Get all proposed govactions
NabinKawan Jul 3, 2024
68c3b29
fix: Test proposal-discussion-forum logged out tests
NabinKawan Jul 3, 2024
d90dbe7
fix: Proposal auth setup and Create proposal fixture
NabinKawan Jul 4, 2024
1b63485
fix: Test 8G
NabinKawan Jul 4, 2024
15b5f12
fix: Test comments (user/anonymous)
NabinKawan Jul 4, 2024
c480e6b
feat: Add new proposal wallet
NabinKawan Jul 4, 2024
3467c36
fix: Proposal 01 auth setup
NabinKawan Jul 5, 2024
27bbd72
fix: Polling tests and Skip test anonymous comment
NabinKawan Jul 5, 2024
5747577
fix: Refactor 6I, 6J tests acc to new flow
NabinKawan Jul 5, 2024
a27057e
chore: Skip test 8M (Anonymous comment)
NabinKawan Jul 5, 2024
e14318a
fix: resolve conflict of verify btn in logged in/out state
NabinKawan Jul 9, 2024
302143d
test: filter proposed governance actions
NabinKawan Jul 9, 2024
cd926e3
test: sort proposed governance actions
NabinKawan Jul 9, 2024
676c9cf
Refactor: Remove user page and use locator directly in tests
kneerose Jul 9, 2024
a157477
chore: remove test (8M,8O)
NabinKawan Jul 9, 2024
59d8281
Merge pull request #1479 from IntersectMBO/bugfix/pdf-tests
NabinKawan Jul 9, 2024
d7e560b
test: Disable annonymous comment
NabinKawan Jul 5, 2024
aa054bb
test: Username validation
NabinKawan Jul 5, 2024
060cbbe
Merge pull request #1480 from IntersectMBO/extended/pdf-tests
NabinKawan Jul 9, 2024
25593f5
Merge pull request #1529 from IntersectMBO/feat/user-snap
kneerose Jul 9, 2024
c260ee7
chore: Update proposal creation request type and its form validation
kneerose Jul 3, 2024
00ebc29
chore: Update Test 7C flow to show unfinished draft list per latest u…
kneerose Jul 3, 2024
eacecd9
fix: test 7D according to new flow
kneerose Jul 3, 2024
642b696
chore: Update the fill-up form flow and the generated valid field fak…
kneerose Jul 3, 2024
c27177a
Fix: Update test 7E `Accept valid proposal form` according to the new…
kneerose Jul 3, 2024
9c91cc4
Fix: Update test 7F `Reject invalid proposal form` according to the n…
kneerose Jul 3, 2024
4a9f91e
chore: Update generate valid and invalid proposal form field props type
kneerose Jul 3, 2024
15b9fe7
chore: Refactor test 7G flow to create a proposal with proper data
kneerose Jul 3, 2024
1fe3e0a
chore: Update test 7I review fillup form flow
kneerose Jul 3, 2024
a3292c0
chore: Update metadata anchor validation test
kneerose Jul 4, 2024
41eee95
chore: Update reject invalid metadata test
kneerose Jul 4, 2024
67f12cc
chore: Migrate 7J and 7K test from proposal submission functionality …
kneerose Jul 4, 2024
71bb185
feat: Add Tests 7L, 7M, and 7N Related to Proposal Draft
kneerose Jul 4, 2024
333d694
chore: Rename proposal.setup.ts file to governance-action.setup.ts
kneerose Jul 4, 2024
200d6be
chore: Update project proposals on playwright config
kneerose Jul 4, 2024
87c8306
chore: Update test 7H to submit a proposal as a governance action acc…
kneerose Jul 4, 2024
e9397d4
chore: Remove duplicate proposal create request and fix proposal link…
kneerose Jul 4, 2024
6cf54c1
chore: Remove unused functions and change the reward address on the p…
kneerose Jul 5, 2024
559a4ae
chore: Add missing elements in proposal Discussing page
kneerose Jul 5, 2024
30b0986
chore: Handle the 'Create Proposal' or 'continue' button on the propo…
kneerose Jul 5, 2024
121e487
chore: Migrate proposalSubmissionVisibility.loggedin test to proposal…
kneerose Jul 5, 2024
636fc16
chore: Update create proposal logic
kneerose Jul 5, 2024
bd4b895
chore: Refactor proposal auth and proposal fixture
kneerose Jul 5, 2024
9a23dd8
chore: Update proposal discussion navigation url and add amount input…
kneerose Jul 6, 2024
d785ebd
fix: Test 7J and 7K
kneerose Jul 9, 2024
665d584
chore: bump @intersect.mbo/pdf-ui to v0.2.8
j-dyczka Jul 9, 2024
a5e1a63
Merge pull request #1541 from IntersectMBO/chore/bump-pdf-ui
jdyczka Jul 9, 2024
2f7cc12
chore: Add temporary proposal users for draft test
kneerose Jul 10, 2024
ea05e08
chore: Add missing verify identity button action
kneerose Jul 10, 2024
f1202aa
Merge pull request #1507 from IntersectMBO/refactor/proposal-submission
kneerose Jul 10, 2024
63cea33
chore: update cardano test wallet version in package-lock
kneerose Jul 10, 2024
b76e6fb
Merge pull request #1546 from IntersectMBO/refactor/proposal-submission
kneerose Jul 10, 2024
717be69
fix: verify identity on navigation to proposal discussion page
NabinKawan Jul 10, 2024
a5f54d9
Merge pull request #1547 from IntersectMBO/bugfix/test-pdf-miscellaneous
NabinKawan Jul 10, 2024
6ae83ed
chore: add 2s wait timeout after navigated to proposal discussion
kneerose Jul 10, 2024
073338f
fix: verify identity on navigation to proposal creation
kneerose Jul 10, 2024
f3954ac
Merge pull request #1548 from IntersectMBO/bugfix/test-proposal-draft
kneerose Jul 10, 2024
0a8ee97
Merge pull request #1539 from IntersectMBO/develop
pmbinapps Jul 10, 2024
4e67563
list-proposals: fix SQL
disassembler Jul 10, 2024
db6f11b
backend: allow using metadata directly from db-sync
disassembler Jul 10, 2024
0d32c61
Merge pull request #1511 from IntersectMBO/fix/gov-action-loader
mesudip Jul 11, 2024
ec5cc28
chore: Add pdf missing test ids
kneerose Jul 11, 2024
54b3286
Merge pull request #1393 from IntersectMBO/fix/pdf-missing-testids
kneerose Jul 11, 2024
2955881
Merge pull request #1557 from IntersectMBO/test
pmbinapps Jul 11, 2024
bed0087
Adjust NGINX configuration for authentication to enable resync action
placek Jul 12, 2024
04ba789
Merge pull request #1569 from IntersectMBO/fix/1567-resolving-nginx-a…
placek Jul 12, 2024
44a5c22
Merge pull request #1571 from IntersectMBO/develop
pmbinapps Jul 12, 2024
b53d746
chore: bump @intersect.mbo/pdf-ui to v0.2.9
j-dyczka Jul 12, 2024
4aba061
Merge pull request #1572 from IntersectMBO/chore/bump-pdf-ui
jdyczka Jul 12, 2024
47573b7
Merge pull request #1553 from disassembler/sl/metadata-validation-opt…
bosko-m Jul 12, 2024
d29b93e
Merge pull request #1552 from disassembler/sl/fix-proposals-sql
bosko-m Jul 12, 2024
a812883
fix: fix frontend build
MSzalowski Jul 15, 2024
003bb2b
Merge pull request #1579 from IntersectMBO/fix/fix-vite-package-trans…
MSzalowski Jul 16, 2024
bd911e1
[#1538] Update Cardano Node and DB Sync versions in dev environment
placek Jul 15, 2024
a842bd2
[#1538] Update Cardano DB Sync and Node versions
placek Jul 15, 2024
e2e17d9
Update resync workflow to align with deployment workflow configuration
placek Jul 15, 2024
9dcf3a6
[#1413] remove balance check on redirect
j-dyczka Jul 16, 2024
83b4d55
Merge pull request #1577 from IntersectMBO/chore/1538-chore-bump-db-s…
placek Jul 16, 2024
af9616b
fix: add missing dependency @babel/preset-react
j-dyczka Jul 16, 2024
5e20d70
Merge pull request #1586 from IntersectMBO/fix/add-missing-dependecy
MSzalowski Jul 16, 2024
f57a140
[#1472] Bump CSL version to 12.0.0-beta.2
j-dyczka Jul 12, 2024
ad57a1a
Merge pull request #1570 from IntersectMBO/chore/1472-bump-csl
MSzalowski Jul 16, 2024
1d600f6
chore: bump version v1.0.9
MSzalowski Jul 16, 2024
f8855e0
Merge pull request #1587 from IntersectMBO/chore/bump-version
MSzalowski Jul 16, 2024
93b0542
Merge pull request #1584 from IntersectMBO/fix/1413-no-balance-check-…
jdyczka Jul 16, 2024
3761b68
Merge pull request #1532 from IntersectMBO/fix/1404-dRepHash-of-undef…
jdyczka Jul 16, 2024
a927c7d
Improve exception handling to better recognize and skip specific exce…
placek Jul 17, 2024
b56cffe
Address HLint complaints
placek Jul 17, 2024
638263c
Apply stylish-haskell code formatting
placek Jul 17, 2024
55d5739
Merge pull request #1592 from IntersectMBO/1417-sentry-exception-befo…
placek Jul 18, 2024
1083782
chore(#1575): Provide pdf api url from the env variables
MSzalowski Jul 18, 2024
4708192
Merge pull request #1593 from IntersectMBO/chore/provide-pdf-api-url-…
MSzalowski Jul 19, 2024
0f37c72
[#1501] Set proposal discussion forum enabled by default
j-dyczka Jul 9, 2024
95761c8
Auto stash before rebase of "chore/provide-pdf-api-url-from-the-env-v…
MSzalowski Jul 18, 2024
9011cba
Merge pull request #1533 from IntersectMBO/1501-default-enable-propos…
jdyczka Jul 19, 2024
941e436
fix: verify identity on navigation to proposal creation for treasury …
kneerose Jul 10, 2024
5275507
chore: add assertion instead of wait timeout on get and view draft
kneerose Jul 10, 2024
59277c7
fix: proposal created with poll enabled test issue due to user auth a…
kneerose Jul 18, 2024
d465e4b
chore: bump @intersect.mbo/[email protected]
MSzalowski Jul 19, 2024
67dd138
chore: increase get draft assertion timeout due to slow rendering
kneerose Jul 22, 2024
eb66e5d
Merge pull request #1595 from IntersectMBO/chore/bump-pdf-ui-0.3.0
MSzalowski Jul 22, 2024
4f69121
Merge pull request #1596 from IntersectMBO/bugfix/test-proposal-draft
kneerose Jul 22, 2024
687dfd6
Make Haskell artifacts exclusion more generic in .gitignore
placek Jul 22, 2024
ba21289
EnableFutureGenesis option added to dbsync config
placek Jul 22, 2024
cc36c54
chore: bump @intersect.mbo/[email protected]
MSzalowski Jul 23, 2024
7970bad
Apply DBSync configuration to the DBSync container
placek Jul 22, 2024
4b3c48e
Merge pull request #1604 from IntersectMBO/chore/bump-@intersect-mbo-…
MSzalowski Jul 23, 2024
8c87540
fix: flaky test 8c by modifying the assertion to check for `testid` i…
kneerose Jul 23, 2024
3f31675
chore: seperate proposal type and status filter
kneerose Jul 23, 2024
9cd9d62
chore: setup temporary proposal auth instead of using on beforeEach …
kneerose Jul 23, 2024
01d0ad4
fix: test 7B assertion
kneerose Jul 23, 2024
ade9d73
chore: add extra two proposal auth for proposal draft
kneerose Jul 23, 2024
735b3d9
chore: add missing test ids on proposal details page
kneerose Jul 24, 2024
bcc3cf2
chore: update proposalCreation navigation flow on submit a proposal
kneerose Jul 24, 2024
a182d20
Merge pull request #1606 from IntersectMBO/bugfix/proposal-discussion
kneerose Jul 24, 2024
ea89bb0
Enable future genesis in dbsync configuration
placek Jul 24, 2024
489b4f9
refactor: extract duplicate authentication setup into a helper function
kneerose Jul 24, 2024
1a86aa9
Merge pull request #1607 from IntersectMBO/refactor/auth-setup
kneerose Jul 24, 2024
dfa69cb
Add missing ENV variable for PDF API in workflow
placek Jul 24, 2024
7126599
Add ECR registry for custom Cardano DB Sync image
placek Jul 24, 2024
78a591c
Prepare Makefile to build Cardano DB Sync image with custom entrypoint
placek Jul 24, 2024
c51f482
Add entrypoint that customizes DBSync configuration
placek Jul 24, 2024
10aff0c
Merge pull request #1609 from IntersectMBO/fix/1464-add-enable-future…
placek Jul 24, 2024
d28b355
[#1117] redirect to private drep directory url if connected user ente…
j-dyczka Jul 24, 2024
22098bb
chore: provide more postgres connection options
MSzalowski Jul 26, 2024
f6a0c47
[#1117] change implementation of checkIsWalletConnected
j-dyczka Jul 26, 2024
2067137
Merge pull request #1617 from IntersectMBO/chore/provide-more-postgre…
MSzalowski Jul 29, 2024
20ba77a
fix(#1612): Fix connection to the metadata-validation service
MSzalowski Jul 26, 2024
6204f1d
chore(#1612): fix indentation
MSzalowski Jul 29, 2024
d648c52
Merge pull request #1618 from IntersectMBO/fix/1612-be-get-dreplist-t…
MSzalowski Jul 29, 2024
b2bb561
fix: fix indentation syntax error in Metadata.hs
MSzalowski Jul 29, 2024
fc3e5c3
Merge pull request #1619 from IntersectMBO/fix/fix-metadata-hs-syntax…
MSzalowski Jul 29, 2024
78ba78b
Merge pull request #1610 from IntersectMBO/1117-drep-directory-auth-r…
jdyczka Jul 29, 2024
cf2ed10
[#1442] Add redirect to dashboard cards after connect
j-dyczka Jul 24, 2024
6ff7c58
Merge pull request #1611 from IntersectMBO/1442-home-cards-redirect-a…
jdyczka Jul 29, 2024
f880076
fix(#1582): Add support for CIP-100 on vote metadata
MSzalowski Jul 23, 2024
6d0fac5
chore(#1582): get rid of canonization of CIP-100 metadata
MSzalowski Jul 29, 2024
8174a9f
Merge pull request #1603 from IntersectMBO/fix/1582-vote-metadata-fol…
MSzalowski Jul 29, 2024
0c40167
fix(wallet): fix inputs selection with the change config
MSzalowski Jul 23, 2024
9ac0345
removed unneeded code
Ryun1 Jul 25, 2024
96fc496
Update CHANGELOG.md
MSzalowski Jul 29, 2024
71412e0
Merge pull request #1605 from IntersectMBO/fix/add-change-config-for-…
MSzalowski Jul 29, 2024
86a4892
chore: bump GovTool version to v1.0.10
MSzalowski Jul 29, 2024
8522c3d
Merge pull request #1620 from IntersectMBO/chore/bump-govtool-to-v1.0.10
MSzalowski Jul 29, 2024
1b881be
Merge pull request #1589 from IntersectMBO/develop
MSzalowski Jul 29, 2024
12c8559
fix(#1624): fix unbound variable in resync cardano node workflow
MSzalowski Jul 30, 2024
defeb51
Merge pull request #1625 from IntersectMBO/fix/1624-unbound-variable-…
MSzalowski Jul 30, 2024
9b44113
chore(#1621): remove changelog from extra source files
MSzalowski Jul 30, 2024
037648f
Merge pull request #1627 from IntersectMBO/chore/1621-cannot-build-ba…
MSzalowski Jul 30, 2024
5d0aac3
Add Dockerfile
mpavlovicbb Jul 30, 2024
045eb73
fix typo
mpavlovicbb Jul 30, 2024
a392cb4
Merge pull request #1628 from IntersectMBO/dockerfile
mpavlovicbb Jul 30, 2024
473b852
chore: bump @intersect.mbo/[email protected]
MSzalowski Jul 30, 2024
51f1dcb
Merge pull request #1629 from IntersectMBO/chore/bump-pdf-ui-to-v0.0.32
MSzalowski Jul 30, 2024
d611dc3
chore: bump GovTool version to v1.0.11
MSzalowski Jul 30, 2024
aeb0554
Merge pull request #1630 from IntersectMBO/chore/bump-govtool-to-v1.0.11
MSzalowski Jul 30, 2024
2de19b1
Merge pull request #1626 from IntersectMBO/develop
MSzalowski Jul 30, 2024
6b56a71
chore: add missing envs to resync workflow
MSzalowski Jul 30, 2024
6a23abe
Merge pull request #1632 from IntersectMBO/chore/add-bypassing-basic-…
MSzalowski Jul 30, 2024
b85441e
Merge pull request #1633 from IntersectMBO/develop
MSzalowski Jul 30, 2024
3990431
Merge pull request #1622 from IntersectMBO/test
MSzalowski Jul 30, 2024
c38f2aa
fix(#1132): change link to propose a governance action docs
MSzalowski Jul 30, 2024
a730427
Merge pull request #1634 from IntersectMBO/fix/1132-propose-a-governa…
MSzalowski Jul 30, 2024
46b47c7
fix(#1130): change DRep docs links
MSzalowski Jul 30, 2024
fe865b5
Merge pull request #1635 from IntersectMBO/fix/1130-amend-copy-on-dre…
MSzalowski Jul 30, 2024
ba1d127
fix(#1131): change link to view governance action docs
MSzalowski Jul 30, 2024
6d3b148
Merge pull request #1636 from IntersectMBO/fix/1131-write-page-on-gas…
MSzalowski Jul 30, 2024
bbb3ef9
feat(#1644): provide network name to network metrics endpoint
MSzalowski Jul 31, 2024
ef37cd1
Merge pull request #1645 from IntersectMBO/feat/1644-provide-network-…
MSzalowski Jul 31, 2024
7bccd0a
chore: make all the frontend build arguments mandatory
MSzalowski Jul 31, 2024
a6c38ba
Merge pull request #1647 from IntersectMBO/chore/make-frontend-build-…
MSzalowski Jul 31, 2024
bc73ac2
fix!: remove usage of metadata validation service in Haskell Backend
MSzalowski Jul 31, 2024
cf57b40
chore: remove metadata validation config options for Haskell backend
MSzalowski Jul 31, 2024
8210586
chore: remove references from proposals
MSzalowski Jul 31, 2024
2373433
chore: remove tls manager causing timeout errors
MSzalowski Jul 31, 2024
227e4ec
chore: make validate api adjustments
MSzalowski Jul 31, 2024
8acaa8e
fix: move validation requests to frontend service fixing metadatas
MSzalowski Aug 1, 2024
95f2167
chore: infrastructure adjustments of metadata-validation service usage
MSzalowski Aug 1, 2024
e56f7ef
fix: fix ts erorrs
MSzalowski Aug 1, 2024
7e01cad
fix: fix argument name in dockerfile
MSzalowski Aug 1, 2024
a7101aa
Merge pull request #1649 from IntersectMBO/fix/1623-call-to-metadata-…
MSzalowski Aug 1, 2024
e43c4a9
chore: bump GovTool version to v1.0.12
MSzalowski Aug 1, 2024
24e1ec2
Merge pull request #1659 from IntersectMBO/chore/bump-govtool-to-v1.0.12
MSzalowski Aug 1, 2024
285e31c
Merge pull request #1660 from IntersectMBO/develop
MSzalowski Aug 1, 2024
8215eac
Merge pull request #1661 from IntersectMBO/test
MSzalowski Aug 1, 2024
d1d073a
Update vva-be to 1.0.12
mpavlovicbb Aug 1, 2024
6d6c78b
Merge pull request #1663 from IntersectMBO/vva-be-update-1
MSzalowski Aug 1, 2024
e17b7da
Merge pull request #1664 from IntersectMBO/develop
MSzalowski Aug 1, 2024
f133408
Merge pull request #1665 from IntersectMBO/test
MSzalowski Aug 1, 2024
b559a06
chore: update dashboard learn more urls
kneerose Aug 1, 2024
f81feb4
chore : remove unwanted assertion of submit gov action test
kneerose Aug 1, 2024
39027bd
fix: test 8B_1 filter list of proposed governance actions
kneerose Aug 1, 2024
1d5c800
fix: test 7F reject invalid proposal data
kneerose Aug 1, 2024
41ad958
fix: test 2E remove direct voter assertion on dRep directory
kneerose Aug 1, 2024
da75a2e
chore: skip test 2G should delegate to myself
kneerose Aug 1, 2024
561464e
fix: text 3M_1 remove addlink button click and wait for wallet connec…
kneerose Aug 1, 2024
92658bf
chore: extend assertion timeout for clipboard alert to avoid blocking…
kneerose Aug 1, 2024
6a4d645
chore: reduce proposal submision brute force test iterations from 100…
kneerose Aug 1, 2024
5b8f7fb
chore: set username with valid data
kneerose Aug 2, 2024
b019f63
refactor: invalid form assertion
kneerose Aug 2, 2024
04e76d2
chore: handle blank proposal view error
kneerose Aug 2, 2024
0c09175
chore: update testIds of dRep information details
kneerose Aug 2, 2024
81779ad
chore: update testids of share proposed governance action
kneerose Aug 2, 2024
d26ab14
chore: update testid of propsal governace action type
kneerose Aug 2, 2024
47a7d57
Merge pull request #1667 from IntersectMBO/bugfix/failing-tests
kneerose Aug 2, 2024
137644e
[#1654] Use consistent link for Learn more button on delegate card
j-dyczka Aug 2, 2024
58a2305
Merge pull request #1670 from IntersectMBO/1654-learn-more-delegate
jdyczka Aug 2, 2024
0798682
chore: bump @intersect.mbo/[email protected]
MSzalowski Aug 2, 2024
51e95a2
Merge pull request #1671 from IntersectMBO/chore/bump-intersect-mbo-p…
MSzalowski Aug 2, 2024
7dd66e3
Merge pull request #1672 from IntersectMBO/develop
MSzalowski Aug 2, 2024
bd520c3
Merge pull request #1673 from IntersectMBO/test
MSzalowski Aug 2, 2024
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
11 changes: 7 additions & 4 deletions .github/workflows/build-and-deploy-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
default: "enabled"
options:
- "enabled"
- "disabled"
Expand All @@ -36,9 +36,11 @@ jobs:
run:
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_DB: ${{ secrets.DBSYNC_POSTGRES_DB || 'cexplorer' }}
DBSYNC_POSTGRES_PASSWORD: ${{ secrets.DBSYNC_POSTGRES_PASSWORD || 'pSa8JCpQOACMUdGb' }}
DBSYNC_POSTGRES_USER: ${{ secrets.DBSYNC_POSTGRES_USER || 'postgres' }}
DBSYNC_POSTGRES_HOST: ${{ secrets.DBSYNC_POSTGRES_HOST || 'postgres' }}
DBSYNC_POSTGRES_PORT: ${{ secrets.DBSYNC_POSTGRES_PORT || '5432' }}
GA_CLIENT_EMAIL: ${{ secrets.GA_CLIENT_EMAIL }}
GA_PRIVATE_KEY: ${{ secrets.GA_PRIVATE_KEY }}
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
Expand All @@ -57,6 +59,7 @@ jobs:
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
PDF_API_URL: ${{ secrets.PDF_API_URL}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/build-and-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
default: "enabled"
options:
- "enabled"
- "disabled"
Expand All @@ -35,9 +35,11 @@ jobs:
run:
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_DB: ${{ secrets.DBSYNC_POSTGRES_DB || 'cexplorer' }}
DBSYNC_POSTGRES_PASSWORD: ${{ secrets.DBSYNC_POSTGRES_PASSWORD || 'pSa8JCpQOACMUdGb' }}
DBSYNC_POSTGRES_USER: ${{ secrets.DBSYNC_POSTGRES_USER || 'postgres' }}
DBSYNC_POSTGRES_HOST: ${{ secrets.DBSYNC_POSTGRES_HOST || 'postgres' }}
DBSYNC_POSTGRES_PORT: ${{ secrets.DBSYNC_POSTGRES_PORT || '5432' }}
GA_CLIENT_EMAIL: ${{ secrets.GA_CLIENT_EMAIL }}
GA_PRIVATE_KEY: ${{ secrets.GA_PRIVATE_KEY }}
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
Expand All @@ -57,6 +59,7 @@ jobs:
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
PDF_API_URL: ${{ secrets.PDF_API_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/build-and-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
default: "enabled"
options:
- "enabled"
- "disabled"
Expand All @@ -38,9 +38,11 @@ jobs:
run:
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_DB: ${{ secrets.DBSYNC_POSTGRES_DB || 'cexplorer' }}
DBSYNC_POSTGRES_PASSWORD: ${{ secrets.DBSYNC_POSTGRES_PASSWORD || 'pSa8JCpQOACMUdGb' }}
DBSYNC_POSTGRES_USER: ${{ secrets.DBSYNC_POSTGRES_USER || 'postgres' }}
DBSYNC_POSTGRES_HOST: ${{ secrets.DBSYNC_POSTGRES_HOST || 'postgres' }}
DBSYNC_POSTGRES_PORT: ${{ secrets.DBSYNC_POSTGRES_PORT || '5432' }}
GA_CLIENT_EMAIL: ${{ secrets.GA_CLIENT_EMAIL }}
GA_PRIVATE_KEY: ${{ secrets.GA_PRIVATE_KEY }}
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
Expand All @@ -60,6 +62,7 @@ jobs:
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{github.event_name == 'push' && 'false' || inputs.isProposalDiscussionForumEnabled == 'enabled'}}
PDF_API_URL: ${{ secrets.PDF_API_URL}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-deploy-test-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
APP_ENV: test
PDF_API_URL: ${{ secrets.PDF_API_URL}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/build-and-deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "disabled"
default: "enabled"
options:
- "enabled"
- "disabled"
Expand All @@ -38,9 +38,11 @@ jobs:
run:
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_DB: ${{ secrets.DBSYNC_POSTGRES_DB || 'cexplorer' }}
DBSYNC_POSTGRES_PASSWORD: ${{ secrets.DBSYNC_POSTGRES_PASSWORD || 'pSa8JCpQOACMUdGb' }}
DBSYNC_POSTGRES_USER: ${{ secrets.DBSYNC_POSTGRES_USER || 'postgres' }}
DBSYNC_POSTGRES_HOST: ${{ secrets.DBSYNC_POSTGRES_HOST || 'postgres' }}
DBSYNC_POSTGRES_PORT: ${{ secrets.DBSYNC_POSTGRES_PORT || '5432' }}
GA_CLIENT_EMAIL: ${{ secrets.GA_CLIENT_EMAIL }}
GA_PRIVATE_KEY: ${{ secrets.GA_PRIVATE_KEY }}
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
Expand All @@ -60,6 +62,7 @@ jobs:
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{github.event_name == 'push' && 'false' || inputs.isProposalDiscussionForumEnabled == 'enabled'}}
PDF_API_URL: ${{ secrets.PDF_API_URL}}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
49 changes: 39 additions & 10 deletions .github/workflows/resync-cardano-node-and-db-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,27 @@ on:
- "test"
- "staging"
- "beta"
isProposalDiscussionForumEnabled:
description: "Enable proposal discussion forum"
required: true
type: choice
default: "enabled"
options:
- "enabled"
- "disabled"
forceRebuildDockerImages:
description: "Force rebuild the docker images"
required: false
type: choice
default: "false"
options:
- "true"
- "false"

env:
ENVIRONMENT: ${{ inputs.environment || 'dev' }}
CARDANO_NETWORK: "sanchonet"
FORCE_REBUILD: ${{inputs.forceRebuildDockerImages == 'true'}}

jobs:
deploy:
Expand All @@ -26,24 +43,36 @@ jobs:
run:
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
DBSYNC_POSTGRES_DB: ${{ secrets.DBSYNC_POSTGRES_DB || 'cexplorer' }}
DBSYNC_POSTGRES_PASSWORD: ${{ secrets.DBSYNC_POSTGRES_PASSWORD || 'pSa8JCpQOACMUdGb' }}
DBSYNC_POSTGRES_USER: ${{ secrets.DBSYNC_POSTGRES_USER || 'postgres' }}
DBSYNC_POSTGRES_HOST: ${{ secrets.DBSYNC_POSTGRES_HOST || 'postgres' }}
DBSYNC_POSTGRES_PORT: ${{ secrets.DBSYNC_POSTGRES_PORT || '5432' }}
GA_CLIENT_EMAIL: ${{ secrets.GA_CLIENT_EMAIL }}
GA_PRIVATE_KEY: ${{ secrets.GA_PRIVATE_KEY }}
GRAFANA_ADMIN_PASSWORD: ${{ secrets.GRAFANA_ADMIN_PASSWORD }}
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GRAFANA_SLACK_OAUTH_TOKEN: ${{ secrets.GRAFANA_SLACK_OAUTH_TOKEN }}
NGINX_BASIC_AUTH: ${{ secrets.NGINX_BASIC_AUTH }}
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }}
TRAEFIK_LE_EMAIL: "[email protected]"
GRAFANA_SLACK_RECIPIENT: ${{ secrets.GRAFANA_SLACK_RECIPIENT }}
GTM_ID: ${{ secrets.GTM_ID }}
NPMRC_TOKEN: ${{ secrets.NPMRC_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }}
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
IP_ADDRESS_BYPASSING_BASIC_AUTH1: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH1 }}
IP_ADDRESS_BYPASSING_BASIC_AUTH2: ${{ secrets.IP_ADDRESS_BYPASSING_BASIC_AUTH2 }}
NEXT_PUBLIC_API_URL: "https://participation.sanchogov.tools"
NEXT_PUBLIC_GA4_PROPERTY_ID: ${{ secrets.NEXT_PUBLIC_GA4_PROPERTY_ID }}
DEV_NGINX_BASIC_AUTH: ${{ secrets.DEV_NGINX_BASIC_AUTH }}
TEST_NGINX_BASIC_AUTH: ${{ secrets.TEST_NGINX_BASIC_AUTH }}
STAGING_NGINX_BASIC_AUTH: ${{ secrets.STAGING_NGINX_BASIC_AUTH }}
PIPELINE_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN_FRONTEND }}
SENTRY_DSN_BACKEND: ${{ secrets.SENTRY_DSN_BACKEND }}
SENTRY_IGNORE_API_RESOLUTION_ERROR: "1"
TRAEFIK_LE_EMAIL: "[email protected]"
USERSNAP_SPACE_API_KEY: ${{ secrets.USERSNAP_SPACE_API_KEY }}
IS_PROPOSAL_DISCUSSION_FORUM_ENABLED: ${{ inputs.isProposalDiscussionForumEnabled == 'enabled' }}
PDF_API_URL: ${{ secrets.PDF_API_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ treefmt.toml
local/

# used by haskell
govtool/backend/dist-newstyle/
govtool/backend/.stack-work/
dist-newstyle/
.stack-work/

# target environment config dir
scripts/govtool/config/target
Expand All @@ -141,4 +141,4 @@ scripts/govtool/dev-postgres_password
node_modules

# sonar scanner
.scannerwork/
.scannerwork/
89 changes: 79 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,83 @@ changes.

## [Unreleased]

### Added

-

### Fixed

-

### Changed

-

## [sancho-v1.0.12](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.12) 2024-08-01

### Added

- Add network name to GET /network/metrics [Issue 1644](https://github.com/IntersectMBO/govtool/issues/1644)

### Fixed

- Fix displaying Governance Action & DRep metadatas

### Changed

- Change link to propose a governace action docs [Issue 1132](https://github.com/IntersectMBO/govtool/issues/1132)
- Change link to docs regarding DReps [Issue 1130](https://github.com/IntersectMBO/govtool/issues/1130)
- Change link to view governance actions docs [Issue 1131](https://github.com/IntersectMBO/govtool/issues/1131)
- Change link to delegate voting power docs, [Issue 1654](https://github.com/IntersectMBO/govtool/issues/1654)
- Make all the frontend build arguments mandatory [Issue 1642](https://github.com/IntersectMBO/govtool/issues/1642), [Issue 1643](https://github.com/IntersectMBO/govtool/issues/1643)
- Breaking! Remove usage of metadata validation service in Haskell Backend
- Bump @intersect.mbo/pdf-ui to v0.3.3

## [sancho-v1.0.11](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.11) 2024-07-30

### Added

-

### Fixed

- Fix unbound variable in the resync cardano node github workflow [Issue 1624](https://github.com/IntersectMBO/govtool/issues/1624)

### Changed

- bump @intersect.mbo/pdf-ui to v0.3.2

## [sancho-v1.0.10](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.10) 2024-07-29

### Added

- Add redirect to the connected DRep Directory page if a connected user enters a non-connected DRep Directory url [Issue 1117](https://github.com/IntersectMBO/govtool/issues/1117)
- Add PDF_API_URL to the frontend config [Issue 1575](https://github.com/IntersectMBO/govtool/issues/1575)
- Provide DB-Sync Postgres envs to the backend config
- Add redirects to cards on Home after user connects [Issue 1442](https://github.com/IntersectMBO/govtool/issues/1442)
- Add support for CIP-100 for context to Governance Action Vote [Issue 1582](https://github.com/IntersectMBO/govtool/issues/1582)

### Fixed

- Fix querying metadata-validation service from haskell backend [Issue 1612](https://github.com/IntersectMBO/govtool/issues/1612)
- Fix thread killed by timeout manager [Issue 1417](https://github.com/IntersectMBO/govtool/issues/1417)
- Changed use new CSL UTxO selection to take into account change

### Changed

- Set Proposal Discussion Forum Pillar enabled by default [Issue 1501](https://github.com/IntersectMBO/govtool/issues/1501)
- bump @intersect.mbo/pdf-ui to v0.3.1

## [sancho-v1.0.9](https://github.com/IntersectMBO/govtool/releases/tag/sancho-v1.0.9) 2024-07-16

### Added

- Added 'sentryenv' field in backend config file [Issue 1401](https://github.com/IntersectMBO/govtool/issues/1401)
- Add wallet connector package [Issue 898](https://github.com/IntersectMBO/govtool/issues/898)
- Change DRep without metadata name from "Sole Voter" to "Direct Voter" [Issue 880](https://github.com/IntersectMBO/govtool/issues/880)
- Inicialize Usersnap into App [Issue 546](https://github.com/IntersectMBO/govtool/issues/546)
- Initialize Usersnap into App [Issue 546](https://github.com/IntersectMBO/govtool/issues/546)
- Integrate frontend with metadata validation service [Issue 617](https://github.com/IntersectMBO/govtool/issues/617)
- Implement a loading modal for the validation of the metadata [Issue 646](https://github.com/IntersectMBO/govtool/issues/646)
- Fix displaying modals to not block signing transactions [Issue 710](https://github.com/IntersectMBO/govtool/issues/710)
- Change style of url button to trim the file name [Issue 655](https://github.com/IntersectMBO/govtool/issues/655)
- Change regex for parsing urls to match urls without protocol [Issue 655](https://github.com/IntersectMBO/govtool/issues/655)
- Integrate ga displaying metadata validation with the validation service [Issue 712](https://github.com/IntersectMBO/govtool/issues/712)
- Correct text of the governance action type [Issue 651](https://github.com/IntersectMBO/govtool/issues/651)
- Enable coverage tests report

### Added

- added `bio` `dRepName` `email` `references` `metadataValid` and `metadataStatus` fields to `drep/list`
- added `metadatavalidationmaxconcurrentrequests` field to the backend config
- added `metadata/validate` endpoint [Issue 876](https://github.com/IntersectMBO/govtool/issues/876)
Expand Down Expand Up @@ -67,6 +129,7 @@ changes.
- Replace govtool-wrapper governance action creation in favor of pdf-pillar [Issue 1284](https://github.com/IntersectMBO/govtool/issues/1284)
- Add sentry environment config [Issue 1324](https://github.com/IntersectMBO/govtool/issues/1324)
- Add proposal discussion pillar to home page [Issue 1431](https://github.com/IntersectMBO/govtool/issues/1431)
- Enable coverage tests report

### Fixed

Expand Down Expand Up @@ -107,6 +170,9 @@ changes.
- Fix app crash on voting on the GA without the connected wallet before [Issue 1313](https://github.com/IntersectMBO/govtool/issues/1313)
- Fix the navigation to Home from Proposal pillar on disconnected wallet [Issue 1355](https://github.com/IntersectMBO/govtool/issues/1355)
- Fix navigation over Proposal discussion forum pillar [Issue 1436](https://github.com/IntersectMBO/govtool/issues/1436)
- Fix building the frontend image [Issue 1583](https://github.com/IntersectMBO/govtool/issues/1583)
- Correct text of the governance action type [Issue 651](https://github.com/IntersectMBO/govtool/issues/651)
- Fix displaying modals to not block signing transactions [Issue 710](https://github.com/IntersectMBO/govtool/issues/710)

### Changed

Expand Down Expand Up @@ -140,6 +206,9 @@ changes.
- Changed copy on maintenance page [Issue 753](https://github.com/IntersectMBO/govtool/issues/753)
- Update link to docs [Issue 1246](https://github.com/IntersectMBO/govtool/issues/1246)
- Change label of Proposal Discussion nav item [Issue 1349](https://github.com/IntersectMBO/govtool/issues/1349)
- Change DRep without metadata name from "Sole Voter" to "Direct Voter" [Issue 880](https://github.com/IntersectMBO/govtool/issues/880)
- Change style of url button to trim the file name [Issue 655](https://github.com/IntersectMBO/govtool/issues/655)
- Change regex for parsing urls to match urls without protocol [Issue 655](https://github.com/IntersectMBO/govtool/issues/655)

### Removed

Expand Down
7 changes: 0 additions & 7 deletions gov-action-loader/backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
FROM python:3.10 AS builder

WORKDIR /app
# Install cardano-cli

RUN \
wget https://github.com/input-output-hk/cardano-node/releases/download/8.5.0-pre/cardano-node-8.5.0-linux.tar.gz \
&& tar -xvzf cardano-node-8.5.0-linux.tar.gz \
&& mv ./cardano-cli /usr/local/bin/cardano-cli \
&& rm -rf /code/*

COPY ./requirements.txt ./requirements.txt
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions gov-action-loader/backend/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from app.settings import settings
from app.transaction import (get_base_proposal_for_multiple,
get_default_transaction,
get_proposal_data_from_type, get_txid_from_cli,
get_proposal_data_from_type,
main_wallet, submit_proposal_tx)

app = FastAPI()
Expand Down Expand Up @@ -106,7 +106,7 @@ async def submit_multiple_proposals(
else:
raise HTTPException(
status_code=400,
detail="No of proposals greater than 100 not supported yet.",
detail="No of proposals greater than "+str(maximum_supported_proposals)+" not supported yet.",
)


Expand Down Expand Up @@ -134,7 +134,7 @@ async def submit_single_proposal(
if kuber_response.status_code == 200:
tx = kuber_response.json()
tx["type"] = "Witnessed Tx ConwayEra"
tx_id = get_txid_from_cli(tx)
tx_id = tx['hash']
return tx | {"txId": tx_id}
else:
print(kuber_response.text)
Expand Down
Loading
Loading