Commit Graph

457 Commits

Author SHA1 Message Date
Iuri Matias 8b5e3aa3ab adjust paths 2017-02-19 18:52:41 -05:00
Iuri Matias a8193277da start refactoring index.js 2017-02-19 13:18:43 -05:00
Iuri Matias 5e4ad9a7e5 reorder requires in a more logical manner 2017-02-19 13:17:28 -05:00
Iuri Matias 07d1631d9d move command history to its own module 2017-02-19 12:59:02 -05:00
Iuri Matias 1868788342 reorgnize code structure 2017-02-19 12:51:32 -05:00
Iuri Matias 8da0e80751 move fs methods into their own module 2017-02-19 11:37:54 -05:00
Iuri Matias 4e8546863c remove unnecessary calls() 2017-02-19 09:11:17 -05:00
Iuri Matias 19d35a563e replace glob matching functionality 2017-02-19 00:00:01 -05:00
Iuri Matias 38c98f16fa use nodejs http lib directly to check service status 2017-02-18 23:17:43 -05:00
Iuri Matias c312943248 use saner library to deal with fs 2017-02-18 22:40:42 -05:00
Iuri Matias 3f3a129276 isolate eval in a module 2017-02-18 16:53:49 -05:00
Iuri Matias a83cc6a44a move shelljs scopes to utils; require locally so it doesn't polute the global space 2017-02-18 16:06:39 -05:00
Iuri Matias 08ba95576d move request to utils module 2017-02-18 15:27:08 -05:00
Iuri Matias 2596eb5873 add missing require 2017-02-18 15:07:19 -05:00
Iuri Matias 86cd2a15d1 move merge to utils module 2017-02-18 14:45:57 -05:00
Iuri Matias 58b1f504d5 move grunt methods to utils module 2017-02-18 14:37:07 -05:00
Iuri Matias 833102d175 advice on typing --help when a wrong command is inputed 2017-02-18 14:22:45 -05:00
Iuri Matias 561caa9b0b move join path into utils module 2017-02-18 14:10:01 -05:00
Iuri Matias 55275136b0 clean up; remove unneded requires 2017-02-18 09:39:13 -05:00
Iuri Matias 68d4f5e2fa avoid intercepting logs when using cmds that don't need plugins and the logger 2017-02-18 09:23:19 -05:00
Iuri Matias 38aca05e28 remove unneded plugin dependency from abi 2017-02-18 09:09:36 -05:00
Iuri Matias 655114b394 add config to specify geth command 2017-02-18 08:55:33 -05:00
Iuri Matias 03a6b6c48d option added 2017-02-18 08:41:18 -05:00
Iuri Matias eb36af87b0 add support for the bootnodes config 2017-02-18 08:24:23 -05:00
Iuri Matias 566812696d take configuration options from config and command line arguments when running simulator 2017-02-18 08:01:03 -05:00
Andy Nogueira e6d998fd1a If no arguments are passed to embark, then display help by default 2017-02-17 14:34:07 -05:00
Iuri Matias c339732cd6 make compiler module async 2017-02-17 07:14:44 -05:00
Iuri Matias 27a3a9c3f2 clean up compiler file; remove unused code 2017-02-17 06:16:56 -05:00
Iuri Matias fcd88b9e4a reorder component initialization make log clearer; improve log messages to make them clearer 2017-02-15 20:56:18 -05:00
Iuri Matias 617d40086c add web3 to console help 2017-02-15 20:35:42 -05:00
Iuri Matias bd99a75048 advice user when an unknown command is typed in the console 2017-02-15 20:24:42 -05:00
Iuri Matias a511979cd1 make console output clearer 2017-02-15 20:08:47 -05:00
Iuri Matias 63da0773ae log creating directory as a trace log level 2017-02-15 19:32:29 -05:00
Iuri Matias 097088821b support generating abi file only 2017-02-15 19:27:23 -05:00
Iuri Matias 40ddfff425 support configuring simulator in the tests 2017-02-12 10:01:46 -05:00
Iuri Matias ff09e05965 fix for when maxpeers config is 0 2017-02-11 11:53:11 -05:00
Iuri Matias 6984c13ac6 read storage and communication config files; use & initialize storage depending on config 2017-02-10 07:44:06 -05:00
Iuri Matias d0c020dce5 update to 2.3.0 2017-02-08 06:38:26 -05:00
Iuri Matias f37bc46f8e fix specs; clarify production enviroment (livenet not production); exec testrpc directly 2017-02-08 06:31:57 -05:00
Iuri Matias 135c3c06a7 finclude transaction cost in gas estimation 2017-02-06 21:34:10 -05:00
Iuri Matias fc2c6a41ee cleanup 2017-02-06 21:08:11 -05:00
Iuri Matias 5840e57079 log pipeline file read on a trace level instead of info to reduce initial console log size 2017-02-06 07:03:14 -05:00
Iuri Matias e8db6dc8a0 fix tests 2017-02-06 06:55:42 -05:00
Iuri Matias 4e026fb6e7 support directories in pipeline 2017-02-06 06:51:27 -05:00
Iuri Matias 1cdcaee7d9 fix specs 2017-02-06 06:51:27 -05:00
Iuri Matias 0ec3fba352 if target is directory then copy files 2017-02-06 06:51:27 -05:00
Iuri Matias 6822a9b08c implement compiler plugin 2017-02-06 06:51:27 -05:00
Iuri Matias 2e9a4bb28a implement several plugins 2017-02-06 06:51:27 -05:00
Iuri Matias 352eadab98 add console plugin support 2017-02-06 06:51:26 -05:00
Iuri Matias 0e0b0c99d3 update docs 2017-02-06 06:51:26 -05:00
Iuri Matias 0b88d2fa69 show loading message; immediatly check for services instead of waiting 5 secs 2017-02-06 06:51:26 -05:00
Iuri Matias 136f099b57 remove console log 2017-02-06 06:51:26 -05:00
Iuri Matias b72a42cfb3 add plugin config options; update pipeline plugin implementation 2017-02-06 06:51:26 -05:00
Iuri Matias 4075490fee add plugin for pipeline 2017-02-06 06:51:26 -05:00
Iuri Matias ccdfaf61f2 implement plugin support: implement support for client-side web3 providers and contracts plugins 2017-02-06 06:51:26 -05:00
Daniel Benton ce6c10b4d1 Actually use the fucking `options` object when setting up tests 2017-02-04 22:57:46 -05:00
Daniel Benton 0942b710e3 Fix broken test deployment shit 2017-02-04 18:04:38 -05:00
Iuri Matias 361e1ec94a compatbility fix for latest geth 2017-02-03 07:01:59 -05:00
Iuri Matias 87f1e01dd9 clear noise from demo generation 2017-01-13 19:17:29 -05:00
Iuri Matias f7bbc1ddc2 update to 2.2.1 2017-01-13 07:46:36 -05:00
Iuri Matias 087578c8e6 add spec for contracs config; fix contracts arguments when it's an instanceOf 2017-01-12 20:42:33 -05:00
Iuri Matias 97a49f3136 update to 2.2.0 2017-01-11 06:57:57 -05:00
Iuri Matias d1cb5266ca Merge branch 'swarm' into develop 2017-01-08 15:47:43 -05:00
Iuri Matias 26f2ad7407 refactor ipfs and swarm code 2017-01-08 13:19:27 -05:00
Iuri Matias c53d92baa5 refactor deployments to upload command 2017-01-07 20:37:48 -05:00
Iuri Matias 15b8d9b33e supporting uploading dapp to swarm 2017-01-07 16:52:29 -05:00
Iuri Matias 13cf92a4f5 add orbit to embarkjs 2017-01-07 00:03:03 -05:00
Steven Ireland 30b03383ee fix bug with adjusting gas 2016-12-26 11:47:57 -05:00
Iuri Matias 910cee5431 Merge branch 'develop' of github.com:iurimatias/embark-framework into develop 2016-12-02 06:51:10 -05:00
Iuri Matias 004d1eecf4 add missing return to determineArguments method 2016-12-02 06:48:32 -05:00
Iuri Matias f31a78754f Merge pull request #203 from webpolis/webpolis-patch-1
Add missing argument
2016-12-02 06:19:50 -05:00
Nicolas Iglesias cae39d85be embark build wasn't deploying assets 2016-11-28 17:14:39 -03:00
Nicolas Iglesias a100d307ff Add missing argument 2016-11-27 13:59:54 -03:00
ed0wolf 668e0be0c3 Setting web3 on Embark Test constructor so it can be used before deploying contracts 2016-11-08 09:31:02 +00:00
Iuri Matias 0a26fa98ce define version in the main object 2016-10-30 22:37:06 -04:00
Iuri Matias 59f9d9fdf0 handle errors 2016-10-30 22:04:25 -04:00
Iuri Matias c7bd478dde handle error if no accounts are found 2016-10-30 21:56:19 -04:00
Iuri Matias b01f18916e return callback 2016-10-30 21:52:58 -04:00
Iuri Matias eb7c89045e log any error with the services 2016-10-30 21:47:21 -04:00
Iuri Matias c893c34fd2 add errors in test 2016-10-30 21:35:08 -04:00
Iuri Matias 52244cca8e move gas adjust to its own method 2016-10-30 21:31:29 -04:00
Iuri Matias 99c528c230 simplify method dealing with instanceOf 2016-10-30 20:48:16 -04:00
Iuri Matias 5c283b5232 support maxpeers option 2016-10-30 20:35:11 -04:00
Iuri Matias 6920ae9481 refactor to use commonOptions method 2016-10-30 20:21:28 -04:00
Iuri Matias a5bc17f0de use config port when calling geth 2016-10-30 20:15:57 -04:00
Iuri Matias e58671e742 refactor common geth command options into the a common method 2016-10-30 20:08:45 -04:00
Iuri Matias 0a2a26fd29 fix network config type 2016-10-30 20:01:25 -04:00
Iuri Matias 5c05b7f8d9 simplify whisper config condition 2016-10-30 19:53:23 -04:00
Iuri Matias 88bdd662de refactor determining method arguments 2016-10-30 19:38:40 -04:00
Iuri Matias df7ff3916f handle error on deploy all 2016-10-30 19:28:45 -04:00
Iuri Matias e44bd3a22e handle error on contract deplyoment 2016-10-30 19:22:09 -04:00
Iuri Matias ac67c80576 return callbacks 2016-10-30 19:17:31 -04:00
Iuri Matias c30a289945 handle error if no accounts are found 2016-10-30 19:14:38 -04:00
Iuri Matias 67074ee60f update to 2.1.3 2016-10-30 08:57:44 -04:00
Iuri Matias 0524b17309 update to 2.1.3 2016-10-30 08:56:13 -04:00
Iuri Matias a9fbd5f6a5 make --no-color option available 2016-10-29 22:35:22 -04:00
Iuri Matias 7bccb73f01 support --dashboard option 2016-10-29 22:30:41 -04:00
Iuri Matias 655f56f893 support --noserver option 2016-10-29 22:00:54 -04:00
Iuri Matias 60285ea1c0 support specifying web server hostname through -b option 2016-10-29 21:41:50 -04:00
Iuri Matias caaf3acde5 use path join 2016-10-29 14:13:06 -04:00
Iuri Matias 41273a4517 remove trailing commas 2016-10-29 14:07:42 -04:00
Iuri Matias 06879ccdd6 return callback 2016-10-29 13:55:06 -04:00
Iuri Matias 549e33317b use path join 2016-10-29 13:50:54 -04:00
Iuri Matias 60f487da38 use path join 2016-10-29 12:35:16 -04:00
Iuri Matias bd3b05bb00 refactor condition to avoid checking for void 0 2016-10-29 12:24:13 -04:00
Iuri Matias 814c2bc4a4 return callbacks 2016-10-29 12:15:50 -04:00
Iuri Matias 9a09e206ae refactor contract build method 2016-10-29 12:02:07 -04:00
Iuri Matias 215a823c35 update to 2.1.2 2016-10-29 11:16:43 -04:00
Iuri Matias 00dd8ecf91 display compilation and/or deployment error in the logs and status instead of crashing 2016-10-29 11:08:10 -04:00
Iuri Matias 816e67370a refactor duplicated build & deploy process 2016-10-29 10:33:54 -04:00
Iuri Matias c9a52c11b0 update to 2.1.1 2016-10-25 19:44:12 -04:00
Iuri Matias 19735884c0 add support for -p option in embark run to specify web server port 2016-10-25 19:33:24 -04:00
Iuri Matias a6397b3fe9 update to 2.1.0 2016-10-24 06:14:35 -04:00
Iuri Matias 3ea6e53218 get contract from contract list, not compiled contracts 2016-10-23 11:15:35 -04:00
Iuri Matias 42fd369cf4 remove trailing commas 2016-10-22 20:16:00 -04:00
Iuri Matias 9de3d20ee9 remove trailing commas 2016-10-22 20:10:25 -04:00
Iuri Matias 4b1a16b100 add jshint exceptions and TODO 2016-10-22 17:29:06 -04:00
Aleš Katona 835047c755 fix lint errors 2016-10-22 13:29:41 -06:00
Iuri Matias 4989876135 display ethereum node name and embark version in available services 2016-10-22 12:11:47 -04:00
Iuri Matias f337ffd418 clarify web3 error msg 2016-10-22 11:57:36 -04:00
Iuri Matias bcdba3f8bc clarify gas amount msg 2016-10-22 11:48:47 -04:00
Iuri Matias ae3bcb1060 fix gas settings; add information of gas used with deployment 2016-10-22 09:42:52 -04:00
Iuri Matias d05cf90b5b display error in contract status 2016-10-21 07:16:15 -04:00
Iuri Matias 907a358e5b add some tabs to adjust status message 2016-10-20 23:34:31 -04:00
Iuri Matias f747c757c5 if the contract is set to not deploy, display information correctly on the dashboard 2016-10-20 23:31:42 -04:00
Iuri Matias 727e2d0923 set the default limit if the contract deploy option is false 2016-10-20 23:22:31 -04:00
Iuri Matias bf509e8b27 don't return a contract from the chains.json if it has no address 2016-10-20 23:21:32 -04:00
Iuri Matias f9dbbd9243 update to 2.0.1 2016-10-19 07:38:32 -04:00
Iuri Matias fa17170878 add version number to cmd 2016-10-16 12:41:28 -04:00
Iuri Matias 23a7f03cc4 add more tests; fix issue with selecting selecting non-default environment contract configuration 2016-10-15 15:54:19 -04:00
Iuri Matias 5a6a9e8b94 join serpent and solidity contracts 2016-10-15 08:22:18 -04:00
Iuri Matias 969e4015cb add test for abi and blockchain config; fix whisper config 2016-10-14 07:01:54 -04:00
Iuri Matias ab42ae92d5 support nodiscover option; add warnings to cors settings 2016-10-07 07:15:29 -04:00
Iuri Matias 47736b6eed add check for ipfs 2016-10-06 07:40:24 -04:00
Iuri Matias a19a690d3d fix relative paths to js files 2016-10-06 07:40:24 -04:00
Iuri Matias 8a1fd3a165 jshint it 2016-10-06 07:40:24 -04:00
Iuri Matias 8711b75462 add support for more simulators 2016-10-06 07:40:24 -04:00
Iuri Matias 9d6e7b79bd implement onDeploy 2016-10-06 07:40:24 -04:00
Iuri Matias fcc808b9f4 add ipfs and tests cmd 2016-10-06 07:40:24 -04:00
Iuri Matias b0458c6fab fix logging in test 2016-10-06 07:40:23 -04:00
Iuri Matias 5ae091ffb5 refactor ipfs module 2016-10-06 07:40:23 -04:00
Iuri Matias fb41ce8a66 remove old files 2016-10-06 07:40:23 -04:00
Iuri Matias ed6b1fd5c2 implement test functionality 2016-10-06 07:40:23 -04:00
Iuri Matias 97954ead32 refactor contract builder 2016-10-06 07:40:23 -04:00
Iuri Matias 4b4b15f405 add support for static addresses in contracts config 2016-10-06 07:40:23 -04:00
Iuri Matias 2b6e5e834a support instanceOf config 2016-10-06 07:40:23 -04:00
Iuri Matias 2a8f0635b9 implement contract dependencies 2016-10-06 07:40:23 -04:00
Iuri Matias d21f385fc0 fix rpccorsdomain; deployment to livenet and testnet 2016-10-06 07:40:23 -04:00
Iuri Matias 2e79299f14 cleanup; add todo to add other items to chains file 2016-10-06 07:40:23 -04:00
Iuri Matias 3d672a0f63 make sure code exists when tracking it 2016-10-06 07:40:23 -04:00