Commit Graph

944 Commits

Author SHA1 Message Date
iliajie
824043f3f1 Fix to use env instead of miniserv.conf
https://github.com/webmin/webmin/pull/1719#discussion_r948563298
2022-08-18 14:19:37 +03:00
iliajie
8bdc701994 Fix to always force HSTS in SSL 2022-08-17 16:57:01 +03:00
Jamie Cameron
d29a516f15 Add a convenience function to return the full version and release 2022-08-13 14:13:32 -07:00
iliajie
3f0473409c Fix to create parent directories without chdir 2022-08-13 18:50:13 +03:00
iliajie
cea40d99e0 Fix a comment for write_file sub 2022-08-12 21:19:58 +03:00
Jamie Cameron
bec48a954a Fix indentation 2022-08-12 09:51:12 -07:00
Jamie Cameron
87d7d803e3 Use formal params 2022-08-12 09:29:17 -07:00
iliajie
ca692f1374 Add make_dir_recursive API using Perl only 2022-08-12 13:03:20 +03:00
iliajie
56d09a1ab3 Fix to drop un-used variable definition 2022-08-09 14:17:28 +03:00
Jamie Cameron
babc9eac60 Add fallback in case PATH is somehow not set 2022-07-03 14:35:37 -07:00
Jamie Cameron
e01579dfd1 javascript: can use different HTML entities 2022-07-01 21:59:10 -07:00
luz paz
3e6142f098 Fix user and non-user facing typos 2022-06-29 07:17:11 -04:00
Jamie Cameron
d0e0a1c193 Always update the status file at 0% 2022-06-20 08:42:30 -07:00
Jamie Cameron
dea6e79362 Merge pull request #1669 from webmin/dev/installation-password-hashing
Add support for `yescrypt` and `sha512` upon installation; fix other bug
2022-06-18 15:00:44 -07:00
Ilia
5c7d31a1be Fix to rely on internal restarts/reloads
d357005cba (commitcomment-76425852)
2022-06-18 23:04:24 +03:00
Ilia
4aa2154d42 Fix unix_crypt not to fail false positively 2022-06-16 00:45:16 +03:00
Ilia
9785382828 Fix support for contemporary salts 2022-06-15 23:27:04 +03:00
Ilia
f8758d663d Fix Usermin restart with systemd 2022-06-15 13:32:57 +03:00
Ilia
70395aab02 Fix to solve Webmin systemd ongoing issues 2022-06-15 01:00:10 +03:00
Ilia
be1cac6b95 Unroll systemd reload for now 2022-06-14 21:56:10 +03:00
Ilia
ababa1ff72 Check if init module available before using 2022-06-14 01:24:39 +03:00
Ilia
171840ff50 Fix to check if Webmin/Usermin systemd unit was setup
d357005cba (comments)
2022-06-13 11:58:14 +03:00
Jamie Cameron
d357005cba Systemctl cannot be assumed to work just because it is installed, because the webmin action may not have been setup 2022-06-12 21:42:03 -07:00
Jamie Cameron
7ec58b13d4 Merge pull request #1659 from webmin/dev/systemd-improvements
Dev/systemd improvements
2022-06-08 16:19:21 -07:00
Ilia
9daf01dfcb Reload miniserv using systemctl reload 2022-06-07 23:14:33 +03:00
Ilia
f1f27bd334 No deepcopy; no pid no filename 2022-06-05 00:50:41 +03:00
Ilia
31895cd662 Revert "No deepcopy; no pid no filename"
This reverts commit eba4feb39b.

Wrong branch!
2022-06-05 00:47:56 +03:00
Ilia
eba4feb39b No deepcopy; no pid no filename 2022-06-05 00:47:07 +03:00
Ilia
95dcc4cd88 Add API to return cached theme info 2022-06-03 16:38:56 +03:00
Ilia
7f2d442374 No caching as potentially a mode can change during the call 2022-05-28 23:12:30 +03:00
Ilia
5df581e103 Fix to simplify mode test 2022-05-28 22:16:31 +03:00
Ilia
16e8f9ea9d Cache mode 2022-05-28 21:31:19 +03:00
Ilia
20bfc7785e Add standard admins; fix comments 2022-05-26 14:23:55 +03:00
Ilia
aa23ccf6e0 Fix webmin_user_can_rpc to have fallback admin users 2022-05-26 14:09:10 +03:00
Ilia
d102f80290 Separate Mail and Safe users; add convenience sub webmin_user_is 2022-05-26 14:04:48 +03:00
Ilia
26fa48623c Add unobtrusive way to test if user is privileged; separate RPC 2022-05-25 14:42:07 +03:00
Ilia
3f3b5bdf9c Fix admin check 2022-05-23 22:02:48 +03:00
Ilia
0e33aaa18d Fix var_dump filename 2022-05-15 13:17:35 +03:00
Jamie Cameron
6a2334bf8b Factor out check for root-ish user into a separate function https://github.com/webmin/webmin/issues/1635 2022-05-14 11:38:03 -07:00
Jamie Cameron
fb993f22f8 Fix checking for remote host 2022-05-09 22:11:02 -07:00
Ilia
15ec454fee Add improved var_dump functionality 2022-04-10 16:29:23 +03:00
Jamie Cameron
627d86f9e8 Don't ever delete /tmp 2022-02-21 15:06:00 -08:00
Ilia Rostovtsev
6f9f8c5182 Fix missing permission file creation for safe user in some modules 2022-02-20 16:32:57 +03:00
Ilia Rostovtsev
39ea464f0c Foreign module may need a check 2022-02-20 12:48:27 +03:00
Ilia Rostovtsev
561d53d90e Update to improve globals API 2022-02-08 01:36:01 +03:00
Ilia Rostovtsev
403fe939e0 Fix to store variable before deleted 2022-02-07 17:17:53 +03:00
Ilia Rostovtsev
3225be4ad1 Add support for getting and deleting global vars at once 2022-02-07 17:07:51 +03:00
Jamie Cameron
536827a96a Quote everything https://github.com/webmin/webmin/issues/1587 2022-01-28 18:11:41 -08:00
Ilia Rostovtsev
f94c695cdd Fix to swap var names for setting errors 2022-01-26 23:14:53 +03:00
Ilia Rostovtsev
6ff61e8001 Register error-fatal and error-fatal-ignored vars 2022-01-26 14:17:08 +03:00