Commit Graph

680 Commits

Author SHA1 Message Date
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
Ilia Rostovtsev
e345ba5d4f Fix comment 2022-01-23 20:39:38 +03:00
Ilia Rostovtsev
08fd846c0f Fix indent 2022-01-23 16:57:24 +03:00
Ilia Rostovtsev
d92a35ac3c Add API to control global vars better
966d44ede5
d5082236f6
2022-01-23 16:52:31 +03:00
Ilia Rostovtsev
25a0a79b42 Add support for template substitution; fix bug for datetime replace 2021-12-26 19:45:53 +03:00
Ilia Rostovtsev
1579671702 Add new substitute_pattern API 2021-12-25 22:43:44 +03:00
Jamie Cameron
473776455d Non-empty hashes written to files should never be empty 2021-12-24 13:02:39 -08:00
Ilia Rostovtsev
e2ebee2bb0 Fix to expand passed parameters for webmin_log 2021-12-13 22:11:28 +03:00
Ilia Rostovtsev
0db149e7c5 Fix to prevent theme making HTML data
This is still `$main::webmin_script_type eq 'web'` so theme thinks it's going to UI
2021-12-12 18:49:17 +03:00
Jamie Cameron
92dbe035c6 Add option to control notification subject 2021-12-11 22:34:50 -08:00
Jamie Cameron
b3cb270cca Respect allowed user list for logging to email 2021-12-10 23:52:44 -08:00
Jamie Cameron
1784fc8609 Use forced IP for the transfer if there is one 2021-12-03 22:39:18 -08:00
Ilia Rostovtsev
52e87db941 Revert not to include webprefix in redirect 2021-12-04 00:33:34 +03:00
Ilia Rostovtsev
00015c81db Fix storing files on writing goto for the theme 2021-12-03 02:32:23 +03:00