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

Bump @zondax/ledger-substrate from 0.40.7 to 0.41.1 #60

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
5b7acab
Feature/ci
AdaJane Jun 7, 2023
a19ebb0
Point Creditcoin Test to updated subscan domain
Jun 7, 2023
a79bd3b
Run CI jobs on PRs for dev
atodorov Jun 9, 2023
def6030
Don't automatically close PRs as stale
atodorov Jun 9, 2023
27a816b
Fix height of the Recent Payouts widget
Jun 9, 2023
0b962c0
Merge pull request #10 from gluwa/test_on_dev
nathanwhit Jun 9, 2023
3de08fb
Distinguish era 0 from era data unsynced
nathanwhit Jun 9, 2023
0605245
Make `isPlaceholder` mandatory
nathanwhit Jun 9, 2023
d2aabdb
Remove broken subscan button from overview page
Jun 9, 2023
09d0d49
Remove unused import
Jun 11, 2023
a1ea1ed
Hide the "Mainnet" entry from the networks list to prevent tester (#12)
AdaJane Jun 13, 2023
0484f95
Set TestNet as default
Jun 14, 2023
c15ecd0
Change text color on buttons from white to black (#14)
AdaJane Jun 15, 2023
aace4f7
Remove default filter excludes; Add community entry for Gluwa (#15)
AdaJane Jun 16, 2023
507f67f
Make linter happy (#16)
AdaJane Jun 16, 2023
6bc914a
Remove Active Pools from Overview page (#17)
AdaJane Jun 16, 2023
43257f0
Remove exclusion filters for validator selection methods (#18)
AdaJane Jun 16, 2023
a2467b4
Updated colors for Test and Dev networks (#19)
AdaJane Jun 17, 2023
076f5e7
Fix: Adjust fontSize, some colors / change the font-family, some svg …
nbass3 Jun 18, 2023
267b1b0
Fix: Add paddingBottom to Balance section in Overview
nbass3 Jun 18, 2023
6b2b844
Fix incosistent filter behavior in validator list; Fix duplicates when
Jun 19, 2023
5202b11
Fix support email in Gluwa Validator Identity
Jun 19, 2023
5e6e7a9
[SS-170] Adjust margins on Nominate pages
nbass3 Jun 20, 2023
ff150b2
[SS-172] Change the title font-size on the Details page
nbass3 Jun 20, 2023
c59d720
[SS-169] The color of text should be black with the background color …
nbass3 Jun 20, 2023
9c9555b
Remove Add Parachain Validator button
Jun 20, 2023
10049b9
Remove controller account deprecation warning
Jun 20, 2023
356fe8b
Remove references to pools, ledger, and polkadot vault
Jun 20, 2023
7db5e48
Resolve CSUB-581; Rebased on CSUB-580; Remove Locale Validation from CI'
Jun 20, 2023
21a9d85
[SS-164] Remove h4 color setting
nbass3 Jun 22, 2023
ee8b426
[SS-173] Set default color
nbass3 Jun 22, 2023
a33f425
[SS-173] Change default color setup
nbass3 Jun 22, 2023
6b61a92
[SS-174] Guage color changed
nbass3 Jun 22, 2023
d1749a0
[SS-173] Add support default address color
nbass3 Jun 22, 2023
c643b25
Remove pools announcements from overview page
Jun 23, 2023
23b576b
Remove Devnet entry from Networks List
Jun 27, 2023
2680f6f
Update branding per marketing
Jun 28, 2023
ed3c350
prod build
dlebee Jun 28, 2023
e131749
Delete OldDockerfile
AdaJane Jun 28, 2023
1e9e470
Remove staging dashboard URL, see
atodorov Jun 29, 2023
221e64d
Merge pull request #36 from gluwa/update_url_in_readme
nathanwhit Jun 29, 2023
6690de5
Create codeql.yml
atodorov Jul 5, 2023
1211c3c
Remove Dependabot auto-merge CI job
atodorov Jul 5, 2023
22aad19
Enable Pre-commit CI
atodorov Jul 5, 2023
ffbe419
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 5, 2023
55b1e82
Use telemetry.creditcoin.network instead of polkadot.io
atodorov Jul 10, 2023
4ff4c29
Enable YAML check with Pre-commit CI
atodorov Jul 5, 2023
1aa9984
Update CI config b/c of invalid job definition
atodorov Jul 11, 2023
8c54b6b
Bump typescript from 5.0.4 to 5.1.6
dependabot[bot] Jul 11, 2023
5da7b77
Bump framer-motion from 10.12.16 to 10.12.18
dependabot[bot] Jul 11, 2023
0a48de9
Bump vite-bundle-visualizer from 0.7.0 to 0.8.0
dependabot[bot] Jul 11, 2023
a739a58
Bump vite-plugin-checker from 0.6.0 to 0.6.1
dependabot[bot] Jul 11, 2023
a13b99c
Bump @substrate/connect from 0.7.26 to 0.7.30
dependabot[bot] Jul 11, 2023
f2f085b
Bump @polkadot/util from 12.2.1 to 12.3.2
dependabot[bot] Jul 11, 2023
224dc2a
Bump i18next-browser-languagedetector from 7.0.2 to 7.1.0
dependabot[bot] Jul 11, 2023
022472b
Bump @polkadot/react-identicon from 3.4.1 to 3.5.1
dependabot[bot] Jul 11, 2023
c48df7c
Reduce the frequency of Dependabot and don't jump to major versions
atodorov Jul 11, 2023
13c6ca6
Bump @zondax/ledger-substrate from 0.40.7 to 0.41.1
dependabot[bot] Jul 11, 2023
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 .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.yarn
node_modules
package-lock.json
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
# VITE_DISCLAIMER_URL=https://parity.io/disclaimer/

# disable all mentioning of fiat values and token prices
#VITE_DISABLE_FIAT=1
#VITE_DISABLE_FIAT=1
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
*.md
*.ico
*.ttf
*.woff
*.woff2
*.eot
*.otf
*.xml
*.txt
*.html
Expand All @@ -15,4 +19,4 @@ LICENSE
dist
build
vite.config.ts
public/lottie/player.js
public/lottie/player.js
7 changes: 5 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
interval: monthly
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
interval: monthly
17 changes: 0 additions & 17 deletions .github/workflows/auto-merge.yml

This file was deleted.

15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [main]
branches: [main, dev]
pull_request:
branches: [main]
branches: [main, dev]

jobs:
check-license-lines:
Expand All @@ -13,15 +13,6 @@ jobs:
- uses: actions/checkout@master
- name: Check License Lines
uses: kt3k/[email protected]
validate-locales:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: yarn run locale:validate
build:
runs-on: ubuntu-latest
strategy:
Expand All @@ -40,7 +31,7 @@ jobs:

all:
# This job ensures that all jobs above (now we have just build) are successful.
needs: [check-license-lines, build, validate-locales]
needs: [check-license-lines, build]
runs-on: ubuntu-latest
steps:
- run: echo Success
76 changes: 76 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "dev" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "dev" ]


jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
17 changes: 0 additions & 17 deletions .github/workflows/stale.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

env.docker.compose
node_modules
.yarn
dist
build
dist-ssr
Expand Down
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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: v4.4.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: trailing-whitespace
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
**/tsconfig.json
dist
src/img/**/*
public/lottie/player.js
public/lottie/player.js
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": true
"singleQuote": true,
"endOfLine": "auto"
}
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# build environment
FROM node:18 as build
WORKDIR /app
COPY . .
RUN npm install yarn --legacy-peer-deps
RUN git config --global url."https://github.com/".insteadOf [email protected]:
RUN git config --global url."https://".insteadOf ssh://git
RUN yarn install
RUN yarn build

# production environment
FROM nginx:1.16.0-alpine
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

# Creditcoin Staking Dashboard

#### Staging (Latest Version):

https://staking-dashboard-test-app.azurewebsites.net

#### Production:

https://staking.creditcoin.org
Expand Down
41 changes: 41 additions & 0 deletions creditcoin-staking-dashboard-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
trigger:
batch: true
branches:
include:
- main
- dev
- release/*
- feature/*
- project/*

pr:
- master
- dev

pool:
vmImage: ubuntu-latest

jobs:
- job: 'BuildAndPush'
steps:
- pwsh: |
$branchtag=""
echo "$(Build.SourceBranch)"
if ("$(Build.SourceBranch)" -match ".*release/.*"){
$branchtag=$( "$(Build.SourceBranch)" -replace "refs/heads/", "")
$branchtag=$( $branchtag -replace "/", "--")
}
echo "branchtag: $branchtag"
echo "##vso[task.setvariable variable=releaseTag;]$branchtag"

- task: Docker@2
displayName: 'Build Docker Image'
inputs:
containerRegistry: 'substrate-relayer'
repository: 'gluwa/staking-dashboard'
command: 'buildAndPush'
Dockerfile: '**/Dockerfile'
tags: |
$(Build.BuildId)
latest
$(releaseTag)
31 changes: 31 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Use root/example as user/password credentials
version: '3.1'

services:

dashboard:
build: .
restart: always
ports:
- 5173:5173

miner:
image: gluwa/creditcoin:latest
ports:
- ${PORT}:${PORT}
- ${RPC_PORT}:${RPC_PORT}
volumes:
- /Users/notaturkey/dev/miner/data:/data
command:
--validator
--name creditcoin-miner
--prometheus-external
--telemetry-url "wss://telemetry.creditcoin.network/submit/ 0"
--bootnodes "/dns4/bootnode.creditcoin.network/tcp/30333/p2p/12D3KooWAEgDL126EUFxFfdQKiUhmx3BJPdszQHu9PsYsLCuavhb" "/dns4/bootnode2.creditcoin.network/tcp/30333/p2p/12D3KooWSQye3uN3bZQRRC4oZbpiAZXkP2o5UZh6S8pqyh24bF3k" "/dns4/bootnode3.creditcoin.network/tcp/30333/p2p/12D3KooWFrsEZ2aSfiigAxs6ir2kU6en4BewotyCXPhrJ7T1AzjN"
--public-addr "/dns4/${IP_ADDRESS}/tcp/${PORT}"
--chain mainnet
--mining-key ${KEY}
--base-path /data
--port ${PORT}
--unsafe-rpc-external
--rpc-port ${RPC_PORT}
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/>
<meta
name="description"
content="Creditcoin Staking Dashboard is the easiest way to stake CTC, check validator stats, manage your nominations and join nomination pools (Coming Soon). Stake on Creditcoin (CTC)."
content="Creditcoin Staking Dashboard is the easiest way to stake CTC, check validator stats, and manage your nominations. Stake on Creditcoin (CTC)."
/>

<!-- Open Graph / Facebook -->
Expand All @@ -46,7 +46,7 @@
/>
<meta
property="og:description"
content="Creditcoin Staking Dashboard is the easiest way to stake CTC, check validator stats, manage your nominations and join nomination pools (Coming Soon). Stake on Creditcoin (CTC)."
content="Creditcoin Staking Dashboard is the easiest way to stake CTC, check validator stats, and manage your nominations. Stake on Creditcoin (CTC)."
/>
<meta property="og:image" content="/img/og-image.png" />

Expand All @@ -59,7 +59,7 @@
/>
<meta
property="twitter:description"
content="Creditcoin Staking Dashboard is the easiest way to stake CTC, check validator stats, manage your nominations and join nomination pools (Coming Soon). Stake on Creditcoin (CTC)."
content="Creditcoin Staking Dashboard is the easiest way to stake CTC, check validator stats, and manage your nominations. Stake on Creditcoin (CTC)."
/>
<meta property="twitter:image" content="/img/og-image.png" />
<link
Expand Down
Loading