116 Commits (9e9c1917e1ed9f3f78b195a785aee3c6dc3cb883)

Author SHA1 Message Date
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
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
Jordi Boggiano a115cfd0d8 Fix regression in github fallback behavior 10 years ago
Jordi Boggiano c811eded7d Do not output if we are about to retry a download 10 years ago
Jordi Boggiano b6981d09e8 Fix handling of origin url in composer repository class 10 years ago
Jordi Boggiano eebffacd9f Use pagination to get tags/branches from the github API 10 years ago
Jordi Boggiano 009fcb4262 Fix arg signature 10 years ago
Jordi Boggiano f3c112e9e0 Split non-interactive and bad credential cases 10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Jordi Boggiano 1851c29dd3 Update code to work with #2766 10 years ago
Jordi Boggiano 9db2a537e5 Merge remote-tracking branch 'cs278/github-otp-support' 10 years ago
Jordi Boggiano 28bb781324 Capture response bodies in exceptions when http requests fail 10 years ago
Chris Smith 3f6a62099d Add an option which causes reauth attempts to be bypassed 11 years ago
Chris Smith 20dac3e836 Remove GitHub OTP code from RFS class 11 years ago
Chris Smith 9a0f4392da Trim whitepsace from each argument 11 years ago