Build: #722 failed Rebuilt by Tomas Tornevall
Code commits
TorneLIB NetCURL 6.0/Develop
-
Tomas Tornevall cf218c76d9d5a81d1ce46689f1ab08b144500987
Pull request #58: Develop/6.1
Merge in LIB/tornelib-php-netcurl from develop/6.1 to master
* commit '00db8aec3613ec7282beaef6a5e04a5d7cc2459d': (133 commits)
Old files removal.
Document updated with mailinglist information.
Sets useragent in tests to a "netcurl-%s" (%s=version).
network driver should point to dev as long as it has not been released.
Disabled "noSoapClient" entirely.
Still problems in noSoapClient-test. Fixed it.
One test, with one wrong flag set, made the rest of the soapers go crazy.
Bamboo has issues: curl unavailable: curl_init and/or curl_exec not found
CURL_SSLVERSION_DEFAULT not exists on bamboo instance?
Not expecting noSoapClient work if remote are failing.
xpath is now returning soapobjects
* NetWrapper used wrong request method. * Return value is now correct in getVersion. * Moved __call to the bottom of NetWrapper where it belongs. * request() in NetWrapper now also, during wsdl control, is making sure that SoapClient exists. If it is not, it changes the way the request will be done to a post+XML. * CurlWrapper is not requesting for IO\Data\Content to check for parsable content. Without guessing games. * If requestDataType is Xml, CurlWrapper will set proper headers for XML-requests. * getCurlRequest now resets curlResponseHeaders between each request to avoid duplicated headers. * SpringWeb-lookalike duplicate detecter for getHead(), where some headers - if duplicated - acts weird. CurlWrapper will pop such arrays. * getPriorCompatibilityArguments moved to WrapperConfig from CurlWrapper. * getParsed is not guessing content - it checks content-type and the parses data, presuming the data is correct. That will fix some weird warning-exceptions. * SoapClientWrapper is now using utils to decide if SoapClient exists (Security::getCurrentClassState('SoapClient')). * getPriorCompatibilityArguments also moved out from SoapClientWrapper. * SoapClientWrapper has now visible methods for getLastRequest, getLastRequestHeaders, getLastResponse, getLastResponseHeaders and getFunctions.
Moved getCompatibilityArguments into WrapperConfig
Updated units xml file
Updated composer requirements.
phpunit update
Wrapper interface docblock info added.
Docblock for interface.
More docblocks.
docblock updates.
... -
Tomas Tornevall 00db8aec3613ec7282beaef6a5e04a5d7cc2459d
Old files removal.
-
Tomas Tornevall db4f5875196e345ea63ff5c25b49abe093e45d6d
Merge branch 'master' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into develop/6.1
-
Tomas Tornevall f5572e7ebc807ee783e860e5ba53e2fc213b8687 m
Document updated with mailinglist information.
-
Tomas Tornevall c3aa67ff154142546faaa98405a548eb8cbc7591 m
Sets useragent in tests to a "netcurl-%s" (%s=version).
-
Tomas Tornevall c0306290c3a59ce1b71bb6b0b76a98750ca744b3 m
network driver should point to dev as long as it has not been released.
-
Tomas Tornevall 9bb062be3556540bbb6bf06e7b1dbde38a397283 m
Disabled "noSoapClient" entirely.
-
Tomas Tornevall e0f5c81a1062d1f93ab7d10dcc72e4898c9010c8 m
Still problems in noSoapClient-test. Fixed it.
-
Tomas Tornevall 41375b0c7e9cd49f7fbf1aa809517300613da3f6 m
One test, with one wrong flag set, made the rest of the soapers go crazy.
-
Tomas Tornevall e36838e6664dec9a9d69e27cec92f7fb66c21f34 m
Bamboo has issues: curl unavailable: curl_init and/or curl_exec not found
-
Tomas Tornevall 1a7cb7ab0d9c9ec1783a7851eff1ee5fead198f2 m
CURL_SSLVERSION_DEFAULT not exists on bamboo instance?
-
Tomas Tornevall bb1e5c06acbdbdd47c67ec7877e0b134395dc021 m
Not expecting noSoapClient work if remote are failing.
-
Tomas Tornevall 2481abb8b5cc9e0d93f976b9130c0a180afec641 m
xpath is now returning soapobjects
-
Tomas Tornevall 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be m
* NetWrapper used wrong request method. * Return value is now correct in getVersion. * Moved __call to the bottom of NetWrapper where it belongs. * request() in NetWrapper now also, during wsdl control, is making sure that SoapClient exists. If it is not, it changes the way the request will be done to a post+XML. * CurlWrapper is not requesting for IO\Data\Content to check for parsable content. Without guessing games. * If requestDataType is Xml, CurlWrapper will set proper headers for XML-requests. * getCurlRequest now resets curlResponseHeaders between each request to avoid duplicated headers. * SpringWeb-lookalike duplicate detecter for getHead(), where some headers - if duplicated - acts weird. CurlWrapper will pop such arrays. * getPriorCompatibilityArguments moved to WrapperConfig from CurlWrapper. * getParsed is not guessing content - it checks content-type and the parses data, presuming the data is correct. That will fix some weird warning-exceptions. * SoapClientWrapper is now using utils to decide if SoapClient exists (Security::getCurrentClassState('SoapClient')). * getPriorCompatibilityArguments also moved out from SoapClientWrapper. * SoapClientWrapper has now visible methods for getLastRequest, getLastRequestHeaders, getLastResponse, getLastResponseHeaders and getFunctions.
- src/Module/Network/NetWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- test.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- tests/curlWrapperTest.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- tests/netWrapperTest.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- tests/netcurlTest.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
-
Tomas Tornevall d91de296fbb86fed7d2e46e64943f03fca5072c3 m
Moved getCompatibilityArguments into WrapperConfig
-
Tomas Tornevall 107db0c810dc9a63015c1f6d6d927cb09d70d408 m
Updated units xml file
-
Tomas Tornevall b2572e42dc94fc863f2695d7946c7c964380897f m
Updated composer requirements.
-
Tomas Tornevall 4dacdfc0f187210ea244f7ae36b51690438b726e m
phpunit update
-
Tomas Tornevall ff267cbef266c0cc8515c5f28a7c3097b24e2d41 m
Wrapper interface docblock info added.
-
Tomas Tornevall fcf2ca8b31a8ee83556de0c896238067ffc1ef92 m
Docblock for interface.
-
Tomas Tornevall bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd m
More docblocks.
- src/Helpers/Version.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperConfig.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperConstants.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperCurlOpt.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperSSL.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
-
Tomas Tornevall f9b70ae16b6119a270499743334aa0d43b90b55c m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into develop/6.1
-
Tomas Tornevall f11828e096139018ddee06fb800316e656e3a1fc m
docblock updates.
- src/MODULE_CURL.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- src/Model/Type/authSource.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- src/Model/Type/dataType.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- tests/netcurlTest.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- tests/soapWrapperTest.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- tests/sslWrapperTest.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
-
Tomas Tornevall 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83 m
* Fix "typo" in deprecatedRequest. * Added getCode() as required method for all classes that uses the Wrapper-interface. * Wrappers that do not have implemented getCode now has it.
- src/MODULE_CURL.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Model/Wrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/NetWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
-
Tomas Tornevall d5273a3628fb2908c58d1941447b196da1a9217f m
* Add deprecatedRequest-types for MODULE_CURL. * __call now supports MODULE_CURL do()-methods. * NetWrapper is forcing dataType SOAP if url contains ?wsdl-link. * classRequests is trying to be more intelligent than before. * If no wrapper is found during Netwrapper-request, it will throw an error.
-
Tomas Tornevall d4967139a3b612c0f020c29cf86c241525fe6602 m
curl instantiation via NetWrapper added.
-
Tomas Tornevall 95923a2063d8fc00b5e80d1fe2ff634ad44c3d16 m
If instance class name are being fetched without any instance created, getInstanceClass() is throwing an error.
-
Tomas Tornevall 5444058453c9c5632c3512347c33212e2b1b09a5 m
When throwing soapWarningException, previous exception should be avoided
-
Tomas Tornevall d9d792523472cde8623df1a6b5fa52113a23ea12 m
* Fixing a glitch in WrapperConfig and exceptions which does not include previous exceptions in the handler. * Added $this in SoapClientWrapper for extended exception data. * Added Error constansts LIB_NETCURL_NETWRAPPER_UNHANDLED_WRAPPER.
- src/MODULE_CURL.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Config/WrapperConfig.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
-
Tomas Tornevall 7af4cd5092f24285d9e3c7060acb814502fe20b3 m
Removing "files" part in composer.json, making MODULE_CURL more natural.
-
Tomas Tornevall 456d4555611720506de602e7a48e5daa188a4c8c m
Utils target. New interface function (getVersion) - using data from "Utils".
- composer.json (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/NetWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- tests/curlWrapperTest.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
-
Tomas Tornevall a35150a42ca4724a39d41b5105ed6cf7c7f7d480 m
Placed getBody() and getParsed() in Wrapper interface.
- src/Module/Network/Model/Wrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/init.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
-
Tomas Tornevall b81431aa4e6dd9083c056b39eee6fb0cdcddd454 m
Pull request #57: NETCURL-277
Merge in LIB/tornelib-php-netcurl from features/NETCURL-277-netwrapper-ec-checker to develop/6.1
* commit '444c2335d8b13a57984f085c4d825f9d01e60e53':
NETCURL-277 -
Tomas Tornevall 444c2335d8b13a57984f085c4d825f9d01e60e53 m
NETCURL-277
* netWrapper now stores instance and instanceClass(name) via instantiator.
* Added forwarder functions for getBody() and getParsed() for wrappers that supports this.
* netWrapper__call now executes requests via call_user as default.
* When Soap is instanced, soapRequests are set to true if wrappers needs to know if there is a soaprequest involved.
* In the main wrapper getter getFlag() is still in use but if netWrapper helds a valid method, this will be executed before getFlagResponse are returned. -
Tomas Tornevall ff924131c4d89a55b1cf2622686d3bb5c57982a7 m
NETCURL-273
* Making some internal stream_context parameters non-overwritable (user_agent) to protect "user input" on predefined settings.
* Using Flag-class to override non-overwritables.
* Added canoverwrite to keep it clean.
* Added missing docblocks and sinces.
* setSoapRequest/getSoapRequest.
* If stream_context already has [http][user_agent], getUserAgent() should use this value. Using getSoapRequest when soapclient is active.
* The wsdl that netcurl is using locally is mismatching domains.
* Testing proxy support for instant stream_context setup. -
Tomas Tornevall a7c784ae3fe860872bd20ab3aa42fa2ee56bf6d4 m
Pull request #56: * It turns out that setStreamOptions is a good idea to push into WrapperConfig even if we run through a regular flow (since backward compatible soapcalls won't find out in any other way).
Merge in LIB/tornelib-php-netcurl from features/NETCURL-277-netwrapper-ec-checker to develop/6.1
* commit '0a09834273258470de4d019394887ce1b7b4976e':
* It turns out that setStreamOptions is a good idea to push into WrapperConfig even if we run through a regular flow (since backward compatible soapcalls won't find out in any other way). * NetWrapper is now filled with data (and a doGet()). * internalWrapperList comes in handy with soap auto selection. * __call is being slowly built up for the netwrapper while MODULE_CURL gets a faster build. * soapClientWrapper gets a getCode() so that it can return a http response code as in 6.0. * MODULE_CURL initiated. * MODULE_CURL goes the right way and initializes the NetWrapper (that should be a globally used friend), and then gets the CONFIG from that module. * setChain exists as a private method but is dead. Should be throwable in future release (LIB_METHOD_OBSOLETE). -
Tomas Tornevall 0a09834273258470de4d019394887ce1b7b4976e m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into features/NETCURL-277-netwrapper-ec-checker
-
Tomas Tornevall 8dd529f0472d818b901649995360da6186bee2ef m
soaptests, tls 1.3 and minors.
- src/Helpers/Version.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
- tests/curlWrapperTest.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
- tests/soapWrapperTest.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
-
Tomas Tornevall e0cc58b654ade936ac92e0db159ecf8438734264 m
* It turns out that setStreamOptions is a good idea to push into WrapperConfig even if we run through a regular flow (since backward compatible soapcalls won't find out in any other way). * NetWrapper is now filled with data (and a doGet()). * internalWrapperList comes in handy with soap auto selection. * __call is being slowly built up for the netwrapper while MODULE_CURL gets a faster build. * soapClientWrapper gets a getCode() so that it can return a http response code as in 6.0. * MODULE_CURL initiated. * MODULE_CURL goes the right way and initializes the NetWrapper (that should be a globally used friend), and then gets the CONFIG from that module. * setChain exists as a private method but is dead. Should be throwable in future release (LIB_METHOD_OBSOLETE).
- src/Module/Config/WrapperConfig.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
- src/Module/Network/NetWrapper.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
- src/init.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
-
Tomas Tornevall 5b501f22e4f120431448aa5cfb098ef08bb492ff m
A higher level of inconsistency.
-
Tomas Tornevall f9254dc9b07ec00c1f1f8c2ca505fda7129a07da m
For some reason, the php7.1-image is using php7.3-soap ?!
-
Tomas Tornevall 56d505b676ff5de811a23e8e60619797f8d2e115 m
php7.1-soap
-
Tomas Tornevall 93d827dbd0eb77b07cd257508e07f59816e7e367 m
Pull request #55: NETCURL-276: Modernizing soapcalls!
Merge in LIB/tornelib-php-netcurl from fixes/NETCURL-276-call-funky-array to develop/6.1
* commit 'ce23ffcea345f668499624cbc45ca58cde6f6d54':
NETCURL-276: Modernizing soapcalls! -
Tomas Tornevall ce23ffcea345f668499624cbc45ca58cde6f6d54 m
NETCURL-276: Modernizing soapcalls!
-
Tomas Tornevall 76964dcc78fa545c4ab1588d1209ed9c083627c2 m
Pull request #54: NETCURL-274: Collecting http-head responses to extract the codes.
Merge in LIB/tornelib-php-netcurl from fixes/NETCURL-274-cached-unauth to develop/6.1
* commit '25f2ed7ce096e681e38d6af2920cffda3bb6dd6c':
Reverse order for getMagicGettableCall again.
Fixed a somewhat sloppy exception handler.
Protecting against timeouts (for now) in soapAuthFail.
Cached vs uncached tests.
NETCURL-274: Collecting http-head responses to extract the codes. NETCURL-274: Added try-catch-block in the section of soapExec to be able to extract soapResponseHeader on fly. -
Tomas Tornevall 25f2ed7ce096e681e38d6af2920cffda3bb6dd6c m
Reverse order for getMagicGettableCall again.
-
Tomas Tornevall 62ea1883b398f9544448be0d3f9f7605a321ee0c m
Fixed a somewhat sloppy exception handler.
-
Tomas Tornevall 82dea147ca0b2f4447becf3e2b8ace60237c8c3b m
Protecting against timeouts (for now) in soapAuthFail.
-
Tomas Tornevall 066d93d44a11d298a0630da4da9fc6fe352a1444 m
Cached vs uncached tests.
-
Tomas Tornevall f0fb82eff55aa42e10bb91800b0112a0dfeee974 m
NETCURL-274: Collecting http-head responses to extract the codes. NETCURL-274: Added try-catch-block in the section of soapExec to be able to extract soapResponseHeader on fly.
-
Tomas Tornevall 275b075de774f6c1b7e6ed3457edce76f3abe898 m
shitty docker images destroys tests - trying specifically 7.1.33 (also trying to speed up soaptests with caching).
-
Tomas Tornevall 58aa25597e621fba1db9efdaa90697ba41984344 m
Documents updated
-
Tomas Tornevall 470894bb509218c953bcefb2c195ecb988b03bbe m
pipeline.xml tagged with wrong version number
-
Tomas Tornevall 39273ed505b2e971839618e544f121893408726d m
wsdl-cache setup now offers ttl
-
Tomas Tornevall f47a950b9a9ee7de7034a276439e829f582582fa m
Units modified. Added test to send data with parameters.
- .gitignore (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
- phpunit.xml (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
- tests/soapWrapperTest.php (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
-
Tomas Tornevall 891e96b3170de7fabe4b6484f13d4c961dae1023 m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into develop/6.1
-
Tomas Tornevall 6da5041971cfc45dd0cb44bb2cd2d5c2ce0ccbff m
rsswrapper added
-
Tomas Tornevall fb9a4195ce46bc7869637e8c3141d754d1e2e08c m
docblocks for tests.
-
Tomas Tornevall b66a857ee6357d3c647f8eee37d2dcfee807196a m
Documentation related commit.
-
Tomas Tornevall d70f0d1e42b3943a6f362f973e922a7ed8a6a7b0 m
Pull request #53: NETCURL-272: Declaration problem fixed.
Merge in LIB/tornelib-php-netcurl from fixes/NETCURL-272-embedded-tests to develop/6.1
* commit '8ec856506405c124859a25015da2c7024a40ce5f':
NETCURL-272: Tests cured. Fatals on bad urls suppressed in PHP <= 7.0
WSDL caching to disk instead of memory
NETCURL-272: Declaration problem fixed. -
Tomas Tornevall 8ec856506405c124859a25015da2c7024a40ce5f m
NETCURL-272: Tests cured. Fatals on bad urls suppressed in PHP <= 7.0
-
Tomas Tornevall 4393be5965b6968319fb1c097f39e4ec7e68c4c4 m
WSDL caching to disk instead of memory
-
Tomas Tornevall 334c1245b3ab0898382c18fac3402c9d30a5ace9 m
NETCURL-272: Declaration problem fixed.
-
Tomas Tornevall d0d0442273a0d788c193918d6e19f5b5213197d4 m
Pull request #52: Imports/NETCURL-245 NETCURL-209 streams and soap
Merge in LIB/tornelib-php-netcurl from imports/NETCURL-245-NETCURL-209-streams-and-soap to develop/6.1
* commit '2eace4bdb72849a7ce41383b91fae8bc2378843c':
More docblocks updated
Docblocks update
Docblock for WrapperSSL
* Added WSDL caching function to WrapperConfig to add "virtual performance" to the SOAP on request. * Moved magic getter and setter to own methods. * Moved SoapClient-executors to execSoap(). * Moved internal response controls to own methods (making __call() lesser messy). * Added getBody(), getParsed(), getHeader() and getHeaders() where getHeader() allows keyed returns and getHeaders() only full header response. * Added header-parser from the curlHeadParser. * Added matching tests.
NETCURL-245: SoapClient implementation. NETCURL-209: PreStream added.
NETCURL-245 and NETCURL-209: Implemented Wrapper-interface methods.
NETCURL-245: Initialize of soapwrapper. -
Tomas Tornevall 2eace4bdb72849a7ce41383b91fae8bc2378843c m
More docblocks updated
- src/Module/Config/WrapperConstants.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
-
Tomas Tornevall a7a9145d18e1fb46d67b965faeab98440626b770 m
Docblocks update
-
Tomas Tornevall be9fc69358dca49dc0547411f73e7bed138ada4e m
Docblock for WrapperSSL
-
Tomas Tornevall c280b3a809a03cf44ab312183fe4720d932601fc m
* Added WSDL caching function to WrapperConfig to add "virtual performance" to the SOAP on request. * Moved magic getter and setter to own methods. * Moved SoapClient-executors to execSoap(). * Moved internal response controls to own methods (making __call() lesser messy). * Added getBody(), getParsed(), getHeader() and getHeaders() where getHeader() allows keyed returns and getHeaders() only full header response. * Added header-parser from the curlHeadParser. * Added matching tests.
-
Tomas Tornevall 088f4964618573688c3176b801b7403c1fd38e02 m
NETCURL-245: SoapClient implementation. NETCURL-209: PreStream added.
- src/Model/Type/authSource.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Model/Type/authType.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Model/Type/dataType.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Model/Type/requestMethod.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperConfig.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperConstants.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperCurlOpt.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperSSL.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- tests/curlWrapperTest.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- tests/soapWrapperTest.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
-
Tomas Tornevall d3c0815b665c58fc49121a6ed41f363bf5a5d009 m
NETCURL-245 and NETCURL-209: Implemented Wrapper-interface methods.
- src/Module/Network/Wrappers/CurlWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
-
Tomas Tornevall dd5a3255e47c05ed08399a025f38134a2bb31bdd m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into imports/NETCURL-245-NETCURL-209-streams-and-soap
-
Tomas Tornevall de68b221443d65011940847e229318cc22a9a35e m
Separating tests.
-
Tomas Tornevall ea1cd5ba2e8330c7a097a09f4b26dde4b16e5b52 m
NETCURL-245: Initialize of soapwrapper.
-
Tomas Tornevall d69f9182ed4bd45d2e01da05d1019cfc160b870c m
Updated tests and data for "SSLConfig"
-
Tomas Tornevall dba32892b15adca6e3e0743540de962cb50dec43 m
Moved SSL helper into a native namespace for configuration.
-
Tomas Tornevall c1874fe4d8e28d7c251f12a20d52ea986eda18a6 m
NETCURL-264: Shared exceptions makes it possible to push $this into the exception and continue error checking within the try/catch-block.
-
Tomas Tornevall ca7b363a1f58fead6a28cf6ff02e9516a780cf72 m
NETCURL-268: Update for test suite - letting core decide returned type. Recasting to integers in test.
-
Tomas Tornevall 89c1920b9f2e753b380133d2af85f3f9383f0cfe m
todo moved into tracker
-
Tomas Tornevall 872bad941fd5a25646bdf97381f7b38ce8421565 m
Merge pull request #51 in LIB/tornelib-php-netcurl from features/NETCURL-268-timeouts to develop/6.1
* commit 'cd0ffccb92895303582a9a43f990893e9b2036df':
NETCURL-268: Timeout configuration update. Honoring NETCURL-238 (ms timeouts).
NETCURL-268: Added getter and setter-magics in WrapperConfig for the timeout handling. Also continuing using timeout setup from v6.0 -
Tomas Tornevall cd0ffccb92895303582a9a43f990893e9b2036df m
NETCURL-268: Timeout configuration update. Honoring NETCURL-238 (ms timeouts).
-
Tomas Tornevall 65ac007b84d17bed0e79f742d64da8fa93f14f5b m
NETCURL-268: Added getter and setter-magics in WrapperConfig for the timeout handling. Also continuing using timeout setup from v6.0
-
Tomas Tornevall abc07ca873f8673a975bdbe9046268b440287330 m
pipeline images update
-
Tomas Tornevall ff2f5665b66ece93829d424682a69e3466d153c0 m
Update of pipeline image
-
Tomas Tornevall 2cc7b7468cfed26e5dddbec4aaaca60b5586f5a3 m
docs for TLS 1.3 and Apache 2.4.37
-
Tomas Tornevall a9a8a28ba277f3875c7b16e1fa8b8cd9542ced59 m
Added test for TLS 1.3
-
Tomas Tornevall a5294f8d1557e06b3609b7414b35b90113273ed6 m
Introducing TLS-tests as mod_ssl includes SSL information now.
-
Tomas Tornevall b92c37d8a5e995023812bda29b93bef513f52267 m
Add: authType class for standard authentication with curl auth types included. Update: Authentication data added to wrapperconfig. Update: Throwable codes that was present in 6.0 curl library moved into WrapperConfig. Update: Exception handling that was present in 6.0 curl library moved into WrapperConfig (WrapperConfig will handle all exceptions). Update: Removed CURLOPT_POST from default configuration. Update: Postcontent support with json-transformations. Update: set and getoptions moved into WrapperConfig so each setup can return itself for debugging. Update: Wrapper interface. Add: Custom headers. Update: Request methods are more strict on how they are setup (and switchified). This fixes problems with rest tests that are basically running POST instead of GET-requests. Add: Configurable json content-type (legacy, where application/json; charset=utf-8 is not always accepted - this makes us be able to fall back to non charset setup if needed). Update: ExceptionHandler now sprintifies a more clear error message where the old from 6.0 did not return full strings when remote was misconfigured.
- src/Model/Type/authType.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- src/Module/Config/WrapperConfig.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- src/Module/Network/Model/Wrapper.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- tests/curlWrapperTest.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
-
Tomas Tornevall 36a8c188edd21d2954f3a1af00e4fc6f858fb114 m
doc status
-
Tomas Tornevall 40952452197417e89ba85f8d0250e01312698511 m
Moved around docs
-
Tomas Tornevall dd3c0f91e83e836e53f2c9b377d5855c5215da17 m
urlencoded php versions
-
Tomas Tornevall 233fed74dbc474cf211c23988bb02265838e61f2 m
NETCURL-259 / NETCURL-244:
* Added dynamicValue loader so that self configurations could be merged into the real engine.
* Moved call to initCurlHandle the real request method so initialization can occur regardless of "way in".
* Fixed methods that gets a better life chained.
* Changed identifier to ipv4.netcurl.org for v4-only tests.
* Created test for wrapperConfig.
* Created SSL cert tests (exceptions that will be thrown to the clients). -
Tomas Tornevall 9f2cd6514fbdb9ee340ad5df3c21336b4c2eaf1f m
NETCURL-264: Fix for constant CURLINFO_RESPONSE_CODE.
-
Tomas Tornevall 4dddbddba94b15bc037757315fde04831321f9eb m
Adds curlexceptions for single curl handle
-
Tomas Tornevall 141da9d3cc0f903c0121e6c77b4e6725d0433518 m
5.4
-
Tomas Tornevall dc1cde39985a7472b6e91fb2b8b54367df8da997 m
README touched.
-
Tomas Tornevall 061ea566c98a215726937ec8f609172847b846ea m
Discovered that packagist wasn't updating repos properly
-
Tomas Tornevall c9e198d7389822916e15c7d5801c9b7d9a37cc46 m
Constant Constants::LIB_EMPTY_URL obviously not working to test with right now..
-
Tomas Tornevall e36f772da16123df690db48cc59fa9b1a32ac5fb m
Count does not belong to a strlen.
-
Tomas Tornevall 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1 m
Minor issues fixed (bamboo)
- src/Model/Type/dataType.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- src/Module/Config/WrapperConfig.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- src/Module/Network/Model/Wrapper.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- tests/curlWrapperTest.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
-
Tomas Tornevall 455f276488ba2c37778f038f2d4d10046c472d59 m
Merge pull request #48 in LIB/tornelib-php-netcurl from features/NETCURL-259-curlRebuild to develop/6.1
* commit 'f76037e8078a0bf0db8a98930f4b466d032b0126':
NETCURL-259: Reimplementation of netcurl
TorneLIB NetCURL Master
-
Tomas Tornevall cf218c76d9d5a81d1ce46689f1ab08b144500987
Pull request #58: Develop/6.1
Merge in LIB/tornelib-php-netcurl from develop/6.1 to master
* commit '00db8aec3613ec7282beaef6a5e04a5d7cc2459d': (133 commits)
Old files removal.
Document updated with mailinglist information.
Sets useragent in tests to a "netcurl-%s" (%s=version).
network driver should point to dev as long as it has not been released.
Disabled "noSoapClient" entirely.
Still problems in noSoapClient-test. Fixed it.
One test, with one wrong flag set, made the rest of the soapers go crazy.
Bamboo has issues: curl unavailable: curl_init and/or curl_exec not found
CURL_SSLVERSION_DEFAULT not exists on bamboo instance?
Not expecting noSoapClient work if remote are failing.
xpath is now returning soapobjects
* NetWrapper used wrong request method. * Return value is now correct in getVersion. * Moved __call to the bottom of NetWrapper where it belongs. * request() in NetWrapper now also, during wsdl control, is making sure that SoapClient exists. If it is not, it changes the way the request will be done to a post+XML. * CurlWrapper is not requesting for IO\Data\Content to check for parsable content. Without guessing games. * If requestDataType is Xml, CurlWrapper will set proper headers for XML-requests. * getCurlRequest now resets curlResponseHeaders between each request to avoid duplicated headers. * SpringWeb-lookalike duplicate detecter for getHead(), where some headers - if duplicated - acts weird. CurlWrapper will pop such arrays. * getPriorCompatibilityArguments moved to WrapperConfig from CurlWrapper. * getParsed is not guessing content - it checks content-type and the parses data, presuming the data is correct. That will fix some weird warning-exceptions. * SoapClientWrapper is now using utils to decide if SoapClient exists (Security::getCurrentClassState('SoapClient')). * getPriorCompatibilityArguments also moved out from SoapClientWrapper. * SoapClientWrapper has now visible methods for getLastRequest, getLastRequestHeaders, getLastResponse, getLastResponseHeaders and getFunctions.
Moved getCompatibilityArguments into WrapperConfig
Updated units xml file
Updated composer requirements.
phpunit update
Wrapper interface docblock info added.
Docblock for interface.
More docblocks.
docblock updates.
... -
Tomas Tornevall 00db8aec3613ec7282beaef6a5e04a5d7cc2459d
Old files removal.
-
Tomas Tornevall db4f5875196e345ea63ff5c25b49abe093e45d6d
Merge branch 'master' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into develop/6.1
-
Tomas Tornevall f5572e7ebc807ee783e860e5ba53e2fc213b8687 m
Document updated with mailinglist information.
-
Tomas Tornevall c3aa67ff154142546faaa98405a548eb8cbc7591 m
Sets useragent in tests to a "netcurl-%s" (%s=version).
-
Tomas Tornevall c0306290c3a59ce1b71bb6b0b76a98750ca744b3 m
network driver should point to dev as long as it has not been released.
-
Tomas Tornevall 9bb062be3556540bbb6bf06e7b1dbde38a397283 m
Disabled "noSoapClient" entirely.
-
Tomas Tornevall e0f5c81a1062d1f93ab7d10dcc72e4898c9010c8 m
Still problems in noSoapClient-test. Fixed it.
-
Tomas Tornevall 41375b0c7e9cd49f7fbf1aa809517300613da3f6 m
One test, with one wrong flag set, made the rest of the soapers go crazy.
-
Tomas Tornevall e36838e6664dec9a9d69e27cec92f7fb66c21f34 m
Bamboo has issues: curl unavailable: curl_init and/or curl_exec not found
-
Tomas Tornevall 1a7cb7ab0d9c9ec1783a7851eff1ee5fead198f2 m
CURL_SSLVERSION_DEFAULT not exists on bamboo instance?
-
Tomas Tornevall bb1e5c06acbdbdd47c67ec7877e0b134395dc021 m
Not expecting noSoapClient work if remote are failing.
-
Tomas Tornevall 2481abb8b5cc9e0d93f976b9130c0a180afec641 m
xpath is now returning soapobjects
-
Tomas Tornevall 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be m
* NetWrapper used wrong request method. * Return value is now correct in getVersion. * Moved __call to the bottom of NetWrapper where it belongs. * request() in NetWrapper now also, during wsdl control, is making sure that SoapClient exists. If it is not, it changes the way the request will be done to a post+XML. * CurlWrapper is not requesting for IO\Data\Content to check for parsable content. Without guessing games. * If requestDataType is Xml, CurlWrapper will set proper headers for XML-requests. * getCurlRequest now resets curlResponseHeaders between each request to avoid duplicated headers. * SpringWeb-lookalike duplicate detecter for getHead(), where some headers - if duplicated - acts weird. CurlWrapper will pop such arrays. * getPriorCompatibilityArguments moved to WrapperConfig from CurlWrapper. * getParsed is not guessing content - it checks content-type and the parses data, presuming the data is correct. That will fix some weird warning-exceptions. * SoapClientWrapper is now using utils to decide if SoapClient exists (Security::getCurrentClassState('SoapClient')). * getPriorCompatibilityArguments also moved out from SoapClientWrapper. * SoapClientWrapper has now visible methods for getLastRequest, getLastRequestHeaders, getLastResponse, getLastResponseHeaders and getFunctions.
- src/Module/Network/NetWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- test.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- tests/curlWrapperTest.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- tests/netWrapperTest.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
- tests/netcurlTest.php (version 74b576b8a1860a3e0afbaf1f694ef4c4fd3811be) (diffs)
-
Tomas Tornevall d91de296fbb86fed7d2e46e64943f03fca5072c3 m
Moved getCompatibilityArguments into WrapperConfig
-
Tomas Tornevall 107db0c810dc9a63015c1f6d6d927cb09d70d408 m
Updated units xml file
-
Tomas Tornevall b2572e42dc94fc863f2695d7946c7c964380897f m
Updated composer requirements.
-
Tomas Tornevall 4dacdfc0f187210ea244f7ae36b51690438b726e m
phpunit update
-
Tomas Tornevall ff267cbef266c0cc8515c5f28a7c3097b24e2d41 m
Wrapper interface docblock info added.
-
Tomas Tornevall fcf2ca8b31a8ee83556de0c896238067ffc1ef92 m
Docblock for interface.
-
Tomas Tornevall bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd m
More docblocks.
- src/Helpers/Version.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperConfig.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperConstants.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperCurlOpt.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Config/WrapperSSL.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version bb55093b6bfa373eb4d52e0e2c17e4b2d31df3fd) (diffs)
-
Tomas Tornevall f9b70ae16b6119a270499743334aa0d43b90b55c m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into develop/6.1
-
Tomas Tornevall f11828e096139018ddee06fb800316e656e3a1fc m
docblock updates.
- src/MODULE_CURL.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- src/Model/Type/authSource.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- src/Model/Type/dataType.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- tests/netcurlTest.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- tests/soapWrapperTest.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
- tests/sslWrapperTest.php (version f11828e096139018ddee06fb800316e656e3a1fc) (diffs)
-
Tomas Tornevall 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83 m
* Fix "typo" in deprecatedRequest. * Added getCode() as required method for all classes that uses the Wrapper-interface. * Wrappers that do not have implemented getCode now has it.
- src/MODULE_CURL.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Model/Wrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/NetWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version 2d06cfb93bf3ab2c418d9029e87a76f50d3e5b83) (diffs)
-
Tomas Tornevall d5273a3628fb2908c58d1941447b196da1a9217f m
* Add deprecatedRequest-types for MODULE_CURL. * __call now supports MODULE_CURL do()-methods. * NetWrapper is forcing dataType SOAP if url contains ?wsdl-link. * classRequests is trying to be more intelligent than before. * If no wrapper is found during Netwrapper-request, it will throw an error.
-
Tomas Tornevall d4967139a3b612c0f020c29cf86c241525fe6602 m
curl instantiation via NetWrapper added.
-
Tomas Tornevall 95923a2063d8fc00b5e80d1fe2ff634ad44c3d16 m
If instance class name are being fetched without any instance created, getInstanceClass() is throwing an error.
-
Tomas Tornevall 5444058453c9c5632c3512347c33212e2b1b09a5 m
When throwing soapWarningException, previous exception should be avoided
-
Tomas Tornevall d9d792523472cde8623df1a6b5fa52113a23ea12 m
* Fixing a glitch in WrapperConfig and exceptions which does not include previous exceptions in the handler. * Added $this in SoapClientWrapper for extended exception data. * Added Error constansts LIB_NETCURL_NETWRAPPER_UNHANDLED_WRAPPER.
- src/MODULE_CURL.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Config/WrapperConfig.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version d9d792523472cde8623df1a6b5fa52113a23ea12) (diffs)
-
Tomas Tornevall 7af4cd5092f24285d9e3c7060acb814502fe20b3 m
Removing "files" part in composer.json, making MODULE_CURL more natural.
-
Tomas Tornevall 456d4555611720506de602e7a48e5daa188a4c8c m
Utils target. New interface function (getVersion) - using data from "Utils".
- composer.json (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/NetWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
- tests/curlWrapperTest.php (version 456d4555611720506de602e7a48e5daa188a4c8c) (diffs)
-
Tomas Tornevall a35150a42ca4724a39d41b5105ed6cf7c7f7d480 m
Placed getBody() and getParsed() in Wrapper interface.
- src/Module/Network/Model/Wrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/RssWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/Module/Network/Wrappers/ZendWrapper.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
- src/init.php (version a35150a42ca4724a39d41b5105ed6cf7c7f7d480) (diffs)
-
Tomas Tornevall b81431aa4e6dd9083c056b39eee6fb0cdcddd454 m
Pull request #57: NETCURL-277
Merge in LIB/tornelib-php-netcurl from features/NETCURL-277-netwrapper-ec-checker to develop/6.1
* commit '444c2335d8b13a57984f085c4d825f9d01e60e53':
NETCURL-277 -
Tomas Tornevall 444c2335d8b13a57984f085c4d825f9d01e60e53 m
NETCURL-277
* netWrapper now stores instance and instanceClass(name) via instantiator.
* Added forwarder functions for getBody() and getParsed() for wrappers that supports this.
* netWrapper__call now executes requests via call_user as default.
* When Soap is instanced, soapRequests are set to true if wrappers needs to know if there is a soaprequest involved.
* In the main wrapper getter getFlag() is still in use but if netWrapper helds a valid method, this will be executed before getFlagResponse are returned. -
Tomas Tornevall ff924131c4d89a55b1cf2622686d3bb5c57982a7 m
NETCURL-273
* Making some internal stream_context parameters non-overwritable (user_agent) to protect "user input" on predefined settings.
* Using Flag-class to override non-overwritables.
* Added canoverwrite to keep it clean.
* Added missing docblocks and sinces.
* setSoapRequest/getSoapRequest.
* If stream_context already has [http][user_agent], getUserAgent() should use this value. Using getSoapRequest when soapclient is active.
* The wsdl that netcurl is using locally is mismatching domains.
* Testing proxy support for instant stream_context setup. -
Tomas Tornevall a7c784ae3fe860872bd20ab3aa42fa2ee56bf6d4 m
Pull request #56: * It turns out that setStreamOptions is a good idea to push into WrapperConfig even if we run through a regular flow (since backward compatible soapcalls won't find out in any other way).
Merge in LIB/tornelib-php-netcurl from features/NETCURL-277-netwrapper-ec-checker to develop/6.1
* commit '0a09834273258470de4d019394887ce1b7b4976e':
* It turns out that setStreamOptions is a good idea to push into WrapperConfig even if we run through a regular flow (since backward compatible soapcalls won't find out in any other way). * NetWrapper is now filled with data (and a doGet()). * internalWrapperList comes in handy with soap auto selection. * __call is being slowly built up for the netwrapper while MODULE_CURL gets a faster build. * soapClientWrapper gets a getCode() so that it can return a http response code as in 6.0. * MODULE_CURL initiated. * MODULE_CURL goes the right way and initializes the NetWrapper (that should be a globally used friend), and then gets the CONFIG from that module. * setChain exists as a private method but is dead. Should be throwable in future release (LIB_METHOD_OBSOLETE). -
Tomas Tornevall 0a09834273258470de4d019394887ce1b7b4976e m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into features/NETCURL-277-netwrapper-ec-checker
-
Tomas Tornevall 8dd529f0472d818b901649995360da6186bee2ef m
soaptests, tls 1.3 and minors.
- src/Helpers/Version.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
- src/Module/Network/Wrappers/GuzzleWrapper.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
- tests/curlWrapperTest.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
- tests/soapWrapperTest.php (version 8dd529f0472d818b901649995360da6186bee2ef) (diffs)
-
Tomas Tornevall e0cc58b654ade936ac92e0db159ecf8438734264 m
* It turns out that setStreamOptions is a good idea to push into WrapperConfig even if we run through a regular flow (since backward compatible soapcalls won't find out in any other way). * NetWrapper is now filled with data (and a doGet()). * internalWrapperList comes in handy with soap auto selection. * __call is being slowly built up for the netwrapper while MODULE_CURL gets a faster build. * soapClientWrapper gets a getCode() so that it can return a http response code as in 6.0. * MODULE_CURL initiated. * MODULE_CURL goes the right way and initializes the NetWrapper (that should be a globally used friend), and then gets the CONFIG from that module. * setChain exists as a private method but is dead. Should be throwable in future release (LIB_METHOD_OBSOLETE).
- src/Module/Config/WrapperConfig.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
- src/Module/Network/NetWrapper.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
- src/init.php (version e0cc58b654ade936ac92e0db159ecf8438734264) (diffs)
-
Tomas Tornevall 5b501f22e4f120431448aa5cfb098ef08bb492ff m
A higher level of inconsistency.
-
Tomas Tornevall f9254dc9b07ec00c1f1f8c2ca505fda7129a07da m
For some reason, the php7.1-image is using php7.3-soap ?!
-
Tomas Tornevall 56d505b676ff5de811a23e8e60619797f8d2e115 m
php7.1-soap
-
Tomas Tornevall 93d827dbd0eb77b07cd257508e07f59816e7e367 m
Pull request #55: NETCURL-276: Modernizing soapcalls!
Merge in LIB/tornelib-php-netcurl from fixes/NETCURL-276-call-funky-array to develop/6.1
* commit 'ce23ffcea345f668499624cbc45ca58cde6f6d54':
NETCURL-276: Modernizing soapcalls! -
Tomas Tornevall ce23ffcea345f668499624cbc45ca58cde6f6d54 m
NETCURL-276: Modernizing soapcalls!
-
Tomas Tornevall 76964dcc78fa545c4ab1588d1209ed9c083627c2 m
Pull request #54: NETCURL-274: Collecting http-head responses to extract the codes.
Merge in LIB/tornelib-php-netcurl from fixes/NETCURL-274-cached-unauth to develop/6.1
* commit '25f2ed7ce096e681e38d6af2920cffda3bb6dd6c':
Reverse order for getMagicGettableCall again.
Fixed a somewhat sloppy exception handler.
Protecting against timeouts (for now) in soapAuthFail.
Cached vs uncached tests.
NETCURL-274: Collecting http-head responses to extract the codes. NETCURL-274: Added try-catch-block in the section of soapExec to be able to extract soapResponseHeader on fly. -
Tomas Tornevall 25f2ed7ce096e681e38d6af2920cffda3bb6dd6c m
Reverse order for getMagicGettableCall again.
-
Tomas Tornevall 62ea1883b398f9544448be0d3f9f7605a321ee0c m
Fixed a somewhat sloppy exception handler.
-
Tomas Tornevall 82dea147ca0b2f4447becf3e2b8ace60237c8c3b m
Protecting against timeouts (for now) in soapAuthFail.
-
Tomas Tornevall 066d93d44a11d298a0630da4da9fc6fe352a1444 m
Cached vs uncached tests.
-
Tomas Tornevall f0fb82eff55aa42e10bb91800b0112a0dfeee974 m
NETCURL-274: Collecting http-head responses to extract the codes. NETCURL-274: Added try-catch-block in the section of soapExec to be able to extract soapResponseHeader on fly.
-
Tomas Tornevall 275b075de774f6c1b7e6ed3457edce76f3abe898 m
shitty docker images destroys tests - trying specifically 7.1.33 (also trying to speed up soaptests with caching).
-
Tomas Tornevall 58aa25597e621fba1db9efdaa90697ba41984344 m
Documents updated
-
Tomas Tornevall 470894bb509218c953bcefb2c195ecb988b03bbe m
pipeline.xml tagged with wrong version number
-
Tomas Tornevall 39273ed505b2e971839618e544f121893408726d m
wsdl-cache setup now offers ttl
-
Tomas Tornevall f47a950b9a9ee7de7034a276439e829f582582fa m
Units modified. Added test to send data with parameters.
- .gitignore (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
- phpunit.xml (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
- tests/soapWrapperTest.php (version f47a950b9a9ee7de7034a276439e829f582582fa) (diffs)
-
Tomas Tornevall 891e96b3170de7fabe4b6484f13d4c961dae1023 m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into develop/6.1
-
Tomas Tornevall 6da5041971cfc45dd0cb44bb2cd2d5c2ce0ccbff m
rsswrapper added
-
Tomas Tornevall fb9a4195ce46bc7869637e8c3141d754d1e2e08c m
docblocks for tests.
-
Tomas Tornevall b66a857ee6357d3c647f8eee37d2dcfee807196a m
Documentation related commit.
-
Tomas Tornevall d70f0d1e42b3943a6f362f973e922a7ed8a6a7b0 m
Pull request #53: NETCURL-272: Declaration problem fixed.
Merge in LIB/tornelib-php-netcurl from fixes/NETCURL-272-embedded-tests to develop/6.1
* commit '8ec856506405c124859a25015da2c7024a40ce5f':
NETCURL-272: Tests cured. Fatals on bad urls suppressed in PHP <= 7.0
WSDL caching to disk instead of memory
NETCURL-272: Declaration problem fixed. -
Tomas Tornevall 8ec856506405c124859a25015da2c7024a40ce5f m
NETCURL-272: Tests cured. Fatals on bad urls suppressed in PHP <= 7.0
-
Tomas Tornevall 4393be5965b6968319fb1c097f39e4ec7e68c4c4 m
WSDL caching to disk instead of memory
-
Tomas Tornevall 334c1245b3ab0898382c18fac3402c9d30a5ace9 m
NETCURL-272: Declaration problem fixed.
-
Tomas Tornevall d0d0442273a0d788c193918d6e19f5b5213197d4 m
Pull request #52: Imports/NETCURL-245 NETCURL-209 streams and soap
Merge in LIB/tornelib-php-netcurl from imports/NETCURL-245-NETCURL-209-streams-and-soap to develop/6.1
* commit '2eace4bdb72849a7ce41383b91fae8bc2378843c':
More docblocks updated
Docblocks update
Docblock for WrapperSSL
* Added WSDL caching function to WrapperConfig to add "virtual performance" to the SOAP on request. * Moved magic getter and setter to own methods. * Moved SoapClient-executors to execSoap(). * Moved internal response controls to own methods (making __call() lesser messy). * Added getBody(), getParsed(), getHeader() and getHeaders() where getHeader() allows keyed returns and getHeaders() only full header response. * Added header-parser from the curlHeadParser. * Added matching tests.
NETCURL-245: SoapClient implementation. NETCURL-209: PreStream added.
NETCURL-245 and NETCURL-209: Implemented Wrapper-interface methods.
NETCURL-245: Initialize of soapwrapper. -
Tomas Tornevall 2eace4bdb72849a7ce41383b91fae8bc2378843c m
More docblocks updated
- src/Module/Config/WrapperConstants.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 2eace4bdb72849a7ce41383b91fae8bc2378843c) (diffs)
-
Tomas Tornevall a7a9145d18e1fb46d67b965faeab98440626b770 m
Docblocks update
-
Tomas Tornevall be9fc69358dca49dc0547411f73e7bed138ada4e m
Docblock for WrapperSSL
-
Tomas Tornevall c280b3a809a03cf44ab312183fe4720d932601fc m
* Added WSDL caching function to WrapperConfig to add "virtual performance" to the SOAP on request. * Moved magic getter and setter to own methods. * Moved SoapClient-executors to execSoap(). * Moved internal response controls to own methods (making __call() lesser messy). * Added getBody(), getParsed(), getHeader() and getHeaders() where getHeader() allows keyed returns and getHeaders() only full header response. * Added header-parser from the curlHeadParser. * Added matching tests.
-
Tomas Tornevall 088f4964618573688c3176b801b7403c1fd38e02 m
NETCURL-245: SoapClient implementation. NETCURL-209: PreStream added.
- src/Model/Type/authSource.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Model/Type/authType.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Model/Type/dataType.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Model/Type/requestMethod.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperConfig.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperConstants.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperCurlOpt.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Config/WrapperSSL.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- tests/curlWrapperTest.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
- tests/soapWrapperTest.php (version 088f4964618573688c3176b801b7403c1fd38e02) (diffs)
-
Tomas Tornevall d3c0815b665c58fc49121a6ed41f363bf5a5d009 m
NETCURL-245 and NETCURL-209: Implemented Wrapper-interface methods.
- src/Module/Network/Wrappers/CurlWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/SimpleWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/SoapClientWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/SocketWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
- src/Module/Network/Wrappers/StreamWrapper.php (version d3c0815b665c58fc49121a6ed41f363bf5a5d009) (diffs)
-
Tomas Tornevall dd5a3255e47c05ed08399a025f38134a2bb31bdd m
Merge branch 'develop/6.1' of https://bitbucket.tornevall.net/scm/lib/tornelib-php-netcurl into imports/NETCURL-245-NETCURL-209-streams-and-soap
-
Tomas Tornevall de68b221443d65011940847e229318cc22a9a35e m
Separating tests.
-
Tomas Tornevall ea1cd5ba2e8330c7a097a09f4b26dde4b16e5b52 m
NETCURL-245: Initialize of soapwrapper.
-
Tomas Tornevall d69f9182ed4bd45d2e01da05d1019cfc160b870c m
Updated tests and data for "SSLConfig"
-
Tomas Tornevall dba32892b15adca6e3e0743540de962cb50dec43 m
Moved SSL helper into a native namespace for configuration.
-
Tomas Tornevall c1874fe4d8e28d7c251f12a20d52ea986eda18a6 m
NETCURL-264: Shared exceptions makes it possible to push $this into the exception and continue error checking within the try/catch-block.
-
Tomas Tornevall ca7b363a1f58fead6a28cf6ff02e9516a780cf72 m
NETCURL-268: Update for test suite - letting core decide returned type. Recasting to integers in test.
-
Tomas Tornevall 89c1920b9f2e753b380133d2af85f3f9383f0cfe m
todo moved into tracker
-
Tomas Tornevall 872bad941fd5a25646bdf97381f7b38ce8421565 m
Merge pull request #51 in LIB/tornelib-php-netcurl from features/NETCURL-268-timeouts to develop/6.1
* commit 'cd0ffccb92895303582a9a43f990893e9b2036df':
NETCURL-268: Timeout configuration update. Honoring NETCURL-238 (ms timeouts).
NETCURL-268: Added getter and setter-magics in WrapperConfig for the timeout handling. Also continuing using timeout setup from v6.0 -
Tomas Tornevall cd0ffccb92895303582a9a43f990893e9b2036df m
NETCURL-268: Timeout configuration update. Honoring NETCURL-238 (ms timeouts).
-
Tomas Tornevall 65ac007b84d17bed0e79f742d64da8fa93f14f5b m
NETCURL-268: Added getter and setter-magics in WrapperConfig for the timeout handling. Also continuing using timeout setup from v6.0
-
Tomas Tornevall abc07ca873f8673a975bdbe9046268b440287330 m
pipeline images update
-
Tomas Tornevall ff2f5665b66ece93829d424682a69e3466d153c0 m
Update of pipeline image
-
Tomas Tornevall 2cc7b7468cfed26e5dddbec4aaaca60b5586f5a3 m
docs for TLS 1.3 and Apache 2.4.37
-
Tomas Tornevall a9a8a28ba277f3875c7b16e1fa8b8cd9542ced59 m
Added test for TLS 1.3
-
Tomas Tornevall a5294f8d1557e06b3609b7414b35b90113273ed6 m
Introducing TLS-tests as mod_ssl includes SSL information now.
-
Tomas Tornevall b92c37d8a5e995023812bda29b93bef513f52267 m
Add: authType class for standard authentication with curl auth types included. Update: Authentication data added to wrapperconfig. Update: Throwable codes that was present in 6.0 curl library moved into WrapperConfig. Update: Exception handling that was present in 6.0 curl library moved into WrapperConfig (WrapperConfig will handle all exceptions). Update: Removed CURLOPT_POST from default configuration. Update: Postcontent support with json-transformations. Update: set and getoptions moved into WrapperConfig so each setup can return itself for debugging. Update: Wrapper interface. Add: Custom headers. Update: Request methods are more strict on how they are setup (and switchified). This fixes problems with rest tests that are basically running POST instead of GET-requests. Add: Configurable json content-type (legacy, where application/json; charset=utf-8 is not always accepted - this makes us be able to fall back to non charset setup if needed). Update: ExceptionHandler now sprintifies a more clear error message where the old from 6.0 did not return full strings when remote was misconfigured.
- src/Model/Type/authType.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- src/Module/Config/WrapperConfig.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- src/Module/Network/Model/Wrapper.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
- tests/curlWrapperTest.php (version b92c37d8a5e995023812bda29b93bef513f52267) (diffs)
-
Tomas Tornevall 36a8c188edd21d2954f3a1af00e4fc6f858fb114 m
doc status
-
Tomas Tornevall 40952452197417e89ba85f8d0250e01312698511 m
Moved around docs
-
Tomas Tornevall dd3c0f91e83e836e53f2c9b377d5855c5215da17 m
urlencoded php versions
-
Tomas Tornevall 233fed74dbc474cf211c23988bb02265838e61f2 m
NETCURL-259 / NETCURL-244:
* Added dynamicValue loader so that self configurations could be merged into the real engine.
* Moved call to initCurlHandle the real request method so initialization can occur regardless of "way in".
* Fixed methods that gets a better life chained.
* Changed identifier to ipv4.netcurl.org for v4-only tests.
* Created test for wrapperConfig.
* Created SSL cert tests (exceptions that will be thrown to the clients). -
Tomas Tornevall 9f2cd6514fbdb9ee340ad5df3c21336b4c2eaf1f m
NETCURL-264: Fix for constant CURLINFO_RESPONSE_CODE.
-
Tomas Tornevall 4dddbddba94b15bc037757315fde04831321f9eb m
Adds curlexceptions for single curl handle
-
Tomas Tornevall 141da9d3cc0f903c0121e6c77b4e6725d0433518 m
5.4
-
Tomas Tornevall dc1cde39985a7472b6e91fb2b8b54367df8da997 m
README touched.
-
Tomas Tornevall 061ea566c98a215726937ec8f609172847b846ea m
Discovered that packagist wasn't updating repos properly
-
Tomas Tornevall c9e198d7389822916e15c7d5801c9b7d9a37cc46 m
Constant Constants::LIB_EMPTY_URL obviously not working to test with right now..
-
Tomas Tornevall e36f772da16123df690db48cc59fa9b1a32ac5fb m
Count does not belong to a strlen.
-
Tomas Tornevall 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1 m
Minor issues fixed (bamboo)
- src/Model/Type/dataType.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- src/Module/Config/WrapperConfig.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- src/Module/Network/Model/Wrapper.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- src/Module/Network/Wrappers/CurlWrapper.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
- tests/curlWrapperTest.php (version 4fd215a5afb79998e7d909a80bf6e4bf4a6cc2a1) (diffs)
-
Tomas Tornevall 455f276488ba2c37778f038f2d4d10046c472d59 m
Merge pull request #48 in LIB/tornelib-php-netcurl from features/NETCURL-259-curlRebuild to develop/6.1
* commit 'f76037e8078a0bf0db8a98930f4b466d032b0126':
NETCURL-259: Reimplementation of netcurl