Jonathan Rainville
c818326f2e
test add config and contract and add test
2018-04-26 09:40:26 -04:00
Eric Mastro
4c39a3f589
Merge branch 'develop' into bug_fix/upload-to-swarm
2018-04-26 19:05:56 +10:00
emizzle
f59a187bce
Removed unused host/port options passed in to the swarm service.
2018-04-26 12:59:57 +10:00
Jonathan Rainville
fba491592d
add function to check if context has specified context
2018-04-25 10:57:23 -04:00
Jonathan Rainville
f39acbdd42
get context from cmd ran and use arrays of contexts
2018-04-25 10:34:17 -04:00
Jonathan Rainville
97e91d4c44
only log loaded plugins in list plugins and warn when plugin is not right
2018-04-24 15:53:19 -04:00
Jonathan Rainville
51c2c8f880
check context and on changing context, load plugins that work
2018-04-24 14:42:56 -04:00
emizzle
cc30ff390e
Implemented PR review changes
...
* Removed config init from `cmd.js` for upload.
* refactored `upload()` to use engine services instead of loading and using plugins directly.
* now passing web3 directly to the `Swarm` constructor
2018-04-24 10:27:11 +10:00
Iuri Matias
16909c7f1a
if version name doesn't have /, then just use the full name
2018-04-23 12:14:48 -04:00
Iuri Matias
782044ef7c
Merge pull request #375 from embark-framework/fix_package_management
...
Fix package management
2018-04-20 20:10:38 -04:00
Iuri Matias
41f04234d0
clean up
2018-04-20 19:52:51 -04:00
Iuri Matias
cf02a10656
use web3 naming instead of web3.js; check if package already exists
2018-04-20 19:45:57 -04:00
Jonathan Rainville
c212a9b90c
make sure all file names are using forward slashes
2018-04-20 13:40:41 -04:00
Jonathan Rainville
d48c971471
improve url regexes
2018-04-20 12:04:27 -04:00
Jonathan Rainville
c1bed28c00
code and test importing the http contract
2018-04-20 11:39:17 -04:00
Jonathan Rainville
9bf06aebce
refacotr how we handle files already parsed
2018-04-20 10:03:03 -04:00
Jonathan Rainville
abc89b2015
add code to parse all files to check for http imports
2018-04-20 09:52:13 -04:00
Jonathan Rainville
9cdcc4f6d4
add code to import in solcP
2018-04-19 15:25:26 -04:00
Jonathan Rainville
60fb6b14d4
downlaod import files
2018-04-19 15:25:26 -04:00
Jonathan Rainville
05b1f61c9b
download files in full path of url
2018-04-19 15:25:26 -04:00
Jonathan Rainville
6c5415b27f
base code for import parse
2018-04-19 15:25:26 -04:00
Iuri Matias
e1a9023bb2
Merge pull request #370 from embark-framework/feature/log-level-as-argument
...
Support setting log level as an argument
2018-04-19 13:03:00 -04:00
emizzle
96495b99c3
Support setting log level as an argument
...
* Add loglevel and logfile switch to `embark build`
* Support existing `loglevel` and `logfile` switch for `embark run/upload`
* make casing consistent for `loglevel` and `logfile`
* remove passing engine to `build()` and instead pass needed objects in options.
* prevent duplicate plugin initiation (above point)
* allow `Events` object to be passed to `Engine` constructor and `init()`
* prevent echo of upload commands to allow interception and control via logging
2018-04-19 14:25:43 +10:00
Jonathan Rainville
df226919c0
change file creation with using File.types
2018-04-18 15:02:50 -04:00
Jonathan Rainville
b931efcf7d
fix dir in contractsDirectory
2018-04-18 12:59:58 -04:00
Jonathan Rainville
9faf644c31
add loading in file.js but includes a patch to fix
2018-04-18 12:09:42 -04:00
Jonathan Rainville
ce34d40fe7
integrate downloadCOntract function in contract get function
2018-04-18 09:07:39 -04:00
Jonathan Rainville
2568ec1aec
implement the download function
2018-04-17 16:34:37 -04:00
Jonathan Rainville
cf14b3784f
add getUrl function for external contracts + tests
2018-04-17 15:07:00 -04:00
emizzle
d985a5ed69
Fixing `--logLevel` option for `embark run`
...
Intercepting logs for embark run and including logLevel for displayed logs.
2018-04-17 16:17:59 +10:00
Jonathan Rainville
dc9e6c168b
start vyper implementation
2018-04-13 14:59:01 -04:00
Iuri Matias
82726e07e1
Merge pull request #361 from embark-framework/graphviz-contracts
...
Graphviz contracts
2018-04-13 11:29:23 -04:00
Iuri Matias
5ed1e787b2
print error if contract file is not found
2018-04-12 20:30:20 -04:00
Iuri Matias
7dd36a7a3b
support getting contract from module; fix bug in which entire contract path was being replaced instead of just the beginning (if matching contracts in embark.json)
2018-04-12 18:50:47 -04:00
Iuri Matias
e3fde1ad22
support mapping contract file in contracts config
2018-04-12 17:54:08 -04:00
Iuri Matias
e0982e0427
Merge pull request #355 from embark-framework/bug_fix/node_name
...
restore properly display node name and version
2018-04-11 08:06:42 -04:00
Iuri Matias
9d261472f9
extract node name and version (so it displays just like in 2.6.0)
2018-04-10 15:14:00 -04:00
Iuri Matias
044759ef52
get node name and version
2018-04-10 15:08:08 -04:00
Iuri Matias
3a89b3f951
intercept dir and pass it to the logger
2018-04-09 15:24:01 -04:00
Richard Ramos
d038ed414d
Merge branch 'develop' of https://github.com/embark-framework/embark into graphviz-contracts
2018-04-05 11:35:19 -04:00
Iuri Matias
2ec7589f90
refactor to use dappPath
2018-04-02 15:30:16 -04:00
Iuri Matias
e0db5ed61a
refactor to use dappPath
2018-04-02 15:06:56 -04:00
Iuri Matias
10f7d21f81
fix tests, enable blockchain component by default
2018-04-02 14:44:55 -04:00
Iuri Matias
d3b0787895
eslint is king
2018-03-31 21:15:53 -04:00
Iuri Matias
02e407f90b
completly disable opted-out components
2018-03-31 21:08:25 -04:00
Iuri Matias
bab0171120
revert versions update for now; support granular config on embark json
2018-03-31 21:06:00 -04:00
Iuri Matias
03f0b07d81
support versions on embark json config
2018-03-31 19:35:20 -04:00
Iuri Matias
d5a21d579c
fallback to shelljs if pwd is empty (windows issue)
2018-03-26 15:08:07 -04:00
Richard Ramos
d7b33a309b
Changed logic of deploy manager to be able to only compile the code and not deploy it
2018-03-23 10:02:23 -04:00
Iuri Matias
9582efbe65
fix logger call
2018-03-15 17:18:20 -04:00
Iuri Matias
c1d258b819
add events to logger
2018-03-15 16:44:05 -04:00
Iuri Matias
83227beaa1
add option to specify a logfile to output the logs
2018-03-10 13:45:56 -05:00
Iuri Matias
445133cfdf
move setStatus from logger to event bus
2018-02-27 15:49:21 -05:00
Iuri Matias
66e9d6afa3
move contractsState from logger to event bus
2018-02-27 15:40:05 -05:00
Iuri Matias
96df409229
comply with linter
2018-02-24 09:26:43 -05:00
Iuri Matias
349807496a
improve directory copying
2018-02-23 20:36:11 -05:00
Iuri Matias
41baca4b51
don't redeploy if an asset has been changed and not a contract
2018-02-21 18:43:34 -05:00
Iuri Matias
3b60793b25
remove old jshint directives
2018-02-07 19:49:54 -05:00
Iuri Matias
639612579b
if no env present just return final object
2018-01-20 09:01:18 -05:00
Iuri Matias
b19194fc6b
refactor config code
2018-01-19 22:08:39 -05:00
Iuri Matias
10c4c75236
move tests related files to their own folder
2018-01-19 21:13:20 -05:00
hodlbank
07c6be968a
[+] Added beforeDeploy handlers.
...
[+] Plugins can call embark.registerBeforeDeploy() to register beforeDeploy handlers.
2018-01-17 23:04:19 +00:00
Iuri Matias
a322d03053
support external node in tests
2018-01-15 09:51:45 -05:00
Iuri Matias
ea8f3a2232
improve gas handling and errors
2018-01-13 11:38:10 -05:00
Iuri Matias
ef0bc04f77
clean up; fix gas requirements
2018-01-12 18:36:29 -05:00
Iuri Matias
e2aa46eac8
define default account for each contract
2018-01-12 18:06:51 -05:00
Iuri Matias
61c00819ec
add reset cmd
2018-01-11 09:22:58 -05:00
Iuri Matias
82681fec8f
support versioning ipfs-api
2018-01-10 11:15:32 -05:00
Iuri Matias
59642b4160
fix web3 versioning
2018-01-10 10:43:25 -05:00
Iuri Matias
4fcfc6c142
update whisper check
2018-01-05 15:30:52 -05:00
Iuri Matias
59c3d82260
update web3.js
2018-01-05 15:10:47 -05:00
Iuri Matias
c7f8698e58
refactor events handler so it can handle multiple args
2017-12-30 17:51:52 -05:00
Iuri Matias
3e1f16c673
update tests
2017-12-30 17:07:13 -05:00
Iuri Matias
11af38268b
refactor: get versions from module instead of config
2017-12-30 16:48:53 -05:00
Iuri Matias
dee49ec5ed
add createPlugin; move cmds to library managers
2017-12-30 15:52:51 -05:00
Iuri Matias
411ed41c84
fix console cmds api
2017-12-29 18:21:36 -05:00
Iuri Matias
cb5230f569
comply with linter
2017-12-29 08:46:01 -05:00
Iuri Matias
f00fa1c4aa
refactor; flatten property list
2017-12-29 08:26:31 -05:00
Iuri Matias
4c1adf258b
refactor: add method to get directly property
2017-12-29 08:08:04 -05:00
Iuri Matias
9ca337eeb1
extract storage provider
2017-12-28 17:42:25 -05:00
Iuri Matias
310712567f
move whisper to a module
2017-12-28 12:40:11 -05:00
Iuri Matias
e833ebd019
move ipfs embarkjs code to module
2017-12-28 12:16:50 -05:00
Iuri Matias
8de81c33bd
Merge branch 'develop' of github.com:iurimatias/embark-framework into develop
2017-12-28 07:00:17 -05:00
Iuri Matias
17a7dcf3e6
remove unsupported whisper protocol msg
2017-12-27 20:58:14 -05:00
Iuri Matias
750eace6ce
always define contract code so ondeploy cmds work
2017-12-27 11:40:21 -05:00
Iuri Matias
cff999def8
Merge branch 'develop' of github.com:iurimatias/embark-framework into develop
2017-12-27 08:21:15 -05:00
Iuri Matias
eaf9016c79
move ipfs service check to its module
2017-12-26 20:32:51 -05:00
Iuri Matias
50f1072372
move upload to its own module
2017-12-26 19:55:42 -05:00
Iuri Matias
cd0fd94386
updatests; include options
2017-12-22 13:07:43 -05:00
Iuri Matias
52953a1d0d
warn about cycling dependencies
2017-12-20 14:54:47 -05:00
Iuri Matias
bc34e00268
better errors when parsing invalid json
2017-12-19 12:57:03 -05:00
Iuri Matias
799da089af
refactor webserver code
2017-12-19 09:50:29 -05:00
Iuri Matias
76be683ed2
refactor webserver
2017-12-18 09:37:16 -05:00
Iuri Matias
14d330a729
fix webserver service check
2017-12-17 18:58:55 -05:00
Iuri Matias
113bb25142
add webserver start/stop cmd
2017-12-17 18:34:41 -05:00
Iuri Matias
8999d619c5
update tests
2017-12-16 17:55:27 -05:00
Iuri Matias
67dd4a22cb
update tests
2017-12-16 17:10:11 -05:00
Iuri Matias
ce4f75ddc4
extract solc to its own module
2017-12-16 17:08:18 -05:00
Iuri Matias
130b37f6fd
minor refactor
2017-12-16 11:48:20 -05:00
Iuri Matias
7e1493c039
clean up
2017-12-16 11:45:29 -05:00