Commit Graph

215 Commits

Author SHA1 Message Date
iliajie
4f49d74def Fix typo 2022-11-12 01:11:46 +02:00
iliajie
6a97bf2ebf Add support to set in config user custom envs and commands 2022-11-12 00:56:36 +02:00
iliajie
dd4adbba77 Add respect to shell init files (depending on shell, bash only yet) 2022-11-12 00:32:04 +02:00
Jamie Cameron
a7ca787c16 Set HOME to correct path for the user being run as 2022-11-11 10:07:08 -08:00
iliajie
782f9ca351 Merge branch 'master' of github.com:webmin/webmin 2022-11-11 10:51:02 +02:00
Jamie Cameron
ad70a474d9 Run shell as a login shell 2022-11-10 21:38:05 -08:00
iliajie
79badb6f58 Revert "Fix to clean up as we should source user profile"
This reverts commit 29517915f9.
2022-11-11 00:53:41 +02:00
iliajie
b67f7c1e65 Fix to clean up old code 2022-11-10 22:56:54 +02:00
iliajie
29517915f9 Fix to clean up as we should source user profile 2022-11-10 22:27:52 +02:00
iliajie
9cef9452d1 Fix PS1 set directly (conditionally) https://github.com/webmin/webmin/discussions/1781 2022-11-10 22:12:26 +02:00
iliajie
424c475b5f Fix terminal auto-fit feature for framed themes 2022-11-09 22:57:19 +02:00
iliajie
45e5049012 Fix to send user info 2022-11-09 21:02:28 +02:00
iliajie
26d19cb0d7 Fix other flavors to run by default only in bash 2022-11-09 21:01:13 +02:00
iliajie
b4603b6030 Fix to drop output suppress feature for now 2022-11-09 20:48:48 +02:00
iliajie
163480b859 Fix regex exclude chars logic
https://github.com/webmin/webmin/pull/1776#discussion_r1017431635
2022-11-09 20:04:29 +02:00
iliajie
ad9a5d7871 Fix incorrectly reverted send_binary (fixed before 3f1c4a23ad) 2022-11-08 20:16:53 +02:00
iliajie
693eda3971 Fix to remove debug 2022-11-08 17:32:00 +02:00
iliajie
d2932b3ed7 Fix not to send to display special calls (commands) 2022-11-08 17:25:50 +02:00
iliajie
7fc6336f8f Fix to check for resize escape sequence explicitly 2022-11-08 16:04:44 +02:00
iliajie
49bbb04750 Fix to re-added accidentally remove clear screen on initial load 2022-11-08 15:12:16 +02:00
iliajie
d5892ed348 Fix indent - convert spaces to tabs 2022-11-08 15:09:39 +02:00
Jamie Cameron
f550ffe799 Send special message on resize, and use set_winsize to apply it 2022-11-07 17:53:09 -08:00
iliajie
88de56f447 Add missing addon-fit.js file 2022-11-08 01:26:43 +02:00
iliajie
f7fb861e73 Add first steps to support Terminal resize 2022-11-08 01:19:06 +02:00
iliajie
44909997d0 Fix to adjust columns and rows offset consistently (both server and UI) 2022-11-07 13:36:26 +02:00
iliajie
8daba09826 Fix to support more headers 2022-11-06 19:05:18 +02:00
iliajie
cd341663a1 Update translations 2022-11-05 15:49:34 +02:00
iliajie
3c15d076d5 Add better on load UX 2022-11-05 15:45:44 +02:00
iliajie
8779372aec Fix to check if defined as 0 is a value too 2022-11-05 13:43:46 +02:00
iliajie
19070f3383 Fix to call getpwnam once 2022-11-05 00:07:14 +02:00
iliajie
7a5e917d34 Add automatic option for command prompt color customization 2022-11-04 21:01:34 +02:00
iliajie
3b86ebed97 Fix indent 2022-11-04 11:38:18 +02:00
Jamie Cameron
6fb8de6e37 Encode utf-8 input into binary before sending to the shell 2022-11-03 21:50:32 -07:00
Jamie Cameron
7142ae8620 Merge pull request #1771 from webmin/dev/xterm-add-special-flavor
Add special flavors to a new Terminal module
2022-10-31 16:12:10 -07:00
iliajie
1d414e1533 Fix to actually add an option with 0 value 2022-10-31 23:49:52 +02:00
iliajie
2e4d3c8ccf Fix to make it off by default 2022-10-31 23:44:45 +02:00
iliajie
f2687a20d1 Revert "Fix to make sure that feature is available by default (server owners)"
This reverts commit 027578312a.
2022-10-31 23:17:23 +02:00
Jamie Cameron
9f42eaf58f Read more than 1 character at a time 2022-10-31 14:10:58 -07:00
iliajie
027578312a Fix to make sure that feature is available by default (server owners) 2022-10-31 22:21:53 +02:00
iliajie
f144517e6c Fix HISTCONTROL always be called as we use clear command uncond 2022-10-31 17:45:26 +02:00
iliajie
41f6eaf1f1 Fix to send commands in a list to the theme 2022-10-31 17:15:24 +02:00
iliajie
fa0fcf52c1 Fix to make sure skipping command history works 2022-10-31 17:06:40 +02:00
iliajie
c6419a471e Fix not to store init commands in history 2022-10-31 16:45:54 +02:00
iliajie
1a296d9579 Fix to tell SPA themes what's up 2022-10-31 16:29:58 +02:00
iliajie
bf74599502 Add much smoother terminal initial load 2022-10-31 16:27:10 +02:00
iliajie
8c2ae56298 Add actual config option 2022-10-31 16:26:49 +02:00
iliajie
ccace2ce81 Add config option to make bash prompt look nice (user dependent) 2022-10-31 16:25:50 +02:00
Jamie Cameron
e5e4b65faf Add support for parameter for directory to start in, and make sure user param is preserved 2022-10-30 16:05:07 -07:00
Jamie Cameron
d3d33af3c0 Clean up code and prevent HTML attacks on untrusted inputs 2022-10-30 15:55:21 -07:00
iliajie
16859a87fd Remove redundant error message (already had one) 2022-10-31 00:23:24 +02:00