]> git.mxchange.org Git - friendica.git/log
friendica.git
2 years agoFix `http_code` usage in case of failures
Philipp [Sun, 29 Aug 2021 12:05:38 +0000 (14:05 +0200)]
Fix `http_code` usage in case of failures

2 years agoFix https://github.com/friendica/friendica/issues/10473#issuecomment-907749093
Philipp [Sun, 29 Aug 2021 11:56:56 +0000 (13:56 +0200)]
Fix https://github.com/friendica/friendica/issues/10473#issuecomment-907749093

2 years agoAdd test for https://github.com/friendica/friendica/issues/10473#issuecomment-907749093
Philipp [Sun, 29 Aug 2021 11:49:10 +0000 (13:49 +0200)]
Add test for https://github.com/friendica/friendica/issues/10473#issuecomment-907749093

2 years agoCatch TransferExceptions for HTTPClient::finalUrl() in case the headers are empty
Philipp [Sun, 29 Aug 2021 11:37:08 +0000 (13:37 +0200)]
Catch TransferExceptions for HTTPClient::finalUrl() in case the headers are empty

2 years agopump version to 2021.09-rc
Tobias Diekershoff [Sat, 28 Aug 2021 06:46:18 +0000 (08:46 +0200)]
pump version to 2021.09-rc

2 years agoMerge pull request #10637 from nupplaphil/feat/webdav_storage
Hypolite Petovan [Thu, 26 Aug 2021 12:04:29 +0000 (08:04 -0400)]
Merge pull request #10637 from nupplaphil/feat/webdav_storage

PSR-7 Part 4: Add additional Authentication options

2 years ago[WIP] WebDav Storage backend
Philipp [Wed, 25 Aug 2021 21:47:18 +0000 (23:47 +0200)]
[WIP] WebDav Storage backend

2 years agoMerge pull request #10636 from nupplaphil/feat/httpclient_followup
Hypolite Petovan [Wed, 25 Aug 2021 20:01:05 +0000 (16:01 -0400)]
Merge pull request #10636 from nupplaphil/feat/httpclient_followup

PSR-7 Part 3: Post Bugfix & HTTPRequestOptions

2 years agoRename DI::httpRequest() into DI::httpClient()
Philipp [Wed, 25 Aug 2021 19:54:54 +0000 (21:54 +0200)]
Rename DI::httpRequest() into DI::httpClient()

2 years agoRename HTTPRequestOptions to HTTPClientOptions
Philipp [Wed, 25 Aug 2021 19:45:15 +0000 (21:45 +0200)]
Rename HTTPRequestOptions to HTTPClientOptions

2 years agoRealy fix setCookieJar
Philipp [Wed, 25 Aug 2021 19:32:44 +0000 (21:32 +0200)]
Realy fix setCookieJar

2 years agoFix HTTPRequestOptions at HTTPClient::post()
Philipp [Wed, 25 Aug 2021 19:23:46 +0000 (21:23 +0200)]
Fix HTTPRequestOptions at HTTPClient::post()

2 years agoUse HTTPRequestOptions constants for HTTPClient::get()
Philipp [Wed, 25 Aug 2021 19:18:06 +0000 (21:18 +0200)]
Use HTTPRequestOptions constants for HTTPClient::get()

2 years agoUse HTTPRequestOptions constants for HTTPClient::post()
Philipp [Wed, 25 Aug 2021 19:12:45 +0000 (21:12 +0200)]
Use HTTPRequestOptions constants for HTTPClient::post()

2 years agoFixing HTTPClient::post() and introduce HTTPRequestOptions
Philipp [Wed, 25 Aug 2021 19:09:14 +0000 (21:09 +0200)]
Fixing HTTPClient::post() and introduce HTTPRequestOptions

2 years agoExpose IHTTPClient::request()
Philipp [Wed, 25 Aug 2021 18:46:47 +0000 (20:46 +0200)]
Expose IHTTPClient::request()

2 years agoMerge pull request #10635 from nupplaphil/bug/urlresolver
Hypolite Petovan [Wed, 25 Aug 2021 19:00:26 +0000 (15:00 -0400)]
Merge pull request #10635 from nupplaphil/bug/urlresolver

Use temporary files for the URLResolver CookieJar

2 years agoUse temporary files for the URLResolver CookieJar
Philipp [Wed, 25 Aug 2021 18:39:33 +0000 (20:39 +0200)]
Use temporary files for the URLResolver CookieJar

2 years agoMerge pull request #10633 from nupplaphil/task/httprequest_optimiziations
Hypolite Petovan [Wed, 25 Aug 2021 16:54:59 +0000 (12:54 -0400)]
Merge pull request #10633 from nupplaphil/task/httprequest_optimiziations

PSR-7 Part 2: Optimize HTTPRequest

2 years agoMerge branch 'task/httprequest_optimiziations' of https://github.com/nupplaphil/frien...
Philipp [Wed, 25 Aug 2021 16:01:34 +0000 (18:01 +0200)]
Merge branch 'task/httprequest_optimiziations' of https://github.com/nupplaphil/friendica into task/httprequest_optimiziations

2 years agoRevert setCookieJar() and add overwrite parameter fpr rare cases
Philipp [Wed, 25 Aug 2021 16:01:07 +0000 (18:01 +0200)]
Revert setCookieJar() and add overwrite parameter fpr rare cases

2 years agoUpdate src/Network/IHTTPClient.php
Philipp [Wed, 25 Aug 2021 15:02:42 +0000 (17:02 +0200)]
Update src/Network/IHTTPClient.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoUpdate src/Network/IHTTPClient.php
Philipp [Wed, 25 Aug 2021 15:02:34 +0000 (17:02 +0200)]
Update src/Network/IHTTPClient.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2 years agoAdapt description for "accept_content"
Philipp [Wed, 25 Aug 2021 12:28:59 +0000 (14:28 +0200)]
Adapt description for "accept_content"

2 years agoAdd suggestions
Philipp [Wed, 25 Aug 2021 11:59:37 +0000 (13:59 +0200)]
Add suggestions

2 years agoAdd logpoint
Philipp [Wed, 25 Aug 2021 11:58:29 +0000 (13:58 +0200)]
Add logpoint

2 years agoFix headers (string to array) and make sure the signature doesn't change
Philipp [Wed, 25 Aug 2021 11:45:00 +0000 (13:45 +0200)]
Fix headers (string to array) and make sure the signature doesn't change

2 years agoAdd Test for HTTPSignature::createSig()
Philipp [Wed, 25 Aug 2021 11:39:40 +0000 (13:39 +0200)]
Add Test for HTTPSignature::createSig()

2 years agoFix HTTPClient
Philipp [Tue, 24 Aug 2021 22:40:15 +0000 (00:40 +0200)]
Fix HTTPClient

2 years agoExtend test capability for HTTP Requests
Philipp [Tue, 24 Aug 2021 22:13:50 +0000 (00:13 +0200)]
Extend test capability for HTTP Requests

2 years agoFix curResult::getHeader() in GServer.php
Philipp [Tue, 24 Aug 2021 21:26:33 +0000 (23:26 +0200)]
Fix curResult::getHeader() in GServer.php

2 years agoFixup HTTP headers for httpClient requests
Philipp [Tue, 24 Aug 2021 12:17:42 +0000 (14:17 +0200)]
Fixup HTTP headers for httpClient requests

2 years agoIntroduce DiceTestTrait for partial mocking DI:: calls
Philipp [Tue, 24 Aug 2021 11:19:17 +0000 (13:19 +0200)]
Introduce DiceTestTrait for partial mocking DI:: calls

2 years agoFixing https://github.com/friendica/friendica/issues/10473#issuecomment-903993836
Philipp [Mon, 23 Aug 2021 18:09:37 +0000 (20:09 +0200)]
Fixing https://github.com/friendica/friendica/issues/10473#issuecomment-903993836

2 years agoAdapt tests
Philipp [Mon, 23 Aug 2021 13:47:41 +0000 (15:47 +0200)]
Adapt tests

2 years agoUse mattwright/urlresolver for HTTPClient::finalUrl()
Philipp [Mon, 23 Aug 2021 12:28:25 +0000 (14:28 +0200)]
Use mattwright/urlresolver for HTTPClient::finalUrl()

2 years agoUse Guzzle for HTTPClient::post()
Philipp [Mon, 23 Aug 2021 12:02:52 +0000 (14:02 +0200)]
Use Guzzle for HTTPClient::post()

2 years agoRefactor HTTPClient::get() / ::head()
Philipp [Mon, 23 Aug 2021 11:44:46 +0000 (13:44 +0200)]
Refactor HTTPClient::get() / ::head()

2 years agoCreate HTTPClientFactory and introduce ImageTest
Philipp [Sun, 22 Aug 2021 22:14:18 +0000 (00:14 +0200)]
Create HTTPClientFactory and introduce ImageTest

2 years agoMerge pull request #10632 from annando/fox-notifications
Hypolite Petovan [Tue, 24 Aug 2021 20:55:16 +0000 (16:55 -0400)]
Merge pull request #10632 from annando/fox-notifications

Fix vanished notifications

2 years agoFix vanished notifications
Michael [Tue, 24 Aug 2021 20:16:33 +0000 (20:16 +0000)]
Fix vanished notifications

2 years agoMerge pull request #10631 from MrPetovan/bug/10625-guzzleresponse-body-stream
Michael Vogel [Tue, 24 Aug 2021 16:56:00 +0000 (18:56 +0200)]
Merge pull request #10631 from MrPetovan/bug/10625-guzzleresponse-body-stream

Allow a GuzzleResponse body to be queried more than once

2 years agoAdd probe support to `@user@domain.tld` search string format
Hypolite Petovan [Tue, 24 Aug 2021 15:32:27 +0000 (11:32 -0400)]
Add probe support to `@user@domain.tld` search string format

2 years agoAllow a GuzzleResponse body to be queried more than once
Hypolite Petovan [Tue, 24 Aug 2021 15:30:11 +0000 (11:30 -0400)]
Allow a GuzzleResponse body to be queried more than once

- Using `StreamInterface->getContents` left the stream index at the end of the stream, which made every subsequent call to `getBody()` return empty string
- Using `StreamInterface->__toString()` magic method correctly seek the stream to the start before reading

2 years agoMerge pull request #10630 from annando/cleared-enotify
Hypolite Petovan [Tue, 24 Aug 2021 14:25:06 +0000 (10:25 -0400)]
Merge pull request #10630 from annando/cleared-enotify

Unused parts of the old notification system are removed

2 years agoMerge pull request #10628 from MrPetovan/bug/fatal-errors
Michael Vogel [Tue, 24 Aug 2021 12:13:32 +0000 (14:13 +0200)]
Merge pull request #10628 from MrPetovan/bug/fatal-errors

Set profile fields for system user in Model\User::getOwnerDataById

2 years agoRemove Profile::load from Module\HCard
Hypolite Petovan [Tue, 24 Aug 2021 10:24:06 +0000 (06:24 -0400)]
Remove Profile::load from Module\HCard

- Renamed and re-scoped Profile::sidebar to getVcardHtml

2 years agoRaise an Exception when Profile::load is profided the system user nickname
Hypolite Petovan [Tue, 24 Aug 2021 09:54:15 +0000 (05:54 -0400)]
Raise an Exception when Profile::load is profided the system user nickname

2 years agoSet profile fields for system user in Model\User::getOwnerDataById
Hypolite Petovan [Mon, 23 Aug 2021 18:07:32 +0000 (14:07 -0400)]
Set profile fields for system user in Model\User::getOwnerDataById

- Address https://github.com/friendica/friendica/issues/10473#issuecomment-903676606
- This is required when Model\Profile::load is called for the system user for example

2 years agoUpdated "messages.po"
Michael [Tue, 24 Aug 2021 08:58:23 +0000 (08:58 +0000)]
Updated "messages.po"

2 years agoUnused parts of the old notification system are removed
Michael [Tue, 24 Aug 2021 08:53:15 +0000 (08:53 +0000)]
Unused parts of the old notification system are removed

2 years agoMerge pull request #10627 from annando/like-announce
Hypolite Petovan [Mon, 23 Aug 2021 18:12:57 +0000 (14:12 -0400)]
Merge pull request #10627 from annando/like-announce

Reliably display "like" and "share" notifications

2 years agoReliably diasplay "like" and "share" notifications
Michael [Mon, 23 Aug 2021 15:07:14 +0000 (15:07 +0000)]
Reliably diasplay "like" and "share" notifications

2 years agoMerge pull request #10622 from tobiasd/20210823-de
Michael Vogel [Mon, 23 Aug 2021 06:06:22 +0000 (08:06 +0200)]
Merge pull request #10622 from tobiasd/20210823-de

DE translation updates

2 years agoDE translation updats
Tobias Diekershoff [Mon, 23 Aug 2021 05:41:51 +0000 (07:41 +0200)]
DE translation updats

2 years agoMerge pull request #10619 from nupplaphil/task/guzzlehttp
Hypolite Petovan [Sun, 22 Aug 2021 22:11:30 +0000 (18:11 -0400)]
Merge pull request #10619 from nupplaphil/task/guzzlehttp

PSR-7 Part 1: Use Guzzle PSR-7 library for HTTPRequest->get()

2 years agoInitialize $curlOptions[CURLOPT_HTTPHEADER] outside of the checks
Philipp [Sun, 22 Aug 2021 20:49:55 +0000 (22:49 +0200)]
Initialize $curlOptions[CURLOPT_HTTPHEADER] outside of the checks

2 years agoRemove legacy header-parsing for guzzle
Philipp [Sun, 22 Aug 2021 20:43:28 +0000 (22:43 +0200)]
Remove legacy header-parsing for guzzle

2 years agoMerge pull request #10620 from annando/new-notifications
Hypolite Petovan [Sun, 22 Aug 2021 18:52:11 +0000 (14:52 -0400)]
Merge pull request #10620 from annando/new-notifications

The desktop notifications have been reworked

2 years agoAdded "follow" subscription message
Michael [Sun, 22 Aug 2021 08:27:56 +0000 (08:27 +0000)]
Added "follow" subscription message

2 years agoAdded handling another situation
Michael [Sun, 22 Aug 2021 03:58:50 +0000 (03:58 +0000)]
Added handling another situation

2 years agoFetch the user's post if present
Michael [Sat, 21 Aug 2021 21:40:47 +0000 (21:40 +0000)]
Fetch the user's post if present

2 years agoThe desktop notifications have been reworked
Michael [Sat, 21 Aug 2021 20:35:04 +0000 (20:35 +0000)]
The desktop notifications have been reworked

2 years agoremove unused $redirect parameter
Philipp [Fri, 20 Aug 2021 20:30:54 +0000 (22:30 +0200)]
remove unused $redirect parameter

2 years agomake CS happy :)
Philipp [Fri, 20 Aug 2021 20:11:36 +0000 (22:11 +0200)]
make CS happy :)

2 years agoFix getHeader()
Philipp [Fri, 20 Aug 2021 20:00:28 +0000 (22:00 +0200)]
Fix getHeader()

2 years agoA lot of Fixings
Philipp [Fri, 20 Aug 2021 18:05:41 +0000 (20:05 +0200)]
A lot of Fixings

2 years agoCleanup
Philipp [Fri, 20 Aug 2021 18:03:42 +0000 (20:03 +0200)]
Cleanup

2 years agoUpdate src/Network/GuzzleResponse.php
Philipp [Fri, 20 Aug 2021 17:48:23 +0000 (19:48 +0200)]
Update src/Network/GuzzleResponse.php

2 years agoRevert "Use last entry for Content-Type
Philipp [Fri, 20 Aug 2021 17:48:22 +0000 (19:48 +0200)]
Revert "Use last entry for Content-Type

2 years agoRemove unnecessary exception message (avoid log flooding)
Philipp [Fri, 20 Aug 2021 17:48:21 +0000 (19:48 +0200)]
Remove unnecessary exception message (avoid log flooding)

2 years agoFix redirect logging
Philipp [Fri, 20 Aug 2021 17:48:21 +0000 (19:48 +0200)]
Fix redirect logging

2 years agoIHTTPResult::getContentType is now a string again
Philipp [Fri, 20 Aug 2021 17:48:21 +0000 (19:48 +0200)]
IHTTPResult::getContentType is now a string again

2 years agoFix Content-Type for `CurlResult` class
Philipp [Fri, 20 Aug 2021 17:48:20 +0000 (19:48 +0200)]
Fix Content-Type for `CurlResult` class

2 years agoFix IHTTPResult::getHeader()
Philipp [Fri, 20 Aug 2021 17:48:20 +0000 (19:48 +0200)]
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset

2 years agoHTTPRequest: Replace getInfo() with new parameter 'content_length'
Philipp [Fri, 20 Aug 2021 17:48:20 +0000 (19:48 +0200)]
HTTPRequest: Replace getInfo() with new parameter 'content_length'

2 years agoUse CurlResult for failed HTTPRequests (legacy usage)
Philipp [Fri, 20 Aug 2021 17:48:16 +0000 (19:48 +0200)]
Use CurlResult for failed HTTPRequests (legacy usage)

2 years agoFix IHTTPResult::getHeader/s()
Philipp [Fri, 20 Aug 2021 17:48:14 +0000 (19:48 +0200)]
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest

2 years agoUse Guzzle for HTTPRequest and Result
Philipp [Fri, 20 Aug 2021 17:48:14 +0000 (19:48 +0200)]
Use Guzzle for HTTPRequest and Result

2 years agoReplace IHTTPResult for CurlResult usages
Philipp [Fri, 20 Aug 2021 17:48:14 +0000 (19:48 +0200)]
Replace IHTTPResult for CurlResult usages

2 years agoIntroduce IHTTPResult Interface as abstraction for CurlResult
Philipp [Fri, 20 Aug 2021 17:48:13 +0000 (19:48 +0200)]
Introduce IHTTPResult Interface as abstraction for CurlResult

2 years agoAdd guzzlehttp/guzzle as composer requirement
Philipp [Fri, 20 Aug 2021 17:48:13 +0000 (19:48 +0200)]
Add guzzlehttp/guzzle as composer requirement

2 years agoMerge pull request #10309 from fabrixxm/feature/advanced-logsview
Hypolite Petovan [Fri, 20 Aug 2021 09:24:07 +0000 (05:24 -0400)]
Merge pull request #10309 from fabrixxm/feature/advanced-logsview

Display structured logs in admin

2 years agoFix code standard
fabrixxm [Fri, 20 Aug 2021 09:09:35 +0000 (11:09 +0200)]
Fix code standard

2 years agoFix review points
fabrixxm [Fri, 20 Aug 2021 07:47:53 +0000 (09:47 +0200)]
Fix review points

- Fix headers hierarchy
- Improve accessibility:
  - set mouse pointer
- make rows focusable
- open on key press
- add tooltip with "title"
- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`

2 years agoMerge pull request #10618 from MrPetovan/task/10603-ap-string-mentions
Michael Vogel [Fri, 20 Aug 2021 08:16:30 +0000 (10:16 +0200)]
Merge pull request #10618 from MrPetovan/task/10603-ap-string-mentions

Escape url tags before attempting to add missing mention links in Protocol\ActivityPub\Processor

2 years agoAdd test for issue #10617
Hypolite Petovan [Fri, 20 Aug 2021 07:45:43 +0000 (03:45 -0400)]
Add test for issue #10617

2 years agoEscape url tags before attempting to add missing mention links in Protocol\ActivityPu...
Hypolite Petovan [Fri, 20 Aug 2021 07:40:23 +0000 (03:40 -0400)]
Escape url tags before attempting to add missing mention links in Protocol\ActivityPub\Processor

- Mastodon uses @-sign in profile URLs which wrongly triggered the mention link add in existing mentions links

2 years agoMerge pull request #10616 from annando/notification-message
Hypolite Petovan [Thu, 19 Aug 2021 23:20:46 +0000 (19:20 -0400)]
Merge pull request #10616 from annando/notification-message

Meaningful notification message

2 years agoAdded "causer" and "notification" for the "ping" mechanism
Michael [Thu, 19 Aug 2021 14:57:35 +0000 (14:57 +0000)]
Added "causer" and "notification" for the "ping" mechanism

2 years agoMeaningful notification message
Michael [Thu, 19 Aug 2021 13:58:55 +0000 (13:58 +0000)]
Meaningful notification message

2 years agoFix `ParsedLogIteratorTest::setUp()`
fabrixxm [Thu, 19 Aug 2021 13:26:26 +0000 (15:26 +0200)]
Fix `ParsedLogIteratorTest::setUp()`

2 years agoFix code standard
fabrixxm [Thu, 19 Aug 2021 13:20:25 +0000 (15:20 +0200)]
Fix code standard

2 years agoAdd tests for ParsedLogIterator
fabrixxm [Thu, 19 Aug 2021 12:28:29 +0000 (14:28 +0200)]
Add tests for ParsedLogIterator

2 years agoAdd DI to ParsedLogIterator, replace constructors with fluent api
fabrixxm [Thu, 19 Aug 2021 11:03:45 +0000 (13:03 +0200)]
Add DI to ParsedLogIterator, replace constructors with fluent api

2 years agoAdd tests for ParsedLog and fix parsing
fabrixxm [Tue, 20 Jul 2021 16:03:20 +0000 (18:03 +0200)]
Add tests for ParsedLog and fix parsing

2 years agologs view: update frio template
fabrixxm [Tue, 25 May 2021 12:10:36 +0000 (14:10 +0200)]
logs view: update frio template

add search and filter columns support.
add "prev/next" buttons to details popup

2 years agoFix code formatting
fabrixxm [Mon, 24 May 2021 20:05:02 +0000 (22:05 +0200)]
Fix code formatting

2 years agoAdd search and filter to log view
fabrixxm [Mon, 24 May 2021 19:47:10 +0000 (21:47 +0200)]
Add search and filter to log view

2 years agoAdvanced log view: Frio version
fabrixxm [Sat, 27 Mar 2021 17:36:55 +0000 (18:36 +0100)]
Advanced log view: Frio version

Show log event details in a modal dialog