Commit Graph

128 Commits

Author SHA1 Message Date
iliajie
cc05c62609 Fix sub name and add missing class name 2023-07-10 05:48:24 +03:00
iliajie
643ace4777 Add new API: ui_space, ui_newline, ui_text
Nothing can be thrown to the browser without being used with UI lib!
2023-07-09 23:07:59 +03:00
iliajie
b49d4f8147 Fix to copy file permissions too 2023-07-01 22:19:30 +03:00
iliajie
ec21297448 Add API to unescape HTML entities 2023-06-01 23:00:52 +03:00
iliajie
a4f7cb1f8c Add API to check if given URL redirects somewhere 2023-05-17 16:59:00 +03:00
iliajie
9eb2624deb Add ability to pass browser's client height to the server 2023-05-12 12:02:58 +03:00
iliajie
6310521982 Add support for listing jail blocks with pagination 2/2 2023-05-08 23:56:04 +03:00
iliajie
e260a96d93 Add API to use theme dependent code for page refresh 2023-05-06 12:54:13 +03:00
iliajie
4e96552b03 Fix to factor out read_help_file sub to be accessible by theme 2023-05-06 12:01:06 +03:00
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