124 Commits (ff59bbdab0fb5bef212f291bbf9f152c7467fd7d)

Author SHA1 Message Date
Jordi Boggiano ff59bbdab0 CS fixer 6 years ago
Jordi Boggiano c5fa3bdde0 Migrate to repo.packagist.org for package metadata 6 years ago
Wil Hall f0924fb878 Add htaccess-protect option for disabling the creation of .htaccess files 7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Stefan Grootscholten a4af559ca8 Store access-token for re-use
Store the Bitbucket access-token (and the expiration time) so it can be re-used within the time it is valid.
The Bitbucket::requestToken and Bitbucket::getToken now only return the access-token and not all other parameters it receives from the Bitbucket API.
8 years ago
Jordi Boggiano 1464146629 Explicitly cast possible-null to string 8 years ago
Nicolas Grekas 6d4e60b991 Add --apcu-autoloader option to enable APCu caching of found/not-found classes 8 years ago
Jordi Boggiano e38ebefc7e Update packagist default repo to be packagist.org 8 years ago
Fabien Potencier 2c77fd6801 Fix process timeout when set to 0 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 d8c94c2640 Merge remote-tracking branch 'curry684/home-expansion' 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
Niels Keurentjes d5158d943f Exempt custom URLs from secure-http checks, refs #5173 8 years ago
Niels Keurentjes c9534d48c1 Made env variable parsing in path replacements generic across platforms and replaced old config.php implementation. 8 years ago
Jordi Boggiano 3b0a1c6f70 Run cs fixer and update config to latest master 8 years ago
Jordi Boggiano da9b43dcc8 Merge remote-tracking branch 'curry684/code-quality' into 1.0 8 years ago
David Zuelke cf43244f85 fix config add/remove/unset/merge for bitbucket 8 years ago
Niels Keurentjes eb77c0b7f5 phpDoc cleanup, removed unused imports, variables and parameters. 8 years ago
Jordi Boggiano 2c9326bacb Merge remote-tracking branch 'wenkepaul/master' 8 years ago
Niels Keurentjes 49524bc4ba Centralize secure-http checking 8 years ago
Paul Wenke 9059d70ba0 Corrected username / access token parameters for $this->io->setAuthentication when read from git config. Grant type is now only set when requesting an access token. Removed bitbucket-domains and bitbucket-protocols from config. Fixed bitbucket typo in JsonConfigSource. Removed unecessary comments. Changed visibility of Composer/Util/Bitbucket properties to private. Added https to bitbucket url. Removed unused $note variable. 8 years ago
Paul Wenke d5332a1b5c Developed bitbucket-oauth functionality. 8 years ago
Jordi Boggiano 6f42b9c865 Disable git, svn, http protocols for VCS downloaders, fixes #4968 8 years ago
Jordi Boggiano 3c640e689e Fix regex escaping and remove constants 8 years ago
Jordi Boggiano 06be9b88c2 Merge remote-tracking branch 'slbmeh/feature/gh-2787' 8 years ago
cinamo ef60478926 Added secure-http flag, defaults to true 8 years ago
appchecker 13b50799d1 fix: missing parentheses 9 years ago
Jordi Boggiano 03e0d65f37 Allow stream wrapper usage in config dirs, fixes #4788 9 years ago
Rob Bast c1488f65bf a quick stab at adding capath 9 years ago
Jordi Boggiano 395d115d9b Resolve all dirs before initializing them, fixes #4802 9 years ago
Jordi Boggiano 3e9efcfb85 Merge remote-tracking branch 'ntoniazzi/master' 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
hanov.ruslan b298b9e8c6 Added sort-packages into config 9 years ago
Michal Gebauer ce74477899 Configuration of GitLab driver 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
Jordi Boggiano 615638c7c3 Simplify bin-compat by removing the nosymlink option, refs #3704 9 years ago
Jordi Boggiano c9b51a5751 Merge remote-tracking branch 'kocsismate/feature-bin-compat' 9 years ago
Nicolas Toniazzi b6df8549cd Merge remote-tracking branch 'parent/master'
Conflicts:
	src/Composer/Factory.php
9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Dennis Birkholz 1d7fa565e6 Fix check for flag in case RELATIVE_PATHS should be changed somehow 9 years ago
Kocsis Máté 87c16073ec Merge branch 'master' of https://github.com/composer/composer into feature-bin-compat 9 years ago
Andreas Möller eac5fbdee4 Fix: Remove unused imports 9 years ago
Nicolas Toniazzi 7d63eb5718 Merge remote-tracking branch 'parent/master'
Conflicts:
	doc/04-schema.md
9 years ago
Thibault Jamet 1eec4fdfa5 Add archive configuration default values 9 years ago
nevvermind 3032f0a538 Refactor based on code review
- Move the version api getter to the PluginManager And make it such that it can be mocked, but not pollute the public interface. That means "protected" visibility.
- The plugin api version constant should still be used throughout the code.
- Use different fixtures class names
- Use regex possessive quantifiers for performance
- Use full words for readability
9 years ago
nevvermind eb2aa14830 Make plugins have actual constraints instead of fixed versions
Instead of developing plugins against a single, fixed Plugin API version - `"composer-plugin-api": "1.0.0"`, this change will allow plugin developers to use versions like `"composer-plugin-api": "~1.1"` or `"composer-plugin-api": ">=2.1 <3.0"`, aka actual Composer-compatible constraints.

Only the "1.0", "1.0.0" and "1.0.0" Plugin API versions will be regarded as BC versions, and internally converted to "^1.0"; every other declared version string will be kept as it is.

Because of this new constraint flexibility, plugin version mismatches will be skipped, which means those plugin will NOT be registered to the system. Previously, a mismatch triggered a warning, but plugins were still registered.
9 years ago
Jordi Boggiano 80b0a35a68 Merge remote-tracking branch 'HuffAndPuff/ignore-platform'
Conflicts:
	src/Composer/Config.php
	src/Composer/Repository/PlatformRepository.php
9 years ago
Steve Buzonas 73c1f8c0e0 prefer strings for install handling when possible 9 years ago
Steve Buzonas 124739d055 fix preference resolution to be backwards compatible 9 years ago
Jérôme Tamarelle 48fc2eafa0 Add gitlab.com as default GitLab domain 9 years ago