Commit Graph

147 Commits

Author SHA1 Message Date
Michael 11a16589da Improved Content-Type check on incoming requests 2024-03-21 09:02:25 +00:00
Michael Vogel 07c20da08f
Issue 13905: ostatus context added (#13912) 2024-02-18 15:46:41 +01:00
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Michael Vogel bf80001c80
Fixed detection for empty server data in apcontact (#13791) 2024-01-02 14:56:08 +01:00
Michael cb816bde66 Restrict the access for servers that the user ignored 2023-12-26 08:32:17 +00:00
Michael 5b169c908b Fix warning 2023-12-22 23:51:30 +00:00
Michael e38a699324 Fix for profile limitation / configurable list of limited servers 2023-12-22 17:16:10 +00:00
Michael 5afa4fa838 Improved relay post processing 2023-11-09 06:43:03 +00:00
Michael b54005c540 Changed parameter name 2023-09-29 04:50:36 +00:00
Michael badf0dd57f There is now a time limit when fetching AP endpoints 2023-09-28 08:04:52 +00:00
Michael 9e726eadee Coded reformatted 2023-07-23 14:27:08 +00:00
Michael 60c7bc90e6 Removed unneeded check 2023-07-23 13:59:01 +00:00
Michael f0563df991 Fix notice 2023-07-22 16:00:09 +00:00
Michael 26aa38341f The access to the profile and the list of followers/followings can now be restricted 2023-07-21 07:06:55 +00:00
Hypolite Petovan 6e2ab6c3af Centralize Vary header declaration in ActivityPub::isRequest
- Vary header should be set every time we vary the display based on an HTTP header value
2023-07-08 22:24:01 -04:00
Hypolite Petovan 3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Michael 59004711ec Support for transmitting quoted posts 2022-09-29 22:29:15 +00:00
Michael 1d13574225 Fetching of missing posts is reworked 2022-07-21 05:16:14 +00:00
Hypolite Petovan da32fa8fa6 Create ActivityPub\FetchQueue and ActivityPub\FetchQueueItem classes
- These classes are used to flatten the recursive missing activity fetch that can hit PHP's maximum function nesting limit
- The original caller is responsible for processing the remaining queue once the original activity has been fetched
2022-06-25 12:40:54 -04:00
Roland Häder 3f74a59f73
Added some type-hints 2022-06-23 17:30:14 +02:00
Roland Häder c2e889cfae Added more type-hints 2022-06-17 17:18:31 +02:00
Michael d7df0825db We now offer an endpoint for featured posts 2022-04-08 21:25:31 +00:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael 1219a4d00e Issue 10947: Send correct accept-header for AP 2021-11-03 19:06:07 +00:00
Michael Vogel a689db7b64
Update src/Protocol/ActivityPub.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-09-14 23:22:57 +02:00
Michael b18f92ea72 Fixed indendation 2021-09-14 20:46:59 +00:00
Michael e3413cf959 Issue 10706: Publish public custom fields in AP 2021-09-14 01:28:58 +00:00
Michael ce46ab2573 The Matrix and XMPP address is now transported via AP as well 2021-08-10 23:49:09 +00:00
Michael 424a85bb94 Fetch local data without HTTP requests 2021-07-18 18:54:25 +00:00
Michael e2dc36a691 AP: Support "discoverable" 2021-06-30 05:40:11 +00:00
Michael fe07dc828b Fix noscrape publishing and pulling, added header 2021-06-17 11:23:32 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael b22d7452a3 Accept "application/json" as application type for ActivityPub 2021-01-29 11:15:47 +00:00
Michael 974f7bffc8 Indentation 2020-12-16 15:43:12 +00:00
Michael a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
Michael cbf1e5c699 New field "manually-approve" for contact table 2020-09-02 03:02:50 +00:00
Michael 7dbf72e454 We now fetch data with an automatically generated system user 2020-08-22 14:48:09 +00:00
Michael e06d9f20cf AP: Always sign requests 2020-07-29 05:12:16 +00:00
nupplaPhil 1998b7811b Fix fatal execution path for found Network::get() parameter execption 2020-07-21 03:19:05 -04:00
nupplaPhil 7029012f27 Rename "HTTPRequest::curl()" to HTTPRequest::get() 2020-07-21 03:14:01 -04:00
nupplaPhil 2973ed6448 Make "HTTPRequest::curl" dynamic 2020-07-21 03:01:12 -04:00
nupplaPhil 5344efef71 Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest" 2020-07-21 02:56:10 -04:00
Michael b948887221 Reduced network request when probing 2020-06-14 13:37:28 +00:00
Michael 62217735f0 Use webfinger in apcontact fetch 2020-06-04 21:55:14 +00:00
Michael e27915a819 Centralized gsid generation 2020-05-22 10:10:24 +00:00
Michael cc913bcf7c Prevent another endless loop while fetching AP items 2020-03-28 10:34:23 +00:00
Michael bc069c8ebf Prevent endless loops and long running feed processing 2020-03-22 13:05:35 +00:00
Michael a6e7b5f295 GContact discovery added 2020-03-05 22:03:24 +00:00
Michael b6ab8c9e94 New function to fetch endpoint items 2020-03-05 08:12:29 +00:00