Michael
c3ed9ba24a
Fix restricted access to public timeline
2024-08-13 19:31:42 +00:00
Michael
c5844625b4
Issue 14186: Respect public restrictions for ttimeline API endpoint
2024-08-13 02:50:50 +00:00
Michael
c82a1ed467
Performance improvements when displaying local posts
2024-04-17 19:16:47 +00:00
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
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
Hank Grabowski
7f4f44a3a8
Fix paging on List and Public timelines honoring order type
2023-03-17 22:13:43 -04:00
Hank Grabowski
c33c624f83
Add new temporal paging to Mastodon Timeline Public and List endpoints
2023-02-28 11:36:24 -05:00
Michael
6e3602591d
Use "Exception"
2023-02-26 22:43:45 +00:00
Hank Grabowski
e3bfb39e91
Remove explicit block filtering for results that go through selectViewForUser
2023-02-16 16:06:56 -05: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
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Michael
df8644c59c
Performance improvements in public timeline
2022-11-08 21:48:42 +00:00
Michael
1f1c2d8ca6
(Hopefully) query performance improvements
2022-11-01 08:45:25 -04: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
3911c9450b
(Hopefully) SQL improvements
2022-09-24 17:56:07 +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
Michael
d57cb05a24
Fix: array_reverse returns the reversed content as return value
2021-12-05 06:22:04 +00: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
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
Philipp
489cd0884a
Make BaseModule methods dynamic
2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters
argument per method with static::$parameters
2021-11-14 23:49:05 +01:00
Michael
789361de5f
The API is now using the router
2021-11-08 07:23:18 +00:00
Michael
ebd4f59d02
Merge remote-tracking branch 'upstream/2021.06-rc' into public-timeline
2021-06-16 21:01:20 +00:00
Michael
78d4aff878
Set the "Link" header
2021-06-16 15:02:33 +00:00
Michael
11d2440425
New functions for the post-view view
2021-06-16 10:16:01 +00:00
Michael
24cc82f396
API: (hopefully) improves speed of the public timeline
2021-06-12 15:19:56 +00:00
Michael
32d0d45adf
Issue 10287: Don't show ignored and blocked posts
2021-05-24 10:51:21 +00:00
Michael
8f9033633c
Issue 10287: Make block and ignore work for the API as well
2021-05-23 08:56:24 +00:00
Michael
50ca38a0f7
Harmonized API parameters for all timeline endpoints
2021-05-19 06:55:08 +00:00
Michael
e3d227f3c9
API: Parameter cleanup
2021-05-19 06:18:42 +00:00
Michael
e5c1b90668
API: Reworked request parameter handling
2021-05-18 19:26:46 +00:00
Michael
494e852c1a
Removed old comment
2021-05-12 15:41:05 +00:00
Michael
0ea2241eed
Support the "only_media" parameter
2021-05-08 01:52:23 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
1792046a4f
post/thread views are renamed, search bugs fixed
2021-02-22 19:47:08 +00:00
Michael
4157db5473
"item" is replaced by "post-view" / postupdate check added
2021-01-17 20:32:13 +00:00
Michael
2c65b81182
Fix notice "Undefined index: internal-verb"
2021-01-17 08:15:18 +00:00
Michael
2b1d0b9db8
"selectForUser" and "" selectFirstForUser" is now moved to Post
2021-01-16 22:37:27 +00:00
Michael
c030275815
API: accounts and trends
2020-10-31 22:32:26 +00:00
Michael
db6282b5e2
API: Counts added, local query improved
2020-09-06 07:12:04 +00:00
Michael
c3ed31bb8f
API: Fix the timeline parameters
2020-09-05 05:38:12 +00:00
Michael
305fe62659
Content is now filled
2020-09-03 19:13:03 +00:00
Michael
cd3d4ae4e6
API: New entity "status"
2020-09-03 18:57:18 +00:00