Commit graph

319 commits

Author SHA1 Message Date
Daniel Supernault
bae6126db3
Update compiled assets 2022-02-05 19:32:10 -07:00
Daniel Supernault
cd78560184
Update ApiV1Controller, add validation messages to update_credentials endpoint 2022-02-05 18:39:17 -07:00
Daniel Supernault
6cfd6be523
Add ReblogService, improve reblogged state for api entities 2022-01-28 22:06:43 -07:00
Daniel Supernault
73226360fc
Update ApiV1Controller, fix private status replies returning 404 2022-01-28 20:04:02 -07:00
Daniel Supernault
3c261bbfec
Update ApiV1Controller, invalidate status reply cache on new reply 2022-01-27 00:39:44 -07:00
Daniel Supernault
3d86d21be6
Update BaseApiController, improve favourites endpoint 2022-01-26 23:48:32 -07:00
Daniel Supernault
f063cb0185
Update BaseApiController, improve favourites endpoint 2022-01-26 23:32:31 -07:00
Daniel Supernault
16e725183e
Update ApiV1Controller, add custom_emoji endpoint 2022-01-25 02:08:50 -07:00
Daniel Supernault
4b6effb9c8
Update ApiV1Controller, improve follow count cache invalidation 2022-01-24 22:46:31 -07:00
Daniel Supernault
803bbac0ea
Update compiled assets 2022-01-23 00:04:34 -07:00
Daniel Supernault
350585d316
Fix typo in ApiV1Controller 2022-01-14 17:27:21 -07:00
Daniel Supernault
de42d84c11
Update ApiV1Controller, fix reblogs endpoints 2022-01-09 20:49:34 -07:00
Daniel Supernault
d6d99385db
Update ApiV1Controller, fix favourites endpoints 2022-01-09 20:33:43 -07:00
Daniel Supernault
6fc0dcb34d
Update ApiV1Controller, fix home timeline entities 2022-01-09 20:18:51 -07:00
Daniel Supernault
80c7def3df
Update ApiV1Controller, fix public timeline endpoint 2022-01-09 19:30:53 -07:00
Daniel Supernault
a6261221ad
Update ApiV1Controller, fix version on instance endpoint 2022-01-09 15:40:28 -07:00
Daniel Supernault
4fe421a166
Update ApiV1Controller 2022-01-08 05:01:26 -07:00
Daniel Supernault
08246f2482
Update ApiV1Controller, fix account settings bug 2022-01-08 04:02:14 -07:00
Daniel Supernault
da6312c2b0
Update ApiV1Controller 2022-01-08 01:51:24 -07:00
Daniel Supernault
cdf78e23a4
Update ApiV1Controller, improve instance endpoint 2022-01-05 23:37:27 -07:00
Daniel Supernault
e825b07d88
Update ApiV1Controller 2022-01-05 21:40:07 -07:00
Daniel Supernault
46485426ea
Update ApiV1Controller, add mastoapi strict mode 2022-01-05 21:36:02 -07:00
Daniel Supernault
fcabc9be02
Fix Direct Message conversations endpoint on postgres instances 2022-01-05 18:30:58 -07:00
Daniel Supernault
415826f253
Update ApiV1Controller, fix illegal operator bug by setting default min_id 2021-12-30 23:19:38 -07:00
Daniel Supernault
b00a453b99
Update status api, autolink caption before returning response 2021-12-28 18:26:01 -07:00
Daniel Supernault
5828a863cb
Update web routes 2021-12-21 21:54:48 -07:00
Daniel Supernault
aee9b994e3
Improve DiscoverService 2021-12-19 04:07:40 -07:00
Daniel Supernault
367d74fbfb
Update ApiV1Controller, use DiscoverService for discoverPosts method 2021-12-19 00:48:59 -07:00
Daniel Supernault
83b48b5681
Update StatusService, improve cache invalidation 2021-12-12 22:30:55 -07:00
Daniel Supernault
466286af92
Update ApiV1Controller, improve statusesById perf and dispatch CommentPipeline job when applicable 2021-12-10 22:03:33 -07:00
Daniel Supernault
079804e65b
Update ApiV1Controller, improve settings and add discoverPosts endpoint 2021-12-04 17:55:38 -07:00
Daniel Supernault
7df3540b08
Update verify_credentials api endpoint to improve performance 2021-10-30 00:11:35 -06:00
Daniel Supernault
192553ff77
Update public timeline api, add experimental cache 2021-10-21 19:02:15 -06:00
Daniel Supernault
37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 2021-10-20 04:31:07 -06:00
Daniel Supernault
80d9b9399a
Refactor following & relationship logic. Replace FollowerObserver with FollowerService and added RelationshipService to cache results. Removed NotificationTransformer includes and replaced with cached services to improve performance and reduce database queries. 2021-10-07 03:27:13 -06:00
Daniel Supernault
0fc3a1d6a5
Formatting 2021-09-10 21:08:04 -06:00
daniel
907945a7a0
Merge pull request #2923 from Wv5twkFEKh54vo4tta9yu7dHa3/patch-1
Fix media upload
2021-09-10 20:55:55 -06:00
Wv5twkFEKh54vo4tta9yu7dHa3
13f65629e1 Fix error 500 on image upload
Without this missing import, the server threw "Class 'App\Http\Controllers\Api\UserSetting' not found" when trying to upload images.
2021-09-09 15:03:00 +02:00
Daniel Supernault
0584f9ee95
Update ApiV1Controller, fix empty public timeline bug 2021-09-07 21:07:20 -06:00
Daniel Supernault
3f8acb1266
Update AccountService, add syncPostCount method 2021-07-26 23:59:38 -06:00
Daniel Supernault
e9ef0c887a
Add Archive Posts 2021-07-26 22:49:46 -06:00
Daniel Supernault
f9516ac316
Update ApiControllers, use NotificationService 2021-07-25 02:12:30 -06:00
Daniel Supernault
2a791f1991
Update ApiV1Controller, add default license support 2021-07-24 22:20:05 -06:00
Daniel Supernault
072d55d1a8
Update Compose Apis, make media descriptions/alt text length limit configurable. Default length: 1000 2021-07-24 21:15:15 -06:00
Daniel Supernault
f39f32c866
Update ApiController, fix notification bug 2021-07-21 02:16:20 -06:00
Daniel Supernault
352aa57346
Update ApiV1Controller, use ProfileService for verify_credentials 2021-07-06 20:43:24 -06:00
Daniel Supernault
f67c67bce1
Update ApiV1Controller, use PublicTimelineService 2021-07-06 20:29:52 -06:00
Daniel Supernault
d43e6d8d07
Update NotificationService, use zrevrangebyscore for api 2021-07-06 20:10:42 -06:00
Daniel Supernault
9ac8bbde91
Update ApiController, fix hashtag endpoint 2021-06-30 17:10:33 -06:00
Daniel Supernault
c8e40e0fd3
Update SharePipeline, add Undo->Announce support 2021-06-28 22:37:38 -06:00
Daniel Supernault
f1208de0ef
Update ApiController, fix nulls in hashtag endpoint 2021-06-28 21:01:45 -06:00
Daniel Supernault
c8c6b98380
Update like api, store status_profile_id and is_comment 2021-06-18 02:57:08 -06:00
Daniel Supernault
8ee104363a
Update Profile, add linkified bio, joined date, follows you label and improved website handling 2021-06-10 22:54:31 -06:00
Daniel Supernault
c8e43c6094
Update api, remove auth requirement for hashtag timeline 2021-05-26 20:11:25 -06:00
Daniel Supernault
241ae0368f
Add hashtag timeline to v1 api 2021-05-18 19:46:26 -06:00
Daniel Supernault
955696b8a0
Update site config, fix boolean casting 2021-05-18 17:53:59 -06:00
Daniel Supernault
a4efbb75d8
Update admin settings, add rules 2021-05-13 23:45:36 -06:00
Daniel Supernault
7895097fc1
Update config() to config_cache() 2021-05-11 20:14:51 -06:00
Daniel Supernault
3a9203e039
Update config() to config_cache() 2021-05-11 20:03:29 -06:00
Daniel Supernault
3e52458889
Update config() to config_cache() 2021-05-11 18:26:52 -06:00
Daniel Supernault
27b722e7a7
Update config() to config_cache() 2021-05-10 23:23:09 -06:00
Daniel Supernault
c0e693cc73
Update config() to config_cache() 2021-05-10 21:11:43 -06:00
Daniel Supernault
a9f009305c
Update config() to config_cache() 2021-05-10 21:04:23 -06:00
Daniel Supernault
1d54204635
Update config() to config_cache() 2021-05-10 20:04:13 -06:00
Daniel Supernault
61254b907f
Update site name config 2021-05-07 21:47:51 -06:00
Daniel Supernault
668e936eb5
Update instance endpoint, add custom description 2021-04-28 19:26:12 -06:00
Daniel Supernault
64b86546b9
Update ApiV1Controller, add missing instance api attributes 2021-04-22 22:46:05 -06:00
Daniel Supernault
886ea6175d
Update ApiV1Controller, add missing variable 2021-03-19 21:22:37 -06:00
Daniel Supernault
42375b3d79
Update Compose Apis, refactor rate limits 2021-03-01 20:58:35 -07:00
Daniel Supernault
f53bfa6fa6
Update Compose apis, prevent private accounts from posting public or unlisted scopes 2021-02-24 20:06:58 -07:00
Daniel Supernault
05b9445c8f
Update ApiV1Controller, add StatusService del calls to update likes_count, reblogs_count and reply_count 2021-01-30 16:15:56 -07:00
Daniel Supernault
ab888b2e70
Add StatusLabelService 2021-01-27 22:25:14 -07:00
Daniel Supernault
889c3d8758
Update AvatarController, remove deprecated thumb_path 2021-01-24 18:22:13 -07:00
Daniel Supernault
cf40526ef9
Update mobile apis, add blurhash 2021-01-18 18:25:03 -07:00
Daniel Supernault
4415af1bf0
Update api controllers, deprecate old endpoints 2021-01-17 23:43:23 -07:00
Daniel Supernault
51f8fe5bde
Update ApiV1Controller 2021-01-14 18:51:19 -07:00
Daniel Supernault
96afc3e781
Update Controllers, add last_active_at logic 2021-01-09 02:41:17 -07:00
Daniel Supernault
cc3053ed5d
Update api controllers 2021-01-09 00:21:29 -07:00
Daniel Supernault
b9b84e6fa4
Update Follower model, increase hourly limit from 30 to 150 2020-12-27 18:15:10 -07:00
Daniel Supernault
f70826e18c
Update status model, use scope over deprecated visibility attribute 2020-12-27 18:00:43 -07:00
Daniel Supernault
0fbde91e87
Update StatusService, cast response to array 2020-12-27 17:54:55 -07:00
Daniel Supernault
4a14e970f0
Update Profile model, improve counter caching 2020-12-10 22:58:13 -07:00
Daniel Supernault
76353ca997
Update BaseApiController, add favourites method 2020-12-09 22:23:51 -07:00
Daniel Supernault
0718711d09
Update ApiController, return status object after deletion 2020-12-09 21:34:43 -07:00
Daniel Supernault
597378bfb4
Update upload endpoints with MediaBlocklist checks 2020-07-26 22:17:00 -06:00
Daniel Supernault
588642123e
Update Api controllers, use MediaPathService 2020-07-12 21:27:34 -06:00
Daniel Supernault
00a96a15f0
Update ApiV1Controller, wrap ancestor in array 2020-06-18 21:08:13 -06:00
Daniel Supernault
a0bde855bd
Update ApiV1Controller, add status ancestor and descendant context 2020-06-18 21:03:35 -06:00
Daniel Supernault
b7ee9981eb
Update ApiV1Controller, fix instance endpoint #2233 2020-06-12 23:16:11 -06:00
Daniel Supernault
c74cd0bdf0
Add missing bookmark api endpoints 2020-05-19 14:55:26 -06:00
Daniel Supernault
99cb48c55e
Update v1 API, add bookmarks 2020-05-15 22:55:01 -06:00
Daniel Supernault
aa49afc755
Update ApiV1Controller, fix broken auth check on public timelines. Fixes #2168 2020-05-15 20:41:12 -06:00
Daniel Supernault
285bd4854b
Update ApiV1Controller, enforce public timeline setting 2020-04-28 00:12:49 -06:00
Daniel Supernault
324ccd0ab8
Update ApiV1Controller, fixes #2112 2020-04-16 15:07:46 -06:00
Daniel Supernault
0540a28ad1
Update oauth api, allow multiple redirect_uris. Fixes #2106 2020-04-11 20:14:50 -06:00
Daniel Supernault
01525cba4c
Update ApiV1Controller, fix unfavourite bug #2088 2020-03-20 21:16:31 -06:00
Daniel Supernault
b6f56c2751
Update ApiV1Controller, fix link header pagination 2020-03-19 15:34:04 -06:00
Daniel Supernault
e3b7c7ccb1
Update ApiV1Controller, fix link header pagination 2020-03-19 15:29:18 -06:00
Daniel Supernault
0a9654e3b8
Update ApiV1Controller, fix link header pagination 2020-03-19 14:53:02 -06:00
Daniel Supernault
737f3da5a4
Update ApiV1Controller, fix link header pagination 2020-03-19 14:32:26 -06:00
Daniel Supernault
ebbdb4ab96
Update ApiV1Controller 2020-03-18 20:23:39 -06:00
Daniel Supernault
4e3c952cf3
Update v1 notifications api, fix optional params 2020-03-18 16:53:54 -06:00
Daniel Supernault
eeca1fbc54
Update ApiV1Controller 2020-02-27 23:31:18 -07:00
Daniel Supernault
7bb9fb1f01
Update ApiV1Controller 2020-02-27 22:11:42 -07:00
Shlee
0fabac50e3
Update InstanceApiController.php 2020-02-22 21:47:49 +08:00
Daniel Supernault
826978ce08
Update BaseApiController, invalidate session after account deletion 2020-02-19 22:53:04 -07:00
Daniel Supernault
a73fad75b0
Update ApiV1Controller, fix update_credentials endpoint 2020-02-19 19:57:30 -07:00
Daniel Supernault
310f668814
Update ApiV1Controller 2020-02-06 17:20:55 -07:00
Daniel Supernault
69d36fc1c1
Update ApiV1Controller, add v2 search endpoint 2020-02-06 17:13:10 -07:00
Daniel Supernault
e2828f4b85
Update ApiV1Controller 2020-02-03 23:30:21 -07:00
Daniel Supernault
bd45728615
Update ApiV1Controller 2020-02-03 23:12:51 -07:00
Daniel Supernault
fb91892ee2
Update ApiV1Controller, fix follow/unfollow endpoints 2020-02-03 20:59:18 -07:00
Daniel Supernault
28bc9c1923
Update status edit view 2020-01-29 23:04:25 -07:00
Daniel Supernault
67a90ee18d
Fixes #1852 2019-11-30 18:34:55 -07:00
Daniel Supernault
5740746339
Update APIV1Controller, add ``mobile_apis`` to /api/v1/instance endpoint 2019-11-22 21:23:38 -07:00
Daniel Supernault
3fa9ac8bd9
Update BaseApiController, uncache verify_credentials method 2019-10-17 00:16:12 -06:00
Daniel Supernault
bad2ecde56
Update BaseApiController, add drafts method for Camera Roll 2019-10-14 21:33:42 -06:00
Daniel Supernault
73c0898703
Update BaseApiController, add timestamp to signed media previews for client side cache invalidation 2019-10-11 23:24:56 -06:00
Thomas
2a849be650 Add some elements in api/v1/instance 2019-10-07 18:35:13 +02:00
Daniel Supernault
788f76cf35
Update ApiControllers, fix missing share/like counts 2019-10-06 21:36:02 -06:00
Daniel Supernault
1346b75887
Update ApiController, fixes #1764 2019-10-05 21:40:27 -06:00
Daniel Supernault
7c17c0e4ff
Update ApiController, oof 2019-10-01 22:31:29 -06:00
Daniel Supernault
8752d21301
Update ApiController 2019-10-01 22:24:59 -06:00
Daniel Supernault
9a50a6f627
Update ApiController 2019-10-01 21:52:27 -06:00
Daniel Supernault
a79d23d152
Update StatusTransformers 2019-10-01 21:06:42 -06:00
Daniel Supernault
f4039ce218
Update BaseApiController 2019-09-30 20:53:14 -06:00
Daniel Supernault
2ff53be458
Add /api/v1/timelines/tag/{hashtag} endpoint 2019-09-29 22:05:12 -06:00
Daniel Supernault
01a3841bc7
Update ApiController 2019-09-29 02:55:26 -06:00
Daniel Supernault
3147fe5ca3
Add /api/v1/statuses/{id}/unreblog endpoint 2019-09-29 01:11:31 -06:00
Daniel Supernault
43cef28296
Add /api/v1/statuses/{id}/reblog endpoint 2019-09-29 00:36:02 -06:00
Daniel Supernault
0a20b8321b
Add /api/v1/statuses endpoint 2019-09-29 00:09:01 -06:00
Daniel Supernault
10cb2d4004
Update ApiController 2019-09-28 23:00:31 -06:00
Daniel Supernault
3aa729a362
Add /api/v1/statuses endpoint 2019-09-28 22:50:56 -06:00
Daniel Supernault
5cdff57d59
Add /api/v1/statuses/{id}/favourited_by endpoint 2019-09-27 01:01:48 -06:00
Daniel Supernault
118006ed2d
Add /api/v1/statuses/{id}/reblogged_by endpoint 2019-09-27 00:57:58 -06:00
Daniel Supernault
9225120835
Add /api/v1/statuses/{id}/card endpoint 2019-09-26 23:19:57 -06:00
Daniel Supernault
3570e7acbb
Update api controller 2019-09-26 22:42:33 -06:00
Daniel Supernault
530149f0f4
Update AccountTransformer 2019-09-26 21:53:55 -06:00
Daniel Supernault
55ee29f301
Update APIV1Controller, fix cors bug 2019-09-26 21:03:08 -06:00
Daniel Supernault
11cd75e8e8
Update ApiController 2019-09-26 20:49:44 -06:00
Daniel Supernault
43c18e866c
Update api controller 2019-09-26 20:39:52 -06:00
Daniel Supernault
be7eae8494
Update verify_credentials endpoint 2019-09-26 19:52:56 -06:00
Daniel Supernault
f3eeb9c978
Add /api/v1/timelines/public endpoint 2019-09-26 19:35:15 -06:00
Daniel Supernault
336f906968
Add /api/v1/conversations endpoint 2019-09-26 18:41:27 -06:00
Daniel Supernault
cf3405d852
Add /api/v1/timelines/home endpoint 2019-09-26 18:30:56 -06:00
Daniel Supernault
39449f3638
Add /api/v1/notifications endpoint 2019-09-26 01:37:22 -06:00
Daniel Supernault
41c96ddd6a
Add /api/v1/accounts/{id}/unmute endpoint 2019-09-25 23:36:13 -06:00
Daniel Supernault
3e98dce4de
Add /api/v1/accounts/{id}/mute endpoint 2019-09-25 23:31:19 -06:00
Daniel Supernault
b280d183ad
Add /api/v1/mutes endpoint 2019-09-25 23:09:50 -06:00
Daniel Supernault
fcf231f430
Add /api/v1/media/{id} endpoint 2019-09-25 23:01:37 -06:00