Commit Graph

16 Commits (dd7d7b8bfa3c5c2ed8121f2df7a5d69679f7ac08)

Author SHA1 Message Date
Vasile Popescu f685c2efe7 Fix build mode in webpack config
- remove deprecarted ugify plugin
- add missing 'mode' config
5 years ago
Vasile Popescu 3b57919252 Fix utf8 encoded strings by using a different base64 decoder 5 years ago
Vasile Popescu dc952345fc Undo the prev commit, and use something more simple
Just write in the terminal that the session is ended, and don't add any
other fancy UI.
5 years ago
Vasile Popescu 35d20eea67 Simple and stupid overlay notificatoin when the session is closed 5 years ago
Vasile Popescu 71ebda8e8f Refactor the whole receiver part
- remove unused dependencies
- move to typescript
- add an automatic way to resize the tty-receiver
5 years ago
Vasile Popescu bc832b8357 Fix the option/alt/meta key on OSX
Instruct xtermjs to consider the option key as the meta key
5 years ago
Vasile Popescu a697496cc7 Update xterm and nodejs versions 5 years ago
Vasile Popescu 2fa92bfac3 Add a simple page for invalid sessions 6 years ago
Vasile Popescu bbcc9a8771 Change the color on the 404 page 6 years ago
Vasile Popescu 828c45eb48 Force the browser to reload when closing the session
After reload, the browser will be forced to display the page which says
the session doesn't exist anymore. This is a temporary solution, before
a better way to tell the user the connection has been closed will be
6 years ago
Vasile Popescu 906f225899 Refactor the frontend structure
Change the Makefile and webpack config to reflect the new structure of
where we keep the frontend generated files.

Use the 404 static pages when requests are made to paths not found.

Add a small doc describing the available http routes.
6 years ago
Vasile Popescu f8e90e0e04 Move the tty-receiver frontend inside a folder 6 years ago
Vasile Popescu 4a8a806193 Add some static pages
One used for 404 errors, and the other one being a placeholder of the
invalid session case, when the session ID is not recognised.
6 years ago
Vasile Popescu 602259cdd8 Add support for TLS/HTTPS on both the client and the server
At the moment the server side doesn't support SSL for the web end.
The tty_sender supports TLS for the server connection, which is
specified via a command line argument.

The websockets connection on the frontend side is using an address based
on the window.location.protocol (ws:// or wss://)
6 years ago
Vasile Popescu caaf694b6c Bundle the frontend resources inside the server binary
Use go-bindata to bundle all the frontend server resources inside the
server binary, so it's easier to re-distributed.
6 years ago
Vasile Popescu 9f0a1474f2 Initial commit 6 years ago