Jamie Cameron
a97bf30bd8
Make module name consistent
2022-10-25 23:35:08 -07:00
Jamie Cameron
b640e87969
Fix user switching
2022-10-25 23:34:59 -07:00
Jamie Cameron
3026a51a1f
Code cleanup
2022-10-25 22:44:39 -07:00
Jamie Cameron
e9bcccfc8c
getpwnam can return 0 for root
2022-10-25 22:13:34 -07:00
Jamie Cameron
b32fb2da61
Fix up merge conflict
2022-10-25 13:40:58 -07:00
Jamie Cameron
b7758a8bcd
Support using remote user
2022-10-25 13:38:38 -07:00
iliajie
296a904e78
Fix to pass only clear data to the theme
2022-10-25 21:32:45 +03:00
iliajie
5f32e6e80e
Fix to clear left overs (after removed fit addon)
2022-10-25 21:08:54 +03:00
iliajie
a29a356689
Change module name to Terminal
2022-10-25 21:03:54 +03:00
iliajie
1cb39a681c
Add further improvements to the xterm module:
...
1. Drop fit addon, as we always pass cols and rows (even in auto mode)
2. Fix terminal fit by columns and lines (rows)
3. Add CSS only based pre-loader
4. Refactor and improve code
2022-10-25 20:50:04 +03:00
iliajie
e1a61d7815
Fix indent (properly)
2022-10-25 13:08:59 +03:00
iliajie
8b60a24251
Fix indent
2022-10-25 13:06:52 +03:00
iliajie
bf46fe67b8
Fix offset to be 5 as appears to be best with various scaling modes
2022-10-25 04:17:02 +03:00
iliajie
760e0e3152
Fix to always pass cols and rows options ; fix adjustments
2022-10-25 04:02:10 +03:00
iliajie
b1a2b5dfc9
Add support for SPA themes
2022-10-25 03:00:37 +03:00
iliajie
86e1493dee
Fix not to use barewords for file handler
2022-10-25 00:49:08 +03:00
iliajie
74e37099fd
Fix to use headers when set to avoid initial redirect
2022-10-25 00:35:07 +03:00
iliajie
fe81978900
Fix rows (lines) to be browser dependent (i.e. to fit nano controls)
2022-10-25 00:00:23 +03:00
iliajie
3f1c4a23ad
Fix UTF-8 support (don't double encode)
2022-10-24 23:38:30 +03:00
iliajie
21faef0804
Fix indent and proper code formatting
2022-10-24 23:26:22 +03:00
iliajie
ed7997d306
Fix to use xterm-256color .. as it works on all contemporary systems
2022-10-24 23:14:09 +03:00
iliajie
ba10eb4173
Add support to setup column size from UI (or work automatically)
2022-10-24 23:07:04 +03:00
iliajie
ea741f002d
Fix to add config option to set width and height
2022-10-24 21:44:58 +03:00
iliajie
6948205ebe
Fix to auto-focus terminal
2022-10-24 20:06:33 +03:00
iliajie
4c686dbd1d
Fix to actually load to fit the page ; remove tables
2022-10-24 18:43:13 +03:00
iliajie
6ad8c64c31
Drop rows and columns as terminal will fit the container automatically
2022-10-24 18:30:29 +03:00
iliajie
cc70ab2f39
Add to load auto-fit module ; load with serial
2022-10-24 18:24:04 +03:00
iliajie
1019a2697a
Add new module to auto-fit container size
2022-10-24 18:21:27 +03:00
iliajie
214b5f3e61
Drop .map files
2022-10-24 18:21:12 +03:00
iliajie
379cf53076
Update to the latest Xterm.js 5.0.0
2022-10-24 18:20:44 +03:00
Jamie Cameron
8cdd3eeeab
Add config options for width and height
2022-10-22 23:17:21 -07:00
Jamie Cameron
acec438536
Pretent to be a vt100
2022-10-22 18:19:02 -07:00
Jamie Cameron
98c2ce24c1
Include the session ID in the websockets key so that it can be verified on the backend to prevent misuse of the session
2022-10-22 18:17:15 -07:00
Jamie Cameron
0c5cbaef3f
Launching a shell actually works now!
2022-10-22 12:07:25 -07:00
Jamie Cameron
d7c34eab2b
Limit a connection to a user
2022-10-20 22:22:45 -07:00
Jamie Cameron
9c56426ccd
Start of work on xterm shell over websockets
2022-10-20 21:39:38 -07:00