Stefan Grootscholten
d80d266201
Fix dist download from bitbucket.
...
URL https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
results in the following $pathParts:
array(5) {
[0]=>
string(0) ""
[1]=>
string(5) "ariya"
[2]=>
string(9) "phantomjs"
[3]=>
string(9) "downloads"
[4]=>
string(36) "phantomjs-2.1.1-linux-x86_64.tar.bz2"
}
A dist download URL is like:
https://bitbucket.org/user/repo/get/[git-hash].zip
array(5) {
[0]=>
string(0) ""
[1]=>
string(4) "user"
[2]=>
string(4) "repo"
[3]=>
string(3) "get"
[4]=>
string(14) "[git-hash].zip"
}
8 years ago
Jordi Boggiano
4d082f77b8
Simplify composer output to take less lines
8 years ago
Jordi Boggiano
c0e28a9043
Remove static/public method
8 years ago
Roel Arents
489a8f3d5a
revert to simply making an exception (no acces_token) for bitbucket/user/repo/downloads URLs
...
[#5584 ]
8 years ago
berlinger-rarents
5123c5cf76
remove redundant truth check
8 years ago
berlinger-rarents
8845ea467a
try bitbucket downloads first time without auth
...
also add tests for #5584
8 years ago
berlinger-rarents
64fc8ffe3d
prevent (prompt for) auth for bitbucket public downloads
...
#5584
8 years ago
berlinger-rarents
a4e3e1b584
prevent (prompt for) bitbucket auth when it redirected
...
#5584
8 years ago
moyo
997a062ebd
Support gitlab private-token (or personal-access-token) for easier access via gitlab API
...
Config example:
$HOME/.composer/auth.json
{
"gitlab-token": {
"gitlab.com": "YOUR-TOKEN-HERE"
}
}
Gitlab API authentication doc: http://doc.gitlab.com/ce/api/README.html
8 years ago
Jordi Boggiano
87fbf4a6cd
Clean ups, refs #5485
8 years ago
Stefan Grootscholten
5a31c75289
Fix some of the remaining OAuth issues.
...
- Bitbucket will silently redirect to a login page when downloading a zip.
Added a check to see if the content-type is not text/html
- Make the path from Basic Authentication to OAuth as smooth as possible.
8 years ago
Stefan Grootscholten
1241e3e83c
Simplify the if statement.
8 years ago
Stefan Grootscholten
7716ef059b
Add the access token as query string parameter.
8 years ago
Stefan Grootscholten
6c8b0cc2c1
Change authentication for bitbucket to oauth.
8 years ago
Jordi Boggiano
73d9a4717d
Update list of ciphers /cc @cs278
8 years ago
Jordi Boggiano
3ac822d5e2
Fix access_token param being incorrectly added on github requests after a redirection, fixes #5099
8 years ago
Jordi Boggiano
143db7a9f5
Fix degraded mode usage on packagist, fixes #5350
8 years ago
Jordi Boggiano
36665d791d
Merge branch '1.0'
8 years ago
Jordi Boggiano
c66639fe03
Fix content-length check to look at the last header received, fixes #5268
8 years ago
Jordi Boggiano
2062070be9
Warn users with secure-http disabled once per hostname they access insecurely to avoid bad URLs going by undetected, fixes #5008
8 years ago
Jordi Boggiano
31dcc0bdea
Merge branch '1.0'
8 years ago
Jordi Boggiano
1bf711fe1f
Guard against mbstring func_overload, fixes #5218
8 years ago
David Zuelke
d716c73333
fail download on content-length mismatch
8 years ago
Jordi Boggiano
765a958c42
Merge pull request #5137 from dzuelke/rfs_conlen
...
Fail download on content-length mismatch
8 years ago
Jordi Boggiano
b1723644e0
Use extracted ca-bundle package
8 years ago
Jordi Boggiano
e2056499cb
Avoid open_basedir warnings on is_dir() calls when probing for CABundle
8 years ago
David Zuelke
5dd4d69a6d
fail download on content-length mismatch
8 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
8 years ago
Jordi Boggiano
37a1e12672
Mark failed downloads as failed instead of 100% complete, fixes #5111
8 years ago
Jordi Boggiano
4cc719cab3
Add support for SSL_CERT_DIR and openssl.capath, fixes #5017
8 years ago
Jordi Boggiano
e94066967c
Add debugging info about proxy usage, refs #4332
8 years ago
Niels Keurentjes
f794ee7870
Fixes for implicit variable declarations, return type mismatches and invalid method declarations.
8 years ago
Jordi Boggiano
cb59cf0c85
Allow exception to secure-http for packagist provider files and add docs, refs #4907
8 years ago
cinamo
b6b416111e
Fixed http check
9 years ago
cinamo
4f5b4aff9c
Undid CS changes
9 years ago
cinamo
da44f46b9c
Code style fixes
9 years ago
cinamo
ef60478926
Added secure-http flag, defaults to true
9 years ago
Jordi Boggiano
09a6a19257
Avoid decoding gzip responses after a redirect, fixes #4897
9 years ago
Jordi Boggiano
49d7d65933
Add verbosity input support to IOInterface
9 years ago
Jordi Boggiano
ae14e0f086
Add ssh2 protocol default ports, fixes #4835
9 years ago
Jordi Boggiano
1818b95149
CS fixes
9 years ago
Jordi Boggiano
5c944d45ac
Merge pull request #4827 from curry684/issue-4203
...
Added more graceful warning suppression utility
9 years ago
Jordi Boggiano
fff5074bbf
Fix additionalOptions getting dropped when SAN and redirect handling are combined, refs #4782
9 years ago
Niels Keurentjes
76c1645a0e
Merge remote-tracking branch 'upstream/master' into issue-4203
9 years ago
Niels Keurentjes
18cd4f966b
Added silencer utility to more gracefully handle error suppression without hiding errors or worse. Fixes #4203 , #4683
9 years ago
Jordi Boggiano
bdb97e7527
Reuse new TlsHelper for CA validation, refs #4798
9 years ago
Jordi Boggiano
1ea810d40b
Merge remote-tracking branch 'cs278/san-support'
9 years ago
Jordi Boggiano
78ffe0fd08
Avoid checking CA files several times
9 years ago
Jordi Boggiano
901e6f1d0e
Fix output and handling of RFS::copy() and extract redirect code into its own method, refs #4783
9 years ago
Jordi Boggiano
a574d5ef76
Merge remote-tracking branch 'cs278/follow-redirects'
9 years ago