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

Fabo/voyager web #1804

Merged
merged 117 commits into from
Jan 16, 2019
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
dfe8443
removed several electron references
Jan 3, 2019
99e1237
basic sign in working
Jan 3, 2019
54b7fb5
added scripts for backend
Jan 3, 2019
1b255c1
fixed sign in
Jan 4, 2019
24c3063
fied missing tmdataloading on tabparameters
Jan 5, 2019
605ab52
update to latest tendermint lib
faboweb Jan 5, 2019
699621a
added ssl cert creation readme
faboweb Jan 5, 2019
88d9f65
use nilyra node
faboweb Jan 5, 2019
ac1d988
correct wait for connection on app start
faboweb Jan 5, 2019
80b1132
updated webpack
Jan 5, 2019
f608bab
linted
Jan 6, 2019
b8c200e
updated webpack dev server to work again
Jan 6, 2019
7e2e1d0
import genesis at build time
Jan 6, 2019
de40af8
readd google analytics
Jan 6, 2019
fe1e864
fied tmfield
Jan 6, 2019
65be788
added networks to dev server
Jan 6, 2019
5dc8d80
fixed pageview
Jan 6, 2019
a9e29b2
reconnect on signin
Jan 6, 2019
915a822
Revert "reconnect on signin"
Jan 6, 2019
fbcdd2b
fixed bug on LiProposal
Jan 6, 2019
224db52
increased timeout for waiting for blocks to proof connection
Jan 6, 2019
ba4aefc
Update app/src/renderer/components/common/TmSessionSignIn.vue
fedekunze Jan 7, 2019
1727720
refactor keystore
Jan 9, 2019
795579a
fixed keystore issues
Jan 9, 2019
1882811
made analytics not global
Jan 9, 2019
922fbc7
cleanup package scripts
Jan 9, 2019
cb99b90
cleanup deps
Jan 9, 2019
b3bd8ac
fixes signin feedback
Jan 9, 2019
b99e4c3
enable transactions in prod mode
Jan 9, 2019
f2d624b
removed config.toml
Jan 9, 2019
50e3131
code cleanup
Jan 9, 2019
5b132e5
removed browserified dependencies
Jan 9, 2019
1daf718
Merge branch 'fabo/voyager-web' of https://github.com/cosmos/voyager …
Jan 9, 2019
634f3bb
several
Jan 9, 2019
e1451d2
several tests refactored
Jan 10, 2019
a07fe33
several
Jan 10, 2019
7c12fb1
several
Jan 11, 2019
1d729eb
several
Jan 11, 2019
6ce74c3
remove build test
Jan 11, 2019
aa89193
override write to clipboard in test
Jan 11, 2019
1063a40
more
Jan 11, 2019
1a06f3b
override copy to clipboard in test for btncopy
Jan 11, 2019
27dfc5a
fixed app menu test
Jan 11, 2019
ff1c885
add gos genesis
Jan 11, 2019
4108895
added proxy
Jan 11, 2019
1b011df
added to start script
Jan 11, 2019
daba935
remove logging in prxy
Jan 11, 2019
f684107
refactored connection tests
Jan 11, 2019
401fd0e
fixed tests
Jan 11, 2019
bb47c96
removed network config folder getter script
Jan 11, 2019
cb95dd3
refactored tests
Jan 11, 2019
29d229d
linted
Jan 11, 2019
62b7cef
Merge branch 'fabo/voyager-web' of https://github.com/cosmos/voyager …
Jan 11, 2019
5c1f18b
add wallet test
Jan 11, 2019
2ad991c
added tests for keystroe and wallet
Jan 11, 2019
1589fbd
added salt
Jan 11, 2019
58172b0
linted
Jan 11, 2019
2e0fd07
remove e2e tests for now
Jan 11, 2019
ae15184
Revert "remove e2e tests for now"
Jan 11, 2019
301c857
removed dependency ref
Jan 11, 2019
9b2f668
Merge remote-tracking branch 'refs/remotes/origin/develop'Conflicts: …
Jan 11, 2019
cd10062
changelog
Jan 11, 2019
3476070
reenable console error safe guard
Jan 11, 2019
ca1bb91
fixed snapshots
Jan 11, 2019
533e406
fixed session import
Jan 11, 2019
85f9b0c
redo local testnet creation
Jan 11, 2019
b265381
switched proxy
Jan 12, 2019
35a3b7f
migrate to latest SDK
Jan 12, 2019
d237fdf
add new generate_only logic
Jan 12, 2019
32b188d
Revert "redo local testnet creation"
Jan 11, 2019
e367a42
reenable testnet logic
Jan 12, 2019
f806f22
revert to working SDK
Jan 12, 2019
2678f3d
better start scripts
Jan 12, 2019
6089cee
added skip rebuild
Jan 12, 2019
d2d3639
fixed send snapshot
Jan 12, 2019
3240ce1
linted
Jan 12, 2019
08f7c20
moved to latest SDK
Jan 12, 2019
179aefd
make not creating the nodes the default
Jan 12, 2019
5f9806b
working gen and post
Jan 12, 2019
5541629
working
Jan 12, 2019
15f82b9
comments
Jan 12, 2019
9763faa
remove mnemonic from wallet
Jan 12, 2019
7f2ebf7
stripped console log
Jan 12, 2019
d259b4f
fixed lcdClient + tests
Jan 12, 2019
8521053
fixed send tests
Jan 12, 2019
a1d8da7
fix keystore tests
Jan 12, 2019
37b5172
added send tests
Jan 13, 2019
6659f24
remove caddy binary
Jan 13, 2019
0f2405e
latest working SDK patch
Jan 13, 2019
3f17b2b
reenable error handlers
Jan 13, 2019
5898084
removed commented lines
Jan 13, 2019
088d4d4
removed naviagtor mock
Jan 13, 2019
4f2fd77
fix session sign up
Jan 13, 2019
2d33ee2
cleanup of config
Jan 14, 2019
b3f117e
refactored waiting for node
Jan 14, 2019
079258b
made default gas a config value
Jan 14, 2019
4f095ca
fixed typo
Jan 14, 2019
2e7fa92
a
Jan 14, 2019
4abd6a6
refactor of keystore test
Jan 14, 2019
65fae41
fixed gas config
Jan 14, 2019
9b7d5f6
catch wrong password
Jan 14, 2019
0eb93a1
fixed tests
Jan 14, 2019
34e6e53
fixed tmformmsg
Jan 14, 2019
04dbf70
added coverage for getKey
Jan 14, 2019
ab15cdb
ignore some lines from coverage
Jan 14, 2019
ea5afba
increase coverage user.js
Jan 14, 2019
8d1df58
refactored request postprocessors
Jan 14, 2019
5e128b4
ignore coverage for network.js
Jan 14, 2019
4be4826
removed more theme
Jan 14, 2019
36683fb
added test for main
Jan 14, 2019
f98450b
ignore coverage in google analytics script
Jan 14, 2019
34957b1
removed more theme stuff
Jan 14, 2019
a5188df
disable e2e tests for now
Jan 14, 2019
b420490
go with 2 nodes as the third node fails currently
Jan 14, 2019
8e0d02d
fixed gas for proposal generation
Jan 15, 2019
760ccb3
Switch to photinos
fedekunze Jan 16, 2019
4cd9346
Fabo/1821 improve testnet and output (#1829)
faboweb Jan 16, 2019
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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/builds/
/testArtifacts
/test/unit/coverage/
/app/src/dependencies
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ yarn-error.log
testArtifacts/*
app/networks/local-testnet/*
.idea/*
*.crt
*.key
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/package.json
/test/unit/coverage/
/test/unit/tmp/
/app/src/dependencies
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,30 @@ yarn install

## Voyager Development

### Generate SSL certificates

To run Voyager please generate some ssl certificates for your local environment:

```bash
openssl req -x509 -nodes -days 365 -newkey rsa:2048 \
-keyout server_dev.key -out server_dev.crt \
-subj "/C=US/ST=CA/L=Irvine/O=Acme Inc./CN=localhost" \
-reqexts v3_req -reqexts SAN -extensions SAN \
-config \
<(echo -e '
[req]\n
distinguished_name=req_distinguished_name\n
[req_distinguished_name]\n
[SAN]\n
subjectKeyIdentifier=hash\n
authorityKeyIdentifier=keyid:always,issuer:always\n
basicConstraints=CA:TRUE\n
subjectAltName=@alt_names
[alt_names]
DNS.1 = localhost
')
```

To run Voyager on the default testnet:

```bash
Expand Down
5 changes: 1 addition & 4 deletions app/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
<meta charset="utf-8">
<title>Cosmos Voyager</title>
<% if (htmlWebpackPlugin.options.appModules) { %>
<!-- Add `app/node_modules` to global paths so `require` works properly in development -->
<script>
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.appModules.replace(/\\/g, '\\\\') %>')
</script>
<% } %>

<body style="background: #15182d">
<script async src='https://www.google-analytics.com/analytics.js'></script>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we package this with the app instead of making this call?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

<div id="app" style="background: #15182d"></div>
</body>

Expand Down
16 changes: 16 additions & 0 deletions app/src/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Cosmos Voyager",
"wds_port": 9080,
"lcd_port": 9070,
"lcd_port_prod": 9071,
"relay_port": 9060,
"relay_port_prod": 9061,
"default_tendermint_port": 26657,
"default_network": "game_of_stakes_3",
"node_lcd": "https://lcd.nylira.net",
"node_rpc": "https://rpc.nylira.net:443",
"google_analytics_uid": "UA-51029217-3",
"sentry_dsn": "https://4dee9f70a7d94cc0959a265c45902d84:cbf160384aab4cdeafbe9a08dee3b961@sentry.io/288169",
"node_halted_timeout": 120000,
"block_timeout": 10000
}
Loading