* Update Xterm.js CSS to the latest version
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
* Update style.css to use terminal-container
The `.terminal` class was messing around xterm.js CSS rules, resulting in the cursor never being in a focused state.
Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
Add google recaptcha as an initial page before creating any session.
To configure recaptcha there are 2 environment variables that are needed
`GOOGLE_RECAPTCHA_SITE_KEY` and `GOOGLE_RECAPTCHA_SITE_SECRET`.
The code contains development defaults that should be set in production
to real values.
**NOTICE: Development defaults assume that the domain is `localhost`**
It fixes lots of bugs, can fallback to long polling, resize viewport of
terminals and share clients state of the session, so they all see the
same thing.