257 Commits

Author SHA1 Message Date
Anthony Laibe
0aa151ee38 Adding light monitor 2018-07-23 10:36:59 +01:00
Anthony Laibe
eb2172a0f5 Adding Console Command 2018-07-23 09:34:21 +01:00
Michael Bradley, Jr
4058c08ff1 don't forward host/port cli options if the options weren't specified 2018-07-17 18:41:12 -05:00
Michael Bradley, Jr
dfaaa58ce0 propagate embark run cli webserver flags to config and service 2018-07-15 23:49:24 -05:00
Iuri Matias
0b0f092385
Merge pull request #617 from embark-framework/bug_fix/upload-build
set isDev as default if there is no blockchain file
2018-07-11 20:19:09 +03:00
Iuri Matias
54f8953430
Merge pull request #609 from embark-framework/refactor_storage_component
Refactor storage component
2018-07-11 20:18:01 +03:00
Jonathan Rainville
2a6d1cf3fe remove use of initConfig 2018-07-10 08:49:08 -04:00
Jonathan Rainville
325800bc59 set isDev as default if there is no blockchain file 2018-07-09 15:20:47 -04:00
Iuri Matias
a5c6c38b5e make linter happy 2018-07-08 00:46:15 +03:00
Iuri Matias
99876ef083 fix upload callback 2018-07-08 00:02:46 +03:00
Iuri Matias
44f5186af1 use commands to request upload; let storage component figure out which one to call 2018-07-07 18:11:45 +03:00
Iuri Matias
6bb8051d83 add todo 2018-07-07 16:59:00 +03:00
Iuri Matias
448593b36f move asset files check from index to pipeline; index shouldn't know about the internals 2018-07-07 16:51:24 +03:00
Iuri Matias
59478f19ff remove unused parameter 2018-07-07 16:34:56 +03:00
Iuri Matias
ee81b7e209 add support to download a template 2018-07-06 11:38:09 +03:00
Jonathan Rainville
95b20e2db9 only put isDev when specifically set 2018-06-27 14:32:21 -04:00
Iuri Matias
0ba5f1a1b3
Merge pull request #572 from embark-framework/bug_fix/embark-build-writes-pipeline
Fix for `embark build --contracts` writing into the pipeline
2018-06-25 13:54:07 -04:00
Jonathan Rainville
1e72a50b3b skip build if cmpile only 2018-06-22 11:12:34 -04:00
emizzle
53bda087fa Fix for embark build --contracts writing into the pipeline 2018-06-22 15:26:43 +10:00
emizzle
befa8e8f22 Fix for embark upload failing when embark-solc plugin is installed.
It was simply too fast with the solc plugin and the blockchain node was not yet ready before solc would try to compile and deploy, and would error out while estimating gas costs.
2018-06-22 15:17:51 +10:00
Jonathan Rainville
01277f6014 start web3 service so getGasPrice is available 2018-06-19 10:03:46 -04:00
emizzle
a100dd4260 Requested PR fixes
Added catch to live-plugin-manager install promise running in child process

Removed some `else`'s ;)

Only showing solc downloading spinner when `--nodashboard` option is used.

When installing package in main process and simultaneous downloads fail, all callbacks called with error.

Updated logging in npmTimer.
2018-06-15 17:06:59 -04:00
Jonathan Rainville
d90d591fdc fix after deploy and build files 2018-06-14 10:39:39 -04:00
Jonathan Rainville
8205f91802 enable loglevel for test logger and actually log 2018-06-13 09:44:19 -04:00
Richard Ramos
05f5a145f1 Added proxy to blockchain 2018-06-11 16:38:29 -04:00
Richard Ramos
339ffa5869 Adding proxy for simulator 2018-06-11 16:38:29 -04:00
Iuri Matias
c8b52a1746 fix errors handling so it doesn't attempt to continue building when there are fatal errors compiling contracts 2018-06-08 07:07:27 -04:00
Iuri Matias
6e424f36b0 use const instead of let 2018-06-02 10:06:58 -04:00
Iuri Matias
72e24f5e1b improve loading time by only doing require when needed 2018-06-02 09:54:32 -04:00
Iuri Matias
07e58bcd04 check window size in dashboard instead of index 2018-06-01 19:32:14 -04:00
Iuri Matias
eadbeb0498 use monitor as a service 2018-06-01 19:32:14 -04:00
Iuri Matias
37d54e22db refactor services monitor to use events instead of passing addCheck around 2018-06-01 19:32:14 -04:00
Jonathan Rainville
d76ab75c4a remove initTest 2018-06-01 13:44:54 -04:00
emizzle
a11047c681 Further fixes for starting dappConnection processes automatically
moved storage process launching to storage module

refactored all cases of storage url building to util methods

updated cors so that a processes will not include itself in cors list

changed child process command console output to trace, so it's visible when --logLevel == trace
2018-06-01 13:36:46 +10:00
emizzle
927f562a41 Fixed issue with CORS domains for auto-started geth, swarm, and ipfs processes.
Fixes after rebase:
* De-duped i18n en.json
* Re-built package-lock.json

Current WIP is auto-starting storage processes defined in dappConnection config.
2018-06-01 13:35:25 +10:00
emizzle
942a57aa3a Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
Currently stuck on starting multiple storage servcies at once. Might need  a change in storage config spec.

WIP.
2018-06-01 13:33:44 +10:00
emizzle
0cb79d84a0 Dynamic selection of storage provider now working based on improved storage config.
swarm plugin now re-initialises the bzz object when it's availability is checked. this creates a much more stable swarm implementation on the dapp side.

surrounded the storage provider init code block with embark env ready

added alternate swarm gateway url

can now upload dapp to ipfs and run swarm storage and vice versa
2018-06-01 13:30:01 +10:00
emizzle
f6667b6948 Storage config improvements start. Adjusted the config and have started to support those improvements through the codebase.
Currently stuck on starting multiple storage servcies at once. Might need  a change in storage config spec.

WIP.
2018-06-01 13:28:05 +10:00
Iuri Matias
1912981d7d move contract deploy code to contract deployer; move it to events 2018-05-30 13:38:08 -04:00
Jonathan Rainville
e35474f726 early return 2018-05-30 13:23:18 -04:00
Jonathan Rainville
b5d9a86680 start blockchain process at false and deploy on ready 2018-05-30 12:00:44 -04:00
Jonathan Rainville
3c7bdbf6cf set cors domain depending on the webserverConfig 2018-05-30 10:57:25 -04:00
Jonathan Rainville
ac7612136e start storage node on run too 2018-05-30 10:57:25 -04:00
Jonathan Rainville
e67fafdc29 conflict in en.json 2018-05-30 10:57:25 -04:00
Jonathan Rainville
70d3e6a46f conflict en.json 2018-05-30 10:57:25 -04:00
Jonathan Rainville
e3a93a6d61 add storageProcessesLauncher that can work for swarm or ipfs 2018-05-30 10:57:25 -04:00
Jonathan Rainville
56f25ebba1 clonflict for silent 2018-05-30 10:57:25 -04:00
Iuri Matias
8fa325a7af
Merge pull request #452 from embark-framework/DomainNameResolution
ENS Domain name resolution initial integration
2018-05-27 08:12:26 -04:00
VoR0220
f5a29c7f4d make namesystem service come from a config file for future development
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-05-25 12:25:02 -05:00
emizzle
5b4e829675 * Adds auto cors updates to geth command when blockchain started via run command.
* Fixes issues with storage/webserver configs not enabled but still having their values put in to geth cors
* Adds fixes for not including port when port  == false
* Refactors of cors logic, and also now in a generic location so can be used by both `embark blockchain` and when blockchain started in separate process
2018-05-25 11:00:26 +10:00