Commit graph

87 commits

Author SHA1 Message Date
Hypolite Petovan
01e9beffc2 [ActivityPub] Add support for more attachments structures
- Add support for type: Page into [attachment], type: Link using href attribute
- Ensure Receiver::process* parameter is an array
- Remove superfluous eptiness check in JsonLD::fetchElementArray
2020-06-07 15:41:11 -04:00
Michael
079738a8b5 Fix a fatal error when an undo doesn't contain an object 2020-05-14 04:53:56 +00:00
Hypolite Petovan
8abaac6d79 Account for missing location value in ActivityPub\Receiver 2020-05-07 10:14:38 -04:00
Hypolite Petovan
3c0547c6e8 Ensure post location received through ActivityPub is in plaintext 2020-05-06 22:41:59 -04:00
Michael
1fef1ef6e9 Issue 7771: Funkwhale support 2020-03-24 23:12:53 +00:00
Michael
50e0ea5b3e Funkwhale support added, Peertube support improved 2020-03-23 04:43:06 +00:00
Michael
9390748187 Store "sc:identifier" as GUID as well 2020-03-05 08:06:19 +00:00
Michael
7b7132971a Raw content is now stored with announce messages as well 2020-03-04 06:04:27 +00:00
Michael
8410c5e283 The direction field needs to be removed 2020-03-03 22:43:19 +00:00
Michael
986877b1cf Restore previous state 2020-03-03 22:22:59 +00:00
Michael
e38640da76 The original content of the post hadn't always been stored 2020-03-03 21:58:03 +00:00
Michael
af6db65961 Store the push/pull direction in the conversation table 2020-03-03 08:01:04 +00:00
Michael
6f0d40c6c0 Merge remote-tracking branch 'upstream/develop' into push-pull 2020-03-03 06:55:13 +00:00
Michael
72c198990e Merge remote-tracking branch 'upstream/develop' into private 2020-03-02 15:05:00 +00:00
Michael
ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Michael
1743682153 We don't need to pass the protocol that way 2020-02-28 09:46:53 +00:00
Michael
26cffd379a Store the raw data in a different way 2020-02-28 09:21:40 +00:00
Michael
acd99b9010 Push/Pull indicator 2020-02-27 05:01:43 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Michael
56816ea9d5 AP comments from GNU Social are now working 2020-02-02 19:59:14 +00:00
Michael
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Michael
5b755f0f23 Issue 8067: Posts from Mastodon had been wrongly parsed 2020-01-07 00:16:42 +00:00
Michael
fa57fead2e AP: Read different content types for the source and the content 2019-11-13 16:22:20 +00:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
Hypolite Petovan
146646c4d4 Replace deprecated calls to defaults() by ?? and ?: in src/ 2019-10-16 08:38:52 -04:00
Michael
3c1380fdcc Fix enduring follow requests to Pleroma 2019-09-11 16:54:13 +00:00
Michael
1a213bd8e8 Issue 7315: Changed handling of "Group" posts 2019-07-15 20:05:36 +00:00
Michael Vogel
807d2665ea Use standard function to update the contact to avoid SQL errors 2019-07-11 22:11:51 +02:00
Michael
6041f74df6 New constant for federated protocols 2019-07-01 18:00:55 +00:00
Michael Vogel
449305e527 Fix the processing of event activities 2019-06-23 00:38:52 +02:00
Michael Vogel
097ecdd106
Merge pull request #7266 from MrPetovan/bug/notices
Add type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion
2019-06-14 15:03:30 +02:00
Michael
e4efddbabb Avoid a notice in AP Receiver 2019-06-14 02:58:40 +00:00
Hypolite Petovan
66d4f1d40b Add type-hint in ActivityPub\Receiver::fetchObject to catch wrong type coercion 2019-06-13 19:07:39 -04:00
Michael
ecf4789cc4 Process incoming tag add requests 2019-05-26 11:20:03 +00:00
Michael
490e850b48 Fix for receiving direct messages from Mastodon 2019-05-18 07:00:57 +00:00
Michael
3f55f93606 AP: We can now receive "direct messages" (aka "mails") as well 2019-05-16 05:44:59 +00:00
Michael
eef85584c2 AP: Parsing of messages from Pleroma should work now again 2019-04-26 06:17:37 +00:00
Michael
e66e2adf5f AP: Incoming announces are now stored as activities 2019-04-02 21:10:49 +00:00
Hypolite Petovan
8c1db51a76 Improve Logger calls
- Replace various deprecated Logger::log calls
- Reassign log level for verbose log calls
2019-02-23 17:32:11 -05:00
Michael
fce46f5124 AP: Follow a note to receive all upcoming activities 2019-01-30 16:30:01 +00:00
Hypolite Petovan
3d839bb176 Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00
Hypolite Petovan
4a95ca280d Remove unused code
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
3282ce5389 Fix PHPDoc comments project-wide 2019-01-21 10:35:51 -05:00
Michael
809e556009 Transmit via BCC if contact is hidden, don't store announces 2019-01-19 16:44:15 +00:00
Michael
d113ccd93c Making Friendica compatible to Nextcloud Social 2019-01-13 09:38:01 +00:00
Michael
e3576fa0bd Don't accept private answers to public parents 2019-01-10 22:51:03 +00:00
Michael
2fd65503da Avoid database error that the field "guid" is not present in the contact table 2018-12-02 15:01:08 +00:00
Michael
27d1da0468 One space too much 2018-11-20 20:49:06 +00:00
Michael
5c39779b45 AP: Security check against forged "create" activities 2018-11-20 20:40:47 +00:00
Adam Magness
ffc406d819 normalise_link calls
implement normaliseLink function
2018-11-08 11:28:29 -05:00