Skip to content

Commit

Permalink
[Simsala] automatic release created for v1.0.148 (#3259)
Browse files Browse the repository at this point in the history
* added readme for bitrise and ios

* updated ios app version

* fix plist version issue

* updated ios app version

* updated ios app version

* trigger CI

* updated ios app version

* fix 2918 serve fonts directly (#3124)

* fix 2918 serve fonts directly

* changelog

* refine import

* delete material-icons stylesheet duplicate (#3127)

* delete material-icons stylesheet duplicate

* changelog

* Feature/api gateway (#3035)

* Configured to use apollo graphql endpoint

* New block subscription example

* Set GraphQL endpoint using url params

Combine query and subscription urls.

i.e. VUE_APP_GRAPHQL_URL=localhost:4000

* Instructions

* Updates

* connection indicator is now using subscriptions

* changelog

* load block directly

* set default api url

* working proposals

* changelog

* WIP

* Query for bonded tokens

* reduced rest calls

* remove deposits from store

* Updated validator queries

* use websocket links without parsing

* add vote

* success events on modals

* cleanup

* typo

* fixed emit

* fixed testnet url

* fixed some tests

* fixed more tests

* last snaps

* linted

* security updates

* coverage modal

* coverage

* coverage

* coverage

* cleanup

* apply cache fix

* Add self stake

* More validator graphql refactoring

* Transactions WIP

Send message

* use filter for description trimming

* use classes for proposal status

* fixed status

* fixed tests

* use network ids in block subscription

* Display all transactions

* overview working

* logo

* loading fix

* Picture for single validator

* remove logo_url from networks query

* added voting power

* Table Validators Update

* WIP

* fix networks query

* more wip

* added filter for missing number

* added delegations to portfolio

* wip

* Test updates

* Test updates

* working delegations undelegations and validators

* cleanup

* fix status on validator li

* add query and filter for validators

* bring back loading

* use network getters

* remove submodule

* remove lunie-backend

* bunch of bugs

* fixed transaction issues

* Snapshots

* Balance header updates, testing

* PagePortfolio update, testing

* Ensure validators is always an array type

* Minor transaction updates

* Update action modal test

* Page transactions test update

* Update PageProposal

* Testing, snapshots

* update

* Test updates

* Fix audit - https-proxy-agent vulnerability

* Minor lint fix

* remove unneeded logic

* removed some tests

* added graphql to block

* remove node completely

* fixed undelegations test

* cleanup

* fixed other snaps

* more snaps

* test cleanup

* linted

* fixed issues with txs in blocks

* tests

* linted

* some bugs from merging

* new network identifier

* fixed some tests

* skip queries  if not signed in

* skip more

* Fabo/use backend testnet (#2997)

* use backend testnet

* add remote docker

* try https github

* add github as known host

* correct checkout

* correct detach

* try mashine image for docker compose

* typo

* use develop for testnet in e2e test

* install yarn

* use npm

* try downgraded docker-compose

* use correct node version

* use develop

* change permissions on nvm load

* without nvm script

* different nvm step

* try catch e2e error

* catch waitFor

* changelog

* working loading of testnetwork

* don't fail tests for now

* correct path of tx element

* log network

* correct order of loading calls

* use hasura backend env variable

* correct machine workflow again

* correct graphql position

* use stack to command for consistency

* detach stack

* wait for hasura to be setup

* wait for hasura to be setup

* security updates

* correct hasura url

* react correctly to schema unavailable

* catch all schema up errors

* log

* try query naming

* show docker logs

* detach again

* log hasura url

* use fix branch

* update browserstack local

* use local e2e

* test no detach again

* Revert "test no detach again"

This reverts commit c73718e77ad1d9314abaf91c1e523cc61c6a2fda.

* use different query format

* skip backend ready check

* use correct old testnet

* yarn stack not available yet

* old testnet with fixes

* correct local url

* used develop backend

* bring back screenshots

* typo

* remove load default network

* switch the experimental branch

* correct branch

* update chromedriver

* switch to new standard API endpoint url

* cleanup

* only run development builds for e2e tests

* use https in e2e tests

* use http endpoints in e2e tests

* allow setting network via url

* add skip for rewards query

* working e2e tests

* ignore screenshots

* linted and fixed tests

* use proper api query

* linted

* try browserstack

* switch again to local e2e

* try better URL for browserstack

* correct command

* trying with browserstack and http

* use local (safe)

* fail when waiting for text to be there

* disable network logs

* enable browserstack to test

* correct url for browserstack

* wait for account to have tokens

* linted

* WIP Colw/api action modals (#3041)

* Send modal use GraphQL API

* ActionModal api updates

* Delegation modal updates

* Delegation rewards

* Modal Deposit, Withdraw, Vote, Propose API updates

* Small fixes

* Remove modalContext

* fixed sendModal

* some more fixes

* Linting

* Remove send module

* Case insensitive search

- Name for clarity
- Do not display loading indicators

* Use uatom in transaction

* Undelegation modal

* Single denom balance and other updates

* Fix denom conversion

* Fix validators filter

* Move function

* Fix spacing problem

* Remove unnecessary code

* Disable unstake button when no deligations

* modal propose test

* modal vote tests

* modal deposit tests

* snapshots

* Minor, but not working, actionmodal test updates

* Fixed recursive error

* Lint

* fixed tests

* delegation modals working

* fixed withdraw modal

* cleanup

* remove denom conversion from sendModal

* Snapshots

* Update ActionManager test data

* remove view denom conversion for API requests

* fix e2e tests

* correct check for e2e balance

* correct default graphql url

* correct VUE_APP_GRAPHQL_URL for e2e

* Fabo/network from env (#3062)

* changelog

* allow to set network from env

* Update config.js

* Fabo/allow definition of any graphql api (#3061)

* allow using https in development mode

* changelog

* linted

* Fix graphqlHost assignment

* Lint

* Fabo/subscription (#3065)

* Send modal use GraphQL API

* ActionModal api updates

* Delegation modal updates

* Delegation rewards

* Modal Deposit, Withdraw, Vote, Propose API updates

* Small fixes

* Remove modalContext

* fixed sendModal

* some more fixes

* Linting

* Remove send module

* Case insensitive search

- Name for clarity
- Do not display loading indicators

* Use uatom in transaction

* Undelegation modal

* Single denom balance and other updates

* Fix denom conversion

* Fix validators filter

* Move function

* Fix spacing problem

* Remove unnecessary code

* Disable unstake button when no deligations

* modal propose test

* modal vote tests

* modal deposit tests

* snapshots

* Minor, but not working, actionmodal test updates

* Fixed recursive error

* Lint

* fixed tests

* delegation modals working

* fixed withdraw modal

* cleanup

* remove denom conversion from sendModal

* Snapshots

* Update ActionManager test data

* remove view denom conversion for API requests

* fix e2e tests

* correct check for e2e balance

* correct default graphql url

* correct VUE_APP_GRAPHQL_URL for e2e

* working subscriptions

* changelog

* only query on successful transactions

* linted

* colw/more-subscriptions (#3070)

* Automatically add new transactions to the tx list

* Query rewards each block

* Remove commented code

* Lint, remove unused imports

* Update network icon filenames to match chain id (#3073)

* Mario/add proposal proposer (#3072)

* Add proposal proposer

* Manage unknown proposer

* Add unknown proposer message

* Fix existing tests, update snaps

* Use template to not duplicate <p class="proposer">

* Improve testing

* Remove long form address and update snaps

* Fabo/e2e integration (#3068)

* Send modal use GraphQL API

* ActionModal api updates

* Delegation modal updates

* Delegation rewards

* Modal Deposit, Withdraw, Vote, Propose API updates

* Small fixes

* Remove modalContext

* fixed sendModal

* some more fixes

* Linting

* Remove send module

* Case insensitive search

- Name for clarity
- Do not display loading indicators

* Use uatom in transaction

* Undelegation modal

* Single denom balance and other updates

* Fix denom conversion

* Fix validators filter

* Move function

* Fix spacing problem

* Remove unnecessary code

* Disable unstake button when no deligations

* modal propose test

* modal vote tests

* modal deposit tests

* snapshots

* Minor, but not working, actionmodal test updates

* Fixed recursive error

* Lint

* fixed tests

* delegation modals working

* fixed withdraw modal

* cleanup

* remove denom conversion from sendModal

* Snapshots

* Update ActionManager test data

* remove view denom conversion for API requests

* fix e2e tests

* correct check for e2e balance

* correct default graphql url

* correct VUE_APP_GRAPHQL_URL for e2e

* working subscriptions

* changelog

* only query on successful transactions

* linted

* try fixing e2e tests

* timeout waiting for API to be up

* fix wrong e2e api up query

* comment

* log repsonse for API check for debugging

* use browserstack friendly host for e2e tests

* linted

* log errors

* disable production build to test faster

* switch to local testing

* set network via env

* remove lunie-backend

* reenable production build

* use browserstack again

* use docker caching

* disable docker-layer-caching as not supported in free tier

* typo

* typo

* typo

* use npm instead of yarn in e2e test

* typo

* switch back to local

* try working docker-compose command

* add check for database to be ready in e2e tests

* comments

* temporary skip build step to debug ci faster

* log console for debugging

* update lunie-api docker image manually

* typo

* do not rebuild dockers

* use debug branch

* cleanup

* cleanup

* shrink api up errors

* fixed error in overview query

* remove logs again

* e2e should be always insecure more

* switched to browserstack

* linted

* set default graphql value correctly

* Fabo/merge in develop (#3083)

* Move signup fields to vuex store

* Break into steps

* Rename files and use correct button

* Refactor layout

- New warning components
- New titles
- Code clean

* Rename routes and style success

* changelog

* snapshot

* Update tests

* Change danger warning text

* WIP

* Debug

* Implement route guard for /create-password

* Implement rest of route guards for /create flow

* Test nested routes for /create flow

* Fix route

* Fix route

* Fix

* Fix danger zone message margin

* Debug

* Fix

* Fix error

* Fix typo

* Fix

* Revert

* Fix import store

* Debug

* Debug

* Cleanup

* Fix

* Debug

* Debug

* Debug

* Fix

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* More debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Bug fix and cleanup, arg! :-)

* Nested routes in TmSessionImport components

* Cleanup

* Add route guards to /recover flow

* Testing

* Update snaps

* yarn upgrade

* Lint

* Rewrite test and update snap

* Cleanup

* More testing

* More basic testing and update snaps

* Lint

* Update buttons text

* Update snaps

* Cleanup

* Fix

* Fix msg

* Update snap

* Update button msg in /recover flow

* Update snaps

* Fix

* Update snaps

* Test store commits in TmSessionImportBackupCode

* Improve testing

* insecureMode: false

* Trigger CI

* Cleanup

* Debug testing issues

* insecureMode: true

* use submit function

* Fix test, update snaps

* insecureMode: false

* Cleanup

* Renam TmSessionImportBackupCode to TmSessionImport

* insecureMode: true

* Increase code coverage

* Cleanup

* Increase code coverage

* insecureMode: false

* Cleanup

* insecureMode: true

* Small TmBtn

* Fix

* Add .session-footer class css

* Move css to session.css

* Display full width buttons in mobile

* Go to Lunie instead of Back to Lunie

* Circle back button

* Css

* Debug mobile issue

* .form height: 95%;

* Revert, back button cursor: pointer

* Don't disable button

* Improve validation messages

* Fix

* Dont disable button in import name

* Fix form error messages

* Update snaps and TmFormMsg test

* Update tests and snaps

* Cleanup

* insecureMode: false

* Do not disable submit in TmSessionSignUp

* insecureMode: true

* Do not disable submit in TmSessionSignUpPassword

* Cleanup, fix button size

* Fix css

* Fix mobile css

* Cleanup, standarization

* More cleanup

* Rewrite tests 100% code coverage, update snaps

* Cleanup

* insecureMode: false

* show yarn audit

* change caching behaviour to use yarn.lock

* insecureMode: true

* insecureMode: false

* Debug param

* Allow disable InsecureMode in param

* Fix param type

* Debug

* Fix

* Cleanup

* Reset signup data in success

* Fix

* Reset signup data in success

* Fix

* Cleaner way

* Fix

* Update tests

* Add steps to SignUp flow

* Add steps to SignUp

* Fix

* Fix

* Fix

* Fix

* Damn path fix

* Fix CSS

* Change step name

* Add steps to SignUp flow

* Add steps to Import flow

* Merge ImportConfirm and ImportName in single step

* Fix routes

* Fix

* Fix test, update snaps

* Fix typo

* Update changes/colw_signup-steps

Co-Authored-By: Fabian <frznhope@gmail.com>

* Update insecure mode warning

* Update src/components/common/TmSessionImportSuccess.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/TmSessionSignUpSeed.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Lint

* Move up InsecureModeWarning

* Update snaps

* Add support for local type account in explore mode

* Reformat, cleanup, testing

* Cleanup

* Cleanup

* Fix cosmos address css

* Implement duplicate check name validation

* Implement duplicate name validator in sign up

* Update snaps

* Three steps in recover flow

* Remove unused route

* Three steps in create flow

* 100% code coverage, update snaps

* Fix title

* Change min name length to 3, fix test, upd. snaps

* Display errors inline, remove notifications

* Fix tests, update snaps

* Add TmSeed component

* Improve TmSeed, only show last 3 acc. in TmExplore

* Only show last 3 accounts in TmSessionExplore

* Improve testing of store modules, update snaps

* Fix PagePorfolio object error bug

* Add copy to clipboard

* Remove field name

* fixed tests

* security updates

* Merge develop, update snap

* Update test, improve code coverage

* Improved responsive behaviour

* changelog

* Add warning message

* Update snaps

* remove https

* updated android app version

* release-1.0.0-beta.130

* always set the encryption disclaimer

* changelog

* updated android app version

* [Simsala] automatic release created for v1.0.0-beta.131 (#3052)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.131

* [Simsala] automatic release created for v1.0.0-beta.132 (#3055)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.132

* updated android app version

* always set the encryption disclaimer

* changelog

* manually remove already added changelog

* Jordan/3054 mobile prep (#3067)

* made a bunch of capacitor, pods, ios updates to get build working in simulator

* new assets

* serve:ios command will run lunie and open xcode for nice dev flow

* add URL for live reload in iOS simulator

* stop zoom when focussed on inputs

* hide splash screen as soon as app loads and show status bar with nice amount of spacing at the right time

* lint

* changelog

* fix npm script for serving app with xcode

* in apps, logo will link to home instead of website

* hide steps on mobile for when keyboard pops up

* edit memo button shouldn't be centered

* remove denom field from send modal - not necessary while we only support 1 denom per network

* fix for broken lines on step component in mobile browsers

* lint

* update snaperoos

* lint styles

* fix snaperoos

* use correct values for e2e

* remove screenshots

* add chromedriver

* changelog

* lint

* Update src/components/common/AppHeader.vue

* missing snaps

* wait for block indicator to be available in e2e tests

* remove network form url in tests

* Resolve proposal proposer to moniker if it is a validator address (#3088)

* Resolve proposer addr to moniker if is a validator

* changelog

* Fix bug, update test and snaps

* Trigger CI

* Ch. origin/fabo/e2e-restructure by  origin/develop

* Fabo/e2e extension (#3082)

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* More debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Bug fix and cleanup, arg! :-)

* Nested routes in TmSessionImport components

* Cleanup

* Add route guards to /recover flow

* Testing

* Update snaps

* yarn upgrade

* Lint

* Rewrite test and update snap

* Cleanup

* More testing

* More basic testing and update snaps

* Lint

* Update buttons text

* Update snaps

* Cleanup

* Fix

* Fix msg

* Update snap

* Update button msg in /recover flow

* Update snaps

* Fix

* Update snaps

* Test store commits in TmSessionImportBackupCode

* Improve testing

* insecureMode: false

* Trigger CI

* Cleanup

* Debug testing issues

* insecureMode: true

* use submit function

* Fix test, update snaps

* insecureMode: false

* Cleanup

* Renam TmSessionImportBackupCode to TmSessionImport

* insecureMode: true

* Increase code coverage

* Cleanup

* Increase code coverage

* insecureMode: false

* Cleanup

* insecureMode: true

* Small TmBtn

* Fix

* Add .session-footer class css

* Move css to session.css

* Display full width buttons in mobile

* Go to Lunie instead of Back to Lunie

* Circle back button

* Css

* Debug mobile issue

* .form height: 95%;

* Revert, back button cursor: pointer

* Don't disable button

* Improve validation messages

* Fix

* Dont disable button in import name

* Fix form error messages

* Update snaps and TmFormMsg test

* Update tests and snaps

* Cleanup

* insecureMode: false

* Do not disable submit in TmSessionSignUp

* insecureMode: true

* Do not disable submit in TmSessionSignUpPassword

* Cleanup, fix button size

* Fix css

* Fix mobile css

* Cleanup, standarization

* More cleanup

* Rewrite tests 100% code coverage, update snaps

* Cleanup

* insecureMode: false

* show yarn audit

* change caching behaviour to use yarn.lock

* insecureMode: true

* insecureMode: false

* Debug param

* Allow disable InsecureMode in param

* Fix param type

* Debug

* Fix

* Cleanup

* Reset signup data in success

* Fix

* Reset signup data in success

* Fix

* Cleaner way

* Fix

* Update tests

* Add steps to SignUp flow

* Add steps to SignUp

* Fix

* Fix

* Fix

* Fix

* Damn path fix

* Fix CSS

* Change step name

* Add steps to SignUp flow

* Add steps to Import flow

* Merge ImportConfirm and ImportName in single step

* Fix routes

* Fix

* Fix test, update snaps

* Fix typo

* Update changes/colw_signup-steps

Co-Authored-By: Fabian <frznhope@gmail.com>

* Update insecure mode warning

* Update src/components/common/TmSessionImportSuccess.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/TmSessionSignUpSeed.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Lint

* Move up InsecureModeWarning

* Update snaps

* Add support for local type account in explore mode

* proper exit of processes

* comments

* Reformat, cleanup, testing

* Cleanup

* Cleanup

* Fix cosmos address css

* Implement duplicate check name validation

* Implement duplicate name validator in sign up

* Update snaps

* Three steps in recover flow

* Remove unused route

* Three steps in create flow

* 100% code coverage, update snaps

* Fix title

* Change min name length to 3, fix test, upd. snaps

* Display errors inline, remove notifications

* Fix tests, update snaps

* Add TmSeed component

* Improve TmSeed, only show last 3 acc. in TmExplore

* Only show last 3 accounts in TmSessionExplore

* Improve testing of store modules, update snaps

* Fix PagePorfolio object error bug

* Add copy to clipboard

* Remove field name

* remove lunie-backend sub dir

* security updates

* fixed tests

* security updates

* Merge develop, update snap

* Update test, improve code coverage

* Improved responsive behaviour

* changelog

* Add warning message

* Update snaps

* remove https

* updated android app version

* release-1.0.0-beta.130

* always set the encryption disclaimer

* changelog

* updated android app version

* [Simsala] automatic release created for v1.0.0-beta.131 (#3052)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.131

* Apply suggestions from code review

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update tests/e2e/local-run.js

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* [Simsala] automatic release created for v1.0.0-beta.132 (#3055)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.132

* updated android app version

* always set the encryption disclaimer

* changelog

* manually remove already added changelog

* Jordan/3054 mobile prep (#3067)

* made a bunch of capacitor, pods, ios updates to get build working in simulator

* new assets

* serve:ios command will run lunie and open xcode for nice dev flow

* add URL for live reload in iOS simulator

* stop zoom when focussed on inputs

* hide splash screen as soon as app loads and show status bar with nice amount of spacing at the right time

* lint

* changelog

* fix npm script for serving app with xcode

* in apps, logo will link to home instead of website

* hide steps on mobile for when keyboard pops up

* edit memo button shouldn't be centered

* remove denom field from send modal - not necessary while we only support 1 denom per network

* fix for broken lines on step component in mobile browsers

* lint

* update snaperoos

* lint styles

* fix snaperoos

* use correct values for e2e

* remove screenshots

* add chromedriver

* changelog

* lint

* Update src/components/common/AppHeader.vue

* new flow for extension e2e tests

* fix ci config

* correct order of checkouts

* install dependencies for extension

* use npm for extension

* don't use yarn in machine image

* fix missing package-lock for cache key

* use e2e branch to test if it works

* switch to call browserstack friendly host

* switch to script from package.json

* updated snaps

* switch to e2e branch

* remove network query parameter

* fix seed e2e test

* use network env variable

* remove assert like waitFor in nightwatch tests

* linted

* trigger CI

* trigger CI

* Revert "linted"

This reverts commit b2e72d88981e48865963cb15b431cd2b9b27a853.

* reverted removal of seed field

* switch backend in e2e to develop

* rebuild docker for e2e tests

* switch back to waitforelement

* working

* only stop the containers

* log maintenance response for debugging

* changed comments

* typo causing not checking if session window closed

* typo

* working quick script

* fixed e2e tests

* working

* fixed more tests

* working

* remove luniebackend

* ignore lunie-backend

* comments and exit handling

* fixed typo

* linted

* typo

* linted

* be more detailed about docker-compose arguments

* Revert "be more detailed about docker-compose arguments"

This reverts commit c77cfbcf2c7362c21b255695fedc5d33a920c813.

* Serve Lunie using http in e2e tests (#3092)

* Fabo/simplify e2e local (#2953)

* Debug

* Debug

* Debug

* Debug

* Bug fix and cleanup, arg! :-)

* Nested routes in TmSessionImport components

* Cleanup

* Add route guards to /recover flow

* Testing

* Update snaps

* yarn upgrade

* Lint

* Rewrite test and update snap

* Cleanup

* More testing

* More basic testing and update snaps

* Lint

* Update buttons text

* Update snaps

* Cleanup

* Fix

* Fix msg

* Update snap

* Update button msg in /recover flow

* Update snaps

* Fix

* Update snaps

* Test store commits in TmSessionImportBackupCode

* Improve testing

* insecureMode: false

* Trigger CI

* Cleanup

* Debug testing issues

* insecureMode: true

* use submit function

* Fix test, update snaps

* insecureMode: false

* Cleanup

* Renam TmSessionImportBackupCode to TmSessionImport

* insecureMode: true

* Increase code coverage

* Cleanup

* Increase code coverage

* insecureMode: false

* Cleanup

* insecureMode: true

* Small TmBtn

* Fix

* Add .session-footer class css

* Move css to session.css

* Display full width buttons in mobile

* Go to Lunie instead of Back to Lunie

* Circle back button

* Css

* Debug mobile issue

* .form height: 95%;

* Revert, back button cursor: pointer

* Don't disable button

* Improve validation messages

* Fix

* Dont disable button in import name

* Fix form error messages

* Update snaps and TmFormMsg test

* Update tests and snaps

* Cleanup

* insecureMode: false

* Do not disable submit in TmSessionSignUp

* insecureMode: true

* Do not disable submit in TmSessionSignUpPassword

* Cleanup, fix button size

* Fix css

* Fix mobile css

* Cleanup, standarization

* More cleanup

* Rewrite tests 100% code coverage, update snaps

* Cleanup

* insecureMode: false

* show yarn audit

* change caching behaviour to use yarn.lock

* insecureMode: true

* insecureMode: false

* Debug param

* Allow disable InsecureMode in param

* Fix param type

* Debug

* Fix

* Cleanup

* Reset signup data in success

* Fix

* Reset signup data in success

* Fix

* Cleaner way

* Fix

* Update tests

* Add steps to SignUp flow

* Add steps to SignUp

* Fix

* Fix

* Fix

* Fix

* Damn path fix

* Fix CSS

* Change step name

* Add steps to SignUp flow

* Add steps to Import flow

* Merge ImportConfirm and ImportName in single step

* Fix routes

* Fix

* Fix test, update snaps

* Fix typo

* Update changes/colw_signup-steps

Co-Authored-By: Fabian <frznhope@gmail.com>

* Update insecure mode warning

* Update src/components/common/TmSessionImportSuccess.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/TmSessionSignUpSeed.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Lint

* Move up InsecureModeWarning

* Update snaps

* Add support for local type account in explore mode

* proper exit of processes

* comments

* Reformat, cleanup, testing

* Cleanup

* Cleanup

* Fix cosmos address css

* Implement duplicate check name validation

* Implement duplicate name validator in sign up

* Update snaps

* Three steps in recover flow

* Remove unused route

* Three steps in create flow

* 100% code coverage, update snaps

* Fix title

* Change min name length to 3, fix test, upd. snaps

* Display errors inline, remove notifications

* Fix tests, update snaps

* Add TmSeed component

* Improve TmSeed, only show last 3 acc. in TmExplore

* Only show last 3 accounts in TmSessionExplore

* Improve testing of store modules, update snaps

* Fix PagePorfolio object error bug

* Add copy to clipboard

* Remove field name

* remove lunie-backend sub dir

* security updates

* fixed tests

* security updates

* Merge develop, update snap

* Update test, improve code coverage

* Improved responsive behaviour

* changelog

* Add warning message

* Update snaps

* remove https

* updated android app version

* release-1.0.0-beta.130

* always set the encryption disclaimer

* changelog

* updated android app version

* [Simsala] automatic release created for v1.0.0-beta.131 (#3052)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.131

* Apply suggestions from code review

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update tests/e2e/local-run.js

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* [Simsala] automatic release created for v1.0.0-beta.132 (#3055)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.132

* updated android app version

* always set the encryption disclaimer

* changelog

* manually remove already added changelog

* Jordan/3054 mobile prep (#3067)

* made a bunch of capacitor, pods, ios updates to get build working in simulator

* new assets

* serve:ios command will run lunie and open xcode for nice dev flow

* add URL for live reload in iOS simulator

* stop zoom when focussed on inputs

* hide splash screen as soon as app loads and show status bar with nice amount of spacing at the right time

* lint

* changelog

* fix npm script for serving app with xcode

* in apps, logo will link to home instead of website

* hide steps on mobile for when keyboard pops up

* edit memo button shouldn't be centered

* remove denom field from send modal - not necessary while we only support 1 denom per network

* fix for broken lines on step component in mobile browsers

* lint

* update snaperoos

* lint styles

* fix snaperoos

* use correct values for e2e

* remove screenshots

* add chromedriver

* changelog

* lint

* Update src/components/common/AppHeader.vue

* Remove caching code (#3051)

* Remove caching code

* Remove unused testing

* changelog

* Fix Create local acc. and Import local acc. tests

* Fix nextBlock check

* Change VUE_APP_GRAPHQL_URL

* Revert

* fixed snaps

* new flow for extension e2e tests

* [Simsala] automatic release created for v1.0.0-beta.133 (#3081)

* updated android app version

* always set the encryption disclaimer

* changelog

* updated android app version

* manually remove already added changelog

* Jordan/3054 mobile prep (#3067)

* made a bunch of capacitor, pods, ios updates to get build working in simulator

* new assets

* serve:ios command will run lunie and open xcode for nice dev flow

* add URL for live reload in iOS simulator

* stop zoom when focussed on inputs

* hide splash screen as soon as app loads and show status bar with nice amount of spacing at the right time

* lint

* changelog

* fix npm script for serving app with xcode

* in apps, logo will link to home instead of website

* hide steps on mobile for when keyboard pops up

* edit memo button shouldn't be centered

* remove denom field from send modal - not necessary while we only support 1 denom per network

* fix for broken lines on step component in mobile browsers

* lint

* update snaperoos

* lint styles

* fix snaperoos

* use correct values for e2e

* remove screenshots

* add chromedriver

* changelog

* lint

* Update src/components/common/AppHeader.vue

* release-1.0.0-beta.133

* fixed snaps

* fix ci config

* correct order of checkouts

* install dependencies for extension

* use npm for extension

* don't use yarn in machine image

* fix missing package-lock for cache key

* use e2e branch to test if it works

* add missing changelog entry

* switch to call browserstack friendly host

* switch to script from package.json

* updated snaps

* switch to e2e branch

* remove network query parameter

* fix seed e2e test

* use network env variable

* remove assert like waitFor in nightwatch tests

* linted

* trigger CI

* trigger CI

* Revert "linted"

This reverts commit b2e72d88981e48865963cb15b431cd2b9b27a853.

* reverted removal of seed field

* switch backend in e2e to develop

* rebuild docker for e2e tests

* switch back to waitforelement

* working

* only stop the containers

* log maintenance response for debugging

* sentry added (#3087)

* sentry added

* camelCase variable

* changelog

* added simsala log

* changelog

* changed comments

* typo causing not checking if session window closed

* typo

* working quick script

* fixed e2e tests

* working

* fixed more tests

* working

* remove luniebackend

* ignore lunie-backend

* comments and exit handling

* fixed typo

* linted

* typo

* linted

* be more detailed about docker-compose arguments

* Revert "be more detailed about docker-compose arguments"

This reverts commit c77cfbcf2c7362c21b255695fedc5d33a920c813.

* added inquirer

* use cross-spawn for compatibility wth windows

* Fabo/readme (#3103)

* updated readme

* changelog

* bring back the network env variable (#3099)

* fixed local e2e testing issues (#3105)

* fixed local e2e testing issues

* removed obsolte line

* remove lunie-backend folder

* linted

* set local testnet in e2e serve

* sort before slicing (#3109)

* colw/api-improve-loading-speed (#3080)

* Remove unwanted data from validator query

* Only load rewards on open

* Poll for rewards every minute

* createPersistedQueryLink to send optimistic hash

* Skip queries until ActionModal is opened

* Rename modal queries for clarity

* Only retrieve rewards in Withdraw modal

* Lint

* Lint and name modal queries

* Add comment explaining createPersistedQueryLink

* Update test

* snapshots

* Failing tests on ActionModal

* Remove async from function

* Action modal tests

* Update feature check in ActionModal

* Test e2e config update

* Update again

* Lint

* More lint

* update backend repo checkout

* Uncomment Delegations e2e test

* Show loading for validators

* Show loading indicator for validators page

* Lint

* Export SentryDSN property

* Update snapshot

* Test failing e2e

- Button is disabled if delegations aren't loaded

* Fix e2e test, data-name selector

* Revert "Test failing e2e"

c87cc8c4d117da8531eee8f1b713dc0b5084e23f

* Remove duplicate config key

* Update e2e test data property

* Await next block

* Remove loading state

* Update PageValidator snapshot

* Update snapshot

* Remove unused error state

* A small hack to account for a delay in the node

TODO: Find a cleaner, server side solution.

* Change operator name

* Fabo/force network loading for refetch queries (#3111)

* some fixes

* fixed fetching and caching issues

* fixed tests

* better failing of e2e tests

* renaming

* lint

* adding log to wait for API

* fix totalStake query

* fix api query again

* switch to local testing

* clear cache for transactions

* clear undelegations cache

* fix typo

* remove log

* Apply suggestions from code review

* Fix bug in Proposals (#3098)

* Modify proposals query

* Cleanup

* changelog

* Add variables to graphql query

* remove submodule

* remove lunie-backend

* fix feature not respected in action modal

* fixed unit tests

* increase timeout for undelegation e2e test

* colw/Loading state for single validator (#3123)

* Add loading state

* snapshot

* Set loaded

* Snapshot

* increase timeout for liquid stake update

* increase timeouts for total balance updates

* Lint

* linted

* linted

* fix forever timeout

* Fabo/proposal failed to load when not signed in (#3137)

* changelog

* fix failing proposal to load

* Revert "Merge branch 'develop' of github.com:luniehq/lunie into develop"

This reverts commit 126d76e0e8d4379393987c6bd07f3144997b40f5.

* Revert "Merge branch 'develop' of github.com:luniehq/lunie into develop"

This reverts commit a4231ed295dfb0ea72f91d363c91a1fd06936936.

* Jordan/3077 mobile form improvements (session and action modal) (#3125)

* Configured to use apollo graphql endpoint

* New block subscription example

* Set GraphQL endpoint using url params

Combine query and subscription urls.

i.e. VUE_APP_GRAPHQL_URL=localhost:4000

* Instructions

* Updates

* connection indicator is now using subscriptions

* changelog

* load block directly

* set default api url

* working proposals

* changelog

* WIP

* Query for bonded tokens

* reduced rest calls

* remove deposits from store

* Updated validator queries

* use websocket links without parsing

* add vote

* success events on modals

* cleanup

* typo

* fixed emit

* fixed testnet url

* fixed some tests

* fixed more tests

* last snaps

* linted

* security updates

* coverage modal

* coverage

* coverage

* coverage

* cleanup

* apply cache fix

* Add self stake

* More validator graphql refactoring

* Transactions WIP

Send message

* use filter for description trimming

* use classes for proposal status

* fixed status

* fixed tests

* use network ids in block subscription

* Display all transactions

* overview working

* logo

* loading fix

* Picture for single validator

* remove logo_url from networks query

* added voting power

* Table Validators Update

* WIP

* fix networks query

* more wip

* added filter for missing number

* added delegations to portfolio

* wip

* Test updates

* Test updates

* working delegations undelegations and validators

* cleanup

* fix status on validator li

* add query and filter for validators

* bring back loading

* use network getters

* remove submodule

* remove lunie-backend

* bunch of bugs

* fixed transaction issues

* Snapshots

* Balance header updates, testing

* PagePortfolio update, testing

* Ensure validators is always an array type

* Minor transaction updates

* Update action modal test

* Page transactions test update

* Update PageProposal

* Testing, snapshots

* update

* Test updates

* Fix audit - https-proxy-agent vulnerability

* Minor lint fix

* remove unneeded logic

* removed some tests

* added graphql to block

* remove node completely

* fixed undelegations test

* cleanup

* fixed other snaps

* more snaps

* test cleanup

* linted

* fixed issues with txs in blocks

* tests

* linted

* some bugs from merging

* new network identifier

* fixed some tests

* skip queries  if not signed in

* skip more

* Fabo/use backend testnet (#2997)

* use backend testnet

* add remote docker

* try https github

* add github as known host

* correct checkout

* correct detach

* try mashine image for docker compose

* typo

* use develop for testnet in e2e test

* install yarn

* use npm

* try downgraded docker-compose

* use correct node version

* use develop

* change permissions on nvm load

* without nvm script

* different nvm step

* try catch e2e error

* catch waitFor

* changelog

* working loading of testnetwork

* don't fail tests for now

* correct path of tx element

* log network

* correct order of loading calls

* use hasura backend env variable

* correct machine workflow again

* correct graphql position

* use stack to command for consistency

* detach stack

* wait for hasura to be setup

* wait for hasura to be setup

* security updates

* correct hasura url

* react correctly to schema unavailable

* catch all schema up errors

* log

* try query naming

* show docker logs

* detach again

* log hasura url

* use fix branch

* update browserstack local

* use local e2e

* test no detach again

* Revert "test no detach again"

This reverts commit c73718e77ad1d9314abaf91c1e523cc61c6a2fda.

* use different query format

* skip backend ready check

* use correct old testnet

* yarn stack not available yet

* old testnet with fixes

* correct local url

* used develop backend

* bring back screenshots

* typo

* remove load default network

* switch the experimental branch

* correct branch

* update chromedriver

* switch to new standard API endpoint url

* cleanup

* only run development builds for e2e tests

* use https in e2e tests

* use http endpoints in e2e tests

* allow setting network via url

* add skip for rewards query

* working e2e tests

* ignore screenshots

* linted and fixed tests

* use proper api query

* linted

* try browserstack

* switch again to local e2e

* try better URL for browserstack

* correct command

* trying with browserstack and http

* use local (safe)

* fail when waiting for text to be there

* disable network logs

* enable browserstack to test

* correct url for browserstack

* wait for account to have tokens

* linted

* WIP Colw/api action modals (#3041)

* Send modal use GraphQL API

* ActionModal api updates

* Delegation modal updates

* Delegation rewards

* Modal Deposit, Withdraw, Vote, Propose API updates

* Small fixes

* Remove modalContext

* fixed sendModal

* some more fixes

* Linting

* Remove send module

* Case insensitive search

- Name for clarity
- Do not display loading indicators

* Use uatom in transaction

* Undelegation modal

* Single denom balance and other updates

* Fix denom conversion

* Fix validators filter

* Move function

* Fix spacing problem

* Remove unnecessary code

* Disable unstake button when no deligations

* modal propose test

* modal vote tests

* modal deposit tests

* snapshots

* Minor, but not working, actionmodal test updates

* Fixed recursive error

* Lint

* fixed tests

* delegation modals working

* fixed withdraw modal

* cleanup

* remove denom conversion from sendModal

* Snapshots

* Update ActionManager test data

* remove view denom conversion for API requests

* fix e2e tests

* correct check for e2e balance

* correct default graphql url

* correct VUE_APP_GRAPHQL_URL for e2e

* Fabo/network from env (#3062)

* changelog

* allow to set network from env

* Update config.js

* Fabo/allow definition of any graphql api (#3061)

* allow using https in development mode

* changelog

* linted

* Fix graphqlHost assignment

* Lint

* Fabo/subscription (#3065)

* Send modal use GraphQL API

* ActionModal api updates

* Delegation modal updates

* Delegation rewards

* Modal Deposit, Withdraw, Vote, Propose API updates

* Small fixes

* Remove modalContext

* fixed sendModal

* some more fixes

* Linting

* Remove send module

* Case insensitive search

- Name for clarity
- Do not display loading indicators

* Use uatom in transaction

* Undelegation modal

* Single denom balance and other updates

* Fix denom conversion

* Fix validators filter

* Move function

* Fix spacing problem

* Remove unnecessary code

* Disable unstake button when no deligations

* modal propose test

* modal vote tests

* modal deposit tests

* snapshots

* Minor, but not working, actionmodal test updates

* Fixed recursive error

* Lint

* fixed tests

* delegation modals working

* fixed withdraw modal

* cleanup

* remove denom conversion from sendModal

* Snapshots

* Update ActionManager test data

* remove view denom conversion for API requests

* fix e2e tests

* correct check for e2e balance

* correct default graphql url

* correct VUE_APP_GRAPHQL_URL for e2e

* working subscriptions

* changelog

* only query on successful transactions

* linted

* colw/more-subscriptions (#3070)

* Automatically add new transactions to the tx list

* Query rewards each block

* Remove commented code

* Lint, remove unused imports

* Update network icon filenames to match chain id (#3073)

* Mario/add proposal proposer (#3072)

* Add proposal proposer

* Manage unknown proposer

* Add unknown proposer message

* Fix existing tests, update snaps

* Use template to not duplicate <p class="proposer">

* Improve testing

* Remove long form address and update snaps

* Fabo/e2e integration (#3068)

* Send modal use GraphQL API

* ActionModal api updates

* Delegation modal updates

* Delegation rewards

* Modal Deposit, Withdraw, Vote, Propose API updates

* Small fixes

* Remove modalContext

* fixed sendModal

* some more fixes

* Linting

* Remove send module

* Case insensitive search

- Name for clarity
- Do not display loading indicators

* Use uatom in transaction

* Undelegation modal

* Single denom balance and other updates

* Fix denom conversion

* Fix validators filter

* Move function

* Fix spacing problem

* Remove unnecessary code

* Disable unstake button when no deligations

* modal propose test

* modal vote tests

* modal deposit tests

* snapshots

* Minor, but not working, actionmodal test updates

* Fixed recursive error

* Lint

* fixed tests

* delegation modals working

* fixed withdraw modal

* cleanup

* remove denom conversion from sendModal

* Snapshots

* Update ActionManager test data

* remove view denom conversion for API requests

* fix e2e tests

* correct check for e2e balance

* correct default graphql url

* correct VUE_APP_GRAPHQL_URL for e2e

* working subscriptions

* changelog

* only query on successful transactions

* linted

* try fixing e2e tests

* timeout waiting for API to be up

* fix wrong e2e api up query

* comment

* log repsonse for API check for debugging

* use browserstack friendly host for e2e tests

* linted

* log errors

* disable production build to test faster

* switch to local testing

* set network via env

* remove lunie-backend

* reenable production build

* use browserstack again

* use docker caching

* disable docker-layer-caching as not supported in free tier

* typo

* typo

* typo

* use npm instead of yarn in e2e test

* typo

* switch back to local

* try working docker-compose command

* add check for database to be ready in e2e tests

* comments

* temporary skip build step to debug ci faster

* log console for debugging

* update lunie-api docker image manually

* typo

* do not rebuild dockers

* use debug branch

* cleanup

* cleanup

* shrink api up errors

* fixed error in overview query

* remove logs again

* e2e should be always insecure more

* switched to browserstack

* linted

* set default graphql value correctly

* Fabo/merge in develop (#3083)

* Move signup fields to vuex store

* Break into steps

* Rename files and use correct button

* Refactor layout

- New warning components
- New titles
- Code clean

* Rename routes and style success

* changelog

* snapshot

* Update tests

* Change danger warning text

* WIP

* Debug

* Implement route guard for /create-password

* Implement rest of route guards for /create flow

* Test nested routes for /create flow

* Fix route

* Fix route

* Fix

* Fix danger zone message margin

* Debug

* Fix

* Fix error

* Fix typo

* Fix

* Revert

* Fix import store

* Debug

* Debug

* Cleanup

* Fix

* Debug

* Debug

* Debug

* Fix

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* More debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Bug fix and cleanup, arg! :-)

* Nested routes in TmSessionImport components

* Cleanup

* Add route guards to /recover flow

* Testing

* Update snaps

* yarn upgrade

* Lint

* Rewrite test and update snap

* Cleanup

* More testing

* More basic testing and update snaps

* Lint

* Update buttons text

* Update snaps

* Cleanup

* Fix

* Fix msg

* Update snap

* Update button msg in /recover flow

* Update snaps

* Fix

* Update snaps

* Test store commits in TmSessionImportBackupCode

* Improve testing

* insecureMode: false

* Trigger CI

* Cleanup

* Debug testing issues

* insecureMode: true

* use submit function

* Fix test, update snaps

* insecureMode: false

* Cleanup

* Renam TmSessionImportBackupCode to TmSessionImport

* insecureMode: true

* Increase code coverage

* Cleanup

* Increase code coverage

* insecureMode: false

* Cleanup

* insecureMode: true

* Small TmBtn

* Fix

* Add .session-footer class css

* Move css to session.css

* Display full width buttons in mobile

* Go to Lunie instead of Back to Lunie

* Circle back button

* Css

* Debug mobile issue

* .form height: 95%;

* Revert, back button cursor: pointer

* Don't disable button

* Improve validation messages

* Fix

* Dont disable button in import name

* Fix form error messages

* Update snaps and TmFormMsg test

* Update tests and snaps

* Cleanup

* insecureMode: false

* Do not disable submit in TmSessionSignUp

* insecureMode: true

* Do not disable submit in TmSessionSignUpPassword

* Cleanup, fix button size

* Fix css

* Fix mobile css

* Cleanup, standarization

* More cleanup

* Rewrite tests 100% code coverage, update snaps

* Cleanup

* insecureMode: false

* show yarn audit

* change caching behaviour to use yarn.lock

* insecureMode: true

* insecureMode: false

* Debug param

* Allow disable InsecureMode in param

* Fix param type

* Debug

* Fix

* Cleanup

* Reset signup data in success

* Fix

* Reset signup data in success

* Fix

* Cleaner way

* Fix

* Update tests

* Add steps to SignUp flow

* Add steps to SignUp

* Fix

* Fix

* Fix

* Fix

* Damn path fix

* Fix CSS

* Change step name

* Add steps to SignUp flow

* Add steps to Import flow

* Merge ImportConfirm and ImportName in single step

* Fix routes

* Fix

* Fix test, update snaps

* Fix typo

* Update changes/colw_signup-steps

Co-Authored-By: Fabian <frznhope@gmail.com>

* Update insecure mode warning

* Update src/components/common/TmSessionImportSuccess.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/TmSessionSignUpSeed.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Lint

* Move up InsecureModeWarning

* Update snaps

* Add support for local type account in explore mode

* Reformat, cleanup, testing

* Cleanup

* Cleanup

* Fix cosmos address css

* Implement duplicate check name validation

* Implement duplicate name validator in sign up

* Update snaps

* Three steps in recover flow

* Remove unused route

* Three steps in create flow

* 100% code coverage, update snaps

* Fix title

* Change min name length to 3, fix test, upd. snaps

* Display errors inline, remove notifications

* Fix tests, update snaps

* Add TmSeed component

* Improve TmSeed, only show last 3 acc. in TmExplore

* Only show last 3 accounts in TmSessionExplore

* Improve testing of store modules, update snaps

* Fix PagePorfolio object error bug

* Add copy to clipboard

* Remove field name

* fixed tests

* security updates

* Merge develop, update snap

* Update test, improve code coverage

* Improved responsive behaviour

* changelog

* Add warning message

* Update snaps

* remove https

* updated android app version

* release-1.0.0-beta.130

* always set the encryption disclaimer

* changelog

* updated android app version

* [Simsala] automatic release created for v1.0.0-beta.131 (#3052)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.131

* [Simsala] automatic release created for v1.0.0-beta.132 (#3055)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.132

* updated android app version

* always set the encryption disclaimer

* changelog

* manually remove already added changelog

* Jordan/3054 mobile prep (#3067)

* made a bunch of capacitor, pods, ios updates to get build working in simulator

* new assets

* serve:ios command will run lunie and open xcode for nice dev flow

* add URL for live reload in iOS simulator

* stop zoom when focussed on inputs

* hide splash screen as soon as app loads and show status bar with nice amount of spacing at the right time

* lint

* changelog

* fix npm script for serving app with xcode

* in apps, logo will link to home instead of website

* hide steps on mobile for when keyboard pops up

* edit memo button shouldn't be centered

* remove denom field from send modal - not necessary while we only support 1 denom per network

* fix for broken lines on step component in mobile browsers

* lint

* update snaperoos

* lint styles

* fix snaperoos

* use correct values for e2e

* remove screenshots

* add chromedriver

* changelog

* lint

* Update src/components/common/AppHeader.vue

* missing snaps

* wait for block indicator to be available in e2e tests

* remove network form url in tests

* Resolve proposal proposer to moniker if it is a validator address (#3088)

* Resolve proposer addr to moniker if is a validator

* changelog

* Fix bug, update test and snaps

* Trigger CI

* Ch. origin/fabo/e2e-restructure by  origin/develop

* Fabo/e2e extension (#3082)

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* More debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Bug fix and cleanup, arg! :-)

* Nested routes in TmSessionImport components

* Cleanup

* Add route guards to /recover flow

* Testing

* Update snaps

* yarn upgrade

* Lint

* Rewrite test and update snap

* Cleanup

* More testing

* More basic testing and update snaps

* Lint

* Update buttons text

* Update snaps

* Cleanup

* Fix

* Fix msg

* Update snap

* Update button msg in /recover flow

* Update snaps

* Fix

* Update snaps

* Test store commits in TmSessionImportBackupCode

* Improve testing

* insecureMode: false

* Trigger CI

* Cleanup

* Debug testing issues

* insecureMode: true

* use submit function

* Fix test, update snaps

* insecureMode: false

* Cleanup

* Renam TmSessionImportBackupCode to TmSessionImport

* insecureMode: true

* Increase code coverage

* Cleanup

* Increase code coverage

* insecureMode: false

* Cleanup

* insecureMode: true

* Small TmBtn

* Fix

* Add .session-footer class css

* Move css to session.css

* Display full width buttons in mobile

* Go to Lunie instead of Back to Lunie

* Circle back button

* Css

* Debug mobile issue

* .form height: 95%;

* Revert, back button cursor: pointer

* Don't disable button

* Improve validation messages

* Fix

* Dont disable button in import name

* Fix form error messages

* Update snaps and TmFormMsg test

* Update tests and snaps

* Cleanup

* insecureMode: false

* Do not disable submit in TmSessionSignUp

* insecureMode: true

* Do not disable submit in TmSessionSignUpPassword

* Cleanup, fix button size

* Fix css

* Fix mobile css

* Cleanup, standarization

* More cleanup

* Rewrite tests 100% code coverage, update snaps

* Cleanup

* insecureMode: false

* show yarn audit

* change caching behaviour to use yarn.lock

* insecureMode: true

* insecureMode: false

* Debug param

* Allow disable InsecureMode in param

* Fix param type

* Debug

* Fix

* Cleanup

* Reset signup data in success

* Fix

* Reset signup data in success

* Fix

* Cleaner way

* Fix

* Update tests

* Add steps to SignUp flow

* Add steps to SignUp

* Fix

* Fix

* Fix

* Fix

* Damn path fix

* Fix CSS

* Change step name

* Add steps to SignUp flow

* Add steps to Import flow

* Merge ImportConfirm and ImportName in single step

* Fix routes

* Fix

* Fix test, update snaps

* Fix typo

* Update changes/colw_signup-steps

Co-Authored-By: Fabian <frznhope@gmail.com>

* Update insecure mode warning

* Update src/components/common/TmSessionImportSuccess.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/TmSessionSignUpSeed.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update src/components/common/DangerZoneWarning.vue

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Lint

* Move up InsecureModeWarning

* Update snaps

* Add support for local type account in explore mode

* proper exit of processes

* comments

* Reformat, cleanup, testing

* Cleanup

* Cleanup

* Fix cosmos address css

* Implement duplicate check name validation

* Implement duplicate name validator in sign up

* Update snaps

* Three steps in recover flow

* Remove unused route

* Three steps in create flow

* 100% code coverage, update snaps

* Fix title

* Change min name length to 3, fix test, upd. snaps

* Display errors inline, remove notifications

* Fix tests, update snaps

* Add TmSeed component

* Improve TmSeed, only show last 3 acc. in TmExplore

* Only show last 3 accounts in TmSessionExplore

* Improve testing of store modules, update snaps

* Fix PagePorfolio object error bug

* Add copy to clipboard

* Remove field name

* remove lunie-backend sub dir

* security updates

* fixed tests

* security updates

* Merge develop, update snap

* Update test, improve code coverage

* Improved responsive behaviour

* changelog

* Add warning message

* Update snaps

* remove https

* updated android app version

* release-1.0.0-beta.130

* always set the encryption disclaimer

* changelog

* updated android app version

* [Simsala] automatic release created for v1.0.0-beta.131 (#3052)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.131

* Apply suggestions from code review

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* Update tests/e2e/local-run.js

Co-Authored-By: Jordan Bibla <jbibla@gmail.com>

* [Simsala] automatic release created for v1.0.0-beta.132 (#3055)

* updated android app version

* always set the encryption disclaimer

* changelog

* release-1.0.0-beta.132

* updated android app version

* always set the encryption disclaimer

* changelog

* manually remove already added changelog

* Jordan/3054 mobile prep (#3067)

* made a bunch of capacitor, pods, ios updates to get build working in simulator

* new assets

* serve:ios command will run lunie and open xcode for nice dev flow

* add URL for live reload in iOS simulator

* stop zoom when focussed on inputs

* hide splash screen as soon as app loads and show status bar with nice amount of spacing at the right time

* lint

* changelog

* fix npm script for serving app with xcode

* in apps, logo will link to home instead of website

* hide steps on mobile for when keyboard pops up

* edit memo button shouldn't be centered

* remove denom field from send modal - not necessary while we only support 1 denom per network

* fix for broken lines on step component in mobile browsers

* lint

* update snaperoos

* lint styles

* fix snaperoos

* use correct values for e2e

* remove screenshots

* add chromedriver

* changelog

* lint

* Update src/components/common/AppHeader.vue

* new flow for extension e2e tests

* fix ci config

* correct order of checkouts

* install dependencies for extension

* use npm for extension

* don't use yarn in machine image

* fix missing package-lock for cache key

* use e2e branch to test if it works

* switch to call browserstack friendly host

* switch to script from package.json

* updated snaps

* switch to e2e branch

* remove network query parameter

* fix seed e2e test

* use network env variable

* remove assert like waitFor in nightwatch tests

* linted

* trigger CI

* trigger CI

* Revert "linted"

This reverts commit b2e72d88981e48865963cb15b431cd2b9b27a853.

* reverted removal of seed field

* switch backend in e2e to develop

* rebuild docker for e2e tests

* switch back to waitforelement

* working

* only stop the containers

* log maintenance response for debugging

* changed comments

* typo causing not checking if session window closed

* typo

* working quick script

* fixed e2e tests

* working

* fixed more tests

* working

* remove luniebackend

* ignore lunie-backend

* comments and exit handling

* fixed typo

* linted

* typo

* linted

* be more detailed about docker-compose arguments

* Revert "be more detailed about docker-compose arguments"

This reverts commit c77cfbcf2c7362c21b255695fedc5d33a920c813.

* Serve Lunie using http in e2e tests (#3092)

* Fabo/simplify e2e local (#2953)

* Debug

* Debug

* Debug

* Debug

* Bug fix and cleanup, arg! :-)

* Nested routes in TmSessionImport components

* Cleanup

* Add route guards to /recover flow

* T…
  • Loading branch information
faboweb authored Dec 6, 2019
1 parent 3bcf739 commit d904c5b
Show file tree
Hide file tree
Showing 26 changed files with 441 additions and 342 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,32 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

<!-- SIMSALA --> <!-- DON'T DELETE, used for automatic changelog updates -->

## [1.0.0-beta.148] - 2019-12-03
## [1.0.148] - 2019-12-05

### Added

- [#3199](https://github.com/cosmos/lunie/issues/3199) Now there is a close button also for mobile screen during the sign in flow @Bitcoinera
- [#3095](https://github.com/cosmos/lunie/issues/3095) Add the subscription to automatically update the user rewards @Bitcoinera
- defer loading intercom script @jbibla
- [#3078](https://github.com/cosmos/lunie/issues/3078) Improve design of Activity page and support multisend transactions @mariopino

### Changed

- [#3240](https://github.com/cosmos/lunie/issues/3240) Swithing to query batching @iambeone
- [#3247](https://github.com/cosmos/lunie/issues/3247) Use WebHID for Ledger on Windows and WebUSB for Ledger on OSX/Linux to improve stability @faboweb
- changed the image for lunie on open graph @jbibla

### Fixed

- Fix votes failing due to low gas estimate @faboweb
- [#3093](https://github.com/cosmos/lunie/issues/3093) Improve error control in PageProposal @mariopino
- [#3201](https://github.com/cosmos/lunie/issues/3201) Fix validators are not being resolved in blocks page @mariopino
- [#3237](https://github.com/cosmos/lunie/issues/3237) Workaround to fix wrong denom NDEFINED showed in Staking and Restaking transactions @mariopino

### Code Improvements

- Add again the withdraw-validator-commission to the list of message types in the messageTypes.js file @Bitcoinera

## [1.0.0-beta.147] - 2019-11-29

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lunie",
"version": "1.0.0-beta.148",
"version": "1.0.148",
"description": "Lunie is the staking and governance platform for proof-of-stake blockchains.",
"author": "Lunie International Software Systems Inc. <hello@lunie.io>",
"scripts": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"@dicebear/avatars": "3.1.4",
"@dicebear/avatars-jdenticon-sprites": "1.1.4",
"@lunie/cosmos-keys": "0.0.11",
"@lunie/cosmos-ledger": "0.0.5",
"@lunie/cosmos-ledger": "0.1.3",
"@sentry/browser": "5.7.1",
"@sentry/integrations": "5.7.1",
"apollo-boost": "^0.4.3",
Expand Down Expand Up @@ -128,4 +128,4 @@
"https-proxy-agent": ">=3.0.0",
"handlebars": ">=4.5.3"
}
}
}
20 changes: 2 additions & 18 deletions src/ActionModal/components/ActionModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
<FeatureNotAvailable :feature="title" />
</template>
<template v-else>
<p
v-if="session.windowsDevice && step !== successStep"
class="form-message notice"
>
{{ session.windowsWarning }}
</p>
<div v-if="requiresSignIn" class="action-modal-form">
<p class="form-message notice">
You're using Lunie in explore mode. Please sign in or create an
Expand Down Expand Up @@ -139,8 +133,8 @@
}}
</div>
<div v-else>
Please use Chrome, Brave, or Opera. Ledger is not supported in
this browser.
Please use Chrome or Brave. Ledger is not supported in this
browser.
</div>
</HardwareState>
<HardwareState
Expand Down Expand Up @@ -634,16 +628,6 @@ export default {
this.submissionError = null
this.trackEvent(`event`, `submit`, this.title, this.selectedSignMethod)
if (this.selectedSignMethod === SIGN_METHODS.LEDGER) {
try {
await this.connectLedger()
} catch (error) {
this.submissionError = `${this.submissionErrorPrefix}: ${error.message}.`
this.sending = false
return
}
}
const { memo } = this.transactionData
const gasPrice = {
Expand Down
18 changes: 16 additions & 2 deletions src/ActionModal/utils/signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,22 @@ export async function getSigner(

return async signMessage => {
const ledger = new Ledger(config)
const publicKey = await ledger.getPubKey()
const signature = await ledger.sign(signMessage)
let publicKey, signature
try {
publicKey = await ledger.getPubKey()
signature = await ledger.sign(signMessage)
} catch (err) {
/* istanbul ignore next: specific error rewrite */
if (err.message.trim().startsWith("Device is already open")) {
throw new Error(
"Something went wrong connecting to your Ledger. Please refresh your page and try again."
)
}
throw err
}

// cleanup. if we leave this open, the next connection will brake for HID
ledger.cosmosApp.transport.close()

return {
signature,
Expand Down
20 changes: 20 additions & 0 deletions src/components/common/TmBalance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,26 @@ export default {
// query if successful or not as even an unsuccessful tx costs fees
refetchNetworkOnly(this.$apollo.queries.overview)
}
},
blockAdded: {
variables() {
return {
networkId: this.network
}
},
query() {
return gql`
subscription($networkId: String!) {
blockAdded(networkId: $networkId) {
height
chainId
}
}
`
},
result() {
refetchNetworkOnly(this.$apollo.queries.overview)
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/TmDataError.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div slot="subtitle">
Even though you're connected a full node, we can't display this data for
you right now. Please try again later or
<a href="https://github.com/cosmos/voyager/issues">file a bug report</a>.
<a href="https://github.com/luniehq/lunie/issues">file a bug report</a>.
Apologies!
</div>
</TmDataMsg>
Expand Down
18 changes: 18 additions & 0 deletions src/components/common/TmDataNotFound.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<template>
<TmDataMsg icon="sentiment_very_dissatisfied">
<div slot="title">
Not found!
</div>
<div slot="subtitle">
We could not find the requested resource
</div>
</TmDataMsg>
</template>

<script>
import TmDataMsg from "common/TmDataMsg"
export default {
name: `tm-data-not-found`,
components: { TmDataMsg }
}
</script>
86 changes: 78 additions & 8 deletions src/components/common/TmSessionHardware.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,35 @@

<template v-if="session.browserWithLedgerSupport">
<div class="session-main">
<p v-if="session.windowsDevice" class="form-message notice">
{{ session.windowsWarning }}
</p>
<HardwareState :loading="status === `connect` ? false : true">
<template v-if="status === `connect` || status === `detect`">
<template v-if="isWindows && !hasHIDEnabled">
Using a Ledger on Windows requires experimental HID support in your
browser.
<template v-if="isChrome">
<br />
<br />
<p>
Please copy the link below into a new tab and 'enable' experimental web platform
features:
</p>
<div
v-clipboard:copy="hidFeatureLink"
v-clipboard:success="() => onCopy()"
class="copy-feature-link"
>
{{ hidFeatureLink }}
<i
class="material-icons copied"
:class="{ active: copySuccess }"
>
check
</i>
</div>
<br />
<br />
</template>
</template>
<template v-else-if="status === `connect` || status === `detect`">
<p>
Please plug in your Ledger&nbsp;Nano and open the Cosmos Ledger
app
Expand All @@ -21,7 +45,11 @@
</p>
<TmBtn
:value="submitCaption"
:disabled="status === `connect` ? false : `disabled`"
:disabled="
status === `connect` || (isWindows && !hasHIDEnabled)
? false
: `disabled`
"
@click.native="signIn()"
/>
</HardwareState>
Expand All @@ -30,8 +58,7 @@

<div v-else class="session-main">
<p>
Please use Chrome, Opera, or Brave. Ledger is not supported in this
browser.
Please use Chrome or Brave. Ledger is not supported in this browser.
</p>
</div>
</SessionFrame>
Expand All @@ -52,7 +79,10 @@ export default {
data: () => ({
status: `connect`,
connectionError: null,
address: null
address: null,
copySuccess: false,
hidFeatureLink: `chrome://flags/#enable-experimental-web-platform-features`,
navigator: window.navigator
}),
computed: {
...mapState([`session`]),
Expand All @@ -61,6 +91,16 @@ export default {
connect: "Sign In",
detect: "Waiting for Ledger"
}[this.status]
},
isWindows() {
return this.navigator.platform.indexOf("Win") > -1
},
hasHIDEnabled() {
return !!this.navigator.hid
},
isChrome() {
const ua = navigator.userAgent.toLowerCase()
return /chrome|crios/.test(ua) && !/edge|opr\//.test(ua)
}
},
methods: {
Expand All @@ -81,6 +121,12 @@ export default {
sessionType: `ledger`,
address: this.address
})
},
onCopy() {
this.copySuccess = true
setTimeout(() => {
this.copySuccess = false
}, 2500)
}
}
}
Expand Down Expand Up @@ -129,4 +175,28 @@ export default {
font-style: normal;
width: 100%;
}
.copy-feature-link {
display: initial;
font-size: 0.8rem;
cursor: pointer;
margin-bottom: 0.2rem;
color: var(--link);
}
.copy-feature-link .material-icons {
font-size: 12px;
}
.copy-feature-link .copied {
padding-bottom: 2px;
padding-right: 0;
transition: opacity 500ms ease;
color: var(--success);
opacity: 0;
}
.copy-feature-link .copied.active {
opacity: 1;
}
</style>
Loading

0 comments on commit d904c5b

Please sign in to comment.