39 Commits (737a613a50c7dd8eebcf7a1bc8ed7e0d7b46afdd)

Author SHA1 Message Date
CZechBoY a062cd1a31
added phpstan on level 0 6 years ago
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 6 years ago
Jordi Boggiano bf125295df Fix escaping of URLs in Perforce and Subversion drivers 6 years ago
Jordi Boggiano e718f34ba4 Properly detect rate limit errors on github before outputting messages, fixes #6621 6 years ago
Jordi Boggiano 2eb69cd679 Always recommend using global config to store auth tokens 7 years ago
Rob Bast dc2f201152 add trailing / and updated diagnose command 9 years ago
Rob Bast 9e8aafa3b8 use base api endpoint to verify token is valid 9 years ago
Rob Bast 42f49b3b97 fix missing import 9 years ago
Jordi Boggiano 5d015defb8 Merge remote-tracking branch 'origin/master' into tls-config 9 years ago
Jordi Boggiano 6a64041055 CS fixes 9 years ago
Andreas Möller eac5fbdee4 Fix: Remove unused imports 9 years ago
Jordi Boggiano 52d290f5f2 trim token just in case and update tests 10 years ago
Jordi Boggiano e16d53893e Remove password prompt for github tokens and require the user creates a token themselves 10 years ago
Rob Bast cb336a5416 Implement writeError throughout Composer 10 years ago
Rob Bast a34335a9bb github deprecation changes
- added some tests
- minor bug fixes discovered during testing
- resolved two deprecations (rate limit api and authorizations api)
- added some more comments to make the flow more understandable
10 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
xelan bddba72e13 Option to disable inclusion of hostname in OAuth app name 10 years ago
Jordi Boggiano ac497feaba CS fixes 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 b437c1cc05 Support github auth directly in the RemoteFilesystem class 11 years ago
Jordi Boggiano b09fb521d2 Fix headers array, fixes #2821 11 years ago
Pádraic Brady 306ba77e93 Implement the RemoteFilesystem Factory everywhere...
- also fixes impacted test
11 years ago
Jordi Boggiano 5b0dc99fec Reuse github existing tokens instead of failing, fixes #2724 11 years ago
Chris Smith 8b7cdb7fb4 Treat HTTP header as case insensitive 11 years ago
Chris Smith bcee7a04ee Add message when SMS authentication code is required 11 years ago
Chris Smith 2a08f55079 Bypass RFS auth failure handling 11 years ago
Chris Smith cedae88b67 Add OTP token to the request headers 11 years ago
Chris Smith 7e0d8c1bc5 Do not ask for credentials again if OTP token is present 11 years ago
Chris Smith be5e4b1589 Intercept auth rejections requiring an OTP token 11 years ago
Gennady Feldman 6419266ea3 Validate the originUrl against the list of 'github-domains' from the config. 11 years ago
Gennady Feldman e78499d28d First working version of GitHub Enterprise API. 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago
Jordi Boggiano e887f6cea9 Fix CS 12 years ago
Jordi Boggiano bebd1ce9c7 Always check for OAuth token in git config, fixes #1243 12 years ago
Jordi Boggiano 76663cf21e Avoid following the URL to the authorization that was just created, fixes #1238 12 years ago
Jordi Boggiano 31a1bd2c39 Remove output if the token can be fetched automatically 12 years ago
Jordi Boggiano 39e69a3b12 Refactor OAuth acquisition code to generalize it 12 years ago