42 Commits

Author SHA1 Message Date
Anthony Laibe
d5b9ec608a Adding home container 2018-09-30 11:23:09 -04:00
Jonathan Rainville
56e5990b1e conflict in api 2018-09-30 11:19:26 -04:00
Jonathan Rainville
94e67c1c67 change route name 2018-09-30 11:16:37 -04:00
Jonathan Rainville
0ef26bb188 small conflicts 2018-09-30 11:14:18 -04:00
Anthony Laibe
e6d6b66795 Adding Fetch Account UI 2018-09-30 11:09:15 -04:00
Anthony Laibe
40a7a31b0f Adding embark ui 2018-09-30 11:06:14 -04:00
Iuri Matias
bbf4f58359 fix branch 2018-09-30 11:02:53 -04:00
Iuri Matias
abf9e875ca fix identation 2018-09-30 11:00:10 -04:00
Iuri Matias
f6d4d088db cherry-pick features/react-routes 2018-09-30 10:59:18 -04:00
Iuri Matias
e00f4cb0b4 fix rebase issues 2018-09-30 10:55:21 -04:00
Iuri Matias
9645bea34b move console api call into console 2018-09-30 10:45:12 -04:00
Iuri Matias
e5a355441c move dashboard api into dashboard module 2018-09-30 10:39:13 -04:00
Iuri Matias
3d76191cae fix ws send; attempt to fix missing contractsState in ws 2018-09-30 10:37:13 -04:00
Iuri Matias
33dd94933e add dashboard endpoint 2018-09-30 10:37:13 -04:00
Iuri Matias
ae4a1e222e send & parse JSON in the ws calls; add cb to avoid crash due to unavailable connection 2018-09-30 10:35:53 -04:00
Iuri Matias
00d29c9fe8 send logs to ws 2018-09-30 10:35:53 -04:00
Iuri Matias
a7824b6b37 add basic ws functionality 2018-09-30 10:33:30 -04:00
Iuri Matias
6e5d21f329 add 2nd endpoint to webserver; use express 2018-09-30 10:32:18 -04:00
emizzle
ce44e286c2 Handle case when socket not opened
If the socket is not already opened, listen for ‘open’ event before sending the `outputDone` data.
2018-09-27 17:06:51 -04:00
Anthony Laibe
734638a8a3 Fix websocket not open
Make sure the connection is open before
sending the event
2018-09-27 17:06:51 -04:00
Iuri Matias
b1b02f7518 restore ws functionality to webserver 2018-09-27 17:06:51 -04:00
StevenJNPearce
528f3f1857 Add browser reload on file change/rebuild
Add browser reload on file change/rebuild
2018-09-27 17:05:17 -04: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
d4be16ba3c move reporting to final callback 2018-09-04 08:20:58 -05:00
Michael Bradley, Jr
b67aa8cc2d best practice re: early return w/ callback invocation 2018-09-04 08:20:27 -05:00
Michael Bradley, Jr
7d65c2b0cd rename placeholder event: 'build-placeholder' 2018-09-04 07:35:53 -05:00
Michael Bradley, Jr
68c6d1549a 'open-browser' event 2018-09-04 07:34:37 -05:00
Michael Bradley, Jr
9cd96ddd29 formatting -- webserver/server.js 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
52ed0e2856 webserver uses event and waterfall for triggering placeholder build, opening browser 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
6ee195aba9 make webserver module responsible for building placeholder 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
1d38af1f58 expose buildDir to webserver in same manner as its done for pipeline 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
1d9237820a make isFirstStart, opened props of Server instance 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
4f8107bf17 fail silently if opn doesn't work 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
72943dc0e5 open default browser when webserver has started 2018-09-03 10:17:45 -05:00
Michael Bradley, Jr
f778dad589 write placeholder page when webserver is first starting 2018-09-03 10:17:45 -05:00
Jonathan Rainville
b9c65f2d58 use listen(0) to find a port 2018-08-23 15:11:43 -04:00
Anthony Laibe
0b183c0280 Make webserver start/stop use callback 2018-08-21 16:09:48 -04:00
Michael Bradley, Jr
0191ec9d24 webserver -- canonicalHost, defaultHost, dockerHostSwap 2018-08-02 15:32:08 -05:00
Iuri Matias
0b70f32bb9 initial work for i18n 2018-05-10 15:01:34 -04:00
Iuri Matias
76be683ed2 refactor webserver 2017-12-18 09:37:16 -05:00