Commit Graph

706 Commits

Author SHA1 Message Date
Jamie Cameron
c23c334eed Connection: header may be more than just upgrade 2022-10-26 09:47:27 -07:00
iliajie
9603792ab3 Fix not to test size 16e4a750b1 (r87054057) 2022-10-17 20:51:39 +03:00
iliajie
16e4a750b1 Fix a new miniserv_using_default_cert sub tests 2022-10-17 19:21:53 +03:00
Jamie Cameron
ced2b98dde Use actual cert file when comparing with the default 2022-10-16 17:23:33 -07:00
Jamie Cameron
2180c77d9a Add function to check for default cert 2022-10-16 13:27:04 -07:00
iliajie
7d24ac3841 Fix indent 2022-10-04 23:02:57 +03:00
Jamie Cameron
d400db0684 Add param to check for help file in another directory 2022-10-02 09:54:04 -07:00
iliajie
d0ed52adf7 Fix to use foreign_defined sub instead 2022-10-01 18:29:39 +03:00
iliajie
26138b82f5 Enforce SSL with HSTS header (optional) 2022-09-13 01:09:53 +03:00
iliajie
db3ade87cc Always unset HSTS when sending headers in non SSL mode
(most probably useless)
2022-09-13 00:05:50 +03:00
iliajie
8fd9b20139 Never add includeSubDomains 2022-09-13 00:04:37 +03:00
iliajie
a3ec6756ea Fix to simplify the syntax
f6c8528412 (r82621322)
2022-08-30 21:15:57 +03:00
iliajie
f6c8528412 Add ability for compare_version_numbers API use friendlier syntax 2022-08-30 20:58:07 +03:00
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