406 Commits (9f723ba3814cf77fbe20472684fcf6d990cbf3f3)

Author SHA1 Message Date
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
Jordi Boggiano 34dbde3873 Merge branch '1.4' 7 years ago
Marc Schlatter 3ad5ce6874 Fix hg command to retrieve file content 7 years ago
Sergey Shcherbin 676156e2db Changed date time format to RFC_3399 in VcsDriver 7 years ago
Martin Hasoň 88ec172bd8 Fix CS 7 years ago
Jordi Boggiano ce56fc4ab6 Merge pull request #6381 from deeky666/pass-vsc-driver-options
Forward GitLab driver options to remote filesystem
7 years ago
Steve Müller 1d29fa04b1 forward GitLab driver options to remote filesystem 7 years ago
Rob Bast e2eb8f2201
support for gitlab subgroups, closes #6349 7 years ago
Jordi Boggiano 4d16d6b28b Oops2 7 years ago
Jordi Boggiano b6778cd7f6 Oops 7 years ago
Jordi Boggiano be38f7e65d Ignore headless mercurial branches in bitbucket API, fixes composer/packagist#778 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
Jordi Boggiano ddef9923b0 Merge branch '1.3' 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 44ea284ab9 Merge remote-tracking branch 'stefangr/implement_bitbucket_api_v2' 7 years ago
Bernhard Froehlich 70314f3570 Fix Repository support for Subversion 1.8.x where the output of svn info
has changed.

1.7.22
svn: E170001: Unable to connect to a repository at URL 'https://svswdms02/dashboard'
svn: E170001: OPTIONS of 'https://svswdms02/dashboard': authorization failed: Could not authenticate to server: rejected Digest challenge (https://svswdms02)

1.8.17
svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'https://svswdms02/dashboard'
svn: E215004: No more credentials or we tried too many times.
Authentication failed
7 years ago
Stefan Grootscholten 3ccaac619b Refactor the getRepoData method to not throw an Exception 8 years ago
Jordi Boggiano f3d0e4660d Fix urlencoding of gitlab dots, fixes #6064 8 years ago
Stefan Grootscholten 4377ba2bcb Implement changes after review by stof.
- Use camelCase variable names.
- Set 3rd argument of http_build_query
- Remove obsolete checks
8 years ago
Stefan Grootscholten 5dbdefdd72 Implement ordering in requesting tags and branches.
Update unit test with latest changes.
8 years ago
Stefan Grootscholten 046b1184dc Change getChangeDate call
Use the v2.0 commit resource instead of the v1.0 changeset resource.
8 years ago
Stefan Grootscholten bea4ec7f88 Some refactoring after testing hg protocol.
- Revert deletion of generateSshUrl() as this is needed when falling back on the GitDriver or HgDriver.
- Implement clean way to fallback from BitbucketDriver to GitDriver or HgDriver after previous changes.
- Implement fallback in HgBitbucketDriver like in GitBitbucketDriver.
8 years ago
Stefan Grootscholten 7ae4ed1ec8 Improve fetching single files via bitbucket API.
The former implementation used the 'src' endpoint which returned some meta data as well.
This has been replaced with the 'raw' endpoint which does not return the meta data and does not need an extra JSON decode step.
8 years ago
Stefan Grootscholten d25c483231 Implement Bitbucket API version 2.0 (where applicable). 8 years ago
Pete Akins 95e9ad57d4 Don’t add github specials if there is no composer data
This can happen if an identifier doesn’t have a composer.json file (but other identifiers do)
8 years ago
Jordi Boggiano 1bc8b702ca Fix handling of annotated tags and prefer them over lightweight tags, fixes #5555 8 years ago
Jordi Boggiano 9b0ddcd9dd Merge pull request #5954 from Golodnyi/master
Not actual parameters
8 years ago
Jordi Boggiano 9d3e3ca486 Fix edge case in bitbucket driver 8 years ago
golodnyi 1cced223d8 Not actual parameters 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 43903a3979 Merge branch '1.2' 8 years ago
Rafael Kassner 44634a689d HgDriver does not identify bitbucket mercurial repos correctly 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
Calin Marian a888b082b0 Make urlEncodeAll private 8 years ago