Chris Smith
73662c725a
Don't let PHP follow redirects it doesn't validate certificates
9 years ago
Jordi Boggiano
546730dcf3
Show CA files being used in debug mode, refs #4792
9 years ago
Jordi Boggiano
a13b06725e
Add support for if-modified-since on lazy repos and turning packagist into a lazy provider repo
9 years ago
Jordi Boggiano
33c123e8c2
Fix passing of options to remotefilesystem in composer repo
9 years ago
Rob Bast
22d8b5dff4
fix possible caBundle error
9 years ago
Jordi Boggiano
8375af268c
Use fixed CN_match for github hosts, fixes #4782
9 years ago
Jordi Boggiano
fb848d2e07
Code cleanups
9 years ago
Jordi Boggiano
72fae0bf70
Declare CN_match/SNI_server_name only for php <5.6
9 years ago
Jordi Boggiano
449f68deae
Remove dangerous CN_match fallback
9 years ago
Jordi Boggiano
fc4d94f160
Code clarity and updates from the getcomposer.org installer
9 years ago
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
9 years ago
Jordi Boggiano
fbab2bfa17
Move user agent definition to StreamContextFactory so it is available in all contexts
9 years ago
Jordi Boggiano
f084b1e053
Remove duplicate handling of retry-auth-failure option, refs #3765
9 years ago
Jordi Boggiano
020c126c27
Fix CS
9 years ago
Jérôme Tamarelle
4255db9e31
Allows SSH urls for gitlab and detect the scheme
...
SSH urls uses HTTPS to request the API
9 years ago
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
9 years ago
Jerome TAMARELLE
211d4632bb
Fix compatibility with PHP 5.3
9 years ago
Jordi Boggiano
58a6d4b7d3
Add comment
9 years ago
David Fuhr
064e1a6d6d
Fix handling of http 400 errors
...
Before 400 errors were silently dropped. This caused composer to store
the returned body (usually some html) in cache. This resulted in later
errors when composer tried to extract this error response as zip.
With this exceptions thrown it handles the error gracefully and falls
back to the next URL provided by the package configuration.
9 years ago
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
9859859f10
Add comment, fixes #4145
9 years ago
Jordi Boggiano
bbf959ac34
Do not retry failures once degraded mode is already enabled
9 years ago
Jordi Boggiano
ff84b32097
Add degraded mode to try and bypass ipv6/gzip issues, refs #4142 , refs #4121
9 years ago
Jordi Boggiano
e2b2f450dc
Merge pull request #4144 from staabm/patch-2
...
Dropped unnecessary break statements
9 years ago
Markus Staab
94a924b702
Dropped unnecessary break statements
...
Next line breaks nevertheless
9 years ago
Markus Staab
a4ad3c2146
Dropped obsolete condition
...
The conditional a few lines above already checks for `bytesMax > 0`
9 years ago
Jordi Boggiano
41f4451c20
take care of retry-auth-failure:false in case of 403 as well
9 years ago
Jordi Boggiano
e16d53893e
Remove password prompt for github tokens and require the user creates a token themselves
9 years ago
Possum
29ca21f30e
PHP version checks tweaking
9 years ago
Jordi Boggiano
1cb427ff5c
Force http1.1 protocol
9 years ago
Roshan Gautam
f870396568
Add oauth2 support for gitlab
9 years ago
Jordi Boggiano
c5cd184767
Revert 331425bcb3
as well, fixes #3612
9 years ago
Stanislav Khromov
6c35dd6b2d
Improved wording
...
All other verbs use are in the form of "doing something", ie Installing, Downloading. "connection" is the odd one out.
9 years ago
Jordi Boggiano
3470cef1f1
Merge pull request #3818 from Hellov/master
...
Duplicate download progress
9 years ago
Jordi Boggiano
331425bcb3
Fix output of first line of progress when output is not decorated, refs #3818
9 years ago
Hello
ef0191ee6a
Duplicate download progress
9 years ago
Jérôme Tamarelle
c1edfbb65c
Add tests on GitLabDriver
...
Add an interactive prompt for gitlab token
Update doc for gitlab-domains
Add tests on GitLabDriver::supports
Update doc + CS
Optimize branch detection + fix typos
Fix test on GitLab support as it depends on SSL
Remove useless method + fix repository URL containing .git
9 years ago
Jérôme Tamarelle
802b57417a
Pass GitLab credential by HTTP header instead of query string to improve security
9 years ago
Henrik Bjørnskov
782c6303bc
Initial GitLab Driver
...
This is a proof of concept, and mostly done to gather feedback on the
structure of the driver and to see if this is something that Composer
should include in core.
Various review changes based on Stof comments.
* Remove cleanup() as it is implemented by the abstract class.
* Remove wrong comment in getReferences
* Implement getSource (as GitHubDriver does)
* Finish phpDocs for methods.
9 years ago
Rob Bast
3d329622d7
overwrite -> overwriteError
9 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
9 years ago
Padraic Brady
19e24c5804
Merge branch 'master' into tls-config
...
Conflicts:
.travis.yml
doc/03-cli.md
src/Composer/Command/ConfigCommand.php
src/Composer/Command/CreateProjectCommand.php
src/Composer/Command/DiagnoseCommand.php
src/Composer/Command/InstallCommand.php
src/Composer/Command/RequireCommand.php
src/Composer/Command/SelfUpdateCommand.php
src/Composer/Command/ShowCommand.php
src/Composer/Command/UpdateCommand.php
src/Composer/Config.php
src/Composer/Downloader/FileDownloader.php
src/Composer/Factory.php
src/Composer/Repository/ComposerRepository.php
src/Composer/Repository/PearRepository.php
src/Composer/Repository/Vcs/VcsDriver.php
src/Composer/Util/GitHub.php
src/Composer/Util/RemoteFilesystem.php
10 years ago
Rob Bast
296252330e
fix-token-retrying-itself
10 years ago
SofHad
45089a6771
[Minor] remove the unused private variables
10 years ago
Jordi Boggiano
59648b12a4
Add HHVM support in UA header
10 years ago
Jordi Boggiano
be53c5dd2c
Merge pull request #3207 from cs278/handle-low-diskspace
...
Handle low diskspace errors
10 years ago
Chris Smith
6edf40ee96
When $TMPDIR is low on space PHP streams silently fail
10 years ago
Jordi Boggiano
4ebc5c9a08
Add auth helper and reuse it in git downloader
10 years ago
François Pluchino
8b5c00bff0
Fix phpdoc
10 years ago
Jordi Boggiano
90d1b6e08a
Rename basic-auth to http-basic, add docs/schema/config support, add local auth file support, add storage to auth.json, add store-auths config option, refs #1862
10 years ago