Commit Graph

542 Commits

Author SHA1 Message Date
Jamie Cameron
8a6f778410 Check all IPv6 addresses, and also handle case where no HTTP reply is received 2021-01-20 21:30:28 -08:00
Jamie Cameron
04c74877c3 Try all IPs when opening a socket 2021-01-20 20:35:09 -08:00
Jamie Cameron
77ff74a717 Optionally resolve to multiple IPs 2021-01-20 20:16:19 -08:00
Ilia Rostovtsev
8f600c292e Add better styling for error messages in UI, and correspond with minserv
5a53f18b8c
2021-01-17 22:28:50 +03:00
Ilia Rostovtsev
297ed0dfa1 Improve error message formatting based on mode 2021-01-14 17:29:31 +03:00
Jamie Cameron
c580a31c9b Handle odd case where domain name is set to 'invalid' 2021-01-04 20:12:10 -08:00
Ilia Rostovtsev
539d72bd7b Add ability to preserve section comment as well 2020-12-28 16:38:22 +03:00
Ilia Rostovtsev
33145f2e64 Consider last block as well 2020-12-28 16:18:21 +03:00
Ilia Rostovtsev
fd4786202e Quotemeta strings 2020-12-27 21:14:37 +03:00
Ilia Rostovtsev
0f7ecb6f48 Fix comment 2020-12-27 15:17:49 +03:00
Ilia Rostovtsev
8d1976b63f Fix indent 2020-12-27 15:17:00 +03:00
Ilia Rostovtsev
a070bc0fa3 Use formal params
00e5b63873 (r45441291)
2020-12-27 15:14:44 +03:00
Ilia Rostovtsev
a2c6c3ba5e Fix indentation
00e5b63873 (r45441299)
2020-12-27 14:11:29 +03:00
Ilia Rostovtsev
00e5b63873 Add support for preserving new lines when writing file 2020-12-26 14:07:53 +03:00
Jamie Cameron
316318e2ba Remove redudant check 2020-12-21 12:41:01 -08:00
Jamie Cameron
ad5d1d4613 Improve error if module to require simply doesn't exist 2020-12-20 19:29:55 -08:00
Jamie Cameron
813e2e1d8b Progress URL might be from an untrustred source 2020-12-19 20:38:16 -08:00
Jamie Cameron
3c85fe0c7c Use absolute path to the su command, if we have it 2020-12-19 12:15:11 -08:00
Jamie Cameron
ba9334250e Add param to force a hostname 2020-12-18 15:21:34 -08:00
Jamie Cameron
47fcc8e18c Fix merge error 2020-12-18 15:07:36 -08:00
Jamie Cameron
ca5b154652 UI option to set a custom URL for use in emails 2020-12-18 15:04:25 -08:00
Ilia Rostovtsev
22c5c596ce Add complementary UI API for "read_file_contents_limit" sub 2020-12-18 16:50:24 +03:00
Ilia Rostovtsev
b3fe987e2b Add to return limit as well 2020-12-18 13:11:54 +03:00
Ilia Rostovtsev
eb186c2c85 Add new API sub to read large files partially 2020-12-18 00:13:31 +03:00
Ilia Rostovtsev
3a9146bad1 There could be more than one function in theme config functions 2020-12-14 22:19:11 +03:00
Ilia Rostovtsev
faec2a411b Revert "Add limit when reading file contents"
This reverts commit b594646679.
2020-12-14 01:36:46 +03:00
Ilia Rostovtsev
d0340e5fff Revert "Add ability to reverse read file contents"
This reverts commit dc62885a51.
2020-12-14 01:36:32 +03:00
Ilia Rostovtsev
dc62885a51 Add ability to reverse read file contents 2020-12-12 21:12:52 +03:00
Ilia Rostovtsev
b594646679 Add limit when reading file contents 2020-12-12 00:20:10 +03:00
Ilia Rostovtsev
b008c9429a Returned version used for comparison; return UI variant on demand only 2020-11-30 15:16:52 +03:00
Ilia Rostovtsev
02e8ada005 Fix to treat command line output correctly
Ref.: 1f34cb4994
2020-10-05 18:27:29 +03:00
Ilia Rostovtsev
51cf3fd018 Add to use helper function to create timestamped trans files 2020-09-09 21:21:50 +03:00
Jamie Cameron
4ca40b79c0 When restarting, also use the flag file as a backup, as on CentOS 8 sometimes signals don't get processed 2020-09-04 10:02:36 -07:00
Jamie Cameron
f02e65c7d7 Use utf-8 always when reading JSON 2020-06-29 12:07:12 -07:00
Ilia Rostovtsev
06b2458138 Fix to roll back to only use standard read_file_contents sub 2020-06-28 23:19:56 +03:00
Ilia Rostovtsev
f5e9fa8943 Fix JSON 2/2 2020-06-28 19:40:08 +03:00
Ilia Rostovtsev
a3ce28e1ed Fix JSON 1/2 2020-06-28 05:04:53 +03:00
Jamie Cameron
62aeda5440 Merge branch 'master' of github.com:webmin/webmin 2020-06-27 09:45:35 -07:00
Jamie Cameron
9d05a33629 Fix formatting 2020-06-27 09:45:28 -07:00
Ilia Rostovtsev
e5ee0df574 Add missing en-GB to safe language sub 2020-06-27 19:31:39 +03:00
Jamie Cameron
4b7ea7aed7 Never re-write duplicate keys 2020-06-26 11:24:44 -07:00
Ilia Rostovtsev
4ecdcae20d Compare versions with underscore correctly
https://forum.virtualmin.com/t/3-package-updates-are-available/106034/24
2020-06-11 15:13:04 +03:00
Jamie Cameron
78ecafe813 Cache connection to webmin user database https://www.virtualmin.com/node/66850 2020-06-10 22:25:50 -07:00
Ilia Rostovtsev
b9082376de Add relative referer redirect for fix 2020-05-23 15:21:01 +03:00
Jamie Cameron
cf1965834c Don't append domain name if none was found https://virtualmin.com/node/68961 2020-05-03 15:00:36 -07:00
Ilia Rostovtsev
1e4bc2a17f Make sure that var is always defined 2020-04-29 22:25:36 +03:00
Ilia Rostovtsev
18f9c0effc Fix to consider read .auto too 2020-04-29 22:23:33 +03:00
Jamie Cameron
cd1fd3e4c7 read .auto files in ulang 2020-04-29 11:32:46 -07:00
Ilia Rostovtsev
03170f9624 Nowadays charset should always be 'UTF-8' 2020-04-08 21:34:57 +03:00
Ilia Rostovtsev
e3c23f5df2 Fix typo 2020-04-07 15:54:13 +03:00