Commit graph

30 commits

Author SHA1 Message Date
Art4
f254283dc6 Fix errors in all modules 2024-11-18 22:20:28 +00:00
Art4
14ec1950b9 Replace typehint App with AppHelper in all classes 2024-11-10 23:33:28 +00:00
Tobias Diekershoff
30a5ef33b0 REUSE src directory 2024-08-24 15:27:00 +02:00
Michael
534db0d09a Fix follow/unfollow 2024-08-02 05:50:01 +00:00
Michael
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Hypolite Petovan
9e71610711 Make BaseApi->checkAllowedScope into an object method
- It isn't called from static contexts anymore
2023-10-11 09:43:57 -04:00
Hypolite Petovan
f70a64891c Add Factory\Api\Mastodon\Error dependency to BaseApi
- Copy Factory\Api\Mastodon\Error->logError functionality to BaseApi
2023-10-11 09:43:54 -04:00
Hypolite Petovan
642baa1f2a Rename ApipResponse->exit* methods to better show their meaning 2023-09-24 07:08:16 -04:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Michael
5312b23f03 Don't send the header 2022-12-12 03:13:24 +00:00
Roland Häder
eaed3945d1
Changed:
- used `$this->getRequestValue($request, 'foo', <bar>)` instead of `$request['foo'] ?? <bar>`
- fixed wrong variable naming
- changed double-quotes to single
- see https://github.com/friendica/friendica/issues/11631#issuecomment-1196410497
2022-07-29 00:38:46 +02:00
Michael
1f1d3b2578 API: Only display active incoming contact requests 2022-03-02 05:05:49 +00:00
Hypolite Petovan
6a1f9a7fa3 Move unfollow protocol to worker task
- Add uid parameter to unfollow hook
- Rework and unify Contact::unfollow, Contact::removeSharer and Contact::terminateFriendship
- Add missing twitterUser property to Twitter\Friendships\Destroy module
2022-02-24 09:35:54 -05:00
Michael
344d514857 Replaced "filter_input" with the new request value function 2022-01-16 16:40:13 +00:00
Michael
f11bf08a7b Use the $request variable 2022-01-16 07:35:20 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
85b9f2b02c
Reenable Incoming test and fixes an array_reverse() bug 2021-12-05 20:34:00 +01:00
Michael
d57cb05a24 Fix: array_reverse returns the reversed content as return value 2021-12-05 06:22:04 +00:00
Michael
03d2160690 Removed second ppst parameter 2021-11-30 21:41:10 +00:00
Michael
56f8adcb80 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 19:07:24 +00:00
Philipp
a88cc8d5c8 Replace DI::apiResponse()->exit() with $this->response->exit() 2021-11-30 01:08:00 -05:00
Michael
56824598ff Standards 2021-11-30 05:20:01 +00:00
Michael
2470482b4e Standards 2021-11-30 05:07:03 +00:00
Michael
477b8a91db Added endpoint 2021-11-29 06:09:28 +00:00
Michael
222b35684d API: Added more functions, fixed function names 2021-11-28 13:34:00 +00:00
Michael
b15d3a2523 API: Next bunch of functions transformed 2021-11-27 22:25:36 -05:00
Philipp
056702c1e0
Fixing wrong inherited methodsyntax 2021-11-27 19:58:24 +01:00
Michael
a3e3d87a42 Standards 2021-11-26 21:57:18 +00:00
Michael
0de9ae913b API: moved several lists 2021-11-26 21:48:13 +00:00