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.11 #1622

Merged
merged 103 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from 88 commits
Commits
Show all changes
103 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
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
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
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
41 changes: 33 additions & 8 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 @@ -27,23 +44,31 @@ jobs:
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_USER: "postgres"
DBSYNC_POSTGRES_PASSWORD: "pSa8JCpQOACMUdGb"
DBSYNC_POSTGRES_USER: "postgres"
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 }}
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/
55 changes: 45 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,49 @@ changes.

## [Unreleased]

### Added

-

### Fixed

-

### Changed

-

## [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 +95,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 +136,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 +172,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