Commit Graph

248 Commits

Author SHA1 Message Date
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
Iuri Matias 368b01d128 update tests 2018-08-21 16:09:13 -04:00
Iuri Matias d0ad16004b move cmd to cmd folder 2018-08-21 16:07:59 -04:00
Iuri Matias 20566067a5 update test 2018-08-21 16:07:59 -04:00
Iuri Matias dfbff4466f rename module 2018-08-21 16:07:58 -04:00
Iuri Matias 53d944e801 move contracts manager to its own module 2018-08-21 16:07:58 -04:00
Iuri Matias 29b0d01f22 move processes into core 2018-08-21 16:04:22 -04:00
Iuri Matias 999a260c24 update tests 2018-08-21 16:04:22 -04:00
Iuri Matias b0a71a86d4 move accountParser to utils 2018-08-21 16:04:22 -04:00
Iuri Matias 7fcc504873 fix requires 2018-08-21 16:03:35 -04:00
Iuri Matias 2f2b61da51 cleanup 2018-08-21 16:03:35 -04:00
Iuri Matias 5175b5710a update to fix tests 2018-08-21 16:02:18 -04:00