366 Commits (e4118385a0bbf7748e22939f678fd53b408f115b)

Author SHA1 Message Date
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
Fabian Grutschus 20854a50b4 Removed unnecessary test and just check for return code 11 years ago
Fabian Grutschus 0c5bd559f2 Changes comparsion to strict and removed a comment 11 years ago
Fabian Grutschus 67083e436b Check for exit code is equal to 0 instead of 127 11 years ago
Fabian Grutschus 5ae5963acd Fix for Preforce utility does not check if p4 command exists 11 years ago
Jordi Boggiano 0fbb4cbd16 CS fixes and renaming a few methods, refs #2184 11 years ago
Jordi Boggiano 11a0d16ccc CS fixes 11 years ago
Jordi Boggiano 9a806658d6 Merge remote-tracking branch 'vuhl/master'
Conflicts:
	src/Composer/Factory.php
11 years ago
Nicolas Bastien 52711d121c Remove unused use statement. 11 years ago
Martin Hasoň 3c0a620ad5 Fixed path analysis 11 years ago
Jordi Boggiano 3f6227a996 Add workaround for php bug 53460 glob() can return false, fixes #2278 11 years ago
Karoly Negyesi dd4db91ae7 using mkdir() in copyThenRemove() leads to errors if the target exists or not a dir, use ensureDirectoryExists() instead 11 years ago
mwhittom 8a319a719b Fixed issue with non-streaming perforce depots, also fixed issue where PerforceDownloader was not logging in 11 years ago
mwhittom 1b68f9151e removed excess space at end of function call 11 years ago
mwhittom 114f6c9b6b Replaced proc_open in windowsLogin method with call to Symfony Process Component 11 years ago
mwhittom 2e737ac439 updated to replace double-quotes with single quotes 11 years ago
mwhittom 8207518e04 Updated to clean up code and rename variables to camelcase 11 years ago
Nils Adermann 5be0ba14fe Warn about composer-installer type in composer validate 11 years ago
mwhittom 07d46aa3c3 Fixed spacing issues for PSR-2 11 years ago
mwhittom 774a55befd Updated to match psr-2 spec, fixed header comments 11 years ago
matt-whittom f737e49aae Fixed issue with downloader assuming repository would be VcsRepository 11 years ago
matt-whittom dd81449998 Updated to remove vfsStreams (no longer needed by tests)
Updated Perforce to cleanup, modified VcsRepository to call cleanup on Driver class
Updated tests, perforce constructor to make tests cleaner/easier
11 years ago
matt-whittom 7fdcdb4c54 Updated to complete functionality in Downloader to handle updates, returning change logs. 11 years ago
matt-whittom 1019c014e5 using theirs 11 years ago
matt-whittom bab10dd9f8 Added ability to pass p4user and p4password in composer.json 11 years ago
matt-whittom 53d6fcd6d3 using theirs 11 years ago
matt-whittom a5df2851ef Finished cleanup of debug messages. 11 years ago
matt-whittom 43108b4692 Cleanup phase 1
Removed branches - only returning the "master"
11 years ago
matt-whittom 64bda65e11 Updated Perforce driver to use labels
dev checkin, lots of cleanup to do
11 years ago
matt-whittom 36dd7dfea5 Cleaned up perforce code
Checks to see if already logged in to Perforce, and prompts for password if not and P4PASSWD is not set
Checks server url with perforce call
Checks for composer.json file, and returns the contents of the file already retrieved.
11 years ago
matt-whittom 0d061f2530 Added Perforce to Composer 11 years ago
Nils Adermann f0b45099c1 Correct authorship info for files I edited 11 years ago
Nils Adermann 9402a9fb3c Plugins receive composer and io objects on construction already 11 years ago
DerManoMann abb1db54bb Add another svn auth failed string to check (older svn server version) 11 years ago
Jordi Boggiano b4c0b18896 Add tests, refs #2017 11 years ago
Jordi Boggiano 13c7be2d7e Reformat some code and avoid adding proxy auth if no_proxy matched the url, refs #2017 11 years ago
Jordi Boggiano 2492dea4a8 Merge remote-tracking branch 'radnan/issue-1318' 11 years ago
Jordi Boggiano e99b327342 Clarify that composer.json is being read and not downloaded, refs #2096 11 years ago
Jordi Boggiano 3ffad59719 Also try a php copy-and-remove on unix if mv failed, refs #1765 11 years ago
radnan 7e584de9e8 return early if rule is * and remove one level of nesting 11 years ago
nickolay-cure4you d4ffb85aa4 Fix typo. when safemode is enabled we experienced the problem with ini_get arguments number 11 years ago
radnan a92ceaf4fe fix minor typo 11 years ago
radnan a55c9b6a88 added no_proxy handler - fixes #1318
- handle no_proxy directive when building stream context
- using CIDR matching from Zend library
- uses parts of code provided courtesy of @hoffman
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 65dae83ee6 Trim output before splitting lines to avoid blank entries, closes #1978 11 years ago
Jordi Boggiano ca69917969 Merge pull request #2008 from phansys/svn-auth
Allowed to 5 auth requests in svn before fail
11 years ago
Jordi Boggiano 7aa03410e2 Merge pull request #2015 from jaypea/filedownloader_basicauth
allow FileDownloader to use username:password@ info when downloading
11 years ago
Jordi Boggiano f79c4e4309 Detect safe_mode and output correct error, closes #2006 11 years ago
Jan Prieser cc1e10e8ae allow FileDownloader to use username:password@ info when downloading through https? 11 years ago
Phansys 465d1fdd44 Allowed to 5 auth requests before fail (6687743adb/src/Composer/Util/Svn.php (L115)). 11 years ago
Jordi Boggiano 8d0b7f278e CS fixes 11 years ago
Pavel Savinov 831bd844bd Almost PHPDoc problems fixed 11 years ago
jspagnoletti 6687743adb Added check for SVN WebDAV auth request (http://subversion.apache.org/docs/api/latest/group__svn__dav__error.html#gada0137a4ffc40251d2fce8ba06ca2e14, http://svn.apache.org/repos/asf/subversion/trunk/subversion/bindings/javahl/src/org/tigris/subversion/javahl/ErrorCodes.java). 11 years ago
Jordi Boggiano f56b985884 Merge pull request #1979 from hason/filesystem
Fixed the Filesystem methods for a directory with a name that is a substring of a another directory
11 years ago
Jordi Boggiano c479a26d71 Add workaround for msysgit failing to handle symlinks on windows, fixes #1048, fixes #1418 11 years ago
Martin Hasoň 81e41bac4b Fixed the Filesystem methods for a directory with a name that is a substring of a another directory 11 years ago
Jordi Boggiano 1debe22412 Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839 11 years ago
John Long 8eda0aa8c9 Remove unused variable $valid from ConfigValidator::validate 11 years ago
Stephan Hochdörfer 4d92626ef0 Fix for recursion problem with wrong http basic auth credentials. First
I got an "array_replace_recursive(): Argument #2 is not an array" error
and after fixing that it resulted in another error saying "Undefined
variable: result".
11 years ago
Jordi Boggiano 29fcca8595 Avoid weird recursion pattern by retrying after the first request is complete 11 years ago
Jordi Boggiano 4d52900dff Bypass failure if the server is just asking for credentials, fixes #1845 11 years ago
Jordi Boggiano e78a21015b Dont try to gzip decode empty responses, refs #1846 11 years ago
Jordi Boggiano 81f1451118 Clarify exception message when an empty response is returned 11 years ago
Jordi Boggiano 81d55544f7 Fix regex 11 years ago
Jordi Boggiano 5cdf40d165 Output VcsDownloader process commands in -vvv mode 11 years ago
Jordi Boggiano a9db844a41 Merge remote-tracking branch 'bitExpert/feature/repo_basic_auth' 11 years ago
Jordi Boggiano 3b97e2e260 Add support for new verbosity levels, and initial debug output 11 years ago
Jordi Boggiano 8c197d2325 Fix CS and wording, remove lowercased env var, add env var to docs 11 years ago
Alexander Loutsenko b7e41de607 Workaround when your proxy server fails request with enabled http_proxy_request_fulluri HTTP parameter 11 years ago
Jordi Boggiano 0a561d7bf1 Merge pull request #1773 from hason/filesystem
Fix normalization of relative paths
11 years ago
Jordi Boggiano 9a69886a92 Add default http options to stream context, fixes #1774 11 years ago
Martin Hasoň 97f67c09e4 Fix normalization of relative paths 11 years ago
Jordi Boggiano f744ec16f5 Fix normalization of relative paths going up a few dirs, fixes #1759 11 years ago
Jordi Boggiano 6401b6aa46 Fix handling of protocol paths like phar:// 11 years ago
Martin Hasoň 0851ef1afb Fixed behaviour of Filesystem::findShortestPath[Code] for paths with up-level references 11 years ago
Jordi Boggiano 842155d69e Use original URL for exceptions, not the one containing authorization, fixes #1722 11 years ago
Jordi Boggiano 61efd2998c Clear stat cache after calling filesystem commands 11 years ago
Stephan Hochdörfer df897b42c2 Removed dead statement. 11 years ago
Benjamin Eberlei 882ce1b39f [GH-1591] More fixing of Installation on Windows Azure. Renaming between different partitions + xcopy fail, so we need to copyAndRemove() manually. 11 years ago
Stephan Hochdörfer 906563451e Reverted the last changes. Changed logic in callbackGet() method to
respect the 401 handling also if STREAM_NOTIFY_FAILURE fires as on my
local machine the handling of STREAM_NOTIFY_AUTH_REQUIRED never got
executed.
11 years ago
Stephan Hochdörfer dcdcf57f3f Moved 401 handling from ComposerRepository to RemoteFilesystem and
displaying the url when asking for the credentials.
11 years ago
Stephan Hochdörfer f2afbbac2f Extended the fetchFile() method of the ComposerRepository class to be
able to deal with http basic auth. In case the remote resource responds
with a 401 ask the user for access credentials and retry quering the
resource again.
11 years ago
Jordi Boggiano 1c468e7c02 Fix cs 12 years ago
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
12 years ago
Jasper N. Brouwer 4347cb7a55 Fixed the "access_token query param" (5b1f314) fix 12 years ago
Jordi Boggiano 5b1f3145c2 Update the way github authorization is handled, fixes #1632
Since api.github.com redirects to s3 for downloads and s3 does not like Authorization
headers, we have to rely on the access_token query param. Otherwise php follows redirects
but still sends the Authorization header to all following requests.
12 years ago
Jordi Boggiano e43d0b5a5b Allow for "proprietary" as license identifier 12 years ago
Jordi Boggiano 27898c4c31 Suppress errors from mkdir calls that are checked for failure 12 years ago
Jordi Boggiano 1dd7700fc2 Capture output of the rm command 12 years ago
Pascal Borreli 46bbf83778 Fixed typos 12 years ago
Christoph c7c55915f8 do not output the xcopy summary 12 years ago
Jordi Boggiano 514a3cde77 CS fixes 12 years ago
Galymzhan 69f2230a4c add public method Filesystem#size 12 years ago
Jordi Boggiano b8da471f9a Clarify transport exception for 403s, fixes #1416 12 years ago
Jordi Boggiano 308e2ff4cb Add support for headers as strings to avoid regressions, refs #1387 12 years ago
Benjamin Eberlei fbf9a27132 Works on Linux when proc_open misses 12 years ago
Benjamin Eberlei cd7db1861d Remove reliance on proc_open in Filesystem#rename() 12 years ago
Benjamin Eberlei d26932cc7e Fallback to PHP early if proc_open not allowed. 12 years ago
Jordi Boggiano 25554e08fe Always read out warnings from the ValidatingArrayLoader 12 years ago
Igor Wiedler 4959c2bdc6 Replace references of a11n with a12n where appropriate
Authorization => Authentication.
12 years ago