Commit Graph

119 Commits

Author SHA1 Message Date
Jamie Cameron
e5249a6e3b No need for a wrapper around the wrapper function 2023-04-18 15:44:40 -07:00
iliajie
d154935e8f Fix to factor out create_wrapper sub 2023-04-18 21:21:30 +03:00
iliajie
b6422024a6 Add ability to get system default locale and use it if nothing is set 2023-02-05 04:41:27 +02:00
iliajie
19a5766762 Locale can be accepted from the browser just like language 2023-02-05 03:57:25 +02:00
iliajie
094e1792e0 Move list_locales to be accessible in global scope (for Usermin) 2023-02-05 01:04:55 +02:00
iliajie
5c26bf4de3 Fix to prevent forcing using tables in tabs 2023-01-07 19:59:10 +02:00
iliajie
a9349c7fe5 Add new LIBROOT env var 2022-12-05 19:03:10 +02:00
iliajie
5f6f65a78f Fix to use PERLLIB as DOCUMENT_ROOT never set at a time 2022-12-05 17:03:51 +02:00
iliajie
f1a434b65a Fix to always set vendor_perl if perllib config option is set
https://sourceforge.net/p/webadmin/bugs/5595/
2022-12-02 00:22:43 +02:00
iliajie
e9d58bdd42 Add API to get buffer size for file transfers 2022-11-21 21:07:00 +02:00
iliajie
023f1b88b1 Fix to place package always at the top 2022-11-16 23:29:22 +02:00
iliajie
a294083e12 Fix to use unified path for all third party Perl modules 2022-11-16 22:42:00 +02:00
iliajie
25f01179a3 Add is_int and is_float subs 2022-10-29 18:15:39 +03:00
iliajie
87c8146698 Add parse float API 2022-10-28 22:35:57 +03:00
Jamie Cameron
2180c77d9a Add function to check for default cert 2022-10-16 13:27:04 -07:00
iliajie
d0ed52adf7 Fix to use foreign_defined sub instead 2022-10-01 18:29:39 +03:00
iliajie
e5c35a40c4 Export new get_webmin_full_version sub 2022-08-16 23:33:31 +03:00
iliajie
ca692f1374 Add make_dir_recursive API using Perl only 2022-08-12 13:03:20 +03:00
iliajie
760d4392ed Print bottom update button only if not in viewport https://github.com/webmin/authentic-theme/issues/1605#issue-1298478251 2022-07-08 12:31:26 +03:00
Ilia
5c7d31a1be Fix to rely on internal restarts/reloads
d357005cba (commitcomment-76425852)
2022-06-18 23:04:24 +03:00
Ilia
70395aab02 Fix to solve Webmin systemd ongoing issues 2022-06-15 01:00:10 +03:00
Ilia
95dcc4cd88 Add API to return cached theme info 2022-06-03 16:38:56 +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
Jamie Cameron
6a2334bf8b Factor out check for root-ish user into a separate function https://github.com/webmin/webmin/issues/1635 2022-05-14 11:38:03 -07:00
Ilia
15ec454fee Add improved var_dump functionality 2022-04-10 16:29:23 +03:00
Ilia Rostovtsev
561d53d90e Update to improve globals API 2022-02-08 01:36:01 +03:00
Ilia Rostovtsev
d92a35ac3c Add API to control global vars better
966d44ede5
d5082236f6
2022-01-23 16:52:31 +03:00
Ilia Rostovtsev
1579671702 Add new substitute_pattern API 2021-12-25 22:43: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
309b9e86d1 Add API to return subroutine name of a code reference bafc3db725 2021-10-08 14:39:28 +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
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
ab59df1a85 Regular tooltip (ui_help) doesn't support HTML 2021-09-27 13:26:42 +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
ae6921aeee Add crutial get_webprefix API 2021-09-26 16:12:25 +03:00
Jamie Cameron
2daa5e845d Add API function to get the release, and clean up version function 2021-08-25 17:38:40 -07:00
Jamie Cameron
84435597ee Add function to get the current browser URL 2021-08-05 12:10:50 -07:00
Jamie Cameron
5def4a417c Add API function to get the miniserv config file 2021-08-01 22:06:43 -07:00
Jamie Cameron
2b8b5df10b Extract function for printing the call stack, as it's useful in debugging 2021-06-26 17:33:48 -07:00
Jamie Cameron
9feae324d6 Move buffer size into a function 2021-03-27 12:08:52 -07:00
Ilia Rostovtsev
ab3597bf42 Add ui_help bubble tooltip UI API
1461a60f66
2021-03-05 16:19:45 +03:00
Ilia Rostovtsev
4970243edf Add move_source_dest file API a4c78aecc7 (commitcomment-47871889) 2021-03-05 12:59:35 +03:00
Ilia Rostovtsev
7fc04cff38 Don't export get_module_preferences_acl 2021-02-26 15:51:00 +03:00
Ilia Rostovtsev
8b4bbec88b Fix to bypass 'noconfig' option for modules with prefs set to * 2021-02-26 15:41:28 +03:00
Ilia Rostovtsev
c0dd20f26a Add ability to save module user prefs if allowed by module 2021-02-22 15:18:29 +03:00
Jamie Cameron
681b00790f Move up function for getting python path 2021-02-17 18:43:17 -08:00
Ilia Rostovtsev
d6c9c7eb96 Remove ampersands in export
23adcc8bc0 (commitcomment-46454446)
2021-01-29 17:40:38 +03:00
Ilia Rostovtsev
37f1d75afd Add trim sub
23adcc8bc0 (r46315725)
2021-01-25 23:34:16 +03:00
Jamie Cameron
47fcc8e18c Fix merge error 2020-12-18 15:07:36 -08:00