157 Commits (29fcca8595c8c19ebb4d01ae993fa868d53f181d)

Author SHA1 Message Date
Jordi Boggiano 29fcca8595 Avoid weird recursion pattern by retrying after the first request is complete 11 years ago
Jordi Boggiano 4d52900dff Bypass failure if the server is just asking for credentials, fixes #1845 11 years ago
Jordi Boggiano e78a21015b Dont try to gzip decode empty responses, refs #1846 11 years ago
Jordi Boggiano 81f1451118 Clarify exception message when an empty response is returned 11 years ago
Jordi Boggiano 81d55544f7 Fix regex 11 years ago
Jordi Boggiano 5cdf40d165 Output VcsDownloader process commands in -vvv mode 11 years ago
Jordi Boggiano a9db844a41 Merge remote-tracking branch 'bitExpert/feature/repo_basic_auth' 11 years ago
Jordi Boggiano 3b97e2e260 Add support for new verbosity levels, and initial debug output 11 years ago
Jordi Boggiano 8c197d2325 Fix CS and wording, remove lowercased env var, add env var to docs 11 years ago
Alexander Loutsenko b7e41de607 Workaround when your proxy server fails request with enabled http_proxy_request_fulluri HTTP parameter 11 years ago
Jordi Boggiano 0a561d7bf1 Merge pull request #1773 from hason/filesystem
Fix normalization of relative paths
11 years ago
Jordi Boggiano 9a69886a92 Add default http options to stream context, fixes #1774 11 years ago
Martin Hasoň 97f67c09e4 Fix normalization of relative paths 11 years ago
Jordi Boggiano f744ec16f5 Fix normalization of relative paths going up a few dirs, fixes #1759 11 years ago
Jordi Boggiano 6401b6aa46 Fix handling of protocol paths like phar:// 11 years ago
Martin Hasoň 0851ef1afb Fixed behaviour of Filesystem::findShortestPath[Code] for paths with up-level references 11 years ago
Jordi Boggiano 842155d69e Use original URL for exceptions, not the one containing authorization, fixes #1722 11 years ago
Jordi Boggiano 61efd2998c Clear stat cache after calling filesystem commands 11 years ago
Stephan Hochdörfer df897b42c2 Removed dead statement. 11 years ago
Benjamin Eberlei 882ce1b39f [GH-1591] More fixing of Installation on Windows Azure. Renaming between different partitions + xcopy fail, so we need to copyAndRemove() manually. 11 years ago
Stephan Hochdörfer 906563451e Reverted the last changes. Changed logic in callbackGet() method to
respect the 401 handling also if STREAM_NOTIFY_FAILURE fires as on my
local machine the handling of STREAM_NOTIFY_AUTH_REQUIRED never got
executed.
11 years ago
Stephan Hochdörfer dcdcf57f3f Moved 401 handling from ComposerRepository to RemoteFilesystem and
displaying the url when asking for the credentials.
11 years ago
Stephan Hochdörfer f2afbbac2f Extended the fetchFile() method of the ComposerRepository class to be
able to deal with http basic auth. In case the remote resource responds
with a 401 ask the user for access credentials and retry quering the
resource again.
11 years ago
Jordi Boggiano 1c468e7c02 Fix cs 12 years ago
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
12 years ago
Jasper N. Brouwer 4347cb7a55 Fixed the "access_token query param" (5b1f314) fix 12 years ago
Jordi Boggiano 5b1f3145c2 Update the way github authorization is handled, fixes #1632
Since api.github.com redirects to s3 for downloads and s3 does not like Authorization
headers, we have to rely on the access_token query param. Otherwise php follows redirects
but still sends the Authorization header to all following requests.
12 years ago
Jordi Boggiano e43d0b5a5b Allow for "proprietary" as license identifier 12 years ago
Jordi Boggiano 27898c4c31 Suppress errors from mkdir calls that are checked for failure 12 years ago
Jordi Boggiano 1dd7700fc2 Capture output of the rm command 12 years ago
Pascal Borreli 46bbf83778 Fixed typos 12 years ago
Christoph c7c55915f8 do not output the xcopy summary 12 years ago
Jordi Boggiano 514a3cde77 CS fixes 12 years ago
Galymzhan 69f2230a4c add public method Filesystem#size 12 years ago
Jordi Boggiano b8da471f9a Clarify transport exception for 403s, fixes #1416 12 years ago
Jordi Boggiano 308e2ff4cb Add support for headers as strings to avoid regressions, refs #1387 12 years ago
Benjamin Eberlei fbf9a27132 Works on Linux when proc_open misses 12 years ago
Benjamin Eberlei cd7db1861d Remove reliance on proc_open in Filesystem#rename() 12 years ago
Benjamin Eberlei d26932cc7e Fallback to PHP early if proc_open not allowed. 12 years ago
Jordi Boggiano 25554e08fe Always read out warnings from the ValidatingArrayLoader 12 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago
Jordi Boggiano 967c771b26 Add warnings to ValidatingArrayLoader that are simply stripped by default, add reporting of warnings when loading branches 12 years ago
Jordi Boggiano 4b531771bd Add validators for package links and minimum-stability 12 years ago
Pascal Borreli 83fd3967f0 Fixed PHPDoc 12 years ago
Jordi Boggiano cd284733ef Fix proxy scheme concatenation, fixes #1250 12 years ago
Jordi Boggiano e887f6cea9 Fix CS 12 years ago
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 12 years ago
Jordi Boggiano 76663cf21e Avoid following the URL to the authorization that was just created, fixes #1238 12 years ago
Jordi Boggiano 31a1bd2c39 Remove output if the token can be fetched automatically 12 years ago
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 12 years ago