friendica.git/.git
3 years agoDE translation update
Tobias Diekershoff [Wed, 21 Oct 2020 16:10:10 +0000 (18:10 +0200)]
DE translation update

3 years agoMerge pull request #9441 from annando/fatal
Philipp [Tue, 20 Oct 2020 17:33:39 +0000 (19:33 +0200)]
Merge pull request #9441 from annando/fatal

Fix Fatal error

3 years agoMerge pull request #9442 from annando/notice
Philipp [Tue, 20 Oct 2020 17:33:06 +0000 (19:33 +0200)]
Merge pull request #9442 from annando/notice

Fixes notice:  Undefined index: nobody

3 years agoFixes notice: Undefined index: nobody in /src/Util/HTTPSignature.php on line 450
Michael [Tue, 20 Oct 2020 15:19:06 +0000 (15:19 +0000)]
Fixes notice:  Undefined index: nobody in /src/Util/HTTPSignature.php on line 450

3 years agoFix Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Model\Contact...
Michael [Tue, 20 Oct 2020 15:15:33 +0000 (15:15 +0000)]
Fix Fatal error:  Uncaught TypeError: Argument 1 passed to Friendica\Model\Contact::getByURL() must be of the type string, null given

3 years agoMerge pull request #9440 from annando/one-click-follow
Hypolite Petovan [Tue, 20 Oct 2020 15:09:56 +0000 (11:09 -0400)]
Merge pull request #9440 from annando/one-click-follow

Follow/Unfollow contact with a single click

3 years agoThe single click does not work with legacy DFRN
Michael [Tue, 20 Oct 2020 05:47:14 +0000 (05:47 +0000)]
The single click does not work with legacy DFRN

3 years agoMove auto-follow/unfollow after the checks
Michael [Tue, 20 Oct 2020 04:05:04 +0000 (04:05 +0000)]
Move auto-follow/unfollow after the checks

3 years agoFollow/Unfollow contact with a single click
Michael [Tue, 20 Oct 2020 03:49:58 +0000 (03:49 +0000)]
Follow/Unfollow contact with a single click

3 years agoMerge pull request #9437 from nupplaphil/task/httprequest_head
Hypolite Petovan [Mon, 19 Oct 2020 12:36:00 +0000 (08:36 -0400)]
Merge pull request #9437 from nupplaphil/task/httprequest_head

Add HTTPRequest::head() function

3 years agoMerge pull request #9436 from nupplaphil/task/test_notices
Hypolite Petovan [Mon, 19 Oct 2020 11:26:16 +0000 (07:26 -0400)]
Merge pull request #9436 from nupplaphil/task/test_notices

Fix notices/deprecation notes/wrong calls in "test" directory

3 years agoMerge pull request #9431 from annando/network-order
Hypolite Petovan [Mon, 19 Oct 2020 11:23:22 +0000 (07:23 -0400)]
Merge pull request #9431 from annando/network-order

Network: Fix continuous load issues

3 years agolower loglevel
Philipp [Sun, 18 Oct 2020 20:32:36 +0000 (22:32 +0200)]
lower loglevel

3 years agoRemove 'headers' option occurrences and add a warning if used.
Philipp [Sun, 18 Oct 2020 20:31:26 +0000 (22:31 +0200)]
Remove 'headers' option occurrences and add a warning if used.

3 years agoRemove option 'novalidate' flag from HTTPRequest options
Philipp [Sun, 18 Oct 2020 20:23:07 +0000 (22:23 +0200)]
Remove option 'novalidate' flag from HTTPRequest options

3 years agoRemoved completely un-used 'http_auth' option from HTTPRequest
Philipp [Sun, 18 Oct 2020 20:19:03 +0000 (22:19 +0200)]
Removed completely un-used 'http_auth' option from HTTPRequest

3 years agoAdd HTTPRequest::head() function
Philipp [Sun, 18 Oct 2020 20:15:20 +0000 (22:15 +0200)]
Add HTTPRequest::head() function

3 years agoMerge pull request #9405 from nupplaphil/task/psr7_remove_binary
Michael Vogel [Sun, 18 Oct 2020 19:19:27 +0000 (21:19 +0200)]
Merge pull request #9405 from nupplaphil/task/psr7_remove_binary

Remove $binary flag for HTTPRequest

3 years agoAdd redis error message for tests
Philipp [Sun, 18 Oct 2020 19:13:29 +0000 (21:13 +0200)]
Add redis error message for tests

3 years agoActivate redis
Philipp [Sun, 18 Oct 2020 18:47:03 +0000 (20:47 +0200)]
Activate redis

3 years agoRemove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchA...
Philipp [Sat, 10 Oct 2020 19:07:17 +0000 (21:07 +0200)]
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)

3 years agoFix StringTest
Philipp [Sun, 18 Oct 2020 18:42:13 +0000 (20:42 +0200)]
Fix StringTest

3 years agoFix a lot of notices/warnings/deprecation notes in the test directory
Philipp [Sun, 18 Oct 2020 18:31:57 +0000 (20:31 +0200)]
Fix a lot of notices/warnings/deprecation notes in the test directory

3 years agoFix wrong `$this->assert...()` with `self::assert...()
Philipp [Sat, 17 Oct 2020 12:19:57 +0000 (14:19 +0200)]
Fix wrong `$this->assert...()` with `self::assert...()

3 years agoUse $get
Michael [Sun, 18 Oct 2020 04:05:52 +0000 (04:05 +0000)]
Use $get

3 years agoApply suggestions from code review
Michael Vogel [Sat, 17 Oct 2020 19:24:51 +0000 (21:24 +0200)]
Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoMerge pull request #9434 from annando/dbclean-limit
Hypolite Petovan [Sat, 17 Oct 2020 19:14:48 +0000 (15:14 -0400)]
Merge pull request #9434 from annando/dbclean-limit

Post expiry: Limit for deletions

3 years agoStore the selected network tab in a session variable
Michael [Sat, 17 Oct 2020 18:52:05 +0000 (18:52 +0000)]
Store the selected network tab in a session variable

3 years agoMerge remote-tracking branch 'upstream/develop' into dbclean-limit
Michael [Sat, 17 Oct 2020 14:10:02 +0000 (14:10 +0000)]
Merge remote-tracking branch 'upstream/develop' into dbclean-limit

3 years agoUpdate src/Core/Worker.php
Michael Vogel [Sat, 17 Oct 2020 13:54:52 +0000 (15:54 +0200)]
Update src/Core/Worker.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoMerge pull request #9433 from annando/fix-db-error
Hypolite Petovan [Sat, 17 Oct 2020 13:41:57 +0000 (09:41 -0400)]
Merge pull request #9433 from annando/fix-db-error

Fix DB Error "Column 'uri' in where clause is ambiguous"

3 years agoDefine a maintenance window
Michael [Sat, 17 Oct 2020 12:39:42 +0000 (12:39 +0000)]
Define a maintenance window

3 years agoPost expiry: Limit for deletions
Michael [Sat, 17 Oct 2020 08:16:17 +0000 (08:16 +0000)]
Post expiry: Limit for deletions

3 years agoFix DB Error "Column 'uri' in where clause is ambiguous"
Michael [Sat, 17 Oct 2020 07:48:18 +0000 (07:48 +0000)]
Fix DB Error "Column 'uri' in where clause is ambiguous"

3 years agoNetwork: Fix continuous load issues
Michael [Sat, 17 Oct 2020 07:31:03 +0000 (07:31 +0000)]
Network: Fix continuous load issues

3 years agoMerge pull request #9429 from MrPetovan/bug/9427-vier-forum-widget
Tobias Diekershoff [Fri, 16 Oct 2020 13:54:28 +0000 (15:54 +0200)]
Merge pull request #9429 from MrPetovan/bug/9427-vier-forum-widget

[vier] Restore network page right sidebar forum widget feature

3 years ago[vier] Restore network page right sidebar forum widget feature
Hypolite Petovan [Fri, 16 Oct 2020 12:43:13 +0000 (08:43 -0400)]
[vier] Restore network page right sidebar forum widget feature

3 years agoMerge pull request #9425 from MrPetovan/task/router-recompute-filemtime
Michael Vogel [Fri, 16 Oct 2020 04:13:38 +0000 (06:13 +0200)]
Merge pull request #9425 from MrPetovan/task/router-recompute-filemtime

Add routes file recompute on last modification time change

3 years agoCentralize routes file existence check in App\Router
Hypolite Petovan [Fri, 16 Oct 2020 01:45:51 +0000 (21:45 -0400)]
Centralize routes file existence check in App\Router

3 years agoAdjust testModuleClass() expectations after introducing lastRoutesFileModifiedTime...
Hypolite Petovan [Thu, 15 Oct 2020 16:41:49 +0000 (12:41 -0400)]
Adjust testModuleClass() expectations after introducing lastRoutesFileModifiedTime cache key

3 years agoAdd routes file recompute on last modification time change
Hypolite Petovan [Thu, 15 Oct 2020 15:45:15 +0000 (11:45 -0400)]
Add routes file recompute on last modification time change

3 years agoMerge pull request #9424 from annando/no-dbclean
Hypolite Petovan [Thu, 15 Oct 2020 14:33:10 +0000 (10:33 -0400)]
Merge pull request #9424 from annando/no-dbclean

Replace "dbclean" with new expiry functionality

3 years agoCount removed, added logging for iten uri
Michael [Thu, 15 Oct 2020 09:42:18 +0000 (09:42 +0000)]
Count removed, added logging for iten uri

3 years agoOnly set values if the uri isn't empty
Michael [Thu, 15 Oct 2020 07:40:24 +0000 (07:40 +0000)]
Only set values if the uri isn't empty

3 years agoMove the repair functionality to the daily cron
Michael [Thu, 15 Oct 2020 07:34:21 +0000 (07:34 +0000)]
Move the repair functionality to the daily cron

3 years agoReplace "dbclean" with new expiry functionality
Michael [Thu, 15 Oct 2020 06:02:17 +0000 (06:02 +0000)]
Replace "dbclean" with new expiry functionality

3 years agoMerge pull request #9419 from MrPetovan/task/9127-network-min_id-max_id
Michael Vogel [Wed, 14 Oct 2020 03:54:38 +0000 (05:54 +0200)]
Merge pull request #9419 from MrPetovan/task/9127-network-min_id-max_id

Move network module to src/

3 years agoRemove Widget::accounts in favor of Widget::accounttypes
Hypolite Petovan [Wed, 14 Oct 2020 02:30:40 +0000 (22:30 -0400)]
Remove Widget::accounts in favor of Widget::accounttypes

3 years agoMerge pull request #9422 from nupplaphil/task/env_mapping
Hypolite Petovan [Tue, 13 Oct 2020 18:05:43 +0000 (14:05 -0400)]
Merge pull request #9422 from nupplaphil/task/env_mapping

Add env mappings

3 years agoAdd env mappings
Philipp [Tue, 13 Oct 2020 18:02:24 +0000 (20:02 +0200)]
Add env mappings

3 years agoRemove obsolete mod/network and mod/update_network files
Hypolite Petovan [Tue, 13 Oct 2020 04:23:37 +0000 (00:23 -0400)]
Remove obsolete mod/network and mod/update_network files

3 years agoMove network module to src/
Hypolite Petovan [Tue, 13 Oct 2020 04:23:17 +0000 (00:23 -0400)]
Move network module to src/

- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets

3 years agoRemove unused App->force_max_items property
Hypolite Petovan [Tue, 13 Oct 2020 03:58:18 +0000 (23:58 -0400)]
Remove unused App->force_max_items property

3 years agoMerge pull request #9418 from MrPetovan/bug/max_d-min_id-fix
Michael Vogel [Tue, 13 Oct 2020 05:50:48 +0000 (07:50 +0200)]
Merge pull request #9418 from MrPetovan/bug/max_d-min_id-fix

Implement correct behavior for since_id/min_id in boundary pagination

3 years agoImplement correct behavior for min_id in boundary pagination
Hypolite Petovan [Tue, 13 Oct 2020 03:45:02 +0000 (23:45 -0400)]
Implement correct behavior for min_id in boundary pagination

- The previous behavior of since_id systematically showed the most recent results

3 years agoMerge pull request #9417 from vinzv/9042-checkboxes-use-background-color
Hypolite Petovan [Tue, 13 Oct 2020 00:58:26 +0000 (20:58 -0400)]
Merge pull request #9417 from vinzv/9042-checkboxes-use-background-color

Give checkboxes better background colors

3 years agomove from nav_bg color to static background color
vinzv [Mon, 12 Oct 2020 21:24:27 +0000 (23:24 +0200)]
move from nav_bg color to static background color

3 years agoreplace default checkbox color
Vinzenz Vietzke [Mon, 12 Oct 2020 21:19:09 +0000 (23:19 +0200)]
replace default checkbox color

3 years agomove checkbox settings to schemes
Vinzenz Vietzke [Mon, 12 Oct 2020 21:18:53 +0000 (23:18 +0200)]
move checkbox settings to schemes

3 years agoMerge pull request #9412 from annando/mobile-announce
Hypolite Petovan [Mon, 12 Oct 2020 03:49:19 +0000 (23:49 -0400)]
Merge pull request #9412 from annando/mobile-announce

Don't change resharer when resharing/add mobile button

3 years agoUpdated messages.po
Michael [Mon, 12 Oct 2020 02:46:45 +0000 (02:46 +0000)]
Updated messages.po

3 years agoUpdate src/Object/Post.php
Michael Vogel [Mon, 12 Oct 2020 01:58:56 +0000 (03:58 +0200)]
Update src/Object/Post.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoDiaspora: Native reshares only work with toplevel posts
Michael [Sun, 11 Oct 2020 21:45:49 +0000 (21:45 +0000)]
Diaspora: Native reshares only work with toplevel posts

3 years agoMerge pull request #9416 from nupplaphil/task/revert_guzzlehttp
Michael Vogel [Sun, 11 Oct 2020 21:38:44 +0000 (23:38 +0200)]
Merge pull request #9416 from nupplaphil/task/revert_guzzlehttp

Revert GuzzleHttp / PSR-7 introduction

3 years agoRevert "Add guzzlehttp/guzzle as composer requirement"
Philipp [Sun, 11 Oct 2020 21:26:28 +0000 (23:26 +0200)]
Revert "Add guzzlehttp/guzzle as composer requirement"

This reverts commit d1366d3a

3 years agoRevert "Introduce IHTTPResult Interface as abstraction for CurlResult"
Philipp [Sun, 11 Oct 2020 21:26:22 +0000 (23:26 +0200)]
Revert "Introduce IHTTPResult Interface as abstraction for CurlResult"

This reverts commit f238f4ef

3 years agoRevert "Replace IHTTPResult for CurlResult usages"
Philipp [Sun, 11 Oct 2020 21:26:17 +0000 (23:26 +0200)]
Revert "Replace IHTTPResult for CurlResult usages"

This reverts commit 97167d7b

3 years agoRevert "Use Guzzle for HTTPRequest and Result"
Philipp [Sun, 11 Oct 2020 21:26:12 +0000 (23:26 +0200)]
Revert "Use Guzzle for HTTPRequest and Result"

This reverts commit fff94563

3 years agoRevert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHe...
Philipp [Sun, 11 Oct 2020 21:26:03 +0000 (23:26 +0200)]
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

3 years agoRevert "Update lock"
Philipp [Sun, 11 Oct 2020 21:25:55 +0000 (23:25 +0200)]
Revert "Update lock"

This reverts commit 64004cf1

3 years agoRevert "Use CurlResult for failed HTTPRequests (legacy usage)"
Philipp [Sun, 11 Oct 2020 21:25:51 +0000 (23:25 +0200)]
Revert "Use CurlResult for failed HTTPRequests (legacy usage)"

This reverts commit 1a42f35a

3 years agoRevert "HTTPRequest: Replace getInfo() with new parameter 'content_length'"
Philipp [Sun, 11 Oct 2020 21:25:47 +0000 (23:25 +0200)]
Revert "HTTPRequest: Replace getInfo() with new parameter 'content_length'"

This reverts commit f3cd973c

3 years agoRevert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected...
Philipp [Sun, 11 Oct 2020 21:25:40 +0000 (23:25 +0200)]
Revert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected - Fix usages - Fix dataset"

This reverts commit 80bd0a4d

3 years agoRevert "Fix Content-Type for `CurlResult` class"
Philipp [Sun, 11 Oct 2020 21:25:33 +0000 (23:25 +0200)]
Revert "Fix Content-Type for `CurlResult` class"

This reverts commit 02bc99f6

3 years agoRevert "IHTTPResult::getContentType is now a string again"
Philipp [Sun, 11 Oct 2020 21:25:29 +0000 (23:25 +0200)]
Revert "IHTTPResult::getContentType is now a string again"

This reverts commit 40b11442

3 years agoRevert "Fix redirect logging"
Philipp [Sun, 11 Oct 2020 21:25:23 +0000 (23:25 +0200)]
Revert "Fix redirect logging"

This reverts commit b8314f0c

3 years agoRevert "Remove unnecessary exception message (avoid log flooding)"
Philipp [Sun, 11 Oct 2020 21:25:19 +0000 (23:25 +0200)]
Revert "Remove unnecessary exception message (avoid log flooding)"

This reverts commit 8c718515

3 years agoRevert "Use last entry for Content-Type"
Philipp [Sun, 11 Oct 2020 21:25:14 +0000 (23:25 +0200)]
Revert "Use last entry for Content-Type"

This reverts commit e17befb7

3 years agoRevert "Update src/Network/GuzzleResponse.php"
Philipp [Sun, 11 Oct 2020 21:24:40 +0000 (23:24 +0200)]
Revert "Update src/Network/GuzzleResponse.php"

This reverts commit 79e667b3

3 years agoMerge pull request #9414 from nupplaphil/bug/guzzle
Michael Vogel [Sun, 11 Oct 2020 20:02:44 +0000 (22:02 +0200)]
Merge pull request #9414 from nupplaphil/bug/guzzle

Fix GuzzleHttpClient

3 years agoDiaspora announce / Renaming share buttons
Michael [Sun, 11 Oct 2020 19:58:28 +0000 (19:58 +0000)]
Diaspora announce / Renaming share buttons

3 years agoFix GuzzleHttpClient
Philipp [Sun, 11 Oct 2020 19:45:52 +0000 (21:45 +0200)]
Fix GuzzleHttpClient
- Add sink (= specify temp store for the body)
- Fix HTTP header merge

3 years agoDon't change resharer when resharing
Michael [Sun, 11 Oct 2020 17:37:04 +0000 (17:37 +0000)]
Don't change resharer when resharing

3 years agoMerge pull request #9411 from tobiasd/20201011-de
Michael Vogel [Sun, 11 Oct 2020 15:03:19 +0000 (17:03 +0200)]
Merge pull request #9411 from tobiasd/20201011-de

DE translation update THX  copiis

3 years agoDE translation update THX copiis
Tobias Diekershoff [Sun, 11 Oct 2020 14:43:00 +0000 (16:43 +0200)]
DE translation update THX  copiis

3 years agoMerge pull request #9409 from annando/twitter-announce
Hypolite Petovan [Sun, 11 Oct 2020 13:14:53 +0000 (09:14 -0400)]
Merge pull request #9409 from annando/twitter-announce

"announce" is activated for Twitter as well

3 years agoMerge pull request #9400 from nupplaphil/task/guzzle_http
Hypolite Petovan [Sun, 11 Oct 2020 13:10:57 +0000 (09:10 -0400)]
Merge pull request #9400 from nupplaphil/task/guzzle_http

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

3 years ago"announce" is activated for Twitter as well
Michael [Sun, 11 Oct 2020 12:27:19 +0000 (12:27 +0000)]
"announce" is activated for Twitter as well

3 years agoMerge pull request #9408 from annando/announce
Philipp [Sun, 11 Oct 2020 10:48:52 +0000 (12:48 +0200)]
Merge pull request #9408 from annando/announce

Support for real reshares

3 years agoSupport for real reshares
Michael [Sun, 11 Oct 2020 08:49:47 +0000 (08:49 +0000)]
Support for real reshares

3 years agoMerge pull request #9406 from MrPetovan/bug/9385-frio-edit-detach
Tobias Diekershoff [Sun, 11 Oct 2020 06:08:27 +0000 (08:08 +0200)]
Merge pull request #9406 from MrPetovan/bug/9385-frio-edit-detach

[frio] Keep jQuery data attached to elements stored in jotcache

3 years ago[frio] Keep jQuery data attached to elements stored in jotcache
Hypolite Petovan [Sat, 10 Oct 2020 22:42:18 +0000 (18:42 -0400)]
[frio] Keep jQuery data attached to elements stored in jotcache

- Prevents tagsinput to re-attach to existing tags inputs when jotcache is restored

3 years agoFix indenting in friendica-tagsinput.js
Hypolite Petovan [Sat, 10 Oct 2020 22:41:12 +0000 (18:41 -0400)]
Fix indenting in friendica-tagsinput.js

3 years agoUpdate src/Network/GuzzleResponse.php
Philipp [Sat, 10 Oct 2020 22:33:36 +0000 (00:33 +0200)]
Update src/Network/GuzzleResponse.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
3 years agoUse last entry for Content-Type
Philipp [Sat, 10 Oct 2020 21:10:35 +0000 (23:10 +0200)]
Use last entry for Content-Type

3 years agoRemove unnecessary exception message (avoid log flooding)
Philipp [Sat, 10 Oct 2020 19:50:36 +0000 (21:50 +0200)]
Remove unnecessary exception message (avoid log flooding)

3 years agoFix redirect logging
Philipp [Sat, 10 Oct 2020 19:47:47 +0000 (21:47 +0200)]
Fix redirect logging

3 years agoIHTTPResult::getContentType is now a string again
Philipp [Sat, 10 Oct 2020 19:41:22 +0000 (21:41 +0200)]
IHTTPResult::getContentType is now a string again

3 years agoFix Content-Type for `CurlResult` class
Philipp [Sat, 10 Oct 2020 16:58:45 +0000 (18:58 +0200)]
Fix Content-Type for `CurlResult` class

3 years agoFix IHTTPResult::getHeader()
Philipp [Fri, 9 Oct 2020 20:28:41 +0000 (22:28 +0200)]
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset