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
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
Iuri Matias
71510ddd57
add api registration to plugin
2018-07-12 11:28:09 +03:00
Iuri Matias
a8129a9c95
fix ws send; attempt to fix missing contractsState in ws
2018-07-12 11:22:59 +03:00
Iuri Matias
6c1c2e2927
add dashboard endpoint
2018-07-12 11:22:47 +03:00
Iuri Matias
c35420322c
add console support to the api
2018-07-12 11:22:47 +03:00
Iuri Matias
62506aaf68
send & parse JSON in the ws calls; add cb to avoid crash due to unavailable connection
2018-07-12 11:22:47 +03:00
Iuri Matias
53076fabee
trigger log events for all log levels
2018-07-12 11:22:47 +03:00
Iuri Matias
925ae068b0
send logs to ws
2018-07-12 11:20:56 +03:00
Iuri Matias
fd83cba4b7
add basic ws functionality
2018-07-12 11:18:56 +03:00
Iuri Matias
1ce80b3ce5
add 2nd endpoint to webserver; use express
2018-07-12 11:18:47 +03:00
RJ Catalano
4d473f0b34
Merge pull request #624 from embark-framework/use_package_web3
...
remove custom web3 js; use packaged one instead
2018-07-11 19:06:51 -05:00
Iuri Matias
3ed4d28970
remove custom web3 js; use packaged one instead
2018-07-12 01:04:10 +03:00
Jonathan Rainville
038d405af9
hotfix return if error
2018-07-11 15:40:45 -04:00
Iuri Matias
ae0b4d0eca
Merge pull request #623 from embark-framework/remove_old_stuff
...
Remove old grunt stuff
2018-07-11 22:09:34 +03:00
Iuri Matias
ff7a4bd1dd
Merge pull request #620 from embark-framework/features/bin-entry-ganache-cli
...
Features/bin entry ganache cli
2018-07-11 21:27:26 +03:00
Iuri Matias
29f5c342a3
remove unused dev dependencies
2018-07-11 21:21:01 +03:00
Iuri Matias
5a570ee870
remove old Gruntfile - good bye old friend
2018-07-11 21:20:48 +03:00
Iuri Matias
99af5f1817
Merge pull request #622 from embark-framework/features/ens-demo
...
Add ENS to Demo app and also add small fix
2018-07-11 21:20:25 +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
Michael Bradley, Jr
5e9573733e
include old `const ganache =` line in original pos wrt disabled code
2018-07-11 13:08:48 -05:00
Michael Bradley, Jr
765c7c4e4c
comment out `testrpc` (no-unused-vars)
2018-07-11 13:08:15 -05:00
Michael Bradley, Jr
1cae5bb02e
Embark's own ganache-cli will always be found
2018-07-11 13:01:27 -05:00
Michael Bradley, Jr
2072dff753
embark-ganache-cli -> ganache-cli-embark
2018-07-11 12:55:08 -05:00
Iuri Matias
4882333e85
Merge pull request #618 from embark-framework/bug_fix/deployment-stuck
...
Fix deployment getting stuck
2018-07-11 20:22:13 +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