Commit graph

339 commits

Author SHA1 Message Date
Daniel Supernault
04e8c96a7e
Update status deletion, fix database lock issues and side effects 2022-10-07 03:15:34 -06:00
Daniel Supernault
58b331d22e
Update ApiV1Controller, include self likes in favourited_by endpoint 2022-10-04 23:18:25 -06:00
Daniel Supernault
3bf792072a
Update CollectionService 2022-10-01 00:07:28 -06:00
Daniel Supernault
95b5861094
Update ApiV1Controller, add comments_disabled param to /api/v1/statuses endpoint 2022-09-29 01:11:29 -06:00
Daniel Supernault
7ae21fc396
Update ApiV1Controller, add collection_ids to /api/v1/statuses endpoint 2022-09-28 23:48:46 -06:00
Daniel Supernault
d06fac072c
Update ApiV1Controller, fix mute/blocks orderBy 2022-09-24 18:07:24 -06:00
Daniel Supernault
364adb4387
Update ApiV1Controller, fix mute/block entities 2022-09-23 01:35:42 -06:00
Daniel Supernault
ef0d1f84ae
Update ApiV1Controller, add optional place_id parameter to POST /api/v1/statuses endpoint 2022-09-19 00:48:08 -06:00
Daniel Supernault
4fe07e6fe2
Update ApiV1Controller, fix pagination header. Fixes #3354 2022-09-18 21:44:37 -06:00
Daniel Supernault
374bfdae15
Update ApiV1Controller, normalize profile id comparison 2022-09-15 20:49:37 -06:00
Daniel Supernault
796ad37419
Update ApiV1Controller 2022-09-12 21:27:53 -06:00
Daniel Supernault
61d26e85cd
Update ApiV1Controller update_credentials endpoint to support app (_pe) response 2022-09-11 02:48:47 -06:00
Daniel Supernault
c91a6a7542
Update ApiV1Controller, fix typo in statusFavouriteById method 2022-09-01 01:33:22 -06:00
Daniel Supernault
61f230aa9e
Update ApiV1Controller 2022-08-31 18:44:30 -06:00
Daniel Supernault
c3391c036a
Update ApiV1Controller 2022-08-30 00:51:15 -06:00
Daniel Supernault
016b11f301
Refactor discover accounts endpoint, cache popular accounts and remove following check as most invocations are from new accounts 2022-08-20 06:07:52 -06:00
Daniel Supernault
f6ed560e78
Limit NotificationService to 400 items 2022-08-17 23:08:40 -06:00
Daniel Supernault
c3e8a0e439
Improve mute/block v1 api endpoints, fixes #3540 2022-08-15 21:45:30 -06:00
Daniel Supernault
1545e37cdb
Enforce blocks on incoming likes, shares, replies and follows 2022-08-07 20:59:36 -06:00
Daniel Supernault
2fb18b7dff
Add configuration to v1/instance endpoint. Fixes #3605 2022-08-05 22:01:30 -06:00
Daniel Supernault
b700790bb4
Update update_credentials endpoint, enforce validator limits 2022-08-01 19:47:11 -06:00
Daniel Supernault
44de1ad748
Update unfollow api endpoint to only decrement when appropriate, fixes #3539 2022-08-01 19:05:22 -06:00
Daniel Supernault
abb4f7e1ec
Hydrate favourited and reblogged state on v1 context endpoint 2022-07-25 23:35:44 -06:00
Daniel Supernault
54a5c3be34
Fix v1 api block/mute endpoints, refresh RelationshipService cache after relationship changes 2022-07-19 23:22:31 -06:00
Daniel Supernault
aa498af073
Add live stream events 2022-06-26 16:06:08 -06:00
Daniel Supernault
5254f3921b
Update ApiV1Controller, fix source note 2022-06-23 01:09:25 -06:00
Daniel Supernault
a7613baee6
Update ApiV1Controller, fix public timeline min/max id pagination 2022-06-15 03:32:04 -06:00
Daniel Supernault
11e99d782f
Update ApiV1Controller, fix network timeline 2022-06-15 01:10:39 -06:00
Daniel Supernault
4ff179ad4d
Update ApiV1Controller, improve local/remote logic in public timeline endpoint 2022-06-13 03:08:43 -06:00
Daniel Supernault
e97900a060
Update follower counts on follow_request approval 2022-06-11 05:16:38 -06:00
Daniel Supernault
b4dda5776b
Implement follow request api endpoints 2022-06-11 03:31:24 -06:00
Daniel Supernault
aded149fae
Update AccountController, include account entities in follow_requests.json endpoint 2022-06-11 00:37:36 -06:00
Daniel Supernault
f54fd6e9cc
Update ApiV1Controller, add network timeline support via NetworkTimelineService 2022-06-09 05:11:39 -06:00
Daniel Supernault
98c2397bf0
Update ApiV1Controller, fix non-public visibility inclusion on home timeline 2022-06-05 03:24:44 -06:00
noellabo
2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 2022-05-21 05:14:22 +09:00
noellabo
1bdfa7a4a2 Fix instance API 2022-05-21 05:13:03 +09:00
Daniel Supernault
d48642132b
Add custom content warnings/spoiler text 2022-05-18 02:58:49 -06:00
Daniel Supernault
71ba5fedc2
Update Like model, bump max likes per day from 100 to 200 2022-05-09 00:33:01 -06:00
Daniel Supernault
f07cc14c4f
Add /api/v2/media endpoint, fixes #3405 2022-04-30 12:29:39 -06:00
Daniel Supernault
f34a1e9d8e
Add Conversations model 2022-04-20 05:07:20 -06:00
Daniel Supernault
cc6b78c436
Update StatusService 2022-04-18 01:59:27 -06:00
Daniel Supernault
5649873ab8
Update ApiV1Controller, add miissing pagination header 2022-04-02 16:34:12 -06:00
Daniel Supernault
a5cdc28b6c
Update ApiV1Controller, fix timelline pagination 2022-04-02 16:18:13 -06:00
Daniel Supernault
37dfb1014f
Update ApiV1Controller, remove no-preview image from media urls 2022-03-30 20:51:35 -06:00
Daniel Supernault
6057de305e
Update ApiV1Controller, remove pinned attribute to match MastoAPI Status entity 2022-03-25 02:46:12 -06:00
Daniel Supernault
a84ab6ea92
Update ApiV1Controller, update statusCreate entity 2022-03-25 02:10:57 -06:00
Daniel Supernault
db7b1af343
Update ApiV1Controller, fix accountStatusesById endpoint 2022-03-25 00:33:30 -06:00
Daniel Supernault
15eccd443c
Update ApiV1Controller, increase limits from 80 to 100 2022-03-24 23:56:08 -06:00
Daniel Supernault
235d9184c6
Update ApiV1Controller, update markers endpoint 2022-03-24 23:51:44 -06:00
Daniel Supernault
93a9769e47
Update ApiV1Controller, add markers endpoint 2022-03-24 23:37:19 -06:00
Daniel Supernault
fbe07c5161
Update ApiV1Controller, add announcements endpoint 2022-03-24 23:00:55 -06:00
Daniel Supernault
d40a84533a
Update ApiV1Controller, add trends endpoint 2022-03-24 22:57:04 -06:00
Daniel Supernault
8c65d60b77
Update ApiV1Controller, fix tag timeline limits and remove has(media) constraint 2022-03-24 22:41:19 -06:00
Daniel Supernault
c3e56b8722
Update ApiV1Controller, add preferences endpoint 2022-03-24 22:32:16 -06:00
Daniel Supernault
df22f2e4b0
Update ApiV1Controller, increase max limit on timelines 2022-03-24 22:12:07 -06:00
Daniel Supernault
c4d38c201f
Update ApiV1Controller, add apps/verify_credentials endpoint 2022-03-23 18:11:06 -06:00
Daniel Supernault
50baae5269
Update ApiV1Controller, fix apps endpoint 2022-03-23 16:59:18 -06:00
Daniel Supernault
9dac861ebe
Update ApiV1Controller, fix search v2 entities 2022-03-23 05:58:14 -06:00
Daniel Supernault
a87f8301b1
Update ApiV1Controller, fix timeline default limit 2022-03-23 02:54:15 -06:00
Daniel Supernault
b1ab41e0c4
Update ApiV1Controller, fix context entities 2022-03-23 02:41:59 -06:00
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
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
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
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
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
cf40526ef9
Update mobile apis, add blurhash 2021-01-18 18:25:03 -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
f70826e18c
Update status model, use scope over deprecated visibility attribute 2020-12-27 18:00:43 -07:00
Daniel Supernault
4a14e970f0
Update Profile model, improve counter caching 2020-12-10 22:58:13 -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