Commit Graph

246 Commits

Author SHA1 Message Date
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
Jonathan Rainville 471a4b9efb oopsie 2018-05-23 11:19:12 -04:00
Jonathan Rainville 77fad169aa add process exit 2018-05-23 11:17:03 -04:00
Jonathan Rainville 4815555a89 remove engine onReady 2018-05-23 11:17:02 -04:00
Jonathan Rainville 6145c0b92c start node only when no node is present 2018-05-23 11:17:02 -04:00
Iuri Matias 315d8c2197 fix merge 2018-05-23 11:17:02 -04:00
Jonathan Rainville 4bdf469131 conflict in en.json 2018-05-23 11:17:02 -04:00
Jonathan Rainville e69b8bab56 conflict in en.json 2018-05-23 11:17:02 -04:00
Jonathan Rainville 2062f9032c conflict in en.json 2018-05-23 11:17:01 -04:00
Jonathan Rainville c6b555af4e use event for when engine is ready to deploy 2018-05-23 11:17:01 -04:00
Jonathan Rainville 3fcc36a7a1 launch blockchain in separate process
works but still cant getAccounts
2018-05-23 11:17:01 -04:00
Jonathan Rainville 5f3361d030 conflict in en.json 2018-05-23 11:16:56 -04:00