Jordi Boggiano
c5cb2327cf
Merge remote-tracking branch 'bamarni/config-repo-options'
2016-01-25 21:28:22 +00:00
Bilal Amarni
e727f9f5fe
[Config command] allow to pass options when adding a repo
2016-01-25 19:25:10 +01:00
Chris Smith
304c268c3b
Tidy up and general improvement of sAN handling code
...
* Move OpenSSL functions into a new TlsHelper class
* Add error when sAN certificate cannot be verified due to
CVE-2013-6420
* Throw exception if PHP >= 5.6 manages to use fallback code
* Add support for wildcards in CN/sAN
* Add tests for cert name validation
* Check for backported security fix for CVE-2013-6420 using
testcase from PHP tests.
* Whitelist some disto PHP versions that have the CVE-2013-6420
fix backported.
2016-01-24 19:02:50 +00:00
Jordi Boggiano
837fa805ec
Code tweaks, refs #4124
2016-01-22 19:09:44 +00:00
nevvermind
aa45a48283
Refactoring
...
- changed "SPI" into something more familiar, like "implementation"
- throw exceptions on invalid implementation types or invalid class names
- use null instead of false when querying
- refactored the tests accordingly
2016-01-22 13:51:32 +00:00
nevvermind
681043355f
Update test fixtures + fix test
2016-01-22 13:51:32 +00:00
nevvermind
58ded13eb9
Fix tests breaking on a api version bump
...
Make generic plugins work with many API versions as opposed to just 1.0.0.
2016-01-22 13:51:32 +00:00
nevvermind
2051d74774
Added Capable plugins for a more future-proof Plugin API
...
Plugins can now present their capabilities to the PluginManager, through which it can act accordingly, thus making Plugin API more flexible, BC-friendly and decoupled.
2016-01-22 13:51:32 +00:00
Rob Bast
446f1b3e31
fix zip test
2016-01-21 10:22:12 +01:00
Jordi Boggiano
fb848d2e07
Code cleanups
2016-01-16 16:50:28 +00:00
Jordi Boggiano
e6f1c13d00
xz test tweak
2016-01-10 20:45:40 +00:00
Jordi Boggiano
5214620f05
Fix xz tests
2016-01-10 20:26:23 +00:00
Jordi Boggiano
c1cc6bfecf
Avoid doing too many loads of the remotefilesystem
2016-01-10 20:06:10 +00:00
Jordi Boggiano
5d015defb8
Merge remote-tracking branch 'origin/master' into tls-config
2016-01-10 16:10:22 +00:00
Jordi Boggiano
969263944c
Rename var
2016-01-09 18:39:18 +00:00
Jordi Boggiano
44a00a28fa
Merge remote-tracking branch 'chorry/4694-clean-temporary-dirs-in-tests'
2016-01-09 18:37:50 +00:00
Jordi Boggiano
48420a2411
Update deps and bump json-schema requirement, fixes #4756
2016-01-09 16:52:06 +00:00
Alexander Loutsenko
909a679ab5
Filesystem is not needed as a property for CacheTest
2015-12-14 18:52:02 +03:00
Alexander Loutsenko
397ae2d7c8
review fixes
2015-12-14 18:50:04 +03:00
Alexander Loutsenko
fa5de786ff
clean garbage dirs in tmp after composer tests #4694
2015-12-14 17:52:37 +03:00
Rob Bast
c292122791
it looks like php 5.3.3 might not have openssl extension?
2015-11-30 15:51:49 +01:00
Jordi Boggiano
ddd85afd32
Merge pull request #4633 from jaapio/feature/gitlabInstallPath
...
Adds support for gitlab installed in subfolder
2015-11-30 13:49:50 +00:00
Jaapio
df92cb09ab
extract regex to const. To be able to reuse it
2015-11-29 13:59:54 +01:00
Jordi Boggiano
8072448cf3
Adjust deduplication of files autoloads, refs 9710b26d3f
2015-11-26 10:39:16 +00:00
Jaapio
b471440ea0
Adds support for gitlab install in subfolder
...
Since gitlab can be hosted on any url also subdirectories should be
supported. (e.g https://mycompany.com/gitlab ).
This supports only http and https protocols since the gitlab api url
is derived from the package repository url. And the ssh protocol doesn't
support folders this way.
2015-11-23 22:05:37 +01:00
Jordi Boggiano
fbab2bfa17
Move user agent definition to StreamContextFactory so it is available in all contexts
2015-11-23 15:12:33 +00:00
Jordi Boggiano
020c126c27
Fix CS
2015-11-21 21:51:43 +00:00
Jordi Boggiano
a10bffec0e
Merge remote-tracking branch 'GromNaN/gitlab'
2015-11-21 21:48:46 +00:00
Jordi Boggiano
966a982738
CS fixes
2015-11-21 19:28:10 +00:00
Jordi Boggiano
67a1924173
Merge remote-tracking branch 'Rudloff/xz'
2015-11-21 19:16:59 +00:00
Jordi Boggiano
1fe690f810
Autoload generator cleanups
2015-11-21 18:33:17 +00:00
Jordi Boggiano
3748c11709
Simplify files autoload include function, and make sure files are included once per package even if exactly the same, refs #4186
2015-11-21 18:30:44 +00:00
Jordi Boggiano
9710b26d3f
Merge remote-tracking branch 'jeskew/feature/require_files_but_once'
2015-11-21 17:31:05 +00:00
Jordi Boggiano
c0b49d09f3
Merge remote-tracking branch 'cw-ozaki/no-script-dump-autoload'
...
Conflicts:
src/Composer/Autoload/AutoloadGenerator.php
src/Composer/Command/DumpAutoloadCommand.php
2015-11-21 17:14:33 +00:00
Thiago Carvalho
320533bcf9
Fixes #4610
2015-11-21 08:58:52 +01:00
Jordi Boggiano
cf6cd83335
Use writeError for xdebug warning and fix running test suite with xdebug
2015-11-19 17:37:32 +00:00
Jordi Boggiano
f674261b96
Merge remote-tracking branch 'ockcyp/exclude-classmap-parent'
2015-11-14 15:33:55 +00:00
Jérôme Tamarelle
4255db9e31
Allows SSH urls for gitlab and detect the scheme
...
SSH urls uses HTTPS to request the API
2015-11-14 16:05:05 +01:00
Jordi Boggiano
4b269f4ded
Follow stability option in create-project to select the best possible version, refs #4563
2015-11-14 15:04:04 +00:00
Jérôme Tamarelle
ac68a721f4
Merge remote-tracking branch 'composer/master' into gitlab
...
Conflicts:
doc/04-schema.md
src/Composer/Util/RemoteFilesystem.php
2015-11-14 14:13:39 +01:00
Jerome TAMARELLE
6ccc562c0f
Add tests on GitLab class (copied from GitHubTest)
2015-11-13 18:50:50 +01:00
Omer Karadagli
4046ae042d
Up-level relative paths in exclude-from-classmap
2015-11-12 15:53:47 +00:00
Giorgio Premi
fd0026b542
Detect infinite script call recursion
2015-11-09 15:34:11 +01:00
Giorgio Premi
a25492d1b9
Allow composer script call with @ syntax
2015-11-09 15:34:11 +01:00
Remi Collet
a6c6537529
skip no more needed with jsonc 1.3.9
2015-11-04 09:11:01 +01:00
Pierre Rudloff
879d34589b
XzDownloader test
2015-11-03 23:29:20 +01:00
Jordi Boggiano
735d4a692e
Fix validating array loader tests
2015-10-30 20:40:09 +00:00
Jordi Boggiano
6c16510743
Add support for wildcards in exclude-from-classmap, refs #1607
2015-10-30 19:12:30 +00:00
Jordi Boggiano
f1b0c073ad
Tweaked exclude-from-classmap: windows support, normalize paths and make sure they are all package-relative and do not leak to other packages, refs #1607
2015-10-30 00:22:04 +00:00
Jordi Boggiano
084f6de24e
Merge remote-tracking branch 'trivago/add_exclude'
...
Conflicts:
doc/04-schema.md
src/Composer/Autoload/AutoloadGenerator.php
2015-10-30 00:00:44 +00:00