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

Release / 4.19.0 #3110

Merged
merged 272 commits into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
492d0bb
Removed useless const
Nebyt Oct 28, 2022
effea36
Little update
Nebyt Oct 29, 2022
38d521f
Updated scripts
Nebyt Oct 31, 2022
a3a8053
New workflow for regression tests
Nebyt Oct 31, 2022
2560666
Merge branch 'develop' into denis/new-CI-workflow
Nebyt Oct 31, 2022
ad01f17
Edited scripts to run
Nebyt Oct 31, 2022
a80d0e7
Updated all tests flows
Nebyt Oct 31, 2022
9f58ba6
Using secrets.MAILSAC_API_KEY
Nebyt Oct 31, 2022
4fb58ee
Made tests more robust
Nebyt Oct 31, 2022
cad192d
Changed the "Run tests" step
Nebyt Oct 31, 2022
fceef60
Merge branch 'develop' into denis/new-CI-workflow
Nebyt Oct 31, 2022
330120a
Improved working with email
Nebyt Nov 1, 2022
3f92096
flow fixes
Nebyt Nov 1, 2022
fb43bcd
added straight sleep
Nebyt Nov 1, 2022
639fd6c
ignore the support tests for now
Nebyt Nov 1, 2022
1d72167
Merge pull request #3046 from Emurgo/denis/support-test-improvement
Nebyt Nov 1, 2022
6f9a26e
bug fix: component must be observer
yushih Nov 2, 2022
5d9421c
increase coin price data freshness threshold
yushih Nov 2, 2022
401e55b
fix unit of accounting settings e2e test
yushih Nov 2, 2022
0896ae0
fix coin price freshness threshold value
yushih Nov 2, 2022
8ad1cda
delay after selecting fiat
yushih Nov 2, 2022
47cbb33
fix e2e test for tx amount is fiat
yushih Nov 2, 2022
a209522
Added direct sleep and fixed calculating the final number
Nebyt Nov 3, 2022
e12aaba
Merge pull request #3048 from Emurgo/yushi/fix-e2e-fiat
Nebyt Nov 3, 2022
2b1ae7b
Merge branch 'develop' into denis/new-CI-workflow
Nebyt Nov 3, 2022
9b98255
Merge branch 'develop' into e2e-tests-currency-functionality
Nebyt Nov 3, 2022
313ec3c
Merge remote-tracking branch 'origin/yushi/yoroi-lib-utxo' into denis…
Nebyt Nov 7, 2022
d2ad887
Little fix after merging
Nebyt Nov 7, 2022
998acf8
Add date picker
neuodev Nov 15, 2022
fd3d081
Add start and ending date
neuodev Nov 15, 2022
5660758
Merge branch 'develop' into e2e-tests-currency-functionality
Nebyt Nov 16, 2022
eb5d0d4
remove dead code
yushih Nov 16, 2022
0e40974
remove useless connector actions
yushih Nov 16, 2022
e7c58fc
remove useless action listen and trigger
yushih Nov 16, 2022
93de661
Merge branch 'develop' into Ahmed/connector-store
neuodev Nov 16, 2022
90a9ac7
Move CSS styles into JS file
neuodev Nov 16, 2022
a65db22
Add date interval validation
neuodev Nov 16, 2022
922f22a
remove unused imports
yushih Nov 17, 2022
87476cf
Filter tx rows between two selected dates
neuodev Nov 17, 2022
16df422
Include start and end date
neuodev Nov 17, 2022
81ce775
Add intl & disable export for invalid interval
neuodev Nov 17, 2022
c46bcb1
Add DateRange prop types & remove logs
neuodev Nov 17, 2022
402506c
Fix flow & improve date filter
neuodev Nov 19, 2022
93cecf6
removed unused
Nebyt Nov 22, 2022
9098e55
removed empty file
Nebyt Nov 22, 2022
116f115
Removed dead code
neuodev Nov 23, 2022
f094f73
Move the DappConnectorStore to the toplevel stores
neuodev Nov 23, 2022
7098d1c
Merge branch 'Ahmed/connector-store' of https://github.com/Emurgo/yor…
neuodev Nov 23, 2022
e429fdc
minimize ledger manual test panel when double-clicked
yushih Nov 28, 2022
20fe631
Merge branch 'develop' into Ahmed/date-range
neuodev Nov 29, 2022
c28f2ab
Merge commit '6640476a0f4e0e33909b51df3f5e5a59d92f5214' into denis/lo…
Nebyt Nov 30, 2022
1b2a7dd
Merge commit '282921ca2449a463625cb7bf4d8ab0104c860a40' into denis/lo…
Nebyt Nov 30, 2022
5e655d3
Merge branch 'develop' into yushi/fix-hiding-ledger-test-panel
vsubhuman Dec 7, 2022
da11ab4
Merge branch 'develop' into yushi/connector-clean-up
vsubhuman Dec 7, 2022
37ed9b4
Update dependabot.yml
vsubhuman Dec 7, 2022
6dedccf
Update dependabot.yml
vsubhuman Dec 7, 2022
eb01216
Update dependabot.yml
vsubhuman Dec 7, 2022
3515226
Merge pull request #3059 from Emurgo/yushi/fix-hiding-ledger-test-panel
vsubhuman Dec 7, 2022
912c3ab
Merge pull request #3056 from Emurgo/yushi/connector-clean-up
vsubhuman Dec 7, 2022
9fab112
Merge remote-tracking branch 'origin/develop' into denis/new-CI-workflow
vsubhuman Dec 7, 2022
16d67c0
Update dependabot.yml
vsubhuman Dec 7, 2022
bcb004b
Merge branch 'develop' into denis/new-CI-workflow
vsubhuman Dec 7, 2022
fa869bf
Merge remote-tracking branch 'origin/develop' into Ahmed/update-conne…
vsubhuman Dec 7, 2022
103dfb5
Bump chromedriver from 107.0.3 to 108.0.0 in /packages/yoroi-extension
dependabot[bot] Dec 7, 2022
e4c38f0
Merge branch 'develop' into Ahmed/connector-store
vsubhuman Dec 7, 2022
af28511
Merge pull request #3077 from Emurgo/production
vsubhuman Dec 9, 2022
3aacb20
Merge branch 'develop' into denis/new-CI-workflow
vsubhuman Dec 9, 2022
2eaa64c
Merge branch 'develop' into Ahmed/connector-store
vsubhuman Dec 9, 2022
20cee05
Merge remote-tracking branch 'origin/develop' into Ahmed/update-conne…
vsubhuman Dec 9, 2022
7da0b9f
flow fixes
vsubhuman Dec 9, 2022
2be7568
tiny new naming fixes
vsubhuman Dec 9, 2022
406e93f
fixing expected fee value
vsubhuman Dec 9, 2022
2ba78fa
fixing expected fee value
vsubhuman Dec 9, 2022
f5c9cd4
Merge pull request #3078 from Emurgo/ruslan/trezor-test-fix
vsubhuman Dec 9, 2022
83c740f
Merge branch 'develop' into Ahmed/update-connector-name
vsubhuman Dec 9, 2022
3c2cda4
renamed tests features
Nebyt Dec 9, 2022
1eb3da3
DevBackendServe -> DevBackendServer
Nebyt Dec 9, 2022
6120a9d
Merge pull request #3017 from Emurgo/Ahmed/update-connector-name
vsubhuman Dec 9, 2022
9480426
Merge remote-tracking branch 'origin/develop' into Ahmed/connector-store
vsubhuman Dec 9, 2022
8149f9d
Merge pull request #3019 from Emurgo/Ahmed/connector-store
vsubhuman Dec 9, 2022
bb78181
Merge branch 'develop' into dependabot/npm_and_yarn/packages/yoroi-ex…
vsubhuman Dec 9, 2022
52e8010
Removed magic value.Added check for null response.
Nebyt Dec 9, 2022
5e551d9
Added output with 1 ADA
Nebyt Dec 9, 2022
6fa722d
Updated tests to request collateral for 1 ADA
Nebyt Dec 9, 2022
fb65ac6
added 1 more UTXO with 1 ADA
Nebyt Dec 9, 2022
570121c
added new mocked wallet for collateral
Nebyt Dec 12, 2022
7f0fda8
using the new collateral wallet
Nebyt Dec 12, 2022
63666b6
getCollateralUtxos -> getCollateral
Nebyt Dec 12, 2022
0b81d27
updated findNewWindows
Nebyt Dec 12, 2022
2220340
updated asking for collateral
Nebyt Dec 12, 2022
bed4cb7
updated mockdApp page
Nebyt Dec 12, 2022
4322350
updated the feature
Nebyt Dec 12, 2022
660b007
Merge branch 'develop' into denis/dapp-test-fixes
Nebyt Dec 12, 2022
2f76eb0
Merge pull request #3073 from Emurgo/dependabot/npm_and_yarn/packages…
vsubhuman Dec 13, 2022
e3f2feb
getting background logs
Nebyt Dec 14, 2022
0383c22
added logs for CardanoMockImporter
Nebyt Dec 14, 2022
e95923a
fixed collecting background logs
Nebyt Dec 14, 2022
395a9e9
updated collecting background console.log
Nebyt Dec 14, 2022
622de8b
added method getInfoFromIndexedDB
Nebyt Dec 14, 2022
bf0a7cc
little fixes
Nebyt Dec 14, 2022
5fd3977
Disable future dates & reset state when the dialog closes
neuodev Dec 15, 2022
591bb4c
Merge branch 'Ahmed/date-range' of https://github.com/Emurgo/yoroi-fr…
neuodev Dec 15, 2022
b3b85d9
Use Moment instead of DayJS for locals support
neuodev Dec 18, 2022
6aca080
Merge branch 'develop' of https://github.com/Emurgo/yoroi-frontend in…
neuodev Dec 19, 2022
5168a83
Set default wallet for the revamp
neuodev Dec 27, 2022
5c2d1d2
Switch to first wallet when switching to the revamp from settings
neuodev Dec 27, 2022
9c9d03c
Remove MUI disableUnderline error from the console
neuodev Dec 27, 2022
86cb747
fixes
Nebyt Dec 29, 2022
96d4ada
Merge branch 'develop' into denis/dapp-test-fixes
Nebyt Dec 29, 2022
ca8d991
Merge pull request #3090 from Emurgo/production
vsubhuman Jan 5, 2023
ff9dbcc
Merge branch 'develop' into Ahmed/wallet-nav
vsubhuman Jan 5, 2023
d6fdc3b
Redirect the user from My Wallets page on revamp
neuodev Jan 5, 2023
70767ea
Merge branch 'Ahmed/wallet-nav' of https://github.com/Emurgo/yoroi-fr…
neuodev Jan 5, 2023
38a0607
Read & save last selected wallet into the local storage
neuodev Jan 6, 2023
5a7e938
Remove unused async requestes
neuodev Jan 6, 2023
a3fdd70
small fixes
vsubhuman Jan 6, 2023
9dab88b
is-foreign
vsubhuman Jan 6, 2023
2f5e7ae
Merge remote-tracking branch 'origin/develop' into ruslan/csl-mem
vsubhuman Jan 9, 2023
e3c7ae7
Moving the `WasmScope` into the rust-module
vsubhuman Jan 9, 2023
6866f10
Add getLastSelectedWallet method & fix flow
neuodev Jan 9, 2023
55af39c
Extracting proxy handler as static per scope
vsubhuman Jan 9, 2023
0a59cb3
more comments
vsubhuman Jan 9, 2023
37adb92
Extracted scope-creating function for better readability
vsubhuman Jan 9, 2023
2cd403f
Update browsers icons
neuodev Jan 9, 2023
e50110b
Tiny renaming
vsubhuman Jan 9, 2023
10ff22f
more comments
vsubhuman Jan 10, 2023
a6b9247
Flow fixes
vsubhuman Jan 10, 2023
314b546
Fixed async handling
vsubhuman Jan 10, 2023
8ba9eaf
Adding wasm-scope usage
vsubhuman Jan 10, 2023
6f3790b
flow fixes
vsubhuman Jan 10, 2023
6d584d0
adding proper error handling
vsubhuman Jan 10, 2023
e5c8b6b
rolling back unnecessary changes in imports
vsubhuman Jan 10, 2023
627ae66
flow fixes
vsubhuman Jan 10, 2023
265eb1d
comment fix
vsubhuman Jan 10, 2023
ae87286
Remove wallet dropdown & quick access feature
neuodev Jan 11, 2023
5235243
Fix flow
neuodev Jan 11, 2023
c6cdeb5
Open txs page if the user is on the add wallet page
neuodev Jan 12, 2023
2b91ad2
Refractor the transfer page
neuodev Jan 12, 2023
6112a42
Add revamp layout for the voting page
neuodev Jan 13, 2023
f70b680
Fix flow
neuodev Jan 16, 2023
5ff5ebd
Add suspense wrapper at the subpage level
neuodev Jan 17, 2023
2092bdb
added preview network
Nebyt Jan 19, 2023
702b486
Fix the connector & settings page
neuodev Jan 20, 2023
3e81d2a
fixes promise check
vsubhuman Jan 22, 2023
14bc8c9
proxy check fixed
vsubhuman Jan 22, 2023
6056e15
unit test added
vsubhuman Jan 22, 2023
7564c15
unused imports removed
vsubhuman Jan 22, 2023
c9a6df5
fixed wasm check and added internal api for tests
vsubhuman Jan 22, 2023
eba7f77
allow required signer to be stake address
yushih Jan 23, 2023
3a17904
submit tx API should not de-serialize and re-serialize
yushih Jan 24, 2023
6c60d49
connector signing tx API uses raw tx body to compute hash
yushih Jan 24, 2023
1df4943
Flow
neuodev Jan 24, 2023
113a207
Remove staking page wrapper
neuodev Jan 24, 2023
5bee591
Restructure the staking page
neuodev Jan 24, 2023
5c62c4f
Sonarqube workflow
crypto-titan Jan 24, 2023
02d2fc4
Add tx receiver
neuodev Jan 25, 2023
eae1fdc
Send selected utxo to the receiver address
neuodev Jan 25, 2023
66d719e
Merge branch 'develop' into denis/new-CI-workflow
vsubhuman Jan 26, 2023
07a1843
Update packages/yoroi-extension/app/api/ada/lib/storage/database/prep…
vsubhuman Jan 27, 2023
005dae4
Merge pull request #3100 from Emurgo/sonarqube
vsubhuman Jan 30, 2023
6707948
Merge branch 'develop' into Ahmed/suspense
neuodev Jan 30, 2023
e2c7a8c
Load zendesk into an iframe
neuodev Aug 9, 2022
bd0a1cb
Update iframe src
neuodev Aug 9, 2022
32ef437
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into Ahmed…
nistadev Jan 31, 2023
6ec876e
prettify
nistadev Jan 31, 2023
3eaab49
fix export button styles
nistadev Jan 31, 2023
1638c34
add icons for tx types
nistadev Jan 31, 2023
68815cc
Merge pull request #3094 from Emurgo/Ahmed/remove-dropdown
vsubhuman Jan 31, 2023
8e2332f
Merge branch 'develop' into Ahmed/suspense
vsubhuman Jan 31, 2023
2054f2b
Merge branch 'develop' into Ahmed/zd
vsubhuman Jan 31, 2023
7c499d1
Merge pull request #3103 from Emurgo/Ahmed/zd
vsubhuman Jan 31, 2023
8cdefac
Merge branch 'develop' into Ahmed/wallet-nav
vsubhuman Jan 31, 2023
96a59bd
Merge pull request #3087 from Emurgo/Ahmed/wallet-nav
vsubhuman Jan 31, 2023
99f38ec
Update packages/yoroi-extension/app/components/wallet/transactions/Tr…
nistadev Jan 31, 2023
2d942b4
Merge branch 'develop' into ruslan/csl-mem
vsubhuman Jan 31, 2023
8253ee2
Merge branch 'develop' into ruslan/connector-foreign-outputs
vsubhuman Jan 31, 2023
198900e
flow fixes
vsubhuman Jan 31, 2023
6077260
reverting package-lock changes
vsubhuman Jan 31, 2023
0c74fe0
Merge pull request #3091 from Emurgo/ruslan/connector-foreign-outputs
vsubhuman Jan 31, 2023
5648f00
Merge branch 'develop' into Ahmed/suspense
vsubhuman Jan 31, 2023
1926e14
Merge branch 'develop' into denis/new-CI-workflow
vsubhuman Jan 31, 2023
8bf73a8
Merge pull request #3037 from Emurgo/denis/new-CI-workflow
vsubhuman Jan 31, 2023
7a73f8d
Merge remote-tracking branch 'origin/develop' into Ahmed/add-tx-receiver
vsubhuman Jan 31, 2023
1659772
removing unused const
vsubhuman Jan 31, 2023
fa3f65f
Merge pull request #3101 from Emurgo/Ahmed/add-tx-receiver
vsubhuman Jan 31, 2023
419630c
Merge branch 'develop' into denis/preview-network
vsubhuman Jan 31, 2023
4a9ebb8
Merge branch 'develop' into Ahmed/fix-logos
vsubhuman Jan 31, 2023
bb8ed68
Merge pull request #3092 from Emurgo/Ahmed/fix-logos
vsubhuman Jan 31, 2023
3b1463f
Merge branch 'develop' into Ahmed/date-range
vsubhuman Jan 31, 2023
53e89da
Merge remote-tracking branch 'origin/develop' into denis/logging_impr…
vsubhuman Jan 31, 2023
0ad0377
flow fixes
vsubhuman Jan 31, 2023
93a45fb
unused import
vsubhuman Jan 31, 2023
fbebe61
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into pat/m…
nistadev Feb 1, 2023
3bf66ba
refactored logic
nistadev Feb 1, 2023
df8abbb
Merge branch 'develop' into Ahmed/suspense
neuodev Feb 1, 2023
ec035c3
Fix staking page crash & remove divider line on revamp
neuodev Feb 1, 2023
e80c5b4
Seperate the Voting page into VotingPage and VotingPageContent
neuodev Feb 1, 2023
66442bd
Update error name
neuodev Feb 1, 2023
d98d46b
Merge pull request #3015 from Emurgo/denis/logging_improvement
vsubhuman Feb 1, 2023
c4d81a2
Merge remote-tracking branch 'origin/develop' into denis/preview-network
vsubhuman Feb 1, 2023
09409ba
preview network config update
vsubhuman Feb 1, 2023
f9dad72
Merge branch 'develop' into Ahmed/suspense
vsubhuman Feb 1, 2023
db5d33d
updating test snapshots
vsubhuman Feb 1, 2023
6f650b9
updating test snapshots
vsubhuman Feb 1, 2023
3d21299
flow fixes
vsubhuman Feb 1, 2023
0d03112
Merge pull request #3098 from Emurgo/denis/preview-network
vsubhuman Feb 1, 2023
fd54aa2
Merge remote-tracking branch 'origin/develop' into yushi/fix-sign-tx
vsubhuman Feb 1, 2023
cd1e7a0
package-lock update
vsubhuman Feb 1, 2023
8e6be87
Merge branch 'develop' into Ahmed/suspense
vsubhuman Feb 1, 2023
2ea8253
Merge pull request #3099 from Emurgo/Ahmed/suspense
vsubhuman Feb 1, 2023
8860d16
Merge branch 'develop' into Ahmed/date-range
vsubhuman Feb 1, 2023
7362a4d
Merge branch 'develop' into pat/missing-items-tx-tab
neuodev Feb 1, 2023
4cb8a0f
Merge pull request #3055 from Emurgo/Ahmed/date-range
vsubhuman Feb 2, 2023
bb2094b
Merge branch 'develop' into ruslan/csl-mem
vsubhuman Feb 2, 2023
48cc331
Merge branch 'develop' into yushi/fix-sign-tx
vsubhuman Feb 2, 2023
1b7487a
Merge pull request #3097 from Emurgo/yushi/fix-sign-tx
vsubhuman Feb 2, 2023
fed7b30
Merge remote-tracking branch 'origin/develop' into denis/dapp-test-fixes
vsubhuman Feb 2, 2023
1b681dd
duplicate modules removed
vsubhuman Feb 2, 2023
51625ff
Merge branch 'develop' into ruslan/csl-mem
vsubhuman Feb 2, 2023
ab5e5d0
Merge pull request #3093 from Emurgo/ruslan/csl-mem
vsubhuman Feb 2, 2023
c4ff9c7
Merge remote-tracking branch 'origin/develop' into denis/dapp-test-fixes
vsubhuman Feb 2, 2023
31cd2de
Merge remote-tracking branch 'origin/develop' into e2e-tests-currency…
vsubhuman Feb 2, 2023
7645dff
flow fixes
vsubhuman Feb 2, 2023
ed56b09
Merge pull request #2948 from Emurgo/e2e-tests-currency-functionality
vsubhuman Feb 2, 2023
474e1a7
Merge remote-tracking branch 'origin/develop' into denis/dapp-test-fixes
vsubhuman Feb 2, 2023
be45e0b
lint fixes
vsubhuman Feb 3, 2023
b05bc30
removing legacy seiza naming
vsubhuman Feb 3, 2023
8550b7b
Merge pull request #3081 from Emurgo/denis/dapp-test-fixes
vsubhuman Feb 3, 2023
d4f194b
Merge branch 'develop' into ruslan/remove-seiza
vsubhuman Feb 3, 2023
89c4820
Merge pull request #3106 from Emurgo/ruslan/remove-seiza
vsubhuman Feb 3, 2023
e39ba59
Merge branch 'develop' into pat/missing-items-tx-tab
neuodev Feb 4, 2023
361e35c
use new CSL type to safely handle tx body when connector signs the tx
yushih Feb 6, 2023
818a3b5
bug fix - FixedTransaction.set_witness_set takes serialized witness set
yushih Feb 6, 2023
4bef90f
passing serialised values instead of wasm and using WasmScope
vsubhuman Feb 7, 2023
8f2b385
Merge pull request #3108 from Emurgo/ruslan/wasm-scope-fixing
yushih Feb 8, 2023
8e69dec
Use WasmScope for createDelegationTx
neuodev Feb 8, 2023
940dd44
flox fixes
vsubhuman Feb 8, 2023
d736e65
test fixes
vsubhuman Feb 8, 2023
af81b08
Merge pull request #3107 from Emurgo/yushi/safe-tx-body-roundtrip
vsubhuman Feb 8, 2023
9201698
Merge branch 'develop' into Ahmed/wasm-scope-1
vsubhuman Feb 8, 2023
a664a6d
Merge pull request #3109 from Emurgo/Ahmed/wasm-scope-1
vsubhuman Feb 8, 2023
cdbebe0
Version bump: 4.19.0
vsubhuman Feb 8, 2023
6e15109
fix WasmScope promised return value
yushih Feb 10, 2023
904ced0
Merge pull request #3117 from Emurgo/yushi/fix-wasm-scope
vsubhuman Feb 10, 2023
d17510d
Merge branch 'release/4.19.0' into pat/missing-items-tx-tab
vsubhuman Feb 13, 2023
5685a24
Merge pull request #3104 from Emurgo/pat/missing-items-tx-tab
vsubhuman Feb 13, 2023
0c6cecc
fixing error codes in connector signing operations
vsubhuman Feb 13, 2023
2068d3c
flow fixes
vsubhuman Feb 13, 2023
4379898
flow fixes
vsubhuman Feb 13, 2023
c1c3d52
Merge pull request #3120 from Emurgo/ruslan/connector-sign-fix-error-…
vsubhuman Feb 13, 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
8 changes: 3 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ updates:
directory: "/packages/yoroi-extension"
schedule:
interval: weekly
day: monday
time: 03:00
day: friday
time: "03:00"
timezone: UTC
open-pull-requests-limit: 10
open-pull-requests-limit: 5
allow:
- dependency-name: "@cardano-foundation/ledgerjs-hw-app-cardano"
- dependency-name: "@emurgo/*"
- dependency-name: "cardano-*"
- dependency-name: "ergo-*"
- dependency-name: "lodash"
- dependency-name: "mobx*"
- dependency-name: "react*"
- dependency-name: "trezor-connect"
- dependency-name: "chromedriver"
assignees:
- "vsubhuman"
- "javimaravillas"
rebase-strategy: disabled
26 changes: 26 additions & 0 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: SonarQube Checks

on:
# Trigger analysis when pushing to your main branches, and when creating a pull request.
push:
branches:
- main
- master
- develop
- 'releases/**'
pull_request:
types: [opened, synchronize, reopened]

jobs:
sonarqube:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
166 changes: 141 additions & 25 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ jobs:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/release-check'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Cache node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-yoroi-extension-node-modules
with:
Expand All @@ -32,9 +35,11 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: tests
run: |
npm run test
Expand All @@ -46,27 +51,33 @@ jobs:
matrix:
browser: ['chrome', 'firefox']
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: brew update && brew upgrade --cask google-chrome

- name: Forcefully install Firefox for Developers browser
if: matrix.browser=='firefox'
run: |
brew update
brew tap homebrew/cask-versions && brew install --cask firefox-developer-edition
echo "FIREFOX_DEV=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-yoroi-extension-node-modules
with:
Expand All @@ -79,42 +90,48 @@ jobs:
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Cache connector node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-yoroi-connector-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-ergo-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-ergo-connector/package-lock.json') }}
path: packages/yoroi-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-connector/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: Build the test version
working-directory: ./packages/yoroi-extension
run: npm run test:build

- name: Create the report's folder
working-directory: ./packages/yoroi-extension
run: |
mkdir reports
touch ./reports/cucumberReports.json

- name: Run dapp connector tests
working-directory: ./packages/yoroi-extension
env:
MAILSAC_API_KEY: ${{ secrets.MAILSAC_API_KEY }}
run: npm run test:run:e2e:dApp:${{ matrix.browser }}

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData_${{ matrix.browser }}
name: testRunsData_E2E_tests_dApp_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}

Trezor_Model_T_emulator:
Expand All @@ -124,6 +141,7 @@ jobs:
matrix:
browser: ['chrome', 'firefox']
fail-fast: false

steps:
- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
Expand Down Expand Up @@ -178,13 +196,14 @@ jobs:
- uses: actions/checkout@v3

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v3
Expand All @@ -210,8 +229,8 @@ jobs:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-ergo-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-ergo-connector/package-lock.json') }}
path: packages/yoroi-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-connector/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
Expand All @@ -221,7 +240,7 @@ jobs:
run: |
. install-all.sh

- name: Build the test version using emulators
- name: Build the test version
working-directory: ./packages/yoroi-extension
run: npm run test:build

Expand All @@ -239,7 +258,7 @@ jobs:
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData_${{ matrix.browser }}
name: testRunsData_Trezor_Model_T_emulator_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}

E2E_smoke_tests:
Expand All @@ -249,8 +268,10 @@ jobs:
matrix:
browser: ['chrome', 'firefox']
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: |
Expand All @@ -268,17 +289,17 @@ jobs:
echo "FIREFOX_DEV=/opt/firefoxdev/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-yoroi-extension-node-modules
with:
Expand All @@ -294,15 +315,15 @@ jobs:

- name: Cache connector node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-yoroi-connector-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-ergo-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-ergo-connector/package-lock.json') }}
path: packages/yoroi-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-connector/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
Expand Down Expand Up @@ -334,5 +355,100 @@ jobs:
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData_${{ matrix.browser }}
name: testRunsData_E2E_smoke_tests_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}

E2E_regression_tests:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/regression-check'))
runs-on: ubuntu-22.04
strategy:
matrix:
browser: [ 'chrome', 'firefox' ]
fail-fast: false

steps:
- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable

- name: Install Firefox Developer Edition
if: matrix.browser=='firefox'
run: |
wget -c "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US" -O - | sudo tar -xj -C /opt
sudo rm -rf /opt/firefoxdev
sudo mv /opt/firefox /opt/firefoxdev
echo "FIREFOX_DEV=/opt/firefoxdev/firefox-bin" >> $GITHUB_ENV

- uses: actions/checkout@v3

- name: Read .nvmrc
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v3
env:
cache-name: cache-yoroi-extension-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-extension/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-extension/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Cache connector node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v3
env:
cache-name: cache-yoroi-connector-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-ergo-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-ergo-connector/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: Build the test version
working-directory: ./packages/yoroi-extension
run: npm run test:build

- name: Create the report's folder
working-directory: ./packages/yoroi-extension
run: |
mkdir reports
touch ./reports/cucumberReports.json

- name: Run tests
working-directory: ./packages/yoroi-extension
env:
MAILSAC_API_KEY: ${{secrets.MAILSAC_API_KEY}}
run: xvfb-run -a -e /dev/stdout -s "-screen 0 1920x1080x24" npm run test:run:e2e:${{ matrix.browser }}

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData_E2E_regression_tests_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Firefox | Chrome | Edge |
|---|----|----|
| [<img src="https://pbs.twimg.com/profile_images/1399715004010532871/H_xS5LMU_400x400.jpg" width="48">](https://addons.mozilla.org/en-US/firefox/addon/yoroi/) | [<img src="https://pbs.twimg.com/profile_images/1037025533182193664/aCWlGSZF_400x400.jpg" width="48">](https://chrome.google.com/webstore/detail/yoroi/ffnbelfdoeiohenkjibnmadjiehjhajb) | [<img src="https://pbs.twimg.com/profile_images/1314301428995743750/xnhDug3t_400x400.jpg" width="48">](https://microsoftedge.microsoft.com/addons/detail/yoroi/akoiaibnepcedcplijmiamnaigbepmcb) |
| [<img src="https://img.icons8.com/external-those-icons-flat-those-icons/96/external-Firefox-logos-and-brands-those-icons-flat-those-icons.png" width="50">](https://addons.mozilla.org/en-US/firefox/addon/yoroi/) | [<img src="https://img.icons8.com/fluency/96/chrome.png" width="60">](https://chrome.google.com/webstore/detail/yoroi/ffnbelfdoeiohenkjibnmadjiehjhajb) | [<img src="https://img.icons8.com/color/64/ms-edge-new.png" width="60">](https://microsoftedge.microsoft.com/addons/detail/yoroi/akoiaibnepcedcplijmiamnaigbepmcb) |

Looking for Yoroi Mobile? See [here](https://github.com/Emurgo/yoroi-mobile)

Expand Down
Loading