Commit Graph

192 Commits

Author SHA1 Message Date
Marcos Lilljedahl
c0aaf0a3a4 Fix Users handler. This never worked :D
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2021-03-04 00:16:42 -03:00
Marcos Nils
3a762ba15c Replace go-bindata with go 1.16 embed (#452) 2021-02-21 13:58:29 -03:00
Marcos Lilljedahl
7decf117c6 Update bindata 2021-01-04 11:28:12 -03:00
Marcos Lilljedahl
7d6e8478eb Send privileged flag to stack creation and session setup 2021-01-02 10:21:36 -03:00
Marcos Lilljedahl
9b82e0bb7a Add accesibility options 2020-12-27 17:03:18 -03:00
Marcos Lilljedahl
7f304a3415 Don't crash if landing can't be fetched 2020-11-13 11:10:48 -03:00
Marcos Lilljedahl
e11087356e Rename auth redirect variable 2020-11-11 23:30:28 -03:00
Marcos Lilljedahl
4b4b767e46 Add ability to configure auth redirect url per playground 2020-11-11 23:20:10 -03:00
Marcos Lilljedahl
e8486b8100 Provide support to configure privileged containers per playground 2020-10-25 19:21:31 -03:00
Marcos Lilljedahl
f9800927fe Add PWG.dev to allowed hosts 2020-10-25 19:03:16 -03:00
Marcos Lilljedahl
d55bdc9664 Use secure cookies always 2020-10-20 02:24:15 -03:00
Marcos Lilljedahl
f898a14485 Refactor serveAsset to use ServeContent instead. 2020-10-20 01:21:40 -03:00
Paul Jolly
ef0ac9be48 Simplify the setup of bundled assets (#436)
1. Move the generated file to handlers - it better belongs there
2. Ensure that all file serves are also handled by the asset store

Co-authored-by: Marcos Lilljedahl <marcosnils@gmail.com>
2020-10-20 00:45:42 -03:00
Paul Jolly
1e0eb1f329 main: embed assets from www to allows PWD to run standalone (#425)
Generate these assets in config because this package is imported by
most.

Add internal/addgenheader as a simple helper because go-bindata doesn't
output the write header.

Also update test CI workflow to regenerate and check commit is clean.
2020-10-06 14:33:11 +01:00
Marcos Lilljedahl
78e9689249 Make path work for both url and data file upload 2020-07-27 00:05:31 -03:00
Marcos Lilljedahl
c8416efb16 Repalce facebook oauth with google 2020-06-12 01:44:24 -03:00
Marcos Lilljedahl
859648d771 Add SameSite cookie option 2020-03-30 18:31:36 -03:00
Marcos Lilljedahl
79a7e6317b Change close to POST as sendBeacon uses that method
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2020-02-25 23:37:46 -03:00
Marcos Lilljedahl
db8f4e6519 Add close GET endpoint for sendBeacon 2020-02-25 23:23:45 -03:00
Marcos Lilljedahl
92299bdcbf Add provider_id to cookie data 2019-06-22 16:08:04 -03:00
Marcos Lilljedahl
cf25f7592a Set cookie to parent domain to allow subdomains to access 2019-05-26 19:54:50 -03:00
Marcos Lilljedahl
b758b005e9 Fix session setup 2019-04-23 11:24:00 -03:00
Marcos Lilljedahl
4b1dc52c59 Move DindVolumeSize to playground opts 2019-04-23 01:47:06 -03:00
Marcos Lilljedahl
40197c4cdf Make docker Oauth endpoint configurable 2019-03-31 14:14:05 -03:00
Marcos Lilljedahl
91912732aa Add docker.com CORS support 2019-03-28 23:18:59 -03:00
Marcos Lilljedahl
5afc852d2b Add support to ban users from creating sessions 2019-03-05 16:58:20 -03:00
Marcos Lilljedahl
b363a35a61 Fix typo 2018-04-30 10:23:22 -03:00
Marcos Lilljedahl
cf13558615 Add PWK 2018-04-25 13:23:48 -03:00
Marcos Lilljedahl
8353f5a42c Fix localhost 2018-04-20 16:45:40 -03:00
Marcos Lilljedahl
2aa327a86f Add localhost as a CORS handler for local SDK testing 2018-04-15 18:07:02 -03:00
Marcos Lilljedahl
ed5ca6bc4e Add support for http-01 handler 2018-03-04 11:54:01 -03:00
Marcos Lilljedahl
b8918c6510 Remove unused code 2018-02-26 21:39:57 -03:00
Marcos Lilljedahl
79c778a2bf Fix Max instance validation 2018-02-26 21:35:01 -03:00
Marcos Lilljedahl
6e925c9a85 Fix print formatting errors 2018-02-24 12:45:41 -03:00
Marcos Lilljedahl
da24d3ad6b Fix InstanceMax typo 2018-02-24 12:39:32 -03:00
Marcos Lilljedahl
b390cfa4e5 Move max instnace check to playground config 2018-02-24 12:31:30 -03:00
Marcos Lilljedahl
0414f4933c Fix CORS origin 2018-02-19 01:04:23 -03:00
Marcos Lilljedahl
04b25875ac Added play with moby to CORS allowed headers 2018-02-19 00:49:35 -03:00
Marcos Lilljedahl
d7b2dc69ff Fix Origins set in CORS headers 2018-02-19 00:42:29 -03:00
Marcos Lilljedahl
54b961a950 Update Gorilla handlers and add CORS option 2018-02-19 00:21:19 -03:00
Marcos Lilljedahl
9b4a781f71 Change CORS allowed headers to PWD 2018-02-18 23:06:24 -03:00
Marcos Lilljedahl
6bfa8b0d21 Add ee-beta site 2018-01-24 00:58:11 -03:00
Marcos Lilljedahl
e8583f7e3e Add wildcard to cors 2018-01-24 00:49:14 -03:00
Marcos Lilljedahl
e66ed55a9b Add trainngs and pwm origin headers 2018-01-23 11:51:57 -03:00
marcos
386bd87385 Add support for file editor 2018-01-05 13:13:07 -03:00
marcos
533440dac5 Fix issue when validating providers for playground when creating a new
session
2017-12-18 14:11:13 -03:00
marcos
5332f954dd Move Oauth configs to the database 2017-12-18 12:14:21 -03:00
marcos
6a1e91b1e9 Make validateToken public 2017-12-15 17:16:37 -03:00
marcos
dd6a332889 Add error to GetSession return values
- Add button to copy instance SSH access
2017-12-14 17:37:38 -03:00
marcos
efaa37e0ad Add segment integration 2017-12-01 17:37:20 -03:00