Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
24ee87224f
Replaced deprecated "log" function call
2021-11-03 23:19:24 +00:00
Michael
1219a4d00e
Issue 10947: Send correct accept-header for AP
2021-11-03 19:06:07 +00:00
Hypolite Petovan
9935e8e711
Remove event.adjust field
...
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Hypolite Petovan
d7e5814b12
Simplify attachment processing in Protocol\ActivityPub\Receiver
...
- Remove indexing attachments by mediatype for later sorting
2021-08-09 19:29:12 -04:00
Hypolite Petovan
f194d167b0
Extract MP4 video URL from PeerTube ActivityPub metadata to enable video embed
...
- This MP4 video URL is located in the tags of the streaming URL link element that we don't support yet
2021-08-05 10:51:42 -04:00
Michael
07d2dfcd60
Some more "convertForUriId" replacements
2021-07-10 12:58:48 +00:00
Michael
de39091a79
Revert some test changes
2021-07-09 19:32:06 +00:00
Michael
90897f36ca
Fix notices because of unknown Hubzilla activity type
2021-07-09 19:30:41 +00:00
Michael
5ee0f6e5e1
Transmit preview link
2021-07-04 06:30:54 +00:00
Michael
265137ef44
Avoid PHP Warning: Illegal string offset 'type' in /src/Protocol/ActivityPub/Receiver.php on line 668
2021-06-07 10:21:48 +00:00
Michael
038e505ca3
Improve forum delivery, avoid false distribution
2021-06-06 19:28:47 +00:00
Michael
d8901452fc
Improved logging for invalid HTTP signatures
2021-05-01 12:32:33 +00:00
Michael
3d64c3031b
Preview for Videos and images / Video resolution selection
2021-04-28 19:05:46 +00:00
Michael
37d15b47e8
Issue 10126: Transmit "adjust"
2021-04-08 19:38:16 +00:00
Michael
688e056ad1
"post-reason" ends double usage of "post-type"
2021-04-07 06:02:06 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
8211e6d887
Fixes notice: "Undefined index: type"
2021-03-10 14:40:57 +00:00
Michael
8c748f03f9
Issue 9912: Process Markdown content from Peertube
2021-03-06 08:43:25 +00:00
Michael
ce6ad1aa73
Get rid of the "item" table, enhanced "post" tables
2021-02-13 19:56:03 +00:00
Michael
68502daed0
New post class in protocol and worker classes
2021-01-16 04:14:58 +00:00
Michael
2987070d93
Improved direction and protocol detection
2021-01-09 12:59:30 +00:00
Hypolite Petovan
486b43f09d
Avoid unmarking for archival an empty contact in Protocol\ActivityPub\Receiver
...
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-733198306
2020-11-24 17:32:52 -05:00
Michael
e4e9a20ac8
Don't transmit to archived inboxes
2020-11-23 19:25:22 +00:00
Hypolite Petovan
fa003eaa84
Fix expected implementation of JsonLD::fetchElementArray
...
- Added expected field value matching
2020-11-11 11:19:08 -05:00
Michael
e548d647aa
New table for attached media files
2020-10-29 05:20:26 +00:00
Michael
eff4d18209
Force removal from relay list
2020-09-29 05:06:37 +00:00
Michael
9ea34370a6
We now inherit the causer for completing a thread
2020-09-25 12:16:08 +00:00
Michael
9552473db5
Issue 9264: post types should now work
2020-09-25 06:47:07 +00:00
Michael
d9d1268194
Issue 9264: Ensure that "pt_follower" is only set when its a real follower
2020-09-24 10:26:28 +00:00
Michael
b0c9c9b7cb
Relay settings are now valid for the ActivityRelay as well
2020-09-22 15:48:44 +00:00
Michael
11d2b027ec
Additional direction for fetching content
2020-09-21 15:17:33 +00:00
Michael
c082109ff9
Show if a post arrived via relay
2020-09-21 12:31:20 +00:00
Michael
1898c0c351
Fix notice "Undefined index: gravity"
2020-09-20 04:49:48 +00:00
Michael
5f46b09772
Added some logging
2020-09-17 04:31:38 +00:00
Michael
178455928a
We can now manage relay servers and can send content to them
2020-09-15 17:45:19 +00:00
Michael
4930991734
Process incoming relay posts / fix importing posts
2020-09-14 20:58:41 +00:00
Michael
08fa5f0c19
We now set the "global" direction
2020-09-14 17:48:57 +00:00
Michael
5a41cd437d
Add additional direction types
2020-09-13 14:15:28 +00:00
Michael
a491c5d916
Store and display to/cc/bcc
2020-09-12 17:45:04 +00:00
Michael
e9f462f0a3
AP: Improved checks for incoming posts
2020-09-12 12:12:55 +00:00
Michael
d64c910f69
Reworked receiver detection
2020-09-09 16:55:14 +00:00
Michael
62ce87dfe6
Fixing processing forum posts
2020-08-09 22:46:18 +00:00
Michael
f09d9bc9cc
Remove url caching, locking cleanup
2020-08-06 18:53:45 +00:00
Michael Vogel
41141965fc
Merge pull request #8904 from MrPetovan/task/ap-conversion-admin-module
...
Add new admin debug module for ActivityPub
2020-07-21 21:32:06 +02:00
Hypolite Petovan
c26cc5b75e
Expand scope of prepareObjectData in ActivityPub\Receiver
2020-07-20 00:38:45 -04:00
Hypolite Petovan
259a62f9dd
Separate concerns between postItem and createItem in ActivityPub\Processor
...
- postItem now only posts items created with createItem without altering it
- createItem now only creates an item array from an activity without posting it
- postItem scope is now public
2020-07-20 00:37:43 -04:00
Hypolite Petovan
05bd0d0b67
Add support for multiple Link as urls of Images in ActivityPub\Receiver
...
- Address https://github.com/friendica/friendica/issues/8676#issuecomment-650554955
2020-07-20 00:28:11 -04:00
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
Michael
cd2c7f782f
We now directly support the custom emojis from Mastodon
2018-11-07 20:34:03 +00:00
Michael
e759497af3
Fix small typo / Workerqueue count now only counts non deferred entries
2018-11-04 10:51:01 +00:00