Stefan Grootscholten
9b654048ed
Fix regex for bitbucket https URLs.
...
If the bitbucket URL has the .git extension, the compiling of the authUrl and sshUrl result in invalid URLs.
9 years ago
Stefan Grootscholten
591f68288b
Provide a fallback to ssh for https bitbucket URLs.
...
When running in non-interactive mode, there is no way to ask for credentials.
If there are no credentials available, no attempt is made to execute the command.
This commit provides a fallback to SSH for non authenticated, non-interactive install/updates of bitbucket https URLs.
9 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
9 years ago
Jordi Boggiano
3b0a1c6f70
Run cs fixer and update config to latest master
9 years ago
Niels Keurentjes
eb77c0b7f5
phpDoc cleanup, removed unused imports, variables and parameters.
9 years ago
Jordi Boggiano
2c9326bacb
Merge remote-tracking branch 'wenkepaul/master'
9 years ago
Niels Keurentjes
49524bc4ba
Centralize secure-http checking
9 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.
9 years ago
Paul.Wenke
9ddf8c4d55
Fixed OAuth credentials issue for subsequent clone requests.
9 years ago
Paul Wenke
d5332a1b5c
Developed bitbucket-oauth functionality.
9 years ago
Jordi Boggiano
7e1a23eef7
Add missing use statements
9 years ago
Jordi Boggiano
6f42b9c865
Disable git, svn, http protocols for VCS downloaders, fixes #4968
9 years ago
Jordi Boggiano
f9fadb187e
Fix undefined var $auth issue
9 years ago
Jordi Boggiano
29312be4df
Strict typing fixes
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
Jordi Boggiano
ce08582671
Fix CS
9 years ago
Jordi Boggiano
4d5d524704
Clear stat cache after a git failure as it might have modified the filesystem
10 years ago
Jordi Boggiano
dbfd47eeca
CS fixes
10 years ago
Roshan Gautam
f870396568
Add oauth2 support for gitlab
10 years ago
Frederik Bosch
951b07eabc
Fix #3903
10 years ago
Frederik Bosch
79490f662e
Revert #3813 , implement differently
...
Fix #3830
10 years ago
Jordi Boggiano
b80038804f
Fix env override regression, fixes #3820
10 years ago
Jordi Boggiano
2eb69f120e
Move check to follow the previous code change
10 years ago
Jordi Boggiano
0c775e997e
Fallback to https directly if ssh proto is disabled on github private repos, fixes #2786
10 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jordi Boggiano
c9f666f60b
Also clean up DYLD_LIBRARY_PATH before running git, refs #2146
10 years ago
Jordi Boggiano
d093481ed5
Merge remote-tracking branch 'garoevans/intelligent-auth'
...
Conflicts:
src/Composer/Util/Git.php
10 years ago
Jordi Boggiano
4ebc5c9a08
Add auth helper and reuse it in git downloader
10 years ago
Gareth Evans
cfc632b019
Determine auth URLs more intelligently
10 years ago
Jordi Boggiano
1ce419cc43
Fix var name
11 years ago
Jordi Boggiano
3ebc869060
Extract functionality from GitDownloader to make it more reusable
11 years ago
Jordi Boggiano
e0886b94a2
Make Git::cleanEnv static
11 years ago
Nicolas Bastien
52711d121c
Remove unused use statement.
11 years ago
nickolay-cure4you
d4ffb85aa4
Fix typo. when safemode is enabled we experienced the problem with ini_get arguments number
11 years ago
Jordi Boggiano
81b2b84112
Clean up git env vars consistently
11 years ago
Jordi Boggiano
48b6e8cd21
Always clear git env vars
11 years ago
Jordi Boggiano
f79c4e4309
Detect safe_mode and output correct error, closes #2006
11 years ago