nextcloud/tests
Mohammed Abdellatif 98d6415264 Add support for GuzzleHTTP 'no' proxy
The custom config allows to setup a proxy URI that is passed to
GuzzleHTTP client as request options. Guzzle has the option to receive
an array of proxies for each URI scheme as well as 'no' key value pair
to provide a list of host names that should not be proxied to.

Guzzle would automatically populate these options with HTTPS_PROXY
and NO_PROXY environment variables. However, when providing a 'proxy'
request option, default values will be overriden and it is required to
explicitly provide the 'no' value if needed.

More info:
http://docs.guzzlephp.org/en/stable/request-options.html#proxy

This commit will add support for a new config 'proxyexclude', which
takes a list of host names to be excluded.

It will also provide 'proxy' request option as an array instead of a
string to Guzzle, and populate 'http' and 'https' URI schemes with
proxy URI, and 'no' with 'proxyexclude' list.

Also, if no 'proxy' is configured, it will leave out 'proxy' request
option, so it won't override Guzzle default values.

Sample config file includes a hint on how to explicitly sync
'proxyexclude' with NO_PROXY, and a note about default values.

Signed-off-by: Mohammed Abdellatif <m.latief@gmail.com>
2020-02-29 19:19:23 +02:00
..
Core Merge pull request #18644 from nextcloud/harden/csrf_endpoint 2020-01-07 13:43:46 +01:00
acceptance fix the folder share 2019-12-19 16:14:47 +01:00
apps Validate the info.xml against the appstore schema file 2018-02-16 10:23:51 +01:00
data Mimetype list integrity check should not fail if it's changed (#15810) 2019-07-07 20:01:58 +02:00
docker Namespace and array syntax fixes 2017-03-19 14:52:54 -06:00
lib Add support for GuzzleHTTP 'no' proxy 2020-02-29 19:19:23 +02:00
objectstore make object prefix configurable 2016-11-14 15:10:56 +01:00
travis Changed name of default logfile from owncloud.log to nextcloud.log. 2016-07-04 11:50:32 +02:00
ui-regression Remove fs package 2019-07-01 11:24:58 +02:00
apps.php Fix the tests again 2016-05-25 16:51:02 +02:00
bootstrap.php Require PHPUnit 6.5 or higher 2018-01-24 17:23:59 +01:00
drone-run-integration-tests.sh Only run integration tests when PHP was modified 2019-08-27 11:31:15 +02:00
drone-wait-objectstore.sh Kill objectstore CI if we can't create a file 2018-02-26 14:54:27 +01:00
enable_all.php Add tests 2018-01-25 13:44:47 +01:00
karma.config.js Fix tests 2019-12-02 13:08:43 +01:00
phpunit-autotest-external.xml Adjust the phpunit config 2016-05-25 15:14:37 +02:00
phpunit-autotest.xml Make phpunit8 compatible 2019-11-27 13:34:41 +01:00
preseed-config.php Cache tokens when using swift's v2 authentication 2019-01-13 19:59:48 +01:00
redis-cluster.config.php Fix drone 2017-07-14 15:04:18 +02:00
redis.config.php Fix drone 2017-07-14 15:04:18 +02:00
startsessionlistener.php Make phpunit8 compatible 2019-11-27 13:34:41 +01:00