Commit Graph

865 Commits

Author SHA1 Message Date
Jamie Cameron
5abc9b538b Include SNI host in hostname to check 2017-05-15 16:34:13 -07:00
Jamie Cameron
49aa15c138 Use correct hostname in SNI for SSL requests https://virtualmin.com/node/51969 2017-04-29 14:59:03 -07:00
Jamie Cameron
406b3f7bdc Add new option to keep the current shell 2017-04-23 20:20:56 -07:00
Jamie Cameron
bc0eea7a01 onError is also a JS reference 2017-04-11 16:17:30 -07:00
Jamie Cameron
f559c1a078 Handle version parts like deb8u9 and deb8u10 https://sourceforge.net/p/webadmin/bugs/4911/ 2017-03-07 20:53:17 -08:00
Jamie Cameron
155f98977a Move version comparison code up to global 2017-02-10 15:47:35 -08:00
Jamie Cameron
ee35b62079 Add core function to check if bash is being used 2017-01-22 16:16:46 -08:00
Jamie Cameron
7208412de2 let's encrypt output can be a symlink, so always de-reference it https://www.virtualmin.com/node/42419 2016-09-29 16:28:54 -07:00
Jamie Cameron
ac4d68f2ce Close HTTP connection on failure, to avoid dangling file handles https://www.virtualmin.com/node/41967 2016-09-09 16:25:11 -07:00
Jamie Cameron
5881b223b4 inet6 constants are now in the Socket package https://www.virtualmin.com/node/40065 2016-07-24 13:12:25 -07:00
Jamie Cameron
7e72bcdbaf Use common function for creating logged event descriptions 2016-06-25 16:45:11 -07:00
Jamie Cameron
941f110eda github is sending the HTTP header X-Geo-Block-List: with no value, which causes webmin to stop processing headers at this point. This causes remaining headers to be included in the downloaded file 2016-06-19 12:22:50 -07:00
Jamie Cameron
025be61e1e Completed webmin logging via email 2016-06-11 18:51:46 -07:00
Jamie Cameron
a53b6d96ca On some systems, there is no set_tlsext_host_name function 2016-05-26 07:42:22 -07:00
Matthew Noorenberghe
b7815aa85e Use SNI for make_http_connection connections. Fixes #355 2016-05-21 20:35:31 -07:00
Jamie Cameron
1c0e069881 Fix ordering of params to symlink 86eeb96334 2016-05-06 17:33:22 -07:00
Jamie Cameron
86eeb96334 copy_source_dest support for symlinks https://github.com/webmin/webmin/issues/322 2016-05-05 20:37:29 -07:00
Jamie Cameron
c613cdc8c9 don;'t completely crash if one module fails 2016-04-08 12:07:54 -07:00
Jamie Cameron
6ad0df49e1 Properly remove use of old API for writing files https://sourceforge.net/p/webadmin/bugs/4717/ 2016-03-09 21:12:36 -08:00
Jamie Cameron
10f12a83c6 Rollback to HTTP 1.0, as switching to 1.1 seems to break some downloads 2016-03-07 10:28:39 -08:00
Jamie Cameron
7eec607f86 HTTP 1.0 is dead and buries 2016-02-29 15:34:48 -08:00
Jamie Cameron
f06270fca1 Add some formal params 2016-01-24 10:03:43 -08:00
Jamie Cameron
9040c26581 Fix group matched for content type 2016-01-23 17:49:49 -08:00
Jamie Cameron
5d0411b789 Add option to store multiple values for the same input in an array 2016-01-23 15:09:36 -08:00
Jamie Cameron
be4cf27e12 Remove special case for old version, and add formal params 2016-01-14 21:23:01 -08:00
Jamie Cameron
a74744d914 Work on verifiction of remote CA certs 2015-08-31 22:26:15 -07:00
Jamie Cameron
fe1e459d62 API work on SSL verification 2015-08-31 20:55:30 -07:00
Jamie Cameron
4e9408b048 Clean up some formal parameters and code formatting 2015-08-02 14:53:21 -07:00
Jamie Cameron
0213ee0371 Add support for parsing FTP URLs to the http parser function 2015-08-02 14:36:22 -07:00
Jamie Cameron
f5ebb0a1cf No need to use POSIX when it is already included up the top 2015-08-02 13:32:52 -07:00
Jamie Cameron
5db4f95687 Xinha requires use of eval 2015-08-02 13:00:45 -07:00
Kaiden Prince
f6e7b851d2 add child-src
frame-src is now depreciated, added child-src for compatibility for new browsers.
2015-07-08 15:40:36 -04:00
Jamie Cameron
3615770fbe Move modules cache to /var/webmin 2015-06-27 20:37:29 -07:00
Jamie Cameron
16204e7dcd Create new per-module var directoiry 2015-06-25 09:44:24 -07:00
Jamie Cameron
3c41e0e816 Re-factor referer checking code to make it more readable 2015-06-06 07:19:24 -07:00
Jamie Cameron
9cff0de208 Correct function's documented return type 2015-04-25 22:00:29 -07:00
Jamie Cameron
cefecfb173 Don't modify a list that is being iterated over 2015-03-13 16:41:34 -07:00
Jamie Cameron
3f53a503db Make the upload tracker a bit larger https://github.com/webmin/webmin/issues/196 2015-03-05 10:17:37 -08:00
Jamie Cameron
d40b907ad2 Update message to better reflect actual UI http://virtualmin.com/node/36326 2015-02-26 10:56:29 -08:00
Jamie Cameron
d5f2981d02 When looking for the default lib.pl in a clone, the name should be based on the original module 2015-02-21 22:03:06 -08:00
Jamie Cameron
8ed9a84180 Allow module-level vetoing 2015-02-21 09:30:08 -08:00
Jamie Cameron
bae3f5e77b Skip ACL check for scripts that aren't run via the web 2015-01-26 20:02:14 -08:00
Jamie Cameron
ceb1a57dd8 Don't wrap command in brackets if it already starts with them, as this can cause escaping problems with some shells 2015-01-23 17:20:09 -08:00
Jamie Cameron
a71f333ff0 When overwriting a file via a temp file, keep the old permissions. Otherwise, let the umask apply 2015-01-17 23:31:28 -08:00
Jamie Cameron
8c80095878 000 is a valid umask 2015-01-17 23:15:50 -08:00
Jamie Cameron
89897579f5 Use named param 2015-01-11 10:03:15 -08:00
Jamie Cameron
0ef822606b Make notifications scarier 2015-01-10 16:16:05 -08:00
Jamie Cameron
807de6e9ce Hide password in FTP error message http://virtualmin.com/node/35772 2015-01-08 10:54:12 -08:00
Jamie Cameron
1323ae9191 Increase copy buffer size for more efficiency 2014-12-27 17:16:09 -08:00
Jamie Cameron
2ea378e63d Allow modules to veto blocks from other modules 2014-12-22 14:49:33 -08:00