Ilia Ross
fa09b191b9
Fix to avoid storing browser sessions for xterm websockets
...
ⓘ Only store `backend_session` for xterm websocket routes when there is no real browser session and a one-time backend key is needed. Normal xterm sessions continue using the browser session directly.
2026-06-23 01:12:44 +02:00
Ilia Ross
45ca170c20
Add support to proxy linked-server WebSockets
...
This PR adds general WebSocket proxying for linked Webmin servers, allowing modules such as `xterm` to work when opened through `servers/link.cgi`.
As requested in https://github.com/webmin/webmin/issues/1866 .
2026-06-22 16:19:33 +02:00
Joe Cooper
ed75034c98
No stringy eval
2026-05-21 19:19:46 -05:00
Joe Cooper
a24c79bb9f
xterm unit tests and minor refactor for testing
2026-05-21 19:03:32 -05:00
Jamie Cameron
4b79787fb2
Direct links to xterm do not need to be supported
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-04-12 13:01:23 -07:00
Ilia Ross
ad37eabdfe
Update Xterm.js to the latest version
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-01-25 01:04:44 +02:00
Ilia Ross
d29e5aea99
Fix terminal normal font size
...
[no-build]
2025-11-23 15:30:53 +02:00
Ilia Ross
94cbabea9e
Add support for using pure-Perl Linux fallback to open PTY
2025-11-18 20:15:26 +02:00
Ilia Ross
4ad3f1e2b6
Add ability to adjust font size in terminal module
2024-12-25 01:03:42 +02:00
Ilia Ross
5dc7cfafd7
Fix to allow disabling the enforcement of sudo-capable logins
2024-06-12 20:14:06 +03:00
Ilia Ross
d04dfdf157
Fix to simplify the test
2024-06-12 01:20:29 +03:00
Ilia Ross
41f1adf0df
Fix to start with a sudo-capable user if possible
2024-06-11 15:31:00 +03:00
Ilia Ross
9c971202b3
Remove debug
2024-06-07 00:47:47 +03:00
Ilia Ross
2aa3bce4da
Fix explicitly set module name from the caller
2024-06-07 00:35:41 +03:00
Ilia Ross
af912d9539
Add API to get WebSocket URL
2024-06-04 19:07:34 +03:00
Ilia Ross
5b31c7df84
Factor out WebSockets port and host options to global config
2024-06-04 18:43:34 +03:00
Ilia Ross
489db4c769
Fix to store logs in var directory
2024-05-31 16:54:36 +03:00
Jamie Cameron
ebfd1e9e51
Terminal doesn't work in proxy mode https://forum.virtualmin.com/t/webmin-terminal-wss-connection-time-out/126735
2024-05-16 20:13:12 -07:00
Jamie Cameron
203c75f79a
Fix user switching
2024-03-11 16:45:02 -07:00
Jamie Cameron
7734ba1285
Add user to run as config option, for clones
2024-03-11 16:38:51 -07:00
Ilia Ross
33927e07ae
Fix missing semicolon
2023-08-10 15:10:04 +03:00
Ilia Ross
65444b8865
Fix Terminal focus bug
2023-08-10 14:25:00 +03:00
iliajie
44fe8dd676
Fix to correctly pass screen reader option to Terminal
2023-07-19 23:15:58 +03:00
iliajie
9135fa916b
Add screen reader optional support in Terminal module
2023-07-19 00:07:55 +03:00
iliajie
827c77c960
Add support for render addons #1656
2023-06-29 16:35:01 +03:00
iliajie
9db9582f4a
Fix not to leak variable to global scope
2023-06-29 14:31:06 +03:00
Jamie Cameron
e5249a6e3b
No need for a wrapper around the wrapper function
2023-04-18 15:44:40 -07:00
iliajie
d154935e8f
Fix to factor out create_wrapper sub
2023-04-18 21:21:30 +03:00
iliajie
03d245384d
Fix not to depend on Cron
2023-04-18 17:51:23 +03:00
iliajie
5aaa81eeb6
Add support for Terminal to work in Usermin
2023-04-16 22:11:12 +03:00
iliajie
ca971b720d
Remove size option in Authentic as it's pointless, resize does it all
2023-01-21 17:06:31 +02:00
iliajie
8588c96650
Fix to set columns and rows environment vars only in fixed mode
...
https://forum.virtualmin.com/t/terminal-tip/118786/29?u=ilia
2023-01-21 16:25:28 +02:00
iliajie
ff5119da7c
Add support for defining hostname for WebSocket connection
...
https://forum.virtualmin.com/t/using-new-command-line-not-working-behind-reverse-proxy/118673/2
2023-01-17 16:09:46 +02:00
iliajie
6269c24f03
Fix to check deeper for potentially missing dependencies
2022-12-01 19:31:55 +02:00
iliajie
cf4ebf0bfe
Fix WebSocket protocol to be conditional
2022-12-01 15:04:59 +02:00
iliajie
bf19dc1119
Fix to actually print loaded file timestamp
2022-12-01 14:17:51 +02:00
Jamie Cameron
f4f6eeac6d
Merge branch 'master' of github.com:webmin/webmin
2022-11-27 09:15:10 -08:00
Jamie Cameron
3e3dae7854
Fix permissions
2022-11-27 09:15:06 -08:00
iliajie
f4b54f13ee
Add text to suggest to install EPEL first for RHEL systems
...
.. or install package manually from `devel:languages:perl` on openSUSE
2022-11-27 16:57:52 +02:00
iliajie
7fcfafd0fa
Add possibly missing Digest::MD5 dependency
2022-11-27 14:46:34 +02:00
iliajie
06beb70568
Fix modules test
2022-11-22 21:04:31 +02:00
iliajie
a294083e12
Fix to use unified path for all third party Perl modules
2022-11-16 22:42:00 +02:00
iliajie
d0511685a7
Fix to create a separate allocate_miniserv_websocket sub
2022-11-14 14:08:05 +02:00
iliajie
4907aeb2dd
Fix to save miniserv websocket after we have the pid from PTY
2022-11-13 23:57:10 +02:00
iliajie
b62fb504ac
Fix to clean up others sockets if the shell server
2022-11-13 23:43:58 +02:00
Jamie Cameron
0a6c67e55f
Fix check for open ports
2022-11-13 09:31:25 -08:00
Jamie Cameron
3d443b378a
Clean up leftover websocket proxies occasionally
2022-11-12 18:26:21 -08:00
iliajie
1ff0ee36e4
Add support for loading shell initialization file directly
2022-11-12 14:31:38 +02:00
iliajie
c75346ec93
Fix indent
2022-11-12 01:13:32 +02:00
iliajie
dd4adbba77
Add respect to shell init files (depending on shell, bash only yet)
2022-11-12 00:32:04 +02:00