Stephan
32a0563443
RemoteFileSystem: catch decode errors for content length mismatch
4 years ago
Stephan
3b2d91975e
RemoteFileSystem: response decode for TransportException
4 years ago
Stephan
d140a842fa
RemoteFilesystem: avoid warning when setting max file size
4 years ago
Stephan
a16f32484b
Downloader: add a max_file_size to prevent too big files to be downloaded
4 years ago
Jordi Boggiano
8b934a415f
Merge branch '1.10'
4 years ago
Jordi Boggiano
6cb4dc41b8
Fix bitbucket detection of redirects to login page, fixes #9041
4 years ago
Jordi Boggiano
8f6e82f562
Add support for aborting running promises cleanly
4 years ago
Michael Chekin
6d9bf42655
Additional Util\RemoteFileSystem tests ( #8960 )
...
* RemoteFilesystemTest: simplifying some mock expectations calls
- will($this->returnValue()) to willReturn()
- will($this->returnCallBack()) to willReturnCallback()
* RemoteFilesystemTest: extracting identical mocks for IOInterface into a separate getIOInterfaceMock() method
* RemoteFilesystemTest: converting protected helper methods to private.
* RemoteFilesystemTest: moving getConfigMock() private method after the public methods (with other private methods)
* adding RemoteFileSystemTest::testCopyWithRetryAuthFailureFalse() unit test.
* Allow optional injecting of AuthHelper into RemoteFilesystem constructor.
* adding RemoteFileSystemTest::testCopyWithSuccessOnRetry() unit test.
* using backward compatible @expectedException in RemoteFilesystemTest.php
* RemoteFilesystemTest: extracting RemoteFilesystem with mocked method creation into a separate method.
* RemoteFilesystemTest: extracting AuthHelper with mocked method creation into a separate method.
4 years ago
Matthias Van Woensel
067101dbf5
Only send GitHub API token to api.github.com domain ( #8747 )
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Jordi Boggiano
0b993ba4b9
Merge pull request #8671 from ethanclevenger91/ethanclevenger91/explicit-bearer-support
...
Bearer support.
4 years ago
Jordi Boggiano
479414d8bd
Move bearer auth to be first to make sure it does not get shadowed by github/gitlab/.. configs
4 years ago
Jordi Boggiano
9d72c92f07
Avoid looping endlessly for invalid GitLab tokens in git config, fixes #8667
4 years ago
Ethan Clevenger
cbec8ceb53
Bearer support.
4 years ago
Jordi Boggiano
1e68555e0a
Sanitize URLs in getRepoName and centralize the Url sanitization process
4 years ago
Jordi Boggiano
4b6c25d4bc
Use Authorization header instead of deprecated access_token query param, fixes #8454
5 years ago
Jordi Boggiano
a0690525b5
Merge branch '1.9'
5 years ago
Jordi Boggiano
b925d06861
Fix gitlab support for basic-auth fallback from ssh URLs
5 years ago
Jordi Boggiano
bc2a1d762a
Merge branch 'master' into 2.0
5 years ago
Stephan Vock
0d1d35c346
Debug: display used authentication for http calls
5 years ago
Jordi Boggiano
f0d565bb6d
Avoid transforming the origins when prompting for auth, fixes #8300
5 years ago
Jordi Boggiano
fd70d9cdc3
Stripe access tokens in a more generic way
5 years ago
Stephan Vock
f9fccbab1e
GitHub: don't display access token in debug log
5 years ago
Jordi Boggiano
4dabc17ec1
Fix use statement
5 years ago
Jordi Boggiano
bfee701f9b
Deduplicate findHeaderValue code
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
Thomas Perez
3e66d0514a
Fix error_handler return type declaration
5 years ago
Jordi Boggiano
625bcee63a
Fix handling of warnings to incl all 4xx responses
5 years ago
Jordi Boggiano
3f5a986170
Show warning in all 400/500 responses if available, fixes #7814
5 years ago
Matthew Brown
65903aacfd
Fix type issues ( #7996 )
...
* Fix type issues found by Psalm
5 years ago
Jordi Boggiano
6c782599f1
Make IOInterface implement psr-4 LoggerInterface, fixes #5180
5 years ago
Jordi Boggiano
fd11cf3618
Port/extract most behavior of RemoteFilesystem to CurlDownloader
6 years ago
Jordi Boggiano
713bc4de1d
Minor fixes and updated the rest of the code/tests to use HttpDownloader
6 years ago
Jordi Boggiano
56805ecafe
Add HttpDownloader to wrap/replace RemoteFilesystem with a new curl multi implementation
6 years ago
Jordi Boggiano
2528654c53
Merge branch '1.7'
6 years ago
Seven Du
148e503b31
Modified comment block ( #7700 )
...
* Modified comment block
6 years ago
François-Xavier de Guillebon
114217c6e3
Fix ini_get() for boolean values
6 years ago
Stephan Vock
8b8df01336
Bitbucket: fix redirect behaviour
6 years ago
Jordi Boggiano
e718f34ba4
Properly detect rate limit errors on github before outputting messages, fixes #6621
6 years ago
Jordi Boggiano
e7a9bd3362
Attempt workaround for repo.packagist.org domain SSL on very old PHP, fixes #7530
6 years ago
Nicolas Grekas
a3bbcf9c77
Make RemoteFilesystem::getRemoteContents() report response headers also on exceptions
6 years ago
Markus Staab
eb94f8346a
Fixed typo
6 years ago
Jordi Boggiano
c5fa3bdde0
Migrate to repo.packagist.org for package metadata
6 years ago
Jordi Boggiano
1983a450b4
Use rawurldecode instead of urldecode, fixes #7407
6 years ago
Jordi Boggiano
2bd34c0534
Merge branch '1.6'
6 years ago
Jordi Boggiano
174c71de04
Handle http 401/403 differently to allow reading warning message
6 years ago
Nicolas Grekas
3b391191b9
Fix RemoteFilesystem::getRemoteContents() on-failure behavior
7 years ago
Nicolas Grekas
5601f07bfa
Add RemoteFilesystem::getRemoteContents() extension point
7 years ago
Jordi Boggiano
c8aea719b1
CS fixes
7 years ago