Commit graph

283 commits

Author SHA1 Message Date
Daniel Supernault
afe903c36e
Update ApiV1Controller, fix notification entities 2022-03-23 00:28:39 -06:00
Daniel Supernault
244869b7c2
Update ApiV1Controller, fix statusCreate validator 2022-03-22 23:35:16 -06:00
Daniel Supernault
b6b15b0cce
Update ApiV1Controller, fix statusCreate validator 2022-03-22 23:32:12 -06:00
Daniel Supernault
89303fa478
Update ApiV1Controller, marshal json without escaped slashes 2022-03-22 23:13:04 -06:00
Daniel Supernault
3a3997fa91
Update ApiV1Controller, fix instance endpoint 2022-03-22 22:04:11 -06:00
Daniel Supernault
c383f1008d
Update ApiV1Controller, fix instance endpoint 2022-03-22 21:56:22 -06:00
Daniel Supernault
c13bca7629
Update ApiV1Controller, fix unlisted replies 2022-03-12 19:07:23 -07:00
Daniel Supernault
b3ef2b2902
Improve reblog api performance 2022-03-10 23:38:10 -07:00
Daniel Supernault
3ef6c9fe81
Improve reblog api performance 2022-03-10 23:34:34 -07:00
Daniel Supernault
3e670774c0
Update ApiV1Controller, fixes #3288 2022-03-03 21:47:08 -07:00
Daniel Supernault
548a12a4c2
Update StatusController, set missing reblog/share type 2022-02-13 02:14:26 -07:00
Daniel Supernault
2848620a32
Update ApiV1Controller, improve favourites endpoint 2022-02-13 00:32:25 -07:00
Daniel Supernault
151dc17c25
Update ApiV1Controller, improve favourites endpoint 2022-02-13 00:23:29 -07:00
Daniel Supernault
7fa9d4dc1b
Update AvatarController, fix store bug 2022-02-09 19:57:12 -07:00
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