963 Commits

Author SHA1 Message Date
Ilia Ross
458916b4d8 Fix to simplify make_date calls 2024-06-16 01:48:14 +03:00
Ilia Ross
cce8911f0f Add additional details to the object 2024-06-08 16:53:25 +03:00
Ilia Ross
00d0a89630 Set socket URL depending on the proxy unless defined in config 2024-06-07 01:15:27 +03:00
Ilia Ross
185465351a Fix to use named loop variable 2024-06-05 00:07:44 +03:00
Ilia Ross
71e37adfed Add ability to clean all modules with websockets=1 on the .info 2024-06-04 19:55:25 +03:00
Ilia Ross
af912d9539 Add API to get WebSocket URL 2024-06-04 19:07:34 +03:00
Ilia Ross
5b31c7df84 Factor out WebSockets port and host options to global config 2024-06-04 18:43:34 +03:00
Ilia Ross
55b5939194 Move websocket functions to be always available 2024-06-04 15:48:06 +03:00
Ilia Ross
decb55b8ff Add support for storing replaced text values and keys #2176
9e0d4cd9b6
2024-05-30 02:39:19 +03:00
Jamie Cameron
5c465a587c Add function to clear the Webmin cache for a URL 2024-05-23 15:17:27 -07:00
Jamie Cameron
40c1c30ae2 Don't show the last perl eval faiure unless full error reporting is enabled, because it scares the users https://github.com/virtualmin/virtualmin-gpl/issues/813 2024-05-20 16:22:59 -07:00
Jamie Cameron
5ab6ce618d Sometimes less than a whole line is read 2024-05-17 19:47:14 -07:00
Jamie Cameron
799ccb3683 Add missing local variable 2024-04-28 09:05:02 -07:00
Ilia Ross
18d405b91a Fix a bug when error() sub is called without loaded UI lib 2024-04-13 22:46:39 +03:00
Ilia Ross
2fce5e752e Add support for year and complete short date formats
i.e. can now return 2024 and Thursday, April 1
2024-04-09 23:44:45 +03:00
Ilia Ross
1648384ce8 Fix comment 2024-04-09 20:11:36 +03:00
Ilia Ross
7f8ad9c148 Fix to drop old word-around in make_date 2024-03-25 11:55:11 +02:00
Ilia Ross
cb95472a27 Add support for passing params to config directly 2024-02-25 19:31:47 +02:00
Jamie Cameron
aca2a9a524 Pass URL params from the page that called config.cgi back when saving 2023-11-10 16:57:24 -08:00
Jamie Cameron
d239e77f15 Pass config module in as a regular param 2023-11-08 22:09:21 -08:00
Jamie Cameron
b3c8706690 Fix variable name 2023-11-01 23:26:53 -07:00
Ilia Ross
b40fe2140d Fix hostname detection [build] 2023-10-12 10:38:03 +03:00
Jamie Cameron
4c8d27cf89 Can't be too careful 2023-10-11 22:47:27 -07:00
Jamie Cameron
895217865b Initial support for tracking locks 2023-10-11 22:46:01 -07:00
Ilia Ross
04557f6e28 Fix to check for config dir instead on systemd system 2023-10-10 23:47:05 +03:00
Ilia Ross
d7de842f45 Fix to change version in caller 2023-10-10 23:36:52 +03:00
Ilia Ross
d48154d6a0 Fix reading hostname from file as hostnamectl depends on it anyway #2020 2023-10-09 21:14:31 +03:00
Ilia Ross
3c97fc5a32 Fix to check if UI function exists #2021 2023-10-09 18:41:19 +03:00
Ilia Ross
cbdc843500 Add theme switcher using hotkeys 2023-09-29 03:24:14 +03:00
Ilia Ross
0289ceed5b Fix indent [build] 2023-09-26 21:24:12 +03:00
Ilia Ross
4e54ce3f85 Fix to correctly cache cloned locale with military time 2023-09-26 21:22:44 +03:00
Ilia Ross
73b2322597 Add English (United States) (military time) locale
https://github.com/webmin/authentic-theme/issues/1676#issuecomment-1735466651
2023-09-26 19:19:21 +03:00
Ilia Ross
05c7b6c3a3 Fix locale as sv isn't se
https://github.com/webmin/authentic-theme/issues/1676
2023-09-26 15:22:57 +03:00
Ilia Ross
b339c76fc7 Fix to always escape & by default 2023-09-25 19:19:52 +03:00
Ilia Ross
f0f8dc2850 Fix to correctly escape content in editor mode
https://forum.virtualmin.com/t/webmins-file-managers-editor-converting-html-special-characters-making-the-next-save-detrimental/122606/18?u=ilia

605a32f87d
2023-09-16 16:57:08 +03:00
Ilia Ross
8b68eac561 Fix how errors are handled when $main::error_last_eval is set
Note: If `$main::error_last_eval` was set, then display full error message using HTML accordion, otherwise display a bubble showing a file name and line which failed
2023-09-15 15:37:33 +03:00
Ilia Ross
0503299773 Fix to correctly set last caller (file:line) in error 2023-09-15 14:16:58 +03:00
Ilia Ross
fead9b108d Fix to print errors to STDERR nicely 2023-09-15 01:13:54 +03:00
Ilia Ross
f5f3510a59 Fix default download buffer (once more) as 1 MiB should be just fine 2023-09-04 14:09:55 +03:00
Ilia Ross
088aba8cec Fix to use safer default buffer 2023-09-02 15:19:11 +03:00
Jamie Cameron
ac05a0c43a Merge pull request #1991 from webmin/dev/cache-system-hostname-using-state
Fix to use a new way for clearing hostname cache
2023-08-26 15:34:26 -07:00
Ilia Ross
18f3e1273f Fix to use a new param to clear cache 2023-08-27 01:27:05 +03:00
Ilia Ross
710829c16a Fix to send headers unless already done in var_dump 2023-08-26 21:45:44 +03:00
Ilia Ross
d834bb6da0 Fix to use state instead of globals in get_system_hostname sub 2023-08-26 21:17:57 +03:00
Ilia Ross
2d7e57c7e1 Add hostname detection using hostnamectl command 2023-08-25 18:59:03 +03:00
Ilia Ross
a90dbc5f33 Fix not to print HTML in stdout 2023-08-20 14:08:31 +03:00
Ilia Ross
825b928168 Fix not to escape HTML unless sent to UI 2023-08-18 12:57:43 +03:00
iliajie
c500759d83 Fix to simplify the code 2023-08-07 21:52:22 +03:00
iliajie
736d30ef76 Fix to display error message cleanly #1975 2023-08-07 19:44:47 +03:00
iliajie
f3cc268f0c Fix to show correct locale for sudo-capable user #1663 [build] 2023-08-04 12:54:17 +03:00