935 Commits

Author SHA1 Message Date
Ilia Ross
3be8a327ad Add API to display relative dates 2025-08-29 15:13:27 +03:00
Ilia Ross
820453cc8c Add a way to run encrypt/decrypt as another user, defaulting to nobody
69681c01d4 (r162892288)
2025-07-26 15:01:18 +03:00
Ilia Ross
3d2ea49a47 Fix to use quotemeta instead
69681c01d4 (r162892280)
2025-07-26 14:21:45 +03:00
Ilia Ross
69681c01d4 Add reversible encryption helpers API 2025-07-25 14:24:43 +03:00
Ilia Ross
53fb520392 Fix to consider musthost directive too 2025-07-17 19:12:47 +03:00
Jamie Cameron
f5305eb065 URL for use in emails should use HTTP hostname if available
https://forum.virtualmin.com/t/webmin-virtualmin-password-recovery/132914/82
2025-07-17 01:46:46 -07:00
Ilia Ross
75b0a6f7bb Fix sending HSTS over plain HTTP does nothing
* Note: per the spec (RFC 6797), HSTS only takes effect when delivered on an HTTPS response

https://datatracker.ietf.org/doc/html/rfc6797#section-7.2
2025-06-30 13:43:46 +03:00
Ilia Ross
06ce137903 Fix to consider path separator as config init may never be run 2025-06-12 01:57:35 +03:00
Ilia Ross
b0c89fe440 Fix to rename to get_webmin_base_url and add clearer comment about the sub 2025-06-03 02:01:07 +03:00
Ilia Ross
c1545a5a5e Fix to factor out code for getting Webmin login link 2025-06-03 01:47:11 +03:00
Jamie Cameron
9d2f906439 Session ID is too sensitive to every safely include in email 2025-05-30 12:28:28 -07:00
Jamie Cameron
4c5560544a Remove unnecessary file existence checks, because we're going to attempt to read the files anyway 2025-05-26 14:18:53 -07:00
Ilia Ross
c85128bb4d Fix to fit in width 2025-05-26 19:50:48 +03:00
Ilia Ross
5d83d4040f Add support for showing gender-neutral translations
https://github.com/webmin/webmin/discussions/2482
https://forum.virtualmin.com/t/on-the-rejection-of-gender-neutral-language/133527

833292c0d1

fe064dd57d

4a19a6460b
2025-05-26 16:46:09 +03:00
Ilia Ross
9a48d874e2 Add support for printing more headers 2025-05-04 13:18:08 +03:00
Jamie Cameron
6415b0d8a8 Log original script path, and show it 2025-04-29 11:37:55 -07:00
Jamie Cameron
d821d58fb4 Fix typo 2025-04-29 11:27:03 -07:00
Jamie Cameron
f7f3023191 Clean up repeated and inconsistent script name variables 2025-04-29 11:17:13 -07:00
Ilia Ross
0553cae4e3 Fix to avoid printing switch theme code unless authed 2025-04-24 10:23:14 +03:00
Jamie Cameron
410d240e8b What if WEBMIN_VAR isn't set 2025-04-20 10:18:36 -07:00
Jamie Cameron
c074e150f6 Merge branch 'master' of github.com:webmin/webmin 2025-04-20 10:00:55 -07:00
Jamie Cameron
2916f5b723 Define the forgot password dir in init_config 2025-04-20 10:00:47 -07:00
Ilia Ross
f71c413b6d Fix to allow proxy links to open as they are if the referrer is trusted 2025-04-19 00:31:42 +03:00
Jamie Cameron
d8513dbd9e Fix case where error is not called in a module 2025-04-17 22:08:53 -07:00
Jamie Cameron
ba6da02850 Don't show module index link if not in a module 2025-04-15 21:19:59 -07:00
Jamie Cameron
f15b147bd0 No need to check for the same condition twice 2025-04-15 21:16:49 -07:00
Jamie Cameron
4b927ed588 Avoid duplicating the error message 2025-04-15 21:14:06 -07:00
Ilia Ross
f65625047b Fix to convert entities to ASCII before printing to logs 2025-04-12 18:26:26 +03:00
Ilia Ross
8d0f19f64d Fix to simplify error print 2025-04-12 18:25:18 +03:00
Ilia Ross
d2d16608dc Fix to filter out potentially dangerous characters
https://github.com/webmin/webmin/issues/1838#issuecomment-2795296531
2025-04-11 14:12:33 +03:00
Ilia Ross
1f07fdb274 Fix to prefer JSON::XS over JSON::PP if available for better performance 2025-03-21 16:55:32 +02:00
Ilia Ross
7b85a75a2b Fix not to add ? unless there is a query
[no-build]
2025-03-21 12:54:08 +02:00
Ilia Ross
2185f2068d Update pod
[no-build]
2025-03-21 12:53:05 +02:00
Jamie Cameron
e60be7133b Add support for template variables to help pages 2025-03-20 20:02:47 -07:00
Jamie Cameron
b17df99700 Check the UID that is used for file operations 2025-03-13 17:13:37 -07:00
Jamie Cameron
98bda63c54 Declare missing variable 2025-03-04 18:07:26 -08:00
Ilia Ross
0943289abe Fix to try to simply flush and sync on existing file handle
https://github.com/webmin/webmin/pull/2428/files#r1976753485
2025-03-03 02:43:18 +02:00
Ilia Ross
707cd42bb5 Fix to flush and sync the temp and new files 2025-03-02 23:45:20 +02:00
Jamie Cameron
554cf0e8af Make variable name clearer, and better handle the case where opening a file fails 2025-03-02 11:20:22 -08:00
Jamie Cameron
c918e6583b Only fall back to writing to the dest file directly in the case of a permission denied when running as root, as root should already have access to all files 2025-03-02 11:12:38 -08:00
Jamie Cameron
576fef7c76 Clean up any write_file values with a newline in them 2025-03-01 18:01:59 -08:00
Jamie Cameron
cd84d0e74c Make variable local 2025-03-01 17:44:04 -08:00
Jamie Cameron
773011e783 Preserve comments when editing an environment file
https://github.com/webmin/webmin/issues/2424
2025-02-26 21:33:45 -08:00
Jamie Cameron
2697c12d88 Delete code that includes the last perl module failure in error messages, as it generateds a lot of misleading failures due to missing but un-needed perl modules 2025-02-22 10:19:08 -08:00
Ilia Ross
d79b2b8284 Fix to consider base remote user 2025-02-15 19:09:19 +02:00
Jamie Cameron
b4725ac9ef Clear missing cache field 2025-02-08 20:43:36 -08:00
Jamie Cameron
c1c265656c It doesn't matter if the QUIT command fails
https://github.com/webmin/webmin/issues/2394
2025-02-06 21:24:12 -08:00
Ilia Ross
a2520b4396 Fix special case for unspecified address when checking IPv6 2025-01-19 19:21:46 +02:00
Ilia Ross
5df04a50bd Fix factored out function to correctly sort one file by another 2025-01-17 22:28:18 +02:00
Ilia Ross
99a59ed554 Fix to factor out a function with different logic 2025-01-15 13:19:22 +02:00