iliajie
fbef076ebc
Fix not to expose active socket to a global scope
2022-10-27 20:29:39 +03:00
Jamie Cameron
3c5e065edc
Cleanup todos
2022-10-26 23:17:02 -07:00
iliajie
84a7279442
Rename module to Terminal
2022-10-27 03:07:05 +03:00
iliajie
435c55039e
Fix error message wording
2022-10-27 03:06:31 +03:00
iliajie
4aa80112c4
Send port too
2022-10-27 01:10:33 +03:00
Jamie Cameron
a1d09c977f
Don't terminate existing shell because of socket probe from a new shell
2022-10-26 11:35:57 -07:00
Jamie Cameron
67f8f9ccd6
Merge branch 'master' of github.com:webmin/webmin
2022-10-26 09:47:57 -07:00
Jamie Cameron
c23c334eed
Connection: header may be more than just upgrade
2022-10-26 09:47:27 -07:00
iliajie
e94b819b7b
Fix to detect terminal width and height only for regular themes
2022-10-26 19:19:31 +03:00
Jamie Cameron
4c7eb9ccb2
Clean out webmin environment vars
2022-10-26 09:08:01 -07:00
Jamie Cameron
a1b497dc72
Merge branch 'master' of github.com:webmin/webmin
2022-10-26 09:06:58 -07:00
Jamie Cameron
7064fc4708
Start in user's home dir
2022-10-26 09:06:43 -07:00
iliajie
29960cfe92
Fix indent
2022-10-26 13:06:40 +03:00
iliajie
ec1a1ed023
Fix cap
2022-10-26 12:34:41 +03:00
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
Jamie Cameron
65aaf7ad92
Merge pull request #1765 from webmin/dev/xterm.js
...
Interactive shell improvements
2022-10-25 13:32:02 -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
285815cab2
Merge pull request #1762 from webmin/dev/fix-systemd-lost-properties
...
Fix `systemd` unit lost properties
2022-10-23 12:35:13 -07: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
b049ba6c3b
Add more debug info
2022-10-22 12:13:27 -07:00