1c67be8db0
Improve the performance of API timeline calls
2023-10-18 08:11:36 +00:00
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
7486ebdc10
Move jsonError out of Factory\Api\Mastodon\Error->UnprocessableEntity
2023-10-11 09:44:03 -04:00
7f846f153d
Move jsonError out of Factory\Api\Mastodon\Error->RecordNotFound
2023-10-11 09:44:02 -04:00
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
e969ecd351
Add paging to Account/Statuses Mastodon endpoint
2023-03-17 22:13:17 -04:00
6e3602591d
Use "Exception"
2023-02-26 22:43:45 +00:00
b6fcfebd56
Switch parameters
2023-01-25 20:14:33 +00:00
49d513f8d2
API: added positiv list for quote support
2023-01-25 06:26:17 +00:00
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
de1c0f4c13
Don't display Diaspora reshares
2022-12-20 19:25:57 +00:00
4f98d2c74a
Issue 11915: Show reshared posts for contacts
2022-12-04 21:57:58 +00:00
1d00947bcd
Don't fetch sugestions for the system user / catch error on contact timeline
2022-12-01 07:07:59 +00:00
8b41d62a88
API: Speed improvements
2022-11-29 18:45:30 +00:00
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
4cf46b9770
API: Use the type field in the query for pinned posts
2022-06-11 06:05:55 +00:00
176f0c1216
API: Improve the performance for fetching pinned posts
2022-06-10 22:38:46 +00:00
75bc4eccb7
Display featured posts for contacts
2022-04-07 21:52:25 +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
d57cb05a24
Fix: array_reverse returns the reversed content as return value
2021-12-05 06:22:04 +00:00
f580d8e5c0
extract "BaseApi::checkDefaults()" method for later usage
2021-11-30 01:07:57 -05:00
9cc675233d
Add a second parameter to BaseApi::getRequest to enable API tests
2021-11-27 18:38:09 -05:00
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
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +01:00
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
78d4aff878
Set the "Link" header
2021-06-16 15:02:33 +00:00
11c8dfe73a
Unified request for uid
2021-06-08 08:28:14 +00:00
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
e5c1b90668
API: Reworked request parameter handling
2021-05-18 19:26:46 +00:00
f001f52e39
API: Fix relationships
2021-05-15 15:02:15 +00:00
494e852c1a
Removed old comment
2021-05-12 15:41:05 +00:00
9125d296a1
Improved error messages
2021-05-12 14:00:15 +00:00
0ea2241eed
Support the "only_media" parameter
2021-05-08 01:52:23 +00:00
dd38cc330f
API: We now support two more timeline api endpoints
2021-05-07 21:28:48 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
2b1d0b9db8
"selectForUser" and "" selectFirstForUser" is now moved to Post
2021-01-16 22:37:27 +00:00
ba4685dfb1
API: Support for reshared items
2020-11-01 11:01:57 +00:00
c030275815
API: accounts and trends
2020-10-31 22:32:26 +00:00