Commit Graph

259 Commits

Author SHA1 Message Date
Iuri Matias 087a2e8c6b
Merge branch 'master' into feature/deployment-strategy 2018-11-08 16:35:04 -05:00
Jonathan Rainville f50f106e07 fix(blockchain): fix setting proxy to false not applying 2018-11-07 12:37:01 -05:00
Anthony Laibe f9f4c28f72 feat: strategy for deployment
Allow implicit and explicit for deployment strategy
implicit: all contracts are deployed
explicit: only specified contracts are deployed

Default value: implicit
2018-11-07 14:51:57 +00:00
andrea zuccarini c25c644b5a include .sol import from ipfs 2018-11-05 21:09:48 +01:00
Jonathan Rainville 2564da3139 Enable downloading templates that don't have a master branch (#1019)
* fix no master branch repos for templates

* oopsie doopsie

* stub request and use async to get externalUrl
2018-10-31 21:48:06 +01:00
Anthony Laibe 9d1c3fc15c Fix test 2018-10-30 22:04:38 +01:00
André Medeiros ec9307c991
fix fs layer (#1004) 2018-10-30 17:25:57 +01:00
Andre Medeiros 6494bfb858 fixes 2018-10-29 17:55:17 +01:00
Iuri Matias ae346c9f44 update tests 2018-10-29 17:28:49 +01:00
Iuri Matias 21d329eb6e update test script 2018-10-29 17:12:43 +01:00
Iuri Matias 1f5029c9a8 fix tests 2018-10-29 17:07:51 +01:00
Andre Medeiros 4678359ce0
Remove another attack vector 2018-10-23 11:11:12 +02:00
Andre Medeiros 5db8185e5a
Update fs-extra; Unfuck package-lock.json 2018-10-23 11:11:12 +02:00
Andre Medeiros 26ff48bb15
Blacklist anything outside dapp or tmp root. 2018-10-23 11:11:12 +02:00
Jonathan Rainville ac155ddb86
conflict in specialconfigs 2018-10-22 19:54:46 +02:00
Jonathan Rainville 3980f69e34
remove useless test file 2018-10-22 19:54:44 +02:00
Cryptomental 47dcb1552c
console, dashboard: Add persistent, automatically loaded history.
Add persistent automatically loaded history file for repl console
and Embark dashboard.

Default location of the history file is stored in DEFAULT_CMD_HISTORY_PATH
pointing to DAPP_PATH/.embark/cmd_history.

The history is automatically saved and loaded on startup.

test/console: Pass Embark object to constructor.

Update console test to pass Embark object to constructor.

Refs: https://github.com/embark-framework/embark/issues/939
2018-10-22 19:54:43 +02:00
Dan Lipert 898ecfe293
Accept standard Ether units and update/add tests 2018-10-22 19:54:43 +02:00
Michael Bradley, Jr b995aac813
update tests 2018-10-22 19:53:49 +02:00
Giuseppe Bertone 81e798c89c
Add support for Parity
Addons
 - New chain initialization and genesis management
 - Option to choose client to use
 - Option to "ping forever" for Geth
 - Creation and unlock of accounts at client's start
 - Utility to fund accounts with ethers
 - Miner settings inside the ethereum client
 - Workaround to CORS problem: origin is now http://embark
 - Several double callback's checks

Updates
 - Boilerplate, templates, configuration files and demo stuff
 - Messages and i18n strings
 - Tests

Fixes
 - Geth client now uses miner.gastarget instead of the deprecated targetGasLimit
 - Workaround for shh_version with Parity

Reworks of other PRs into the new code
 - Included delayed proxy
 - Send ready only when the proxy is started
 - Start HTTP and WS proxies individually
 - Async setupProxy
 - Fixed datadir for GethMiner
2018-10-22 19:53:49 +02:00
Michael Bradley, Jr 96d7f08d70
[WIP] cli shim demo 2018-10-22 19:39:26 +02:00
bakaoh 109152730f
Add remapping when parse file to support embark-solc 2018-10-22 19:25:19 +02:00
Iuri Matias 352f409fd2 update tests 2018-09-29 19:13:38 -04:00
Michael Bradley, Jr 36eabda506 rev error handling so error msg from hosted-git-info would be logged 2018-09-25 09:20:59 -05:00
Michael Bradley, Jr 7dd18db9d1 rev test suite 2018-09-24 19:28:50 -05:00
Anthony Laibe f412df991c Fix test 2018-09-18 13:12:58 +01:00
Iuri Matias 5dfa07ef75 update compiler tests 2018-09-15 08:50:19 -04:00
Jonathan Rainville 600a1dfee8 fix test 2018-09-14 12:00:04 -04:00
eiselems c99d75c9f1 Extend template_generator to support git urls and branches
This change will also:
* upgrade calls from HTTP to HTTPS
* update / add some tests
See: #765
2018-09-06 02:09:46 +02:00
Andre Medeiros a93361f9fb Fix compiler warnings when running test suite 2018-09-05 12:38:42 -04:00
Iuri Matias 1f684aea94 update tests 2018-09-01 09:42:52 -04:00
Anthony Laibe e6911a5e15 Fix test 2018-08-31 19:01:00 +01:00
Iuri Matias 46076c8d4e
Merge pull request #751 from embark-framework/feature/embarkjs-console
Feature/embarkjs console
2018-08-31 07:46:54 -04:00
Anthony Laibe e0f73c7d22 Make console a module 2018-08-31 09:36:50 +01:00
Andre Medeiros 0230e29a8d Use matcher for error message instead of string 2018-08-30 13:29:33 -04:00
Andre Medeiros 05dea5844a Fix the way we pass compiler options instead of assuming via the environment 2018-08-30 13:27:18 -04:00
Anthony Laibe 234d2d39a1 Fix test 2018-08-30 11:17:44 +01:00
Andre Medeiros 824353fb32 Lint 2018-08-28 13:51:55 -04:00
Andre Medeiros 4c127d1192 Events 2018-08-28 11:27:37 -04:00
Andre Medeiros 5dcd679e12 Add for loops and variable declarations; Coverage improvements 2018-08-28 11:27:37 -04:00
Iuri Matias b4e118c85b update tests 2018-08-21 16:23:01 -04:00
Iuri Matias 5f6db0062d update tests 2018-08-21 16:11:07 -04:00
Iuri Matias 86a715abf7 update tests 2018-08-21 16:11:07 -04:00
Andre Medeiros f2939ae91b Address feedback 2018-08-21 16:09:48 -04:00
Anthony Laibe 27933774a9 Console command connect to ipc 2018-08-21 16:09:48 -04:00
Andre Medeiros b1498164a1 Don't dump temporary file 2018-08-21 16:09:13 -04:00
Andre Medeiros d1b2b87be3 Fix tests 2018-08-21 16:09:13 -04:00
Andre Medeiros 676f15fb49 Progress 2018-08-21 16:09:13 -04:00
Andre Medeiros 8e396a17d8 Progress 2018-08-21 16:09:13 -04:00
Iuri Matias 33666bd030 rename to cmd 2018-08-21 16:09:13 -04:00