Commit Graph

11 Commits

Author SHA1 Message Date
Bolek@DigitalAsset
63960bfa85
webide: failing terminal (#1087)
* fail bash terminal by setting config to run bogus command
* one last fix for hiding terminal

Initially attempted to use external terminal with echo command but this
still opened an integrated terminal. Changing the terminal command from
/bin/bash to echo "No Terminal Available" crashes the integrated
terminal, which of course is better than having a working terminal!
2019-05-10 15:31:32 -04:00
Bolek@DigitalAsset
7e2398ca7f
web ide: security headers (#1063)
* web ide: security headers

includes security headers for content policy and other security related
features.

includes style fixes to hide terminal, debugger, and navigation widget.

* webide: update to latest sdk

* web ide: re-enable open widget, enable telemetry

* even though we know arbitrary commands can be run from the open
widget, it is too useful to disable

* raised issue where opting out of telementry causes critical errors in
the plugin. For now, we are enabling the telemetry by default (even
though it actually doesn't log anything because our network security
does not allow that traffic to go out)
2019-05-10 11:43:18 -04:00
Moritz Kiefer
75d6c7ecba
Open docs.daml.com instead of running "da docs" (#1029)
Previously we tried to run "da docs" which makes no sense for the new
assistant and for the old assistant it just outputs a message to go to
the website.
2019-05-09 13:06:32 +02:00
Bolek@DigitalAsset
c3550b4612
webide: add vscode settings to disable telementry (#825)
* webide: add vscode settings to disable telementry

* webide: remove keybindings

* Adding settings.json to webide server image, in order to disable
telemetry popup.

* clean webide 400 and 500 error messages (which reveal too much about
software)

* disable daml guidelines link until it can be fixed

* more hiding of content from front end
2019-05-03 12:04:30 -04:00
Bolek@DigitalAsset
a632291d9a
webide: handle proxy errors (#809)
The webide proxy did not properly handle critical errors when sockets
were interrupted. This fix catches all errors and resets session state
and proxy appropriately.

Removed more functionality from Preferences menu
2019-05-01 10:33:49 -04:00
Bolek@DigitalAsset
d8591936a2
webide: remove trademark images and phrases (#711)
* webide: remove trademark images and phrases

criminal css hijacking of the monaco web editor, including, but probably
not limited to
* svg image replacement for logo
* welcome screen styling and content

also implemented http to https redirect in accordance with our infrastructure.

* webide: improve css hijacking and style the editor

automatically append da specific css to the css delivered by code-server
ide. We are

* replacing icons
* replacing favicon
* hiding menu items
* hiding action items (left panel)
* replacing text in the welcome script
2019-04-29 22:56:17 -04:00
Bolek@DigitalAsset
8078cc094d
Webide terms conditions + latest code-server (#682)
webide: 

* landing page with acceptance of terms
* update code-server version and improve startup
2019-04-25 09:05:40 -04:00
Bolek@DigitalAsset
40d77c3b9d
webide: update docker image to handle typescript (#516) 2019-04-16 15:02:11 +00:00
Bolek@DigitalAsset
0eb3c53289
web-ide: clean up / refactor (#421)
* using typescript
* using npm scripts
* separated management route to another port
2019-04-12 15:01:55 +00:00
Bolek@DigitalAsset
64707a6804
web ide: secure docker containers through networks (#304)
This pr addresses security concerns regarding the web ide docker container.
The bulk of the changes involve managing and coordinating docker
networks so that the proxy runs on internal docker network as well as
external one, while the web ide containers run only on the internal
network.
2019-04-08 19:31:13 +00:00
Digital Asset GmbH
05e691f558 open-sourcing daml 2019-04-04 09:33:38 +01:00