Commit Graph

21648 Commits

Author SHA1 Message Date
Jamie Cameron
669af033d1 Merge branch 'master' of github.com:webmin/webmin 2022-10-29 13:16:40 -07:00
Jamie Cameron
eef79887ee Clean up leftover connections in more cases 2022-10-29 13:16:30 -07:00
iliajie
25f01179a3 Add is_int and is_float subs 2022-10-29 18:15:39 +03:00
Jamie Cameron
0185397a0c Merge branch 'master' of github.com:webmin/webmin 2022-10-28 16:07:25 -07:00
Jamie Cameron
e8a875fc29 Check ports in use in miniserv.conf, even if they haven't been opened yet 2022-10-28 16:07:19 -07:00
iliajie
ec216a0115 Fix to parse float 2022-10-28 22:36:56 +03:00
iliajie
87c8146698 Add parse float API 2022-10-28 22:35:57 +03:00
Jamie Cameron
9f2ef4c91a Background process when its ready to open a socket 2022-10-28 11:31:29 -07:00
Jamie Cameron
20f40d0d38 Merge branch 'master' of github.com:webmin/webmin 2022-10-27 18:26:45 -07:00
Jamie Cameron
9ea1f0ad52 Make boxes bigger 2022-10-27 18:19:20 -07:00
Jamie Cameron
989e15d4cd Merge pull request #1766 from webmin/dev/dont-expose-socket-as-global-variable
Fix not to expose active `socket` to a global scope
2022-10-27 13:06:36 -07:00
iliajie
5204bd1a1b Add to support onclose event handler (for connection lost) 2022-10-27 21:49:08 +03:00
iliajie
72cce4349b Add error handling 2022-10-27 20:43:03 +03:00
iliajie
2574e2012f Fix to always clear screen as sometimes command-prompt is eaten up 2022-10-27 20:32:39 +03:00
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