Commit graph

6389 commits

Author SHA1 Message Date
Philipp Holzer 909da78e20
Revert "Introduce IHTTPResult Interface as abstraction for CurlResult"
This reverts commit f238f4ef
2020-10-11 23:26:22 +02:00
Philipp Holzer b70b9d1139
Revert "Replace IHTTPResult for CurlResult usages"
This reverts commit 97167d7b
2020-10-11 23:26:17 +02:00
Philipp Holzer 0aaad3e392
Revert "Use Guzzle for HTTPRequest and Result"
This reverts commit fff94563
2020-10-11 23:26:12 +02:00
Philipp Holzer 069753416d
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
This reverts commit 933ea7c9
2020-10-11 23:26:03 +02:00
Philipp Holzer 9536a0e39c
Revert "Use CurlResult for failed HTTPRequests (legacy usage)"
This reverts commit 1a42f35a
2020-10-11 23:25:51 +02:00
Philipp Holzer 2e8ad098b9
Revert "HTTPRequest: Replace getInfo() with new parameter 'content_length'"
This reverts commit f3cd973c
2020-10-11 23:25:47 +02:00
Philipp Holzer 0449077126
Revert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected - Fix usages - Fix dataset"
This reverts commit 80bd0a4d
2020-10-11 23:25:40 +02:00
Philipp Holzer 6fcbb9866f
Revert "Fix Content-Type for CurlResult class"
This reverts commit 02bc99f6
2020-10-11 23:25:33 +02:00
Philipp Holzer 40349bfdc4
Revert "IHTTPResult::getContentType is now a string again"
This reverts commit 40b11442
2020-10-11 23:25:29 +02:00
Philipp Holzer 88c95a352b
Revert "Fix redirect logging"
This reverts commit b8314f0c
2020-10-11 23:25:23 +02:00
Philipp Holzer 36ba6b9f2d
Revert "Remove unnecessary exception message (avoid log flooding)"
This reverts commit 8c718515
2020-10-11 23:25:19 +02:00
Philipp Holzer 16f5965fd4
Revert "Use last entry for Content-Type"
This reverts commit e17befb7
2020-10-11 23:25:14 +02:00
Philipp Holzer ef06fab744
Revert "Update src/Network/GuzzleResponse.php"
This reverts commit 79e667b3
2020-10-11 23:24:40 +02:00
Philipp Holzer b526e6b415
Fix GuzzleHttpClient
- Add sink (= specify temp store for the body)
- Fix HTTP header merge
2020-10-11 21:45:52 +02:00
Hypolite Petovan 06e3929a68
Merge pull request #9409 from annando/twitter-announce
"announce" is activated for Twitter as well
2020-10-11 09:14:53 -04:00
Hypolite Petovan 0e0bd62fef
Merge pull request #9400 from nupplaphil/task/guzzle_http
PSR-7 Part 1: Use Guzzle PSR-7 library for HTTPRequest->get()
2020-10-11 09:10:57 -04:00
Michael 7c5aa0bbf1 "announce" is activated for Twitter as well 2020-10-11 12:27:19 +00:00
Michael d3e19bc880 Support for real reshares 2020-10-11 08:49:47 +00:00
Philipp 79e667b3d1
Update src/Network/GuzzleResponse.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-11 00:33:36 +02:00
Philipp Holzer e17befb7d6
Use last entry for Content-Type 2020-10-10 23:11:30 +02:00
Philipp Holzer 8c7185154d
Remove unnecessary exception message (avoid log flooding) 2020-10-10 23:11:30 +02:00
Philipp Holzer b8314f0c30
Fix redirect logging 2020-10-10 23:11:30 +02:00
Philipp Holzer 40b11442c2
IHTTPResult::getContentType is now a string again 2020-10-10 23:11:30 +02:00
Philipp Holzer 02bc99f67b
Fix Content-Type for CurlResult class 2020-10-10 23:11:30 +02:00
Philipp Holzer 80bd0a4d5a
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2020-10-10 23:11:30 +02:00
Philipp Holzer f3cd973cbe
HTTPRequest: Replace getInfo() with new parameter 'content_length' 2020-10-10 23:11:30 +02:00
Philipp Holzer 1a42f35a3c
Use CurlResult for failed HTTPRequests (legacy usage) 2020-10-10 23:11:30 +02:00
Philipp Holzer 933ea7c9ce
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places
- Adapt CurlResultTest
2020-10-10 23:11:30 +02:00
Philipp Holzer fff94563d7
Use Guzzle for HTTPRequest and Result 2020-10-10 23:11:30 +02:00
Philipp Holzer 97167d7b90
Replace IHTTPResult for CurlResult usages 2020-10-10 23:11:30 +02:00
Philipp Holzer f238f4efbe
Introduce IHTTPResult Interface as abstraction for CurlResult 2020-10-10 23:11:30 +02:00
Hypolite Petovan e3cf708dd8
Merge pull request #9401 from annando/accounttype
Filter for account type for contacts
2020-10-10 07:16:32 -04:00
Michael b3e14fd07d Only allow editing of mail/feed contact details 2020-10-10 10:06:34 +00:00
Michael 2d4a3f482b Use new function for validity check 2020-10-10 07:14:43 +00:00
Michael 35d8b078ce Renamed "Accounts" to "Account Types" 2020-10-10 07:14:18 +00:00
Michael 4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
Hypolite Petovan ae6b380362
Merge pull request #9373 from nupplaphil/task/server_env
Introduce possibility for mapping $_SERVER variables to config-cache values
2020-10-08 15:00:31 -04:00
Michael 00974324fe Don't show failed contacts 2020-10-07 20:06:15 +00:00
Michael d785af23c1 Display number of group members in contact widget 2020-10-07 06:19:09 +00:00
Tobias Diekershoff b63d037967
Merge pull request #9380 from annando/Improved-language-detection/display
Display language name / only search for available languages
2020-10-07 06:46:01 +02:00
Michael bda87e6536 Display language name / only search for available languages 2020-10-07 04:15:02 +00:00
Michael a79f750a9e Fix refresh after comment/like 2020-10-07 04:01:52 +00:00
Michael bb676f780c Changed documentation 2020-10-06 20:36:57 +00:00
Michael 5580b148a6 Added description 2020-10-06 19:51:51 +00:00
Philipp 2a464a156f
Update src/Database/Database.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-10-06 20:55:36 +02:00
Michael 5998c3995e Issue-9358 (now for real) commenting and updating on contact now work 2020-10-06 18:47:23 +00:00
Philipp Holzer d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
Philipp Holzer 3587e89482
Introduce a "DatabaseException" class for fatal exceptions (used in testmode to throw an exception in case of DB errors) 2020-10-06 20:03:38 +02:00
Michael f255749c6a Issue 9358: liking and commenting on the community page now gives a feedback 2020-10-06 05:18:54 +00:00
Hypolite Petovan 9954bf8adf
Merge pull request #9365 from annando/better-plaintext
Improve plaintext generation for language detection
2020-10-05 23:11:42 -04:00