1
0
Fork 0
Commit Graph

6683 Commits (49a94ca7fddfbe2d293fddc3dfaa0e9070407062)

Author SHA1 Message Date
bohwaz 49a94ca7fd Update docs for fossil support 2016-06-23 08:42:11 +12:00
bohwaz 0e26a07a74 Fix: use the right directory for repository file 2016-06-23 08:41:29 +12:00
bohwaz abcbef4a67 Add Fossil support to Composer 2016-06-23 08:41:00 +12:00
Jordi Boggiano 894b53c115 Merge pull request #5454 from pierredup/type-search
Added type option to search
2016-06-21 17:03:13 +02:00
Pierre du Plessis 6a557e45b8 Added --type option to search 2016-06-21 16:38:52 +02:00
Jordi Boggiano c3a11308c2 Merge pull request #5445 from gitname/patch-1
Fix typo
2016-06-21 12:54:27 +02:00
Jordi Boggiano 1c4acf3583 Refactor code to use RemoteFilesystem facilities for header parsing, refs #5435 2016-06-21 11:32:39 +01:00
Jordi Boggiano f8c3ef4136 Merge remote-tracking branch 'dunlop-lello/master' 2016-06-21 11:27:45 +01:00
Jordi Boggiano efb24846cb Merge branch '1.1' 2016-06-21 11:01:40 +01:00
Jordi Boggiano f94d06ff0a Fix escaping 2016-06-21 11:01:35 +01:00
Jordi Boggiano 4fe967d61a Update semver dep, fixes #5397 2016-06-21 11:01:20 +01:00
Jordi Boggiano 39c2c8c30a Add test for password escaping 2016-06-21 11:01:09 +01:00
Jordi Boggiano dbc7629bb2 Merge remote-tracking branch 'stefangr/all_bitbucket_communication_through_oauth' 2016-06-21 10:53:28 +01:00
gitname 4f58c24195 Fix typo 2016-06-19 13:26:30 -07:00
Stefan Grootscholten 78fcb5a366 Add support section to composer data for bitbucket repositories. 2016-06-17 17:35:43 +02:00
Phil Lello 7a112b0395 Check headers for missing scopes before asking for new OAuth token
This patch stops the GitHub VCS driver prompting for a new access
token when a repository is deleted/hidden.

Specifically, it checks the X-OAuth-Scopes and X-Accepted-OAuth-Scopes
response headers to see if the scopes on the current request match
those needed by the API call. If they do, the 404 means that the repo
is deleted/hidden, and there's no point asking for a new OAuth token.
2016-06-16 07:40:54 +01:00
Stefan Grootscholten ccfd9018b8 Add unit tests for the GitBitbucketDriver class. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten 2d52531365 Add unit tests for the Bitbucket class. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten 1241e3e83c Simplify the if statement. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten 42f4d344a4 Fix the replacement of the credentials.
://username:password@domain
was replaced by ://://:***@domain
instead of ://username:***@domain or ://***:***@domain
2016-06-11 17:33:58 +02:00
Stefan Grootscholten ea11a95359 Provide fallback when using basic authentication.
When composer is configured to use bitbucket basic authentication (a bitbucket username and password), you get an error
when trying to install dependencies.
This commit prevent the install process to be aborted due to uncaught exceptions.
2016-06-11 17:33:58 +02:00
Stefan Grootscholten 7716ef059b Add the access token as query string parameter. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten d9fd9fca6b Implement changes after review of stof.
Rename getContents to getContentsWithOAuthCredentials.
Make gitDriver a private property.
2016-06-11 17:33:58 +02:00
Stefan Grootscholten 1084a3927e Implement Bitbucket Util in GitBitbucketDriver. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten 307fd4023b Fetch composer.json using the oauth api. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten 6c8b0cc2c1 Change authentication for bitbucket to oauth. 2016-06-11 17:33:58 +02:00
Stefan Grootscholten 0e500d4c91 Make API URL available for external use. 2016-06-11 17:33:58 +02:00
Jordi Boggiano a8edaad381 Merge pull request #5335 from carlcraig/1.1
Update bitbucket oauth instructions
2016-06-11 17:00:13 +02:00
Jordi Boggiano 5a3d60c0cf Output warning for invalid-looking packagist config, fixes #5404 2016-06-11 15:48:44 +01:00
Jordi Boggiano 73d9a4717d Update list of ciphers /cc @cs278 2016-06-11 11:19:58 +01:00
Jordi Boggiano 08ef916bed Change default value 2016-06-06 11:22:06 +01:00
Jordi Boggiano 151ed2a0e5 Merge pull request #5392 from donatj/master
Adds --no-suggest to install and update commands
2016-06-06 11:18:24 +02:00
Jordi Boggiano a8bb93aa1f Fix typo 2016-06-02 11:59:21 +01:00
Jordi Boggiano 02628acf26 Merge branch '1.1' 2016-06-02 10:22:15 +01:00
Jordi Boggiano cb71873aa1 Update semver dep, fixes #5397 2016-06-02 10:22:07 +01:00
Jordi Boggiano 72c9fab976 Merge pull request #5394 from svengerlach/more-no-scripts
--no-scripts option for remove and require command
2016-06-01 23:34:08 +02:00
Jordi Boggiano 11e53e6f84 Merge pull request #5396 from Soullivaneuh/patch-1
Use caret operator for unbound version constraints doc
2016-06-01 23:33:21 +02:00
Jordi Boggiano 5ae816d508 Merge pull request #5393 from mlocati/eval-strict-types
Strip out declare strict_types from plugins
2016-06-01 23:32:45 +02:00
Jordi Boggiano c2129dedbc Merge pull request #5398 from fulldecent/patch-3
More specific language and clearer warning
2016-06-01 23:22:42 +02:00
William Entriken 618026fd3e More specific language and clearer warning 2016-06-01 16:25:50 -04:00
Sullivan SENECHAL 567497ae9f Use caret operator for unbound version constraints doc
Because the caret is closer to semver than the tilde.
2016-06-01 15:24:13 +02:00
Sven Gerlach da4d5c670a Added option --no-scripts for require and remove command to 03-cli.md 2016-06-01 12:32:54 +02:00
Michele Locati 0b08daff02
Simplify evaluation of PHP code 2016-06-01 12:32:06 +02:00
Sven Gerlach 4fd35baf1f Added --no-scripts InputOption for RemoveCommand 2016-06-01 12:30:42 +02:00
Sven Gerlach 28b88dd675 Added --no-scripts InputOption for RequireCommand 2016-06-01 12:28:00 +02:00
Michele Locati 097003b5bb
Add test case for strict types declaration 2016-06-01 10:00:37 +02:00
Michele Locati 759987da62
Strip out declare strict_types 2016-06-01 09:51:26 +02:00
Jesse Donat b108ed9484 Adds --no-suggest to UpdateCommand 2016-05-31 17:52:00 -05:00
Jesse Donat cbfd81dc99 Adds flag to allow suggestions to be skipped 2016-05-31 17:48:43 -05:00
Jordi Boggiano b81210d9f8 Use stronger language and link to faq, fixes #5382, closes #5383 2016-05-31 21:00:15 +01:00