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
c8416efb16
Repalce facebook oauth with google
2020-06-12 01:44:24 -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
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
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
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
5332f954dd
Move Oauth configs to the database
2017-12-18 12:14:21 -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
Jonathan Leibiusky
65b8364ef2
Now both index.html and landing.html can be changes for specific ( #224 )
...
playgrounds. By default they will be served from `www/default` if no
override has been specified
2017-11-22 17:32:41 -03:00
Jonathan Leibiusky
f277e3776c
Make it so the playground can decide which index file to serve. ( #223 )
...
* Make it so the playground can decide which index file to serve.
Also remove special index-nw.html and use the current playground config to
decide if to show the windows instances option or not.
* Give a better name to the struct
2017-11-22 16:47:01 -03:00
Jonathan Leibiusky
0ad73acbb9
Add list playgrounds and create/update playground endpoints. ( #221 )
...
User is expected to send a predefined token as basic auth password.
2017-11-21 12:55:34 -03:00
Jonathan Leibiusky
3f5b3882dd
Multiple playgrounds support ( #215 )
...
* Add Playground struct and basic support for creating it and retrieving
it
* Add missing functions in pwd mock
* Get playground from request domain and validate it exists. If valid set
it on the newly created session.
* Move playground specific configurations to the playground struct and use
it everytime we need that conf.
* Don't allow to specify a duration bigger that the allowed in the
playground
2017-11-14 15:50:04 -03:00
Marcos Lilljedahl
3dee0d3f0b
Revert "Remove sensitive information from LoggedUser endpoint"
...
This reverts commit e91a1f3e6f .
2017-11-12 21:28:38 -03:00
Marcos Lilljedahl
e91a1f3e6f
Remove sensitive information from LoggedUser endpoint
2017-11-09 19:21:31 -03:00
Jonathan Leibiusky @xetorthio
0c1320da00
Add ping and metrics endpoint to redirect server
2017-11-09 10:28:48 -03:00
Marcos Nils
c5f0f5fab9
Make me endpoint accessible through CORS. ( #207 )
...
Because the standard router was triggering before the cors one,
a regex not to match `/me` is needed
2017-11-06 13:43:41 -03:00
Jonathan Leibiusky @xetorthio
380e15527b
Merge branch 'websocket_rewrite'
2017-10-31 16:58:36 -03:00
Jonathan Leibiusky @xetorthio
62e948acb4
Merge branch 'master' into next
2017-10-31 16:28:31 -03:00
Jonathan Leibiusky (@xetorthio)
b1406f4ea8
First try on using standard websocket and removing socket.io from the
...
middle
2017-10-19 13:49:14 +02:00
Marcos Lilljedahl
4850a7b496
Add endpoint to retrieve user by userId
2017-10-16 19:43:56 -03:00
Marcos Lilljedahl
8769aa344a
Add methods in CORS requests
2017-10-14 12:50:11 -03:00
Jonathan Leibiusky @xetorthio
e9dd97e4e4
Add Docker ID integration
2017-10-10 15:27:53 -03:00
Jonathan Leibiusky @xetorthio
4c034812d2
Add support for openid with github and facebook
2017-10-04 11:41:17 -03:00
Marcos Lilljedahl
1a7a776a27
Add close session endpoint
2017-09-26 09:38:08 -03:00
Jonathan Leibiusky @xetorthio
98735a5a93
Add a way to extend the handlers and add custom stuff
2017-09-22 10:00:44 -03:00
Marcos Lilljedahl
19283a3c86
Add rediretion when using https
2017-09-08 16:14:01 -03:00
Jonathan Leibiusky @xetorthio
560a3ae05a
Add OOC check and error on new session creation
2017-09-07 17:30:04 -03:00
Jonathan Leibiusky @xetorthio
fc3dfa6844
Add let's encrypt support
2017-08-30 10:31:26 -03:00
Jonathan Leibiusky @xetorthio
7495f27f64
Change wiring
2017-08-10 12:13:18 -03:00
Marcos Lilljedahl
cbe5ede847
Refactor bootstrap so it's decoupled from main function
2017-08-08 10:38:01 -03:00
Marcos Lilljedahl
8afb922f6d
Move handler initialization into the handlers package so it can be
...
reused
2017-08-07 17:44:25 -03:00
Marcos Lilljedahl
7a49c557e0
Return 404 for WS handler when session doesnt exist
2017-07-31 18:20:27 -03:00
Jonathan Leibiusky @xetorthio
5ee4bb2011
More fixes
2017-07-28 23:24:02 -03:00
Jonathan Leibiusky @xetorthio
0e08107738
Tests are working again
2017-07-28 20:42:05 -03:00