366 Commits (e4118385a0bbf7748e22939f678fd53b408f115b)

Author SHA1 Message Date
Jordi Boggiano 91ac3e1426 Add support for unixy paths in git/hg local repo urls, closes #3294 10 years ago
frederik d1d40502bf ProcessExecutor::escape 10 years ago
frederik 7ae1430689 #3297 ProcessUtil class using ProcessUtil of Symfony Console 10 years ago
Bastian Hofmann b279dda1c0 Merge branch 'master' of https://github.com/composer/composer 10 years ago
Jordi Boggiano 2c237fdfdf Handle files in Filesystem::copyThenRemove, fixes #3287 10 years ago
Bastian Hofmann 204fc207fa Moved config option to not save subversion credentials to repository configuration, added documentation. 10 years ago
Bastian Hofmann b132e4eae0 Added cacheCredentials config flag for saved SVN credentials to control the --no-auth-cache flag
Example config:

{
    "http-basic": {
        "svn.example.com": {
            "username": "user",
            "password": "password",
            "cacheCredentials": false
        }
    }
}
10 years ago
Jordi Boggiano d79f2b0fd3 Adds warning when the version field is set, fixes composer/packagist#438 10 years ago
Chris Smith 6edf40ee96 When $TMPDIR is low on space PHP streams silently fail 10 years ago
hakre 3e727850ff unlinking symlinked directories and trailing slashes
Filesystem::removeDirectory() didn't detect all symlinked directories
properly due to not resolving pathnames with trailing slashes first.

this commit fixes that issue by resolving pathnames with trailing slashes
by removing those in case they are representing a symlinked directory.

#3144

Reference:

 A.4.12 Pathname Resolution - The Open Group Base Specifications Issue 7
 IEEE Std 1003.1, 2013 Edition Section
 <http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xbd_chap04.html>
10 years ago
hakre 0ad2449fe8 rmdir needs to be used on windows to remove symbolic links to directories 10 years ago
xelan bddba72e13 Option to disable inclusion of hostname in OAuth app name 10 years ago
Jordi Boggiano 4ebc5c9a08 Add auth helper and reuse it in git downloader 10 years ago
François Pluchino 8b5c00bff0 Fix phpdoc 10 years ago
Gareth Evans cfc632b019 Determine auth URLs more intelligently 10 years ago
Jordi Boggiano 745dcbce33 Fix file deletions to always use a delayed retry on windows, fixes #3074 10 years ago
Jordi Boggiano f79b34c1df Fix typo 10 years ago
Jordi Boggiano 24ef869815 Remove symlinks instead of recursing into them when deleting, fixes #3050 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano e890d1bc59 Remove use of glob, fixes #3042 10 years ago
Jordi Boggiano 08e34858d6 Fix code to use hostname only, refs #3026 10 years ago
Jordi Boggiano 89ec322929 Merge remote-tracking branch 'benja-M-1/feature/svn-auth-from-auth-json' 10 years ago
Jordi Boggiano 71397f82e4 Remove forced dir removal before install, fixes #3035 10 years ago
Benjamin Grandfond 31b95ed02c Make auth credential creation private 10 years ago
Jordi Boggiano 9b580bd800 Do not realpath ./.., refs #2932 10 years ago
Jordi Boggiano 56c5af8dc4 realpathGlob tweaks, refs #2932 10 years ago
Richard Quadling 443858dae7 Force all glob results to be realpath'd. 10 years ago
Jordi Boggiano effacc1185 Do not realpath relative local URLs, fixes #2916 10 years ago
Benjamin Grandfond a21b0f82db Allow SVN to connect with credentials provided with the auth.json file 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 43a72d1132 Merge pull request #2985 from tristanlins/hotfix/filesystem-remove-directory
Graceful fallback in Filesystem::removeDirectory() to php
10 years ago
Jordi Boggiano 1ce419cc43 Fix var name 10 years ago
Jordi Boggiano 3ebc869060 Extract functionality from GitDownloader to make it more reusable 10 years ago
Jordi Boggiano e0886b94a2 Make Git::cleanEnv static 10 years ago
Jordi Boggiano a115cfd0d8 Fix regression in github fallback behavior 10 years ago
Tristan Lins 5f86037ff3 Graceful fallback in Filesystem::removeDirectory() to php, if process failed. 10 years ago
Jordi Boggiano c811eded7d Do not output if we are about to retry a download 10 years ago
Jordi Boggiano b6981d09e8 Fix handling of origin url in composer repository class 10 years ago
Jordi Boggiano 39c8d3e6e1 Ignore empty refs 10 years ago
Jordi Boggiano 31b787249c More fixes to mirror support 10 years ago
Jordi Boggiano b39df32d4b Minor fixes 10 years ago
Jordi Boggiano ba776c06ee Add composer mirror class 10 years ago
Jérôme Macias 4f417e3985 Add --no-check-all option to composer validate command 10 years ago
Jordi Boggiano eebffacd9f Use pagination to get tags/branches from the github API 10 years ago
Jordi Boggiano 009fcb4262 Fix arg signature 10 years ago
Jordi Boggiano f3c112e9e0 Split non-interactive and bad credential cases 10 years ago
Jordi Boggiano b437c1cc05 Support github auth directly in the RemoteFilesystem class 10 years ago
Jordi Boggiano e7b82cdd88 Only check in require and for non-platform packages, add flag to make this warning optional, refs #2320 10 years ago
Jordi Boggiano f233383de8 Merge pull request #2834 from vuhl/master
Fixing perforce driver/downloader bugs
10 years ago
Clark Stuth 8dc6a13a1c Removing dead code segment. 10 years ago
Clark Stuth a12c4e2a17 Removed getWindowsFlag and setWindowsFlag methods from Perforce object. 10 years ago
Jordi Boggiano b09fb521d2 Fix headers array, fixes #2821 10 years ago
Clark Stuth dd1fd0e306 fixed perforce to reference labels instead of invalid tags 10 years ago
Clark Stuth 2651cbc5fe Fixing perforce dev-master stored reference bug. 10 years ago
Clark Stuth 8fc1961463 Fixing delete client workspace bug. 10 years ago
Clark Stuth c11105dd60 Fixing bug not cleaning up workspaces. 10 years ago
Clark Stuth 492539101c got all unit tests passing 10 years ago
Clark Stuth 24dd42267f almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods 10 years ago
Clark Stuth 0f7b078d6c added new dependency to Perforce object, updating some tests. 10 years ago
Jordi Boggiano 5b0dc99fec Reuse github existing tokens instead of failing, fixes #2724 10 years ago
Jordi Boggiano 1851c29dd3 Update code to work with #2766 10 years ago
Jordi Boggiano 9db2a537e5 Merge remote-tracking branch 'cs278/github-otp-support' 10 years ago
Jordi Boggiano 28bb781324 Capture response bodies in exceptions when http requests fail 10 years ago
Jordi Boggiano 432ace33d4 Clean up svn environment to fix OSX issues, fixes #2708, refs #2146 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
Chris Smith 3f6a62099d Add an option which causes reauth attempts to be bypassed 11 years ago
Chris Smith 20dac3e836 Remove GitHub OTP code from RFS class 11 years ago
Chris Smith 9a0f4392da Trim whitepsace from each argument 11 years ago
Chris Smith 360df90ba5 Add GitHub OTP to request headers 11 years ago
Chris Smith 3f53acc9af Test if the 401 was caused by 2FA and ask for OTP if appropriate 11 years ago
Chris Smith 23d35204cd Bail out of the normal 401 handling routine when the origin is GitHub 11 years ago
matt-whittom 4a49533988 Merge pull request #2 from rockerest/master
Escape spaces when registering the Perforce client spec
11 years ago
rockerest 9ff0c767af Escape spaces when registering the Perforce client spec 11 years ago
Jordi Boggiano cc7920000c Ask for auth if we get a 403 and did not have auth yet, fixes #2464 11 years ago
Jordi Boggiano 1b789d5226 Fix indenting, refs #2535 11 years ago
chr0n1x 528d35a835 ConfigValidator: ensure that require-dev exists during override check
- Ensure that require-dev is present before checking for dependeny overrides.
- A small grammar update for the warning message.
11 years ago
Pascal Borreli 2f4df9d459 Fixed typos 11 years ago
Jordi Boggiano 4ae5c95c8d Detect require overrides, fixes #2503 11 years ago
mwhittom dde9c309fd incorporated change to Perforce: Capture output, stopping errors showing up if p4 is not available 11 years ago
mwhittom a8084e46ff Added error handling and error messages around missing perforce driver, invalid username/password 11 years ago
Jordi Boggiano 5b48abe833 Fix previous commit 11 years ago
Jordi Boggiano 8173b42a8a Force unresolvable hosts through proxies, fixes #2449 11 years ago
Jordi Boggiano 730dcbb80a Detect failed gethostbyname, refs #2449 11 years ago
Jordi Boggiano dff5e3c542 Fail hard if anything attempts to wipe the entire filesystem/partition, fixes #2409 11 years ago
Chris Smith c0316aa957 Capture output, stopping errors showing up if p4 is not available 11 years ago
Wouter Wolters 97d52968ab Fix authentication issue with subversion 1.8 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 50fbfe4d63 Filesystem/autoload fixes for windows, refs #2304, #2342, #2365 11 years ago
Jordi Boggiano e2671b6510 Add test and fix patch for #2304, refs #2341 11 years ago
Jordi Boggiano 17886c3b2e Merge remote-tracking branch 'hason/windows' 11 years ago
Jordi Boggiano efb41d467e Skip redirect to URL lines in svn output, fixes #2338 11 years ago
Jordi Boggiano 08243ce2e3 Fix handling of urlencoded user and password in proxy urls, fixes #2339 11 years ago
mwhittom 0c5f4d9860 Update to fix issue with multiple perforce repositories 11 years ago
Martin Hasoň 9df65ee4c8 Fixed filesystem issue on windows 11 years ago