70 Commits (3fa7a6cb5104cc2235a767ee7b2df1475c4763a0)

Author SHA1 Message Date
Jordi Boggiano 01d734125c
Add more type info 3 years ago
Jordi Boggiano 4c9e75c6e5
Fix CS 3 years ago
Brad Jones dd625669e8
Introduce gitlab-protocol option to force the gitlab repos to use https or git protocol (#9401) 3 years ago
Jordi Boggiano 4940009f83
Bump phpstan to level 3 (#9734)
Clean up PackageInterface/CompletePackageInterface, add missing methods, type things in solver as BasePackage, added CompleteAliasPackage, ..
3 years ago
Jordi Boggiano b7d770659b
CS fixes 4 years ago
Simon Berger 6b3b51e299 Fixed $this usage on static functions 4 years ago
Jordi Boggiano 90332f1dbd
Add a readonly mode to the cache, fixes #9150 4 years ago
Jordi Boggiano 2d3905157d
Merge branch '1.10' 4 years ago
Stephan b25296ef74 Driver: only cache composer.json file without API data to disk 4 years ago
Adam Žurek 25cd2382cb
Raise phpstan level to 1 (#8027) 4 years ago
Jordi Boggiano e15f7d6bb7
Merge branch 'master' into 2.0 4 years ago
Stephan 402c64c271
Update src/Composer/Repository/Vcs/GitLabDriver.php
Co-Authored-By: Jordi Boggiano <j.boggiano@seld.be>
4 years ago
Stephan Vock 55d252b9c3 GitLab: properly handle token which has Guest only access 4 years ago
Jordi Boggiano a5b178084c
Merge branch 'master' into 2.0 5 years ago
Stephan Vock 731d94a2a3 VcsRepositories: mark archived repositories as abandoned 5 years ago
Jordi Boggiano bc2a1d762a
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 9e2485aa4d
Make gitlab/bitbucket driver checks case insensitive 5 years ago
Jordi Boggiano 0a152b06d7
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 0fe200d6d9
Fix origin computation 5 years ago
Jordi Boggiano 6c4357a7ed
Merge branch 'master' into 2.0 5 years ago
Jordi Boggiano 0261ce8092
Improve handling of non-standard ports for GitLab and GitHub installs, fixes #8173 5 years ago
Jordi Boggiano f946d8eb5a More RemoteFilesystem usage removals and some repository/vcs driver refactorings 6 years ago
Jordi Boggiano 713bc4de1d Minor fixes and updated the rest of the code/tests to use HttpDownloader 6 years ago
Gabriel Caruso f722f952e7 Fix misspelling
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
6 years ago
Jordi Boggiano c8aea719b1 CS fixes 7 years ago
Jordi Boggiano 4c8c574b6c Fix regex, refs #6895 7 years ago
Renoir Boulanger 9f723ba381 Support GitLab repositories w/ port over HTTPs
When we have self-hosted GitLab, over HTTPs, on a different port.

rel composer/composer#6894
7 years ago
Jordi Boggiano 94a1f16c96 Fix scheme in public gitlab URLs, refs #6683 7 years ago
Mikk Tendermann 2a89d37651 fix gitlab not telling visibilty if user is not logged in 7 years ago
Jordi Boggiano a144b5e7ed Fix GitLab endless loop thanks to API bug, fixes #6615 7 years ago
Jordi Boggiano a16867e2c2 CS 7 years ago
Helmut Januschka 320af80ad3 fix tag/branch collection 💣 7 years ago
Jordi Boggiano c89f6338c2 CS tweaks, refs #6592 7 years ago
Jordi Boggiano 6fd504ef41 Add per_page to do less pagination, refs #6592 7 years ago
Helmut Januschka be1f675992 GitlabDriver V4 Paging
V4 of gitlab api requires paging in tags/branches
7 years ago
Jordi Boggiano 6832eacb01 Update GitLab API usage to v4, fixes #6453 7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Rob Bast e2eb8f2201
support for gitlab subgroups, closes #6349 7 years ago
Jordi Boggiano be201924cd Revert "Changes the query string parameter `sha` to `ref` to reflect the GitLab API"
Fixes #6344, refs #6198

This reverts commit 8a496cd2a7.
7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Sjoerd Adema 8a496cd2a7 Changes the query string parameter `sha` to `ref` to reflect the GitLab API
Updated the unit test to reflect the change
Fixes #6198
7 years ago
Jordi Boggiano f200343cf2 Fix gitlab driver issues not asking for auth when token is missing, and not falling back properly to git driver 7 years ago
Jordi Boggiano f3d0e4660d Fix urlencoding of gitlab dots, fixes #6064 8 years ago
Thomas Flori 7896b1ffab cache only rendered composer information
As suggested we cache now only composer information and also the rendered version again. Perforce is using the same property cache as others and the `Util\Perforce::getComposerInformation()` is using the newly created methods.
8 years ago
Thomas Flori ec27777341 code improvements as suggested
Thanks for your input!
8 years ago
Thomas Flori d70dfd2df3 revert style changes 8 years ago
Thomas Flori 33d026bb06 fix code style to be PSR-2 conform
I tried to solve all PSR-2 style guide violations in files that I changed. One I could not solve: const can not concatenate in php 5.3.
8 years ago
Thomas Flori 597f834ae9 add getFileContent function
This function is very similar to a part from getComposerInformation - so we can use this function in getComposerInformation too. And because it is almost everywhere the same we can put it to abstract class.

By implementing getComposerInformation in abstract class we need to add the getChangeDate to interface too. Only Problem: perforce seems not to support a ChangeDate. For this we use 'now' to have at least something.
8 years ago
Jordi Boggiano 285c4a1ac6 Merge branch '1.2' 8 years ago
Jordi Boggiano f78f6c963d Add note about rawurlencode, refs #5503 8 years ago