hakre
03b634d114
Prevent fatal error on missing symlink() function in tests
...
The testsuite didn't run through for me because the php symlink() function
was missing.
It is only available on Windows Visa/Server 2008 or higher.
This commit fixes the issue by checking if the method exists, and if not,
marks the test as skipped because of a non-matching precondition.
10 years ago
Rob Bast
3d329622d7
overwrite -> overwriteError
10 years ago
Rob Bast
cb336a5416
Implement writeError throughout Composer
10 years ago
Jordi Boggiano
0b4a9235f4
CS fixes
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
Jordi Boggiano
da881c118b
Fix failures
10 years ago
Jordi Boggiano
8dad846613
Add SNI settings for SSL URLs that are proxied, fixes #3204
10 years ago
Jordi Boggiano
7b13507dd4
Fix typo in test
10 years ago
Jordi Boggiano
4a6503fe36
Add suppor for https_proxy, fixes #3204
10 years ago
Jordi Boggiano
94926218e8
CS fixes
10 years ago
Jordi Boggiano
6e4a21d700
Merge remote-tracking branch 'hakre/patch-2'
10 years ago
Jordi Boggiano
923191a489
Merge remote-tracking branch 'hakre/patch-1'
10 years ago
Bastian Hofmann
204fc207fa
Moved config option to not save subversion credentials to repository configuration, added documentation.
10 years ago
Bastian Hofmann
0d0ed59e5c
Codestyle fix
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
hakre
343d0b5af2
added test removing directory with trailing slash that is symlinked
...
#3144
#3157
10 years ago
hakre
ed507dec9f
added test unlinking directory
...
#3157
10 years ago
Jordi Boggiano
ac497feaba
CS fixes
10 years ago
Jordi Boggiano
08e34858d6
Fix code to use hostname only, refs #3026
10 years ago
Benjamin Grandfond
a21b0f82db
Allow SVN to connect with credentials provided with the auth.json file
10 years ago
Jordi Boggiano
b437c1cc05
Support github auth directly in the RemoteFilesystem class
11 years ago
Clark Stuth
a12c4e2a17
Removed getWindowsFlag and setWindowsFlag methods from Perforce object.
11 years ago
Clark Stuth
2651cbc5fe
Fixing perforce dev-master stored reference bug.
11 years ago
Clark Stuth
8fc1961463
Fixing delete client workspace bug.
11 years ago
Clark Stuth
c11105dd60
Fixing bug not cleaning up workspaces.
11 years ago
Clark Stuth
24dd42267f
almost all unit tests passing after IOInterface dependency refactor. no longer passing IOInterface into any Perforce methods
11 years ago
Clark Stuth
0f7b078d6c
added new dependency to Perforce object, updating some tests.
11 years ago
Pádraic Brady
bf01a55e53
Patch RFS test to set private fileUrl property and pass
11 years ago
Pádraic Brady
81b86acc53
Merge branch 'master' of github.com:composer/composer into tls-config
...
Conflicts:
src/Composer/Util/RemoteFilesystem.php
11 years ago
Jordi Boggiano
5067d76dbc
Adjust test suite
11 years ago
Pádraic Brady
2648064e5a
Some typos/corrections
11 years ago
Pádraic Brady
1e1e713329
Added test for RemoteFilesystem TLS options setup
11 years ago
ptarjan
09c0d971d3
don't require the error message have the first line of HTTP output in it
11 years ago
Jordi Boggiano
e2671b6510
Add test and fix patch for #2304 , refs #2341
11 years ago
Jordi Boggiano
08243ce2e3
Fix handling of urlencoded user and password in proxy urls, fixes #2339
11 years ago
Jordi Boggiano
f8be812a49
Merge remote-tracking branch 'origin/master'
11 years ago
Nils Adermann
565f86f30d
Fix stream context option test to really only verify content-type is last
11 years ago
Nils Adermann
42dd2f2ee8
Check only part of the error message as it's different in hhvm
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
5ae5963acd
Fix for Preforce utility does not check if p4 command exists
11 years ago
Jordi Boggiano
2b36106168
Fix tests, refs #2184
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
Martin Hasoň
3c0a620ad5
Fixed path analysis
11 years ago
Jordi Boggiano
38917c2047
Add parallel build to travis script
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
2e737ac439
updated to replace double-quotes with single quotes
11 years ago
mwhittom
07d46aa3c3
Fixed spacing issues for PSR-2
11 years ago
mwhittom
d77bd49301
Replaced RemoteFileSystemTest with version from main branch
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
997b1b5d46
Replaced changes in RemoteFilesystemTest with changes from main branch.
11 years ago
matt-whittom
1015957659
Added tests and code for tests
11 years ago
matt-whittom
53d6fcd6d3
using theirs
11 years ago
Jordi Boggiano
b4c0b18896
Add tests, refs #2017
11 years ago
Jordi Boggiano
12d63b0a35
Fix test
11 years ago
Jordi Boggiano
f6aa3a6336
Fix test
11 years ago
Jan Prieser
cc1e10e8ae
allow FileDownloader to use username:password@ info when downloading through https?
11 years ago
Jordi Boggiano
55927f983a
Remove author to fix phpunit group detection
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
93d37833dc
Fix tests
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
Jordi Boggiano
0a561d7bf1
Merge pull request #1773 from hason/filesystem
...
Fix normalization of relative paths
12 years ago
Jordi Boggiano
784dd0aad0
Fix tests
12 years ago
Martin Hasoň
97f67c09e4
Fix normalization of relative paths
12 years ago
Jordi Boggiano
f744ec16f5
Fix normalization of relative paths going up a few dirs, fixes #1759
12 years ago
Martin Hasoň
0851ef1afb
Fixed behaviour of Filesystem::findShortestPath[Code] for paths with up-level references
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
Jordi Boggiano
b4c2347b24
Test fixes
12 years ago
Jordi Boggiano
514a3cde77
CS fixes
12 years ago
Galymzhan
69f2230a4c
add public method Filesystem#size
12 years ago
Benjamin Eberlei
d26932cc7e
Fallback to PHP early if proc_open not allowed.
12 years ago
Igor Wiedler
4959c2bdc6
Replace references of a11n with a12n where appropriate
...
Authorization => Authentication.
12 years ago
Jordi Boggiano
7aab7c6297
Fix StreamContextFactory tests
12 years ago
Jordi Boggiano
ed9fcc5074
Fix tests
12 years ago
Jordi Boggiano
e0ce22f7cc
Fix tests
12 years ago
Sander Marechal
11b5b5944d
Improved argument order
12 years ago
Sander Marechal
748c4764ba
Unittest for stream options
12 years ago
Grégoire Pineau
f4e9dd4fb8
Fixed PSR rules
12 years ago
Tom Klingenberg
58a8ff80e3
Cont. code simplification & better tests.
13 years ago
Jordi Boggiano
fd38971777
Fix CS & simplify code
13 years ago
Tom Klingenberg
74ca58bcb6
Use of SPDX license identifiers.
13 years ago
Jordi Boggiano
c754f96677
Removed last password/username from IOInterface
13 years ago
Jordi Boggiano
6967ec16b3
Add slow tests to slow group, excluded by default except for travis
13 years ago
Jordi Boggiano
072f4397a0
Fix default options handling in StreamContextFactory
13 years ago
Maxim Chernyshev
5294cb222c
Precious community feedback-based refactoring
13 years ago
Maxim Chernyshev
37476eb61f
Fixed indentation
13 years ago
Maxim Chernyshev
8918551f29
Simplified proxy port determination and passed tests
13 years ago
Maxim Chernyshev
2ca50a1ef3
Merged in upstream
13 years ago
Maxim Chernyshev
419a1cedf0
Proxy credentials are now passed as part of HTTP headers
13 years ago
Danny Berger
e7ba0c38a8
Add default http(s) ports to proxy configuration if they are missing.
13 years ago
Jordi Boggiano
96c9bf80cc
Add test
13 years ago
Jordi Boggiano
ac8ac6e9b2
Fix tests depending on remote sites
13 years ago
Jordi Boggiano
6c2b78a669
Merge remote-tracking branch 'till/svn-auth-reloaded'
13 years ago
Jordi Boggiano
d71bed19fc
Add more windows paths tests
13 years ago
Martin Hasoň
36d9513d7b
Changed parameter name in Filesystem::findShortestPath
13 years ago
till
c6566825ad
Merge remote-tracking branch 'upstream/master' into svn-auth-reloaded
13 years ago
till
8eb9584173
* move tests from Composer\Test\Vcs\SvnDriverTest to this class
13 years ago
Martin Hasoň
1f8c9eeb6c
Added parameter $inDirectory to method Filesystem::findShortestPath
13 years ago
Jordi Boggiano
45b2165057
Fix tests
13 years ago
Jordi Boggiano
f98bd971f2
Add Gzip handling to RemoteFilesystem
13 years ago
Jordi Boggiano
51447074c2
Fix wording & co
13 years ago
Jordi Boggiano
a5c2c6c07e
Merge remote-tracking branch 'biozshock/issue225'
13 years ago
Beau Simensen
6efbc7d531
Enhanced GitHub API/Private Repository support
13 years ago
Jordi Boggiano
edf93f1fcc
Fix test & behavior
13 years ago
Jordi Boggiano
3e22084ea4
Overhaul VcsDrivers, introduce TransportException for remote filesystem errors
13 years ago
Jordi Boggiano
9bcea6f485
Merge remote-tracking branch 'hason/filedownloader'
13 years ago
Martin Hasoň
0d93674819
Added tests for the RemoteFilesystem class
13 years ago
Martin Hasoň
492e672b23
Added tests for StreamContextFactory
13 years ago
Dave Marshall
c2421db7d9
Add stderr to exceptions for GitDownloader
13 years ago
Martin Hasoň
f026e2a0eb
Added tests for FileDownloader and ArchiveDownloader
13 years ago
Martin Hasoň
56c0e511da
Added support for change the process timeout
13 years ago
Artem Lopata
7d994b5de4
Added ErrorHandler for handling E_NOTICE, E_WARNING, E_ERROR
13 years ago
Jordi Boggiano
9d2e479d6d
Add ProcessExecutor tests
13 years ago