Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Michael
1c67be8db0
Improve the performance of API timeline calls
2023-10-18 08:11:36 +00:00
Hypolite Petovan
1b9ec3a214
Rename BaseApi->logErrorAndJsonExit to logAndJsonError to better match the functionality
...
- Also it's shorter and we're paying by the character
2023-10-11 09:44:03 -04:00
Hypolite Petovan
7486ebdc10
Move jsonError out of Factory\Api\Mastodon\Error->UnprocessableEntity
2023-10-11 09:44:03 -04:00
Hypolite Petovan
7f846f153d
Move jsonError out of Factory\Api\Mastodon\Error->RecordNotFound
2023-10-11 09:44:02 -04: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
642baa1f2a
Rename ApipResponse->exit* methods to better show their meaning
2023-09-24 07:08:16 -04:00
Hypolite Petovan
81279dad9e
Move System::jsonExit to BaseModule->jsonExit
...
- This will ensure headers set in BaseModule->run will be carried in jsonExit scenarios
- Deprecate jsonExit() method in Core\System
2023-09-24 07:08:15 -04:00
Hypolite Petovan
4f7740264e
Replace "group" with "circle" in the rest of the code
...
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Michael
f0743e4e12
Allow the search for contacts on blocked servers via web
2023-03-29 18:39:21 +00:00
Josh Soref
8f93684cd0
spelling: relationships
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Hank Grabowski
e969ecd351
Add paging to Account/Statuses Mastodon endpoint
2023-03-17 22:13:17 -04:00
Michael
6e3602591d
Use "Exception"
2023-02-26 22:43:45 +00:00
Michael
b6fcfebd56
Switch parameters
2023-01-25 20:14:33 +00:00
Michael
49d513f8d2
API: added positiv list for quote support
2023-01-25 06:26:17 +00:00
Michael
c471a78b05
Issue 12358: Allow blocking of every contact
2023-01-23 21:44:30 +00:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
de1c0f4c13
Don't display Diaspora reshares
2022-12-20 19:25:57 +00:00
Michael
6965614f00
API: Only search for direct hit without offset
2022-12-06 18:47:43 +00:00
Michael
4f98d2c74a
Issue 11915: Show reshared posts for contacts
2022-12-04 21:57:58 +00:00
Michael
5c74113bf6
Issue 12275: Banner upload via avatar does work now
2022-12-04 16:33:29 +00:00
Michael
36c7aea214
Debug code removed
2022-12-03 15:37:40 +00:00
Michael
e4dda7d2ca
Issue 11553: Reliably return the user's contacts
2022-12-03 14:19:48 +00:00
Michael
1d00947bcd
Don't fetch sugestions for the system user / catch error on contact timeline
2022-12-01 07:07:59 +00:00
Michael
8b41d62a88
API: Speed improvements
2022-11-29 18:45:30 +00:00
Michael
acfc11c436
Issue 12133: Account data can now be updated via API
2022-11-26 08:56:24 +00:00
Tobias Diekershoff
4b5c6994b2
Merge pull request #12122 from annando/issue-2657
...
Issue 2657: Mentions will now be recognized by clients
2022-11-06 09:13:45 +01:00
Michael
bc7d21183d
Issue 11831: Activate "notify on new post" via API
2022-11-06 06:11:22 +00:00
Michael
40fb820aef
Unused use removed
2022-11-06 06:00:19 +00:00
Michael
56ac879c92
Issue 2657: Mentions will now be recognized by clients
2022-11-06 05:43:34 +00:00
Michael
db12814f3b
Improved url detection
2022-11-05 22:32:56 +00:00
Michael
70d0f087b7
Issue 12096: Improve account search
2022-11-05 22:08:28 +00:00
Roland Häder
da66730e4f
Rewrite:
...
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:
From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````
To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael
4cf46b9770
API: Use the type field in the query for pinned posts
2022-06-11 06:05:55 +00:00
Michael
176f0c1216
API: Improve the performance for fetching pinned posts
2022-06-10 22:38:46 +00:00
Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Michael
75bc4eccb7
Display featured posts for contacts
2022-04-07 21:52:25 +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
Philipp
a3a32af5c1
Add feedback
2022-01-04 20:59:27 +01:00
Philipp
9c8d9e83ac
Fix empty accounts[] bug
2022-01-04 20:59:27 +01: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
fb1e8e75f5
Add response for JSON only
2021-12-06 00:12:18 +01:00
Philipp
cc7b2fae4e
Re-enable AccountVerifyCredentials test
2021-12-05 20:33:59 +01:00
Michael
d57cb05a24
Fix: array_reverse returns the reversed content as return value
2021-12-05 06:22:04 +00:00
Philipp
2e4d654c0a
Make $_REQUEST processing independent of sub-calls
...
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Philipp
f580d8e5c0
extract "BaseApi::checkDefaults()" method for later usage
2021-11-30 01:07:57 -05:00
Hypolite Petovan
9cc675233d
Add a second parameter to BaseApi::getRequest to enable API tests
2021-11-27 18:38:09 -05:00
Philipp
537b74f307
Inherit `ApiResponse` from `Response`
2021-11-27 12:40:54 +01:00
Philipp
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