Commit Graph

405 Commits

Author SHA1 Message Date
Eric Mastro 77d15a8645 added webserver config setting for `enableCatchAll` that allows for all non-static routes to be captured and sent to index.html for react route processing.
allowed backend tab to be accessible from `/embark`, `/backend`, and `/admin`

added contracts apis to support intended functionality in the backend tab

starting webserver service with plugins passed in to get api registrations

added filesystem methods for reading directories

removed duplicate method in plugin.js

updated avatar for backend tab (did not exist in SCM)

updated compiled contract properties for display (maybe they've changed)

updated console command to get web3 host
2018-07-12 16:42:43 +03:00
Eric Mastro 2416855205 React routes now work on page refresh. Use https://github.com/emizzle/embark-demo-react-routes as a sample dapp to run this repo's embark against.
/embark errors currently and crashes embark process. WIP

Few fixes from rebase.
2018-07-12 16:37:48 +03:00
Iuri Matias 300d2532aa fix rebase issues 2018-07-12 16:02:16 +03:00
Iuri Matias ef90df4060 add temporary fix to cases where logger doesnt have certain methods 2018-07-12 13:30:57 +03:00
Iuri Matias 7421a0091f add api registration to plugin 2018-07-12 13:18:58 +03:00
Iuri Matias cfc7266415 move logger api call into logger 2018-07-12 11:37:52 +03:00
Iuri Matias 71510ddd57 add api registration to plugin 2018-07-12 11:28:09 +03:00
Iuri Matias 53076fabee trigger log events for all log levels 2018-07-12 11:22:47 +03:00
Iuri Matias 0d5b3293af
Merge pull request #621 from embark-framework/security/update-deps
Update dependencies
2018-07-11 21:16:21 +03:00
Iuri Matias 0b0f092385
Merge pull request #617 from embark-framework/bug_fix/upload-build
set isDev as default if there is no blockchain file
2018-07-11 20:19:09 +03:00
Iuri Matias 54f8953430
Merge pull request #609 from embark-framework/refactor_storage_component
Refactor storage component
2018-07-11 20:18:01 +03:00
Andre Medeiros 21da13ab69 Fix failing test on blockchain 2018-07-11 11:38:58 -04:00
Jonathan Rainville 2a6d1cf3fe remove use of initConfig 2018-07-10 08:49:08 -04:00
Jonathan Rainville 325800bc59 set isDev as default if there is no blockchain file 2018-07-09 15:20:47 -04:00
Jonathan Rainville d0525c7e5b
Merge pull request #614 from embark-framework/bug_fix/events-dont-wrok
Just add back the gas cost PR
2018-07-09 11:25:25 -04:00
Iuri Matias d46ccb28c5
Merge pull request #612 from embark-framework/bug_fix/proxy-error-message
Fix proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]"
2018-07-09 10:59:38 +03:00
emizzle ee6124427a Proxy error message "Error forwarding requests to blockchain/simulator [Object(object)]" was showing in console. Have replace [Object(object)] with `error.message` 2018-07-09 09:51:25 +10:00
Iuri Matias 4aaf83a064 make linter happy 2018-07-09 01:21:27 +03:00
Iuri Matias 28a9b0e940 fix plugin call 2018-07-08 23:41:37 +03:00
Iuri Matias 0af55a4f5d fix console log for undefined params 2018-07-08 23:40:32 +03:00
Iuri Matias 9592f3e69b re-add register upload cmd api; refactor storage module initialization 2018-07-08 20:40:06 +03:00
Iuri Matias 31025fbd9b remove no longer used plugin cmd api 2018-07-07 18:11:58 +03:00
Iuri Matias 20f782607c move fuzer & gasEstimator to profiler module 2018-07-07 16:30:47 +03:00
Jonathan Rainville 8ec5d53aa4 display gas cost of each test 2018-07-06 15:11:19 -04:00
Iuri Matias ee81b7e209 add support to download a template 2018-07-06 11:38:09 +03:00
Jonathan Rainville e7eee572f4 fix when using mining script 2018-06-28 10:37:10 -04:00
Jonathan Rainville f29760e051 fix miner 2018-06-28 09:17:19 -04:00
Jonathan Rainville b6a6bf3e02 revert caca code 2018-06-27 14:32:21 -04:00
Jonathan Rainville 02e4c0257f conflict in package json 2018-06-27 14:32:13 -04:00
emizzle 9f33a05d82 Removed p-iteration from embark altogether.
Replaced usage in storage module (on dapp side) with async.js `detectSeries`
2018-06-27 10:51:53 +10:00
emizzle d32708fcde When communication is disabled in config, do not run the module in embark.
Previous to this change, `Geth: WARN [06-25|16:46:26] origin 'embark' not allowed on WS-RPC interface` would appear in the logs when the module was run while disabled.

Updated the cors component so that when `rpcCorsDomain` and `wsOrigins` are set to `'auto'`, and all components are disabled `rpcCorsDomain` and `wsOrigins` are passed as a null parameter to geth as opposed to being passed as `'auto'`.
2018-06-26 13:34:52 +10:00
Iuri Matias 9fb19ed78b
Merge pull request #569 from embark-framework/registration
Registrar deployment
2018-06-21 14:45:50 -04:00
VoR0220 e3bdbd520f bare bones bulk registration example spec
Signed-off-by: VoR0220 <catalanor0220@gmail.com>

add registrars to system

Signed-off-by: VoR0220 <catalanor0220@gmail.com>
2018-06-21 11:24:31 -05:00
Iuri Matias f16bb2c30b
Merge pull request #564 from embark-framework/features/whisper-cors
Added cors for whisper
2018-06-20 16:40:46 -04:00
emizzle 51eb5a1f65 Added cors for whisper 2018-06-20 16:19:25 +10:00
Jonathan Rainville 7f2f841e28 intercept logs by adding the name only 2018-06-19 15:01:03 -04:00
Jonathan Rainville 88cc4d05c0 enable logger to log multiple arguments 2018-06-19 15:00:51 -04:00
Iuri Matias 231e48cecb add todo 2018-06-18 11:37:23 -04:00
Iuri Matias b34ddf32cf refactor pluginPath 2018-06-18 11:27:29 -04:00
Iuri Matias e0e3887aaf add command event to add a contract file; fix internal plugin Path 2018-06-18 11:25:43 -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 6d4d904825 sort by internal so first ones are internal and plugins last 2018-06-14 16:58:03 -04:00
Iuri Matias 502788c7e0
Merge pull request #528 from embark-framework/cached_gas_issue
fix cached gas issue
2018-06-14 11:17:54 -04:00
Iuri Matias 5a2cf62ee5 reload config; create a config so it doens't damage original 2018-06-14 09:22:13 -04:00
Jonathan Rainville 37b69b43ff fix watch by not restarting anymore and enable config for contracts 2018-06-14 09:15:31 -04:00
Jonathan Rainville e1c5487ba4 fix callback already called on file download fail 2018-06-13 14:37:15 -04:00
Iuri Matias 4131cf42ef fix support for .json file in embark.json 2018-06-12 17:59:14 -04:00
Richard Ramos 8f52dd4cf3 Missing semicolon 2018-06-12 10:15:54 -04:00
Richard Ramos a9065b1eae Websocket handling 2018-06-12 08:50:49 -04:00
Richard Ramos a50e7c25a9 Not all messages received are json objects 2018-06-11 16:46:57 -04:00