]>
git.mxchange.org Git - friendica.git/log
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>
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>
Philipp [Wed, 25 Aug 2021 12:28:59 +0000 (14:28 +0200)]
Adapt description for "accept_content"
Philipp [Wed, 25 Aug 2021 11:59:37 +0000 (13:59 +0200)]
Add suggestions
Philipp [Wed, 25 Aug 2021 11:58:29 +0000 (13:58 +0200)]
Add logpoint
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
Philipp [Wed, 25 Aug 2021 11:39:40 +0000 (13:39 +0200)]
Add Test for HTTPSignature::createSig()
Philipp [Tue, 24 Aug 2021 22:40:15 +0000 (00:40 +0200)]
Fix HTTPClient
Philipp [Tue, 24 Aug 2021 22:13:50 +0000 (00:13 +0200)]
Extend test capability for HTTP Requests
Philipp [Tue, 24 Aug 2021 21:26:33 +0000 (23:26 +0200)]
Fix curResult::getHeader() in GServer.php
Philipp [Tue, 24 Aug 2021 12:17:42 +0000 (14:17 +0200)]
Fixup HTTP headers for httpClient requests
Philipp [Tue, 24 Aug 2021 11:19:17 +0000 (13:19 +0200)]
Introduce DiceTestTrait for partial mocking DI:: calls
Philipp [Mon, 23 Aug 2021 18:09:37 +0000 (20:09 +0200)]
Fixing https://github.com/friendica/friendica/issues/10473#issuecomment-
903993836
Philipp [Mon, 23 Aug 2021 13:47:41 +0000 (15:47 +0200)]
Adapt tests
Philipp [Mon, 23 Aug 2021 12:28:25 +0000 (14:28 +0200)]
Use mattwright/urlresolver for HTTPClient::finalUrl()
Philipp [Mon, 23 Aug 2021 12:02:52 +0000 (14:02 +0200)]
Use Guzzle for HTTPClient::post()
Philipp [Mon, 23 Aug 2021 11:44:46 +0000 (13:44 +0200)]
Refactor HTTPClient::get() / ::head()
Philipp [Sun, 22 Aug 2021 22:14:18 +0000 (00:14 +0200)]
Create HTTPClientFactory and introduce ImageTest
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
Hypolite Petovan [Tue, 24 Aug 2021 15:32:27 +0000 (11:32 -0400)]
Add probe support to `@user@domain.tld` search string format
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
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
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
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
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
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
Michael [Tue, 24 Aug 2021 08:58:23 +0000 (08:58 +0000)]
Updated "messages.po"
Michael [Tue, 24 Aug 2021 08:53:15 +0000 (08:53 +0000)]
Unused parts of the old notification system are removed
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
Michael [Mon, 23 Aug 2021 15:07:14 +0000 (15:07 +0000)]
Reliably diasplay "like" and "share" notifications
Michael Vogel [Mon, 23 Aug 2021 06:06:22 +0000 (08:06 +0200)]
Merge pull request #10622 from tobiasd/
20210823 -de
DE translation updates
Tobias Diekershoff [Mon, 23 Aug 2021 05:41:51 +0000 (07:41 +0200)]
DE translation updats
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()
Philipp [Sun, 22 Aug 2021 20:49:55 +0000 (22:49 +0200)]
Initialize $curlOptions[CURLOPT_HTTPHEADER] outside of the checks
Philipp [Sun, 22 Aug 2021 20:43:28 +0000 (22:43 +0200)]
Remove legacy header-parsing for guzzle
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
Michael [Sun, 22 Aug 2021 08:27:56 +0000 (08:27 +0000)]
Added "follow" subscription message
Michael [Sun, 22 Aug 2021 03:58:50 +0000 (03:58 +0000)]
Added handling another situation
Michael [Sat, 21 Aug 2021 21:40:47 +0000 (21:40 +0000)]
Fetch the user's post if present
Michael [Sat, 21 Aug 2021 20:35:04 +0000 (20:35 +0000)]
The desktop notifications have been reworked
Philipp [Fri, 20 Aug 2021 20:30:54 +0000 (22:30 +0200)]
remove unused $redirect parameter
Philipp [Fri, 20 Aug 2021 20:11:36 +0000 (22:11 +0200)]
make CS happy :)
Philipp [Fri, 20 Aug 2021 20:00:28 +0000 (22:00 +0200)]
Fix getHeader()
Philipp [Fri, 20 Aug 2021 18:05:41 +0000 (20:05 +0200)]
A lot of Fixings
Philipp [Fri, 20 Aug 2021 18:03:42 +0000 (20:03 +0200)]
Cleanup
Philipp [Fri, 20 Aug 2021 17:48:23 +0000 (19:48 +0200)]
Update src/Network/GuzzleResponse.php
Philipp [Fri, 20 Aug 2021 17:48:22 +0000 (19:48 +0200)]
Revert "Use last entry for Content-Type
Philipp [Fri, 20 Aug 2021 17:48:21 +0000 (19:48 +0200)]
Remove unnecessary exception message (avoid log flooding)
Philipp [Fri, 20 Aug 2021 17:48:21 +0000 (19:48 +0200)]
Fix redirect logging
Philipp [Fri, 20 Aug 2021 17:48:21 +0000 (19:48 +0200)]
IHTTPResult::getContentType is now a string again
Philipp [Fri, 20 Aug 2021 17:48:20 +0000 (19:48 +0200)]
Fix Content-Type for `CurlResult` class
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
Philipp [Fri, 20 Aug 2021 17:48:20 +0000 (19:48 +0200)]
HTTPRequest: Replace getInfo() with new parameter 'content_length'
Philipp [Fri, 20 Aug 2021 17:48:16 +0000 (19:48 +0200)]
Use CurlResult for failed HTTPRequests (legacy usage)
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
Philipp [Fri, 20 Aug 2021 17:48:14 +0000 (19:48 +0200)]
Use Guzzle for HTTPRequest and Result
Philipp [Fri, 20 Aug 2021 17:48:14 +0000 (19:48 +0200)]
Replace IHTTPResult for CurlResult usages
Philipp [Fri, 20 Aug 2021 17:48:13 +0000 (19:48 +0200)]
Introduce IHTTPResult Interface as abstraction for CurlResult
Philipp [Fri, 20 Aug 2021 17:48:13 +0000 (19:48 +0200)]
Add guzzlehttp/guzzle as composer requirement
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
fabrixxm [Fri, 20 Aug 2021 09:09:35 +0000 (11:09 +0200)]
Fix code standard
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`
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
Hypolite Petovan [Fri, 20 Aug 2021 07:45:43 +0000 (03:45 -0400)]
Add test for issue #10617
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
Hypolite Petovan [Thu, 19 Aug 2021 23:20:46 +0000 (19:20 -0400)]
Merge pull request #10616 from annando/notification-message
Meaningful notification message
Michael [Thu, 19 Aug 2021 14:57:35 +0000 (14:57 +0000)]
Added "causer" and "notification" for the "ping" mechanism
Michael [Thu, 19 Aug 2021 13:58:55 +0000 (13:58 +0000)]
Meaningful notification message
fabrixxm [Thu, 19 Aug 2021 13:26:26 +0000 (15:26 +0200)]
Fix `ParsedLogIteratorTest::setUp()`
fabrixxm [Thu, 19 Aug 2021 13:20:25 +0000 (15:20 +0200)]
Fix code standard
fabrixxm [Thu, 19 Aug 2021 12:28:29 +0000 (14:28 +0200)]
Add tests for ParsedLogIterator
fabrixxm [Thu, 19 Aug 2021 11:03:45 +0000 (13:03 +0200)]
Add DI to ParsedLogIterator, replace constructors with fluent api
fabrixxm [Tue, 20 Jul 2021 16:03:20 +0000 (18:03 +0200)]
Add tests for ParsedLog and fix parsing
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
fabrixxm [Mon, 24 May 2021 20:05:02 +0000 (22:05 +0200)]
Fix code formatting
fabrixxm [Mon, 24 May 2021 19:47:10 +0000 (21:47 +0200)]
Add search and filter to log view
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
fabrixxm [Sat, 27 Mar 2021 17:28:09 +0000 (18:28 +0100)]
Display structured logs in admin
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.
File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
Michael Vogel [Thu, 19 Aug 2021 06:33:56 +0000 (08:33 +0200)]
Merge pull request #10615 from tobiasd/
20210819 -de
DE translation updats
Tobias Diekershoff [Thu, 19 Aug 2021 05:04:36 +0000 (07:04 +0200)]
DE translation updats
Michael Vogel [Wed, 18 Aug 2021 21:45:24 +0000 (23:45 +0200)]
Merge pull request #10604 from MrPetovan/task/10603-ap-string-mentions
ActivityPub: Add support for non-link mentions
Hypolite Petovan [Tue, 17 Aug 2021 12:54:16 +0000 (08:54 -0400)]
Add tests for a couple of static methods of Protocol\ActivityPub\Processor
Hypolite Petovan [Mon, 16 Aug 2021 02:53:42 +0000 (22:53 -0400)]
ActivityPub: Add support for non-link mentions
- This enables implicit mention removal even if the remote server doesn't add links to mentions in the message body.
- This also enable interactive mentions in the message body when implicit mentions are disabled.
Hypolite Petovan [Wed, 18 Aug 2021 17:45:18 +0000 (13:45 -0400)]
Merge pull request #10613 from annando/improved-payload
The push api payload content is improved
Michael Vogel [Wed, 18 Aug 2021 16:54:03 +0000 (18:54 +0200)]
Update src/Worker/PushSubscription.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
Michael [Wed, 18 Aug 2021 10:27:45 +0000 (10:27 +0000)]
Clarify the upcoming functionality
Michael Vogel [Wed, 18 Aug 2021 08:05:38 +0000 (10:05 +0200)]
Merge pull request #10611 from MrPetovan/task/feed-debug-contact
Allow contact creation in Module\Debug\Feed
Michael Vogel [Wed, 18 Aug 2021 05:55:32 +0000 (07:55 +0200)]
Merge pull request #10614 from tobiasd/
20210818 -de
DE translation update
Michael Vogel [Wed, 18 Aug 2021 05:54:21 +0000 (07:54 +0200)]
Merge pull request #10608 from MrPetovan/bug/remove-remaining-app-argv
Remove remaining mentions of $a->argc/argv
Tobias Diekershoff [Wed, 18 Aug 2021 05:49:27 +0000 (07:49 +0200)]
DE translation update
Michael [Tue, 17 Aug 2021 23:00:00 +0000 (23:00 +0000)]
Merge remote-tracking branch 'upstream/develop' into improved-payload
Michael [Tue, 17 Aug 2021 22:58:00 +0000 (22:58 +0000)]
Updated messages.po
Michael [Tue, 17 Aug 2021 22:53:52 +0000 (22:53 +0000)]
The push api payload content is improved
Michael Vogel [Tue, 17 Aug 2021 15:34:27 +0000 (17:34 +0200)]
Merge pull request #10612 from MrPetovan/bug/fatal-errors
Various Fatal error fixes
Hypolite Petovan [Tue, 17 Aug 2021 13:38:35 +0000 (09:38 -0400)]
Abort early if owner isn't found in Module\RemoteFollow
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-
899099987
Hypolite Petovan [Tue, 17 Aug 2021 13:35:44 +0000 (09:35 -0400)]
Return early if body is empty in Network\Probe::updateFromFeed
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-
894815271
Hypolite Petovan [Tue, 17 Aug 2021 13:06:28 +0000 (09:06 -0400)]
Abort early if owner isn't found in mod/photos
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-
894779649
Hypolite Petovan [Mon, 16 Aug 2021 09:47:29 +0000 (05:47 -0400)]
Remove remaining mentions of $a->argc/argv
- This was breaking the layout of specific pages in Frio
Hypolite Petovan [Tue, 17 Aug 2021 12:20:58 +0000 (08:20 -0400)]
Allow contact creation in Module\Debug\Feed
- This module only allowed existing contact feeeds to be debugged
Hypolite Petovan [Tue, 17 Aug 2021 11:58:17 +0000 (07:58 -0400)]
Merge pull request #10609 from tobiasd/
20210816 -10514
Issue 10514: add TLS check to the installer