1
0
Fork 0
composer/tests/Composer/Test
Ayesh Karunaratne 931a1ff1f8
AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth
Previously, `AuthHelper` consumed the authentication credentials for GitLab domains and added access tokens as GitLab-specific headers.
[Composer repositories now supported in GitLab](https://php.watch/articles/composer-gitlab-repositories) require standard Authorization headers with a personal access to function, which failed to work due to out GitLab-specific headers.

With this commit, AuthHelper checks if the password is an access token, and falls through to HTTP basic authentication even if the domain name is a GitLab domain name.
2020-08-27 12:13:28 +07:00
..
Autoload Add tests for #8861 2020-06-01 16:01:43 +02:00
Command Fix build 2020-02-11 11:41:31 +01:00
Config Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Console PHPStan fixes 2020-02-07 23:10:10 +01:00
DependencyResolver Use RULE_LEARNED instead of RULE_FIXED 2020-06-02 13:21:05 +02:00
Downloader Fix git downloader syntax for windows cmd when updating packages, fixes #9089 2020-07-30 14:38:48 +02:00
EventDispatcher Replace pre/post-dependencies-solving by a pre-operations-exec event happening only on install from lock 2020-02-12 14:35:31 +01:00
Fixtures Fix handling of root aliases in partial updates, fixes #9110 2020-08-25 11:05:28 +02:00
IO Build tweaks 2020-05-20 16:20:54 +02:00
Installer Fix tests 2020-04-23 10:29:22 +02:00
Json Fix test issues 2020-07-02 08:12:25 +02:00
Mock Get rid of default branch handling in version guesser as it is way too time intensive at every initialization 2020-06-24 21:16:16 +02:00
Package Fix guessing of default branch when HEAD is a non-feature-branch 2020-06-26 16:16:16 +02:00
Platform Move Version util to Platform namespace, fix CS nitpicks, make regexes case insensitive for robustness, refs #9093 2020-08-13 15:48:41 +02:00
Plugin Refactor away some unnecessary RepositorySet usages 2020-02-13 17:51:22 +01:00
Question use Symfony PHPUnit Bridge 2020-02-07 12:22:22 +08:00
Repository Fix name 2020-08-18 16:31:46 +02:00
Script Fix indenting 2019-07-29 16:44:50 +02:00
Util AuthHelper: Allow fall-through GitLab-specific HTTP headers for auth 2020-08-27 12:13:28 +07:00
AllFunctionalTest.php Fix usage of create-project with local filesystem repos 2020-07-17 11:30:03 +02:00
ApplicationTest.php do not use env 2020-02-07 13:07:01 +08:00
CacheTest.php Merge branch 'master' into 2.0 2020-02-07 22:20:51 +01:00
ComposerTest.php Add parallel download capability to FileDownloader and derivatives 2019-01-18 08:39:03 +01:00
ConfigTest.php fix risky tests (without any assertion) 2020-02-07 14:35:07 +08:00
DefaultConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
FactoryTest.php Fix factory test 2019-01-14 17:29:23 +01:00
InstalledVersionsTest.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 2020-04-22 12:10:09 +02:00
InstallerTest.php Speed up installer tests by avoiding lots of bootstrapping and git processes 2020-06-19 17:56:13 +02:00
TestCase.php Add a Composer\Versions class which is available in all projects at runtime to query installed packages/versions 2020-04-22 12:10:09 +02:00