Commit Graph

81 Commits

Author SHA1 Message Date
Jonathan Rainville 4e7a0389bb
fix eslint on EVERYTHING 2018-10-23 10:26:14 +02:00
Jonathan Rainville 21d8d84cca
conflict in api 2018-10-23 10:25:13 +02:00
Jonathan Rainville 640ec0b761
change route name 2018-10-23 10:23:44 +02:00
Jonathan Rainville 459d0cc2d6
small conflicts 2018-10-23 10:23:43 +02:00
Anthony Laibe e607d10edc
Adding Fetch Account UI 2018-10-23 10:22:38 +02:00
Anthony Laibe 8d8d3db316
Adding embark ui 2018-10-23 10:22:37 +02:00
Iuri Matias 5a67d87d59
re-add missing backend files 2018-10-23 10:21:40 +02:00
Iuri Matias 14a0396326
fix index.html 2018-10-23 10:21:39 +02:00
Iuri Matias f83989d677
fix branch 2018-10-23 10:21:39 +02:00
Iuri Matias cf9bebf538
fix identation 2018-10-23 10:21:39 +02:00
Iuri Matias 50740211da
cherry-pick features/react-routes 2018-10-23 10:21:39 +02:00
Iuri Matias 4e30ddeb1b
fix rebase issues 2018-10-23 10:21:39 +02:00
Richard Ramos 8da0d60b42
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-10-23 10:21:39 +02:00
Richard Ramos 42db8258e0
Allows copying commands to clipboard 2018-10-23 10:21:38 +02:00
Richard Ramos 92f1ac7576
Verifying if contract can be deployed or not 2018-10-23 10:21:38 +02:00
Richard Ramos 56afed906a
Added event to obtain list of contracts and show them on the dashboard 2018-10-23 10:21:38 +02:00
Richard Ramos 502d2c0dec
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-10-23 10:21:38 +02:00
Richard Ramos 1528dd9022
Added section to embark backend tab 2018-10-23 10:21:38 +02:00
Iuri Matias 21440505e1
first stab a backend tab 2018-10-23 10:21:37 +02:00
Richard Ramos c393754c52
Moving components 2018-10-23 10:21:36 +02:00
Iuri Matias 9ed4922367
move console api call into console 2018-10-23 10:20:09 +02:00
Iuri Matias 26d7e42218
move dashboard api into dashboard module 2018-10-23 10:20:09 +02:00
Iuri Matias 09390276bc
fix ws send; attempt to fix missing contractsState in ws 2018-10-23 10:20:09 +02:00
Iuri Matias be68625c01
add dashboard endpoint 2018-10-23 10:20:08 +02:00
Iuri Matias 8bf344e4a0
send & parse JSON in the ws calls; add cb to avoid crash due to unavailable connection 2018-10-23 10:20:08 +02:00
Iuri Matias ceb107f43b
send logs to ws 2018-10-23 10:20:08 +02:00
Iuri Matias 7bd6b9da8f
add basic ws functionality 2018-10-23 10:20:08 +02:00
Iuri Matias 0917acb02f
add 2nd endpoint to webserver; use express 2018-10-23 10:17:29 +02:00
Jonathan Rainville d7cd3a72c9
add message at the end of the first ouput 2018-10-22 19:43:15 +02:00
Moksh Jain 08c140b035
added webserver logging 2018-10-22 19:39:25 +02:00
emizzle 3e9abdcdd2
fix rebase 2018-10-22 19:33:40 +02:00
StevenJNPearce 5917e0cb5a
Add browser reload on file change/rebuild
Add browser reload on file change/rebuild
2018-10-22 19:30:12 +02:00
emizzle 58ba0549c4
Fix rebase 2018-10-22 19:30:12 +02:00
StevenJNPearce 3dbf0d3742
Add browser reload on file change/rebuild
Add browser reload on file change/rebuild
2018-10-22 19:25:19 +02:00
Anthony Laibe bdd5852b6c
Fix git merging badly 2018-10-22 19:25:19 +02:00
Cryptomental 34cafc77e8
webserver: Emit websocket outputError and show error on the landing page.
Whenever outputError is emitted by Ember, display error message on the landing page
and stop the page from refreshing every four seconds.

Refs: https://github.com/embark-framework/embark/issues/946
2018-10-22 19:25:17 +02:00
Anthony Laibe 684839b5aa
Use broadcast to avoid useless send 2018-10-22 19:25:16 +02:00
emizzle 1c27c3465b
Handle case when socket not opened
If the socket is not already opened, listen for ‘open’ event before sending the `outputDone` data.
2018-10-22 19:24:41 +02:00
Anthony Laibe 91d1e5a85e
Fix websocket not open
Make sure the connection is open before
sending the event
2018-10-22 19:24:41 +02:00
Iuri Matias 4b81968482
restore ws functionality to webserver 2018-10-22 19:24:41 +02:00
StevenJNPearce 3aad35209a
Add browser reload on file change/rebuild
Add browser reload on file change/rebuild
2018-10-22 19:13:50 +02:00
Iuri Matias 904c716d89
Merge pull request #856 from embark-framework/features/config-browser-open
cli and config options for browser auto-open
2018-09-18 13:11:55 -04:00
Anthony Laibe bdcefbe269 Add coverage to webserver 2018-09-18 14:28:17 +01:00
Michael Bradley, Jr 8acab6ef5b disable browser auto-open when webserver first starts, not the `open browser` console cmd 2018-09-17 18:47:19 -05:00
Michael Bradley, Jr d03cfebbdf supply radix -- make the linter happy 2018-09-17 18:13:21 -05:00
Michael Bradley, Jr ebcbc1efe6 if port === 0 (per cli or config), auto-assign a port 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr c6232de878 host from config (config has been merge w/ cli by core/config) 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr c685432ea2 pass port number through parseInt 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr 1b7aed8b80 openBrowser config option 2018-09-17 17:59:52 -05:00
Michael Bradley, Jr c360975e8f webServer svc doesn't need to handle cli opts (handled in core/config) 2018-09-17 17:59:52 -05:00