Commit graph

37 commits

Author SHA1 Message Date
Michael
f62f82df75 Move ActivityPub endpoints to an AP class 2021-07-17 20:28:46 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
5bbcb8bdf4 ActivityPub: Delete Comments 2021-03-24 22:22:14 +00:00
Michael
2fa692bcce New post class in the rest of the classes 2021-01-16 04:16:09 +00:00
Hypolite Petovan
c7a2988454 Check for the existence of array key before using it in Protocol\ActivityPub\Transmitter
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-739534960
2020-12-08 10:08:49 -05:00
Michael
ba38ab2c55 Fix: Fetch object by URL 2020-11-11 17:55:33 +00:00
Michael
ab02f4a3db Avoid notice "Undefined index: activity" 2020-09-01 05:55:34 +00:00
Michael
a6cb144c1e Don't add the type to the id in case of an activity 2020-09-01 02:38:44 +00:00
Michael
b8ac601582 Avoid a notice - restructured validation check 2020-08-31 15:01:46 +00:00
Michael
729d5ebaf1 Support fetching private posts 2020-08-30 17:39:38 +00:00
Michael
63dc6950d4 Issue 8860: Activities weren't fetchable all the time 2020-07-11 07:15:54 +00:00
Michael
db907c2ff8 Issue 8700: Resolvable activities 2020-05-27 19:05:33 +00:00
Hypolite Petovan
af817b2ad5 Add cache and CORS headers to ActivityPub endpoints 2020-04-05 18:02:38 -04:00
Hypolite Petovan
1e32f74b0b Rework Module/Objects
- Merge two item queries into one
- Add ETag check
- Use Router parameter
2020-04-05 18:00:46 -04:00
Michael Vogel
3ca88f53ec Fixes "Undefined index: object" 2020-03-28 22:37:03 +01:00
Michael Vogel
fcb0fa4cfa Fix: Fetching content via the "objects" endpoint behaved wrong 2020-03-26 07:52:48 +01:00
Michael
ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Hypolite Petovan
ab0a3f194a Add necessary call to BaseUrl->get() in Module\Objects
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-569959500
2019-12-31 12:25:41 -05:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
nupplaPhil
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString() 2019-12-29 20:17:50 +01:00
nupplaPhil
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-29 20:17:43 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
Michael
d34052b332 Make quoted announces look better / more announce improvements 2019-12-04 07:02:39 +00:00
Michael
8c03bdada9 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Michael
abe6724629 Added parameter to rawContent 2019-11-05 19:16:26 +00:00
Hypolite Petovan
41f781c52a Replace System::httpExit() by HTTPException throwing 2019-05-02 11:37:09 -04:00
Philipp Holzer
07ba1b200c
Add routes for current BaseModules 2019-05-01 21:29:04 +02:00
Michael
9f2e9dfc1b Fetchting the original post at first, then the other way is dafer. 2019-01-26 12:09:38 +00:00
Michael
ad782b55ef Preparation for forum posts over AP 2019-01-26 12:03:09 +00:00
Michael
ae2a8b796c Avoid a notice in HTTP signature check, preparation for authentication 2019-01-15 06:31:12 +00:00
Michael
8844bb690d Issue 6100: The AS object should be fetchable for every original post 2018-11-10 23:56:11 +00:00
Philipp Holzer
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect() 2018-10-22 22:13:35 +02:00
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect() 2018-10-22 22:13:22 +02:00
Michael
3ab837f3c7 Functionality is now split 2018-10-03 09:15:38 +00:00
Michael
76cdc9e594 Renamed class 2018-10-02 20:14:28 +00:00
Michael
518d461a8f Issue 5811: "objects" instead of "object" 2018-10-02 20:12:38 +00:00
Renamed from src/Module/Object.php (Browse further)