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
Ilia Rostovtsev
36f95bf65c
Add support for no-EOL for encode_base64 sub
2021-12-03 01:44:44 +03:00
Ilia Rostovtsev
26c4b93f2b
Shorten tmp filenames
2021-12-03 00:25:05 +03:00
Ilia Rostovtsev
bfcf37d077
Fix redirect built for themes when used with webprefix
2021-12-02 22:23:29 +03:00
Ilia Rostovtsev
a3624c9bdc
Fix to always fail on temp dir creation
2021-11-30 13:37:37 +03:00
Ilia Rostovtsev
d2caa052ec
Fix to make resilient initial loads
...
https://forum.virtualmin.com/t/error-when-trying-to-log-into-root-server/113114
2021-11-29 16:43:11 +03:00
Jamie Cameron
23df49bab1
Tell fastrpc.cgi that it's being run locally
2021-11-27 13:32:13 -08:00
Ilia Rostovtsev
cf0cf19812
Fix to copy links first, no matter if dir or file
2021-11-21 17:52:44 +03:00
Ilia Rostovtsev
12db447514
Add API to check if foreign module's function exists
2021-10-26 22:33:49 +03:00
Ilia Rostovtsev
9be42454b0
Fix to load theme library to always get expected HTML
2021-10-24 17:40:43 +03:00
Ilia Rostovtsev
a9670389b7
Fix to improve var dumping
...
For example, can be used to easily dump more complex data structures, like `webmin_debug_var_dump(\@rv, 'get_all_domain_service_ssl_certs');` will nicely print always sorted nested hashes
2021-10-15 23:18:37 +03:00
Jamie Cameron
f2e21fbe5d
Also flush cache of files that didn't exist the first time
2021-10-12 18:40:21 -07:00
Ilia Rostovtsev
180fac79c0
Fix to print pid in file name when dumping
2021-10-10 17:59:41 +03:00
Ilia Rostovtsev
5048ac67d7
Fix to escape special char
2021-10-10 17:02:20 +03:00
Ilia Rostovtsev
66e7b6530a
Fix to allow underscores and dashes in var dump
2021-10-10 17:01:39 +03:00
Ilia Rostovtsev
309b9e86d1
Add API to return subroutine name of a code reference bafc3db725
2021-10-08 14:39:28 +03:00
Ilia Rostovtsev
5e8ae5f277
Add replacement param for html_strip sub
2021-10-03 20:18:57 +03:00
Jamie Cameron
5383a5e962
Merge branch 'master' of github.com:webmin/webmin
2021-09-29 11:36:51 -07:00
Jamie Cameron
85628178ff
Suppress carriage returns as well https://github.com/webmin/webmin/issues/1528
2021-09-29 11:35:43 -07:00
Ilia Rostovtsev
a586b9ef2b
Fix another comment for new var dump sub
2021-09-29 14:46:25 +03:00
Ilia Rostovtsev
f9906fa972
Fix to print array index for new var dump sub
2021-09-29 14:38:44 +03:00
Ilia Rostovtsev
ba86f000e7
Fix to use better file names for new var dump sub
2021-09-29 14:25:45 +03:00
Ilia Rostovtsev
ffa93926c3
Fix comment for new var dump sub
2021-09-29 14:18:19 +03:00
Ilia Rostovtsev
3bed075571
Add webmin_debug_var_dump sub for better debugging across modules
2021-09-29 14:16:41 +03:00
Ilia Rostovtsev
f69fa81e59
Fix to get safely using wrapper sub 2/2
2021-09-28 16:30:05 +03:00
Ilia Rostovtsev
6566bd9c48
Fix not to load theme library as must be loaded already
2021-09-28 16:08:35 +03:00
Ilia Rostovtsev
2ee92e8a54
Pass args to theme_get_webprefix
2021-09-28 16:07:42 +03:00
Ilia Rostovtsev
9cb0720dc9
Fix to get webprefix safely using wrapper sub 1/2
2021-09-28 15:11:00 +03:00
Jamie Cameron
f3c4a3392e
Move special handling for link.cgi out to a theme function
2021-09-27 10:09:44 -07:00
Ilia Rostovtsev
50087e9dbe
Revert "Fix ongoing issues with proxy prefixes in status collection, choosers 1/2"
...
This reverts commit d59eb79542 .
2021-09-27 15:12:20 +03:00
Ilia Rostovtsev
5f0edd4116
Revert "Fix to rely on new webprefix API for header, footer and get referer"
...
This reverts commit 1fc5140a99 .
2021-09-27 15:11:59 +03:00
Ilia Rostovtsev
ab59df1a85
Regular tooltip (ui_help) doesn't support HTML
2021-09-27 13:26:42 +03:00
Ilia Rostovtsev
1fc5140a99
Fix to rely on new webprefix API for header, footer and get referer
2021-09-27 13:13:00 +03:00
Ilia Rostovtsev
d59eb79542
Fix ongoing issues with proxy prefixes in status collection, choosers 1/2
2021-09-26 19:45:47 +03:00
Ilia Rostovtsev
5f70bd6cbd
Fix formatting
2021-09-26 16:16:18 +03:00
Ilia Rostovtsev
ae6921aeee
Add crutial get_webprefix API
2021-09-26 16:12:25 +03:00
Jamie Cameron
c86e9de2e5
Include release in displayed version
2021-08-25 17:54:03 -07:00
Jamie Cameron
2daa5e845d
Add API function to get the release, and clean up version function
2021-08-25 17:38:40 -07:00