Commit Graph

2847 Commits

Author SHA1 Message Date
Eric Mastro 03090b8d85 add newline at end of file 2018-07-12 16:31:22 +03:00
Eric Mastro 1b9d122e8c Removed unneeded console.log.
Removed unneeded spaces.
2018-07-12 16:31:22 +03:00
Eric Mastro 73b6378171 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:31:22 +03:00
Eric Mastro 7ea705fddc 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:23:30 +03:00
Eric Mastro 44dced6e8a updated package-lock after rebase 2018-07-12 16:22:14 +03:00
Iuri Matias f4d662534d add temporary fix to cases where logger doesnt have certain methods 2018-07-12 16:22:02 +03:00
Iuri Matias 6cdb217cda add basic ws functionality 2018-07-12 16:20:24 +03:00
Iuri Matias 217f2cb280 first stab a backend tab 2018-07-12 16:20:24 +03:00
Iuri Matias 49525fa42d move logger api call into logger 2018-07-12 16:20:24 +03:00
Iuri Matias ca5f0427ec move console api call into console 2018-07-12 16:20:24 +03:00
Iuri Matias 5912d7be98 move dashboard api into dashboard module 2018-07-12 16:20:24 +03:00
Iuri Matias 324555d8ee add api registration to plugin 2018-07-12 16:20:24 +03:00
Iuri Matias f452357c29 fix ws send; attempt to fix missing contractsState in ws 2018-07-12 16:20:24 +03:00
Iuri Matias de01a5f9a3 add dashboard endpoint 2018-07-12 16:20:24 +03:00
Iuri Matias 20c111b742 add console support to the api 2018-07-12 16:20:24 +03:00
Iuri Matias e7b22b9207 send & parse JSON in the ws calls; add cb to avoid crash due to unavailable connection 2018-07-12 16:20:24 +03:00
Iuri Matias 0effab5d56 send logs to ws 2018-07-12 16:20:24 +03:00
Iuri Matias 0bb5d9b450 add basic ws functionality 2018-07-12 16:20:24 +03:00
Iuri Matias 306578e8f5 add 2nd endpoint to webserver; use express 2018-07-12 16:20:24 +03:00
Iuri Matias bc156644ab first stab a backend tab 2018-07-12 16:20:24 +03:00
Iuri Matias d082012882 move console api call into console 2018-07-12 16:18:31 +03:00
Iuri Matias 3175b0da8f move dashboard api into dashboard module 2018-07-12 16:17:31 +03:00
Iuri Matias 907f5ebdaa add api registration to plugin 2018-07-12 16:16:09 +03:00
Iuri Matias 4554face77 fix ws send; attempt to fix missing contractsState in ws 2018-07-12 16:14:46 +03:00
Iuri Matias 6222551fcf add console support to the api 2018-07-12 16:13:58 +03:00
Iuri Matias 2576efde82 add 2nd endpoint to webserver; use express 2018-07-12 16:13:08 +03:00
Iuri Matias 300d2532aa fix rebase issues 2018-07-12 16:02:16 +03:00
Richard Ramos 0067798535 Fixing function invokation and result showing
- Booleans weren't being sent correctly (it always assumed true)
- Booleans now are shown on the results
- Handling result visualization when there's more than one parameter
2018-07-12 13:30:57 +03:00
Iuri Matias ef90df4060 add temporary fix to cases where logger doesnt have certain methods 2018-07-12 13:30:57 +03:00
Richard Ramos e10641b1a0 Allows copying commands to clipboard 2018-07-12 13:30:06 +03:00
Richard Ramos f43615a8db Verifying if contract can be deployed or not 2018-07-12 13:30:06 +03:00
Richard Ramos d9f2655721 Added event to obtain list of contracts and show them on the dashboard 2018-07-12 13:30:06 +03:00
Richard Ramos d40f73bdd1 Handling errors and UI reorganization / features
- UI shows error screen if contract doesn't exist or fails fetching data
- Menu shows selected state and icons can be specified
- Component created for card alerts
2018-07-12 13:30:06 +03:00
Richard Ramos e8dbf2be26 Added section to embark backend tab 2018-07-12 13:30:06 +03:00
Iuri Matias a297f10af0 track original filepath of the contract 2018-07-12 13:30:06 +03:00
Iuri Matias 1b32122557 add event and API endpoint to get the contract sourcecode 2018-07-12 13:29:34 +03:00
Iuri Matias b324061e2b add event and API end poitn to get the JSON info of a contract 2018-07-12 13:27:44 +03:00
Iuri Matias 1d08d3e8bd first stab a backend tab 2018-07-12 13:27:44 +03:00
Iuri Matias 0ebe38b8d2 move console api call into console 2018-07-12 13:25:00 +03:00
Iuri Matias 3ea827fb58 move dashboard api into dashboard module 2018-07-12 13:23:41 +03:00
Iuri Matias 7421a0091f add api registration to plugin 2018-07-12 13:18:58 +03:00
Iuri Matias c86a9ad578 fix ws send; attempt to fix missing contractsState in ws 2018-07-12 13:17:47 +03:00
Iuri Matias 6ead0f4bed add console support to the api 2018-07-12 13:16:37 +03:00
Iuri Matias a8e35864c1 send logs to ws 2018-07-12 13:14:30 +03:00
Richard Ramos 34c3882250 Moving components 2018-07-12 11:41:39 +03:00
Richard Ramos 2ded5eb082 Components for Contract UI 2018-07-12 11:41:39 +03:00
Iuri Matias 6ab188b10c first stab a backend tab 2018-07-12 11:41:39 +03:00
Iuri Matias cfc7266415 move logger api call into logger 2018-07-12 11:37:52 +03:00
Iuri Matias 3d5ceb74be move console api call into console 2018-07-12 11:32:39 +03:00
Iuri Matias 8e9a357448 move dashboard api into dashboard module 2018-07-12 11:32:07 +03:00