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
Jordi Boggiano
efb24846cb
Merge branch '1.1'
8 years ago
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.
8 years ago
Stefan Grootscholten
0e500d4c91
Make API URL available for external use.
8 years ago
Carl Craig
e43912735b
Update bitbucket oauth instructions
8 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
8 years ago
Jordi Boggiano
fc57cc8d7e
Remove changes in StreamContextFactory, refs #5055
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
b4d9d0fd0d
Added BitbucketTest class. Added is_array and is_object check to http content before calling http_build_query.
8 years ago
Paul Wenke
d2c5479b2d
Updated documentation and fixed formatting in Bitbucket Util.
8 years ago
Paul Wenke
d5332a1b5c
Developed bitbucket-oauth functionality.
8 years ago