Commit Graph

944 Commits

Author SHA1 Message Date
Jamie Cameron
31737508ee Pass on timeout 2021-08-21 13:13:15 -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
3c27fe3a0a Add param to prevent logging when diffing 2021-07-17 16:05:22 -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
097825f1fe Merge branch 'master' of github.com:webmin/webmin 2021-06-25 14:45:17 -07:00
Jamie Cameron
e03b941b9f Fix perl warning https://github.com/webmin/webmin/issues/1498 2021-06-23 21:03:21 -07:00
Ilia Rostovtsev
63db49aeba Keep logicaly bind lines together 2021-06-20 21:06:52 +03:00
Ilia Rostovtsev
e9ade1591c Move loading default theme config to outside of the loop 2021-06-20 21:04:52 +03:00
Ilia Rostovtsev
6bfef015a6 Read and load custom theme config if exists 2021-06-20 20:27:58 +03:00
Jamie Cameron
383b26c28a Support for session login redirect in miniserv 2021-05-28 20:50:26 -07:00
Ilia Rostovtsev
2fe48a7b48 Fix typo 2021-04-22 13:07:20 +03:00
Jamie Cameron
5b5f86c1a1 Add a new way of overriding the module.info description, and use it for MySQL 2021-04-21 21:54:07 -07:00
Jamie Cameron
47af093d57 Revert module.info overrides via function 2021-04-21 21:30:31 -07:00
Ilia Rostovtsev
fc638f5d90 Fix to use already existing hashref 2021-04-11 14:28:26 +03:00
Ilia Rostovtsev
f358fa2a98 Simplify https://github.com/webmin/webmin/pull/1470#issuecomment-816270694 2021-04-09 18:58:16 +03:00
Ilia Rostovtsev
575a801c6d Fix to prevent endless loop on lib auto-detection; force define to -lib.pl file
Call module override prior theme overrides
2021-04-06 22:19:11 +03:00
Ilia Rostovtsev
3db32b8cfa Add ability to override module's info https://github.com/webmin/webmin/issues/1421#issuecomment-772137324
https://github.com/virtualmin/virtualmin-gpl/issues/275
2021-04-06 18:34:11 +03:00
Jamie Cameron
5fc0bc9ce5 Fix duplicate assignment of tostr 2021-04-03 18:24:09 -07:00
nikokio
679b57c6ff Variable $tostr used 100 lines above its declaration ! 2021-04-01 17:51:10 +02:00
Ilia Rostovtsev
4cb4177ae6 Fix to prevent sending CSP if defined in custom headers or by theme 2021-03-29 15:19:37 +03:00
Ilia Rostovtsev
39b14afb7e Theme needs a control over x-no-links header 2021-03-28 16:44:06 +03:00
Jamie Cameron
9feae324d6 Move buffer size into a function 2021-03-27 12:08:52 -07:00
Jamie Cameron
db132bf00c Merge branch 'master' of github.com:webmin/webmin 2021-03-26 13:17:59 -07:00
Jamie Cameron
17724f2b9b Move buffer size into a global 2021-03-26 13:17:47 -07:00
Ilia Rostovtsev
1b54c49813 Fix to allow limiting list_combined_webmin_menu to specific module 2021-03-26 20:40:16 +03:00
Ilia Rostovtsev
49f75d239a Fix bad design that I shouldn't have ever added #1466 2021-03-26 15:37:12 +03:00
Jamie Cameron
ae071bf4f6 Use a larger buffer size for uploads https://www.virtualmin.com/node/54835 2021-03-19 10:46:08 -07:00
Ilia Rostovtsev
1b9334d000 Assign vars explicitly 2021-03-16 16:44:10 +03:00
Ilia Rostovtsev
b337c192c8 Fix to_ip6address sub variables scope and missing ;
44b98ef4fc
2021-03-16 16:24:25 +03:00
Jamie Cameron
44b98ef4fc Add extra protection against internal perl error on IPv6 lookup 2021-03-15 23:54:10 -07:00
Jamie Cameron
f8ae8c81fb Attempt to fix 'attempt to copy freed scalar' error 2021-03-14 18:14:30 -07:00
Ilia Rostovtsev
4970243edf Add move_source_dest file API a4c78aecc7 (commitcomment-47871889) 2021-03-05 12:59:35 +03:00
Ilia Rostovtsev
2a57c182d8 Check if user prefs file exist 2021-02-28 03:05:13 +03:00
Ilia Rostovtsev
7022d214d2 Optimize subs
8b4bbec88b (commitcomment-47642572)
2021-02-28 03:01:10 +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
0945ebb1eb Revert "Use suggested $module_config_directory instead"
`$module_config_directory` is bo accessible when called from module config (using config.cgi file)

This reverts commit 444cbe5e83.
2021-02-23 13:02:48 +03:00
Ilia Rostovtsev
444cbe5e83 Use suggested $module_config_directory instead 2021-02-23 12:38:09 +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
Jamie Cameron
e2b6feee48 Always close timed-out connections when re-connecting 2021-02-06 12:55:24 -08:00
Jamie Cameron
1d782c5017 Make timeout configurable 2021-02-06 12:43:37 -08:00
Jamie Cameron
821e4d17a0 Always close the LDAP server connection, even if some operation failed 2021-01-31 11:06:27 -08:00
Jamie Cameron
0d17708cdd Better handle the case where no theme is in use 2021-01-25 20:24:55 -08:00
Ilia Rostovtsev
523668d9af Fix typo 2021-01-25 23:43:51 +03:00
Ilia Rostovtsev
37f1d75afd Add trim sub
23adcc8bc0 (r46315725)
2021-01-25 23:34:16 +03:00
Jamie Cameron
c0fcc04838 Merge branch 'master' of github.com:webmin/webmin 2021-01-24 13:28:25 -08:00
Jamie Cameron
6245010262 Prevent endlessly growing PATH https://github.com/virtualmin/virtualmin-gpl/issues/245 2021-01-24 13:28:02 -08:00
Ilia Rostovtsev
4fc2fc3f05 Add fail-proof on misconfiguration
4ef304662e
2021-01-24 17:48:29 +03:00
Jamie Cameron
4ef304662e Rely on theme passed from miniserv if available 2021-01-23 22:49:31 -08:00