Commit Graph

31 Commits

Author SHA1 Message Date
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
Jonathan Leibiusky @xetorthio
53e6078cc5 WIP 2017-07-25 16:36:10 -03:00
Marcos Lilljedahl
4eda861329 Merge branch 'routing_refactor' into next 2017-07-18 15:15:11 -03:00
Jonathan Leibiusky @xetorthio
08b64dadde Add storage API abstraction 2017-07-18 14:32:17 -03:00
Jonathan Leibiusky @xetorthio
4731d8ec98 Event refactor 2017-07-18 10:45:05 -03:00
Jonathan Leibiusky @xetorthio
e9911abf94 Storage has now it's own package.
Remove global `sessions` map and use configured storage.
Add a `types` package so both `pwd` and `storage` can access without
circular dependencies.
Now the session is prepared when requested and not on load.
2017-06-15 16:09:41 -03:00
Jonathan Leibiusky @xetorthio
33febafb43 Load sessions in parallel 2017-06-10 18:18:30 -03:00
Jonathan Leibiusky @xetorthio
3d96760a98 WIP 2017-05-23 19:29:36 -03:00