653 Commits

Author SHA1 Message Date
Jonathan Rainville
b1663af485 if no register config, dont register anything 2018-09-29 22:13:11 -04:00
Anthony Laibe
7af786e095 Remove code dependencies to underscore 2018-09-29 22:12:34 -04:00
Jonathan Rainville
500ef163a7 wip fixes 2018-09-29 22:07:27 -04:00
emizzle
55bd1e9b21 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-09-29 22:04:18 -04:00
Iuri Matias
f3f0e8c19f rebase fixes 2018-09-29 21:13:55 -04:00
Iuri Matias
79360ae3c2 fixes due to bad rebase 2018-09-29 20:55:31 -04:00
Iuri Matias
0c25ae2bbf fixes due to bad rebase 2018-09-29 20:55:31 -04:00
Iuri Matias
97b19d4a69 fixes due to bad rebase 2018-09-29 20:47:49 -04:00
Richard Ramos
9c51a6dc10 Changes based on code review
- Style changes for not requiring "else" in handlebar helpers
- Changed build to async
2018-09-29 20:37:08 -04:00
Richard Ramos
3f2f21a202 Fixing template 2018-09-29 20:37:08 -04:00
Richard Ramos
00cc39ea09 Reorganizing template 2018-09-29 20:37:08 -04:00
Richard Ramos
a8aae82f2f Uncommented error throwing 2018-09-29 20:37:08 -04:00
Richard Ramos
ebc7c4c19a Fixed plugin loading logic 2018-09-29 20:37:08 -04:00
Richard Ramos
3a5d58f271 Added payable functionality 2018-09-29 20:37:08 -04:00
Richard Ramos
efc6c79063 Disabling button while loading 2018-09-29 20:37:08 -04:00
Richard Ramos
86eefa5be6 Base logic for invoking send functions and showin results 2018-09-29 20:37:08 -04:00
Richard Ramos
cee87c4861 Alert for error invoking functions 2018-09-29 20:37:08 -04:00
Richard Ramos
7f2d706d9a Handling boolean parameters 2018-09-29 20:37:08 -04:00
Richard Ramos
521c6d36c1 Form generation for view/constant/pure functions 2018-09-29 20:37:08 -04:00
Richard Ramos
f66598bb79 Importing contract and bootstrap css 2018-09-29 20:37:08 -04:00
Richard Ramos
4c37d50d05 JS generation + embark.json configuration update 2018-09-29 20:37:08 -04:00
Richard Ramos
64f5a5f9a5 Addid basic templating to start building UI from here 2018-09-29 20:37:08 -04:00
Richard Ramos
d9026bbfb2 Adding base command logic for scaffolding generation 2018-09-29 20:35:35 -04:00
Anthony Laibe
5ca9892fcd Add IPNS demo 2018-09-29 20:35:35 -04:00
Iuri Matias
50124435d8 move blockchain connection code to its own module 2018-09-29 20:33:25 -04:00
Iuri Matias
72e43f3457 refactor blockchain check 2018-09-29 20:26:57 -04:00
Iuri Matias
f4d3a35887 cleanup 2018-09-29 20:26:57 -04:00
Iuri Matias
79e515ddb0 first stab at refactor blockchain launcher 2018-09-29 20:25:41 -04:00
Michael Bradley, Jr
7f6c2ba141 blockchain -- defaultHost, dockerHostSwap 2018-09-29 20:11:08 -04:00
Jonathan Rainville
5b5bcf9ddf only enabble register in dev 2018-09-29 20:11:08 -04:00
Jonathan Rainville
21a7f27de0 small cleanups 2018-09-29 20:07:26 -04:00
Jonathan Rainville
1654ae63db pre-dploy using the same function as register 2018-09-29 19:55:15 -04:00
Jonathan Rainville
c89a554fd8 if no register config, dont register anything 2018-09-29 19:55:15 -04:00
Jonathan Rainville
2cdb2ca194 add resolver contract 2018-09-29 19:52:08 -04:00
Anthony Laibe
4ee8b1078c Remove code dependencies to underscore 2018-09-29 19:52:08 -04:00
Jonathan Rainville
23803f3038 fix the indexOf instead by simulating what solc does 2018-09-29 19:48:06 -04:00
Jonathan Rainville
6611e899bb fix duplicate dependencies and warn correctly for length 2018-09-29 19:48:06 -04:00
Jonathan Rainville
2cd126b116 remove useless change 2018-09-29 19:47:39 -04:00
Jonathan Rainville
15ba457f60 wip fixes 2018-09-29 19:46:13 -04:00
emizzle
37764a0683 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-09-29 19:42:58 -04:00
emizzle
ffa2c44c96 Handle geth process exit via crash/kill and also via killing embark blockchain
First case - run `embark run` which starts a blockchain node, then manually kill the `geth` process. Would throw `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` error and ruins the dashboard.

Second case, 1) run `embark blockchain` 2) run `embark run` 3) kill `embark blockchain` throws the error `{ [Error: connect ECONNREFUSED 127.0.0.1:8543] message: 'connect ECONNREFUSED 127.0.0.1:8543', code: -32603 }` and ruins the dashboard.

The first case was solved by having the child blockchain process that spawns geth listen for geth exit, then kill itself.

The second case required updating of `eth-block-tracker` to v4.0.1 inside of the `embark-web3-provider-engine`. v4.0.1 was a major version update and introduced breaking changes. Those changes were handled inside of `embark-web3-provider-engine`, covered in **blocker** PR https://github.com/jrainville/provider-engine/pull/1.
2018-09-29 19:42:50 -04:00
Anthony Laibe
1b4e0c84f7 Add missing config
The configuration for test is not passed via the engine
2018-09-28 13:22:28 +01:00
Michael Bradley, Jr
ea6a63f754 Boolean() -> !! 2018-09-27 16:57:02 -05:00
emizzle
ce44e286c2 Handle case when socket not opened
If the socket is not already opened, listen for ‘open’ event before sending the `outputDone` data.
2018-09-27 17:06:51 -04:00
Anthony Laibe
734638a8a3 Fix websocket not open
Make sure the connection is open before
sending the event
2018-09-27 17:06:51 -04:00
Iuri Matias
b1b02f7518 restore ws functionality to webserver 2018-09-27 17:06:51 -04:00
StevenJNPearce
528f3f1857 Add browser reload on file change/rebuild
Add browser reload on file change/rebuild
2018-09-27 17:05:17 -04:00
Iuri Matias
69894d2e06
Merge pull request #916 from embark-framework/infura_fix
Infura fix
2018-09-26 19:04:26 -04:00
Iuri Matias
05962a288d lint is mother; lint is father 2018-09-26 18:57:55 -04:00
Iuri Matias
44dad44ef4 increase estimated gas slightly & randomly 2018-09-26 18:45:06 -04:00