Commit graph

6061 commits

Author SHA1 Message Date
Hypolite Petovan
49c1f5c55c Improve handling of the visibility parameter of the new ACL
- Add backward compatibility with old ACL parameters
2020-12-21 22:23:13 -05:00
Hypolite Petovan
42d05bcc1b Append author's contact id to allowed contacts to prevent empty ACL for private posts 2020-12-21 00:27:16 -05:00
Hypolite Petovan
a7b8c4f8d5 Append author's contact id to allowed contacts to prevent empty ACL for private events 2020-12-21 00:27:12 -05:00
Hypolite Petovan
3f32d04c44 Append author's contact id to allowed contacts to prevent empty ACL for private posts 2020-12-21 00:26:48 -05:00
Hypolite Petovan
61aa4efa89 Account for missing contact in dfrn_request_post
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998
2020-12-13 12:18:10 -05:00
Michael
7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
Michael
bd9f36622e Cast field data when ATTR_EMULATE_PREPARES is enabled 2020-11-27 11:24:31 +00:00
Michael
21af40b2f9 Merge remote-tracking branch 'upstream/develop' into rework-notifications 2020-11-26 05:57:59 +00:00
Michael
ce6969c346 Unneded "use" removed 2020-11-25 20:26:00 +00:00
Michael
e6ede539d5 Fix missing introduction notifications 2020-11-25 20:25:16 +00:00
Michael
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Hypolite Petovan
055192bd19 Fix wrong variable name in ping_init 2020-11-21 23:09:27 -05:00
Hypolite Petovan
4370d0b967 Add missing activity toggle capability to photos 2020-11-21 11:10:04 -05:00
Hypolite Petovan
8b3ab4e6bb Refactor builtin_activity_puller() and format_like()
- Simplify output array
- Rename format_like() to format_activity()
- Remove duplicate parameters in format_activity()
2020-11-21 11:08:44 -05:00
Michael
bd0e2dc0a8 Avoid problems with uid=0 2020-11-19 17:19:14 +00:00
Hypolite Petovan
bbd3e44bb2 Escape user names in notifications
- The HTML notification message interpolation is unfiltered by the template

# Conflicts:
#	mod/ping.php
2020-11-16 18:20:23 -05:00
Hypolite Petovan
c36ca3cffe Fix null value for item.parent column 2020-11-14 10:08:51 -05:00
Hypolite Petovan
eebcf1ae86 Separate $parent_item and $toplevel_item in mod/item 2020-11-14 10:08:51 -05:00
Hypolite Petovan
0f2a5daf09 Replace confusing uses of item.parent-uri with expected item.thr-parent 2020-11-14 10:08:50 -05:00
Hypolite Petovan
0c3a5c815e Remove obsolete references to item.parent-uri 2020-11-14 10:08:50 -05:00
Michael
52c88ae414 Fix contact import with Frio 2020-11-10 06:37:27 +00:00
Hypolite Petovan
2055ee872c Group registration requests in a single line for users without detailed_notif 2020-11-09 10:08:14 -05:00
Hypolite Petovan
8357d94800 Set thread notifications as seen in mod/display
- Only for users without detailed notifications
2020-11-09 10:08:14 -05:00
Hypolite Petovan
01b2694aa0 Update the target URL for pending registration notifications 2020-11-08 12:53:12 -05:00
Michael
8485c8c357 The post-media table now works with the "attach" field as well 2020-10-31 13:26:08 +00:00
Michael
592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
Hypolite Petovan
4c21d6ec2c Add new format parameter to parse_link hook data
- Add new handling of hook result with JSON format
2020-10-23 02:04:07 -04:00
Hypolite Petovan
9e143287d6 Use CurlResult->getHeaderArray instead of custom conversion 2020-10-23 02:03:28 -04:00
Hypolite Petovan
4719af6724
Merge pull request #9440 from annando/one-click-follow
Follow/Unfollow contact with a single click
2020-10-20 11:09:56 -04:00
Michael
bffef1e36e The single click does not work with legacy DFRN 2020-10-20 05:47:14 +00:00
Michael
c6a23f1272 Move auto-follow/unfollow after the checks 2020-10-20 04:05:04 +00:00
Michael
33575a94fa Follow/Unfollow contact with a single click 2020-10-20 03:49:58 +00:00
Philipp
c19f1a83ce
Remove option 'novalidate' flag from HTTPRequest options 2020-10-18 22:23:07 +02:00
Philipp
61da51c2d5
Add HTTPRequest::head() function 2020-10-18 22:15:53 +02:00
Philipp
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3) 2020-10-18 20:56:31 +02:00
Hypolite Petovan
44ae9add4f Remove obsolete mod/network and mod/update_network files 2020-10-13 07:52:13 -04:00
Philipp
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
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
Michael
2d4a3f482b Use new function for validity check 2020-10-10 07:14:43 +00:00
Michael
4b9cbac23e Filter for account type for contacts 2020-10-09 19:08:50 +00:00
Michael
a79f750a9e Fix refresh after comment/like 2020-10-07 04:01:52 +00:00
Michael
5998c3995e Issue-9358 (now for real) commenting and updating on contact now work 2020-10-06 18:47:23 +00:00
Michael
4debd8bdcb Fix notice "Undefined offset: 1" 2020-10-05 20:34:57 +00:00
Michael
6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
Michael
b6b28b1541 Display the languages in the post 2020-10-04 18:52:28 +00:00
Hypolite Petovan
2bfd9851d3
Merge pull request #9314 from annando/suggestions
New function for contact suggestions
2020-10-03 13:32:21 -04:00
Philipp
fe653b652a
Move library\OAuth1.php to class structure Friendica\Security\OAuth1 2020-09-30 11:21:58 +02:00
Philipp
8318a0b640
Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security 2020-09-30 11:14:01 +02:00
Michael
fb50a43ac0 New function for contact suggestions 2020-09-28 21:33:40 +00:00
Michael
3a94625470 "o" has to be initialized 2020-09-26 22:52:01 +00:00