Commit graph

20 commits

Author SHA1 Message Date
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
Michael a2f386cd2f Transmit header before creating user list 2022-12-12 02:43:32 +00:00
Michael cfd09663e7 Don't display pending requests 2022-12-12 02:33:57 +00:00
Michael 89efa73195 Fix tests 2022-12-11 22:56:56 +00:00
Michael ff5da9bc71 API: Use "contact" for own relations 2022-12-11 22:26:30 +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 8e8ec9d2d2 Simplified contact id handling 2022-01-16 18:40:18 +00:00
Michael 344d514857 Replaced "filter_input" with the new request value function 2022-01-16 16:40:13 +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 Holzer 6d8b8d95b1
Reenable Followers&Friends Lists and fixes a 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
Philipp Holzer 8bdd90066f
Make BaseModule a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Michael fb47389c69 API: Fix profile_url handling / missing constant 2021-11-26 07:55:02 +00:00
Michael a4ef4589e6 Reworked friendship API endpoints 2021-11-21 16:59:09 +00:00
Michael b67c10812a Merge remote-tracking branch 'upstream/develop' into api4 2021-11-18 20:15:57 +00:00
Michael a9e1847afd Some more comments added 2021-11-17 06:36:12 +00:00
Michael 6ea426178a API: moved classes / unified user array creation 2021-11-16 23:21:40 +00:00
Renamed from src/Module/Api/Twitter/FollowersList.php (Browse further)