Skip to content

Commit

Permalink
Merge pull request #574 from IntersectMBO/develop
Browse files Browse the repository at this point in the history
Fixes and Additions: Dockerfile Correction, Optional Search Query Parameter
  • Loading branch information
pmbinapps authored Mar 28, 2024
2 parents 5b943bd + 65fd617 commit f8b87b0
Show file tree
Hide file tree
Showing 164 changed files with 3,493 additions and 1,890 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ assignees: ''
<!-- A description of the (reproducible) outcome. -->

## Expected behavior
<!-- A description of what you expect to happen instead. -->
<!-- A description of what you expect to happen instead. -->
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ contact_links:

- name: All issues
url: https://github.com/IntersectMBO/govtool/issues
about: Check whether your issue is not already covered here.
about: Check whether your issue is not already covered here.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_idea.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ body:
Which technical solutions, libraries or systems should be used, which
components need to change, steps how to implement this, ...
validations:
required: true
required: true
1 change: 0 additions & 1 deletion .github/dbsync-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -987,4 +987,3 @@ FROM tx_out
LEFT JOIN block ON tx.block_id = block.id
WHERE tx_in.tx_in_id IS NULL
AND block.epoch_no IS NOT NULL;

65 changes: 65 additions & 0 deletions .github/workflows/code_check_backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Backend Lint & Format Check
description: 'Check Haskell code in backend module'

on:
workflow_dispatch:
push:
paths:
- govtool/backend/**

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Use Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: '9.2.7'
cabal-version: '3.6.0.0'

- name: Use Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install Pre-commit
run: pip install pre-commit

- name: Install HLint
run: |
cabal update
cabal install hlint
- name: Checkout code
uses: actions/checkout@v4

- name: Run hlint
run: pre-commit run --all-files hlint

check-format:
runs-on: ubuntu-latest
steps:
- name: Use Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: '9.2.7'
cabal-version: '3.6.0.0'

- name: Use Python
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install Pre-commit
run: pip install pre-commit

- name: Install HLint
run: |
cabal update
cabal install stylish-haskell
- name: Checkout code
uses: actions/checkout@v4

- name: Run hlint
run: pre-commit run --all-files stylish-haskell
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
lighthouse:
runs-on: ubuntu-latest
env:
env:
NODE_OPTIONS: --max_old_space_size=4096
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/resync-cardano-node-and-db-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
with:
ssh-private-key: ${{ secrets.GHA_SSH_PRIVATE_KEY }}

- name: Set domain
run: |
if [[ "${{ inputs.environment }}" == "staging" ]]; then
echo "DOMAIN=staging.govtool.byron.network" >> $GITHUB_ENV
elif [[ "${{ inputs.environment }}" == "beta" ]]; then
echo "DOMAIN=sanchogov.tools" >> $GITHUB_ENV
else
echo "DOMAIN=${DOMAIN:-$ENVIRONMENT-$CARDANO_NETWORK.govtool.byron.network}" >> $GITHUB_ENV
fi
- name: Destroy Cardano Node, DB sync and Postgres database
run: |
make --debug=b destroy-cardano-node-and-dbsync
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pytest -v --github-report
pytest -v --github-report
env:
BASE_URL: https://${{inputs.deployment || 'staging.govtool.byron.network/api' }}
METRICS_URL: https://metrics.cardanoapi.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_integration_cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run:
working-directory: ./tests/govtool-frontend
runs-on: ubuntu-latest
env:
env:
NODE_OPTIONS: --max_old_space_size=4096

steps:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ book/src/08_event-db/db-diagrams/*.dot
# Used by nix
result*
.direnv/
/.pre-commit-config.yaml

# Development Environments
.vscode
Expand Down
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer

- repo: local
hooks:
- id: hlint
name: hlint
description: HLint gives suggestions on how to improve your source code.
entry: hlint
language: system
files: '\.l?hs$'

- id: stylish-haskell
name: stylish-haskell
description: Haskell code format checker.
entry: stylish-haskell --config govtool/backend/.stylish-haskell.yaml
language: system
files: '\.l?hs$'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ changes.

### Fixed

- proposal/list now takes optional `search` query param [Issue 566](https://github.com/IntersectMBO/govtool/issues/566)
- Fix possible sql error when there would be no predefined drep voting pwoer [Issue 501](https://github.com/IntersectMBO/govtool/issues/501)
- Fix drep type detection when changing metadata [Issue 333](https://github.com/IntersectMBO/govtool/issues/333)
- Fix make button disble when wallet tries connect [Issue 265](https://github.com/IntersectMBO/govtool/issues/265)
Expand Down
2 changes: 1 addition & 1 deletion CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ at [https://www.contributor-covenant.org/translations][translations].
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
[translations]: https://www.contributor-covenant.org/translations
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ infra/terraform/* @pla

# Testing
gov-action-loader/* @IntersectMBO/govtool-test @kickloop
tests/* @IntersectMBO/govtool-test @kickloop
tests/* @IntersectMBO/govtool-test @kickloop
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Examples:

### Commit Messages

Please make informative commit messages!
Please make informative commit messages!
It makes it much easier to work out why things are the way they are when you’re debugging things later.

A commit message is communication, so as usual, put yourself in the position of the reader: what does a reviewer, or someone reading the commit message later need to do their job?
Expand Down Expand Up @@ -175,7 +175,7 @@ If a branch is outdated, use the rebase button in PRs to rebase feature branches
Keeping branches ahead of main not only make the git history a lot nicer to process, it also makes conflict resolutions easier.
Merging main into a branch repeatedly is a good recipe to introduce invalid conflict resolutions and loose track of the actual changes brought by a the branch.

### Versioning
### Versioning

Not all releases are declared stable.
Releases that aren't stable will be released as pre-releases and will append a -pre tag indicating it is not ready for running on production networks.
Expand All @@ -202,7 +202,7 @@ Please see [CSS / SASS Style Guide](./docs/style-guides/css-sass/).

#### Haskell

TODO
Please see [stylish-haskell configuration](./govtool/backend/.stylish-haskell.yaml).

## Bumping Node, DB-Sync, SanchoNet Versions

Expand Down Expand Up @@ -246,7 +246,7 @@ TODO
- If QA agrees that the code is good, they can make a PR from `test` branch to `staging` branch where end-to-end and performance tests are run.
- If tests pass, then QA or tech lead can merge and deploy to staging environment (automatically).
- Moving ticket to `staging` status this ready for PO check.

### PO Workflow

- Choose ticket from `staging` status.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ Please provide a clear and concise description of the vulnerability, including:
* steps that can be followed to exercise the vulnerability,
* any workarounds or mitigations

If you have developed any code or utilities that can help demonstrate the suspected vulnerability, please mention them in your email but ***DO NOT*** attempt to include them as attachments as this may cause your Email to be blocked by spam filters.
If you have developed any code or utilities that can help demonstrate the suspected vulnerability, please mention them in your email but ***DO NOT*** attempt to include them as attachments as this may cause your Email to be blocked by spam filters.
2 changes: 1 addition & 1 deletion SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ See [`SECURITY.md`](SECURITY.md) on how to report a security vulnerability.

# Contributions

See [`CONTRIBUTING.md`](CONTRIBUTING.md) on how to contribute.
See [`CONTRIBUTING.md`](CONTRIBUTING.md) on how to contribute.
2 changes: 1 addition & 1 deletion docs/architecture/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ arch-structurizr/workspace.json

#oura install
oura/
./oura/
./oura/
2 changes: 1 addition & 1 deletion docs/architecture/arch-structurizr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ http://localhost:8080/workspace/documentation/*
## Decision Log
```bash
http://localhost:8080/workspace/decisions/*
```
```
1 change: 0 additions & 1 deletion docs/architecture/arch-structurizr/dapp.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,3 @@ hwWallet -> cardanoWallet "integrates"

// User's browser attaches to GVC FE
browser -> dAppFrontEnd "connects"

1 change: 0 additions & 1 deletion docs/architecture/arch-structurizr/decisions/0001-decision
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ Accepted


## Consequences

4 changes: 2 additions & 2 deletions docs/architecture/arch-structurizr/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: "3.6"

services:
voltaire-structurizr:
container_name: voltaire-dapp-architecture
container_name: voltaire-dapp-architecture
image: structurizr/lite:latest
ports:
- '8080:8080'
volumes:
- .:/usr/local/structurizr:rw
- .:/usr/local/structurizr:rw
18 changes: 9 additions & 9 deletions docs/architecture/arch-structurizr/workspace.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ workspace "Voltaire Implementation Draft" {
!docs ./documentation
!adrs ./decisions
!identifiers hierarchical

model {
!include dapp.dsl
!include dapp.dsl
}

views {
Expand All @@ -16,14 +16,14 @@ workspace "Voltaire Implementation Draft" {

systemContext dAppFrontEnd {
include *
autoLayout lr
autoLayout lr
}

systemContext dAppBackEnd {
include *
autoLayout lr
autoLayout lr
}

container dAppBackEnd {
include *
autolayout lr
Expand Down Expand Up @@ -73,12 +73,12 @@ workspace "Voltaire Implementation Draft" {

element "Database" {
shape Cylinder
}
}
}

branding {
logo data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfUAAABkCAMAAACo21lxAAAArlBMVEX///8AM60AMKwAKasAL6wAK6sALasAJqoZPK8AI6kAKKuruODc4PCls90AIakcS7dXc8Vmd8NGZcCkrtudptZogcoAHqj09vz5+/4AFacAGqg9Xb3Ez+wAOrHt8fq2weTY3vFzhcrP1+4ADabu8fnj6PV/kc9SbcIgQ7KNn9Y6VrjAyujM1O2+xuVScMQyULaUn9N3jM4AAKVue8M/Yb6Fl9ItTLUmRrNndsJjfsljQZZ0AAAWOElEQVR4nO1diXbiuLbFkgdswMy2MZMhmCkkhNchufz/jz1PR5ZsSYZUp26lrvfq7rUaT5L20dGZpDQaX8Ds9XwJv/JgjZ+LQMPI6P63W1Hjm9Dm/3w1FUXxn7nXwpn3jQ2q8e2YfSoDl3dha0SsO0vepbWuN2vd/4MRdjXkj3hX1v+nI2zw5rQ7wIrRq2f7z0UwRwr+h3upNZ3vAt6F8FNXcM36T8bKx3aHf8kNBcxeTcPnqv4aPwTutv84ga1t6xuaUqNGjRo1atSoUaN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U19bYeiAIkJaN/zhwYyBJemHhlxKpggCBvafPdSzMVt/fSgP1teatdz0tsMTGbccJL+5IhKM9+yV+MnSo10fKt4KGF6LGFzeuEdLh4oRnKL9STNRs6s7DY/t+fs9CfnP/xHFp/ZI8I/mBgu3xXL0LKTORFSI9NYU24zkRl3ik+KvX9m3oFYe6BS4YAcs852cN4rlj+Z+Npnf/hSXiC8ZStFJ5C+KujAfWHpJ1HQ2GsBqMW23eLgZRaI1HcIX6koWlmSb5F5CL+IVC5piuTwn7B17R27Td2emKjZnY5HnDHMcTFMX342cwr3MD2O7+LyoNpK5bbZEjzX3aT4an3O/zzIELpu1Rh6L9fqk87j4hdf1y18V4rldNffD6rx5+OWxl2bv3YGUY2fhcw0FkbAa/wFCFtvjN6HHGfhdLjh5Rr81nbV+EbM9qZp72i7PysdZ/6OxWJnW6byla0vNf5EJIdMO3SC4C2JkWBmQ2ZSO6Xad4bhavzhSMNg6gfFp3eYGNhhY41pzLte6v8SBBnrTGhnfb0V/uz2sWb9r0KST7Wr9pYnWr/W8H8Nnucm9oW7UgDuysH2/NG/AVHjj8X60u9UV2B4y/Fb8P2NqVGjRo0aNWrUqFGjhgSt7eNRl2XvWldC/GR0HFO0wX0TCqh9s7H/b1be1fjNcAeaovP/qufoOO9xL3jRMyr3QPEaPwPuACsW9yir5ZOOrDn3oauD8H1/QqjGn4l2U59z62+TTWacP7LViPdRK+S0+Ro/Eu6Mr6tX8VYQ0Q6zr+xtrPEDcHI0ZL5X31fjr8Jy9yHe0Vjjz8f/A58flJOaxNzMAAAAAElFTkSuQmCC
# font
}
# font
}
}
}
}
2 changes: 1 addition & 1 deletion docs/architecture/sequence-diagrams/raw/delegation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dApp Frontend->Wallet:""API.submitDelegation(dRepID, PubStakeKey)""
Wallet->User: Ask permission popup (Wallet UI)
User->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /delegation/{delegation-cert}
Wallet->dApp Frontend: ""SignedDelegationCertificate""
Wallet->dApp Frontend: ""SignedDelegationCertificate""
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dApp Frontend->Wallet: Pass certificate to wallet:\n""API.submitDRepRegistration
Wallet->User: Ask permission popup (Wallet UI)
User->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /registration/{registration-cert}
Wallet->dApp Frontend: ""SignedDRepRegistrationCertificate""
Wallet->dApp Frontend: ""SignedDRepRegistrationCertificate""
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ dApp Frontend->Wallet: Pass certificate to wallet:\n""API.submitDRepRetirementCe
Wallet->User (dRep): Ask permission popup (Wallet UI)
User (dRep)->Wallet: Access granted (Wallet UI)
Wallet->Cardano Node: Submit transaction: \n""POST /retirement/{retirement-cert}
Wallet->dApp Frontend: ""SignedDRepRetirementCertificate""
Wallet->dApp Frontend: ""SignedDRepRetirementCertificate""
Loading

0 comments on commit f8b87b0

Please sign in to comment.