Commit graph

492 commits

Author SHA1 Message Date
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
Daniel Supernault
39f3e3138d
Add /api/v1/media endpoint 2019-09-25 22:54:05 -06:00
Daniel Supernault
dba172dfe7
Add /api/v1/accounts/{id}/lists endpoint 2019-09-25 22:12:39 -06:00
Daniel Supernault
2a106c4e12
Add /api/v1/lists endpoint 2019-09-25 22:08:22 -06:00
Daniel Supernault
e52aeeedad
Add /api/v1/suggestions endpoint 2019-09-25 22:04:02 -06:00
Daniel Supernault
62aa922aed
Add /api/v1/follow_requests/{id}/reject endpoint 2019-09-25 21:59:17 -06:00
Daniel Supernault
7bdd9b2a14
Add /api/v1/follow_requests/{id}/authorize endpoint 2019-09-25 21:56:56 -06:00
Daniel Supernault
9726913622
Add /api/v1/follow_requests endpoint 2019-09-25 21:51:51 -06:00
Daniel Supernault
b3d82edd0f
Add /api/v1/filters endpoint 2019-09-25 21:28:30 -06:00
Daniel Supernault
437e18e3ad
Add /api/v1/statuses/{id}/unfavourite endpoint 2019-09-25 21:10:17 -06:00
Daniel Supernault
4edeba17ba
Add /api/v1/statuses/{id}/favourite endpoint 2019-09-25 21:06:43 -06:00
Daniel Supernault
b9cc06daa5
Add /api/v1/favourites endpoint 2019-09-25 13:46:47 -06:00
Daniel Supernault
1f16221eb2
Add /api/v1/endorsements endpoint 2019-09-25 02:29:52 -06:00
Daniel Supernault
83a6313f09
Add /api/v1/domain_blocks endpoint 2019-09-25 02:21:36 -06:00
Daniel Supernault
6e43431a67
Add /api/v1/custom_emojis endpoint 2019-09-25 01:17:25 -06:00
Daniel Supernault
35226c99e2
Add /api/v1/accounts/{id}/unblock endpoint 2019-09-25 01:10:01 -06:00
Daniel Supernault
c6b1ed97f9
Add /api/v1/accounts/{id}/block endpoint 2019-09-25 01:02:28 -06:00
Daniel Supernault
ac9f1bc04e
Add /api/v1/blocks endpoint 2019-09-25 00:46:06 -06:00
Daniel Supernault
b1fccf6d82
Add /api/v1/accounts/search endpoint 2019-09-25 00:07:05 -06:00
Daniel Supernault
4b9f7d6b14
Add /api/v1/accounts/relationships endpoint 2019-09-24 23:26:26 -06:00
Daniel Supernault
fadc96b2d6
Add /api/v1/accounts/{id}/unfollow endpoint 2019-09-24 22:58:29 -06:00
Daniel Supernault
f383902662
Add /api/v1/accounts/{id}/follow endpoint 2019-09-24 21:37:25 -06:00
Daniel Supernault
bd3f95415e
Fix typo in ApiV1Controller 2019-09-24 21:01:01 -06:00
Daniel Supernault
05968fa135
Fix typo in ApiV1Controller 2019-09-24 20:59:39 -06:00
Daniel Supernault
8ce6c1f2d2
Add /api/v1/accounts/{id}/statuses endpoint 2019-09-24 20:35:07 -06:00
Daniel Supernault
607eb51b4e
Add /api/v1/accounts/{id}/following endpoint 2019-09-24 20:08:44 -06:00
Daniel Supernault
41c91cba43
Add /api/v1/accounts/{id}/followers endpoint 2019-09-24 20:05:40 -06:00
Daniel Supernault
6afd69702a
Add /api/v1/accounts/update_credentials endpoint 2019-09-24 19:47:45 -06:00
Daniel Supernault
653b34ff37
Update api, replace svg logo with png 2019-09-23 19:15:18 -06:00
Daniel Supernault
043b3b51dd
Update BaseApiController, add source to verify_credentials endpoint 2019-09-23 19:08:45 -06:00
Daniel Supernault
6fbbe3202e
Update BaseApiController 2019-09-20 22:59:18 -06:00
Daniel Supernault
a24b4a40e0
Update BaseApiController 2019-09-20 22:31:34 -06:00
Daniel Supernault
9886ec5954
Update BaseApiController 2019-09-20 22:27:00 -06:00
Daniel Supernault
1229cc1521
Update v1 api 2019-09-20 22:01:36 -06:00
Daniel Supernault
951b6fa094
Update ApiV1Controller, add instance method 2019-09-20 21:22:01 -06:00
Daniel Supernault
ec24dec2df
Update ApiController 2019-09-13 21:48:16 -06:00
Daniel Supernault
64e4c002e9
Update ApiController 2019-09-13 19:54:38 -06:00
Daniel Supernault
85835f5a67
Add Api v1 controller 2019-09-13 19:10:22 -06:00
Daniel Supernault
aff20f62cd
Update BaseApiController 2019-09-05 23:09:17 -06:00
Daniel Supernault
89ca18b14e
ComposeUI update 2019-08-22 22:33:04 -06:00
Daniel Supernault
32d7ab091d
Add AdminApiController 2019-08-19 19:07:25 -06:00
Daniel Supernault
2a42a1c02e
Update BaseApiController 2019-08-19 19:06:22 -06:00
Daniel Supernault
295ee0d8f7
Update BaseApiController 2019-08-05 21:02:39 -06:00
Daniel Supernault
5ef7936b48
Update BaseApiController 2019-06-30 22:18:23 -06:00
Daniel Supernault
7869ee9a92
Update BaseApiController 2019-06-03 13:12:37 -06:00
Daniel Supernault
76f6514293
Update BaseApiController 2019-05-26 18:40:09 -06:00
Daniel Supernault
60ead2bab3
Update BaseApiController 2019-04-30 22:51:50 -06:00
Daniel Supernault
2a5dbfbe80
Update BaseApiController 2019-04-29 20:57:48 -06:00
Daniel Supernault
066f1a9282
Update BaseApiController, cache verify_credentials endpoint 2019-04-29 20:37:27 -06:00
Daniel Supernault
080516a7eb
Update BaseApiController 2019-04-29 20:08:02 -06:00
Daniel Supernault
f69407e6e4
Update BaseApiController, remove caching 2019-04-06 22:56:21 -06:00
Daniel Supernault
2348621510
Update BaseApiController 2019-02-27 21:11:56 -07:00
Daniel Supernault
bb0c9fb585
Update BaseApiController 2019-02-25 19:04:59 -07:00
Daniel Supernault
4739c25fe0
Update Cache, prepare for laravel 5.8 2019-02-25 11:56:24 -07:00
Daniel Supernault
9fb6a379cd
Update BaseApiController 2019-02-25 00:03:51 -07:00
Daniel Supernault
1b8783a99f
Update Api Controllers 2019-02-10 21:49:54 -07:00
Daniel Supernault
8722f83040
Update BaseApiController 2019-01-21 13:01:36 -07:00
Daniel Supernault
dc973571d4
Add InstanceApiController 2019-01-02 22:00:31 -07:00
Daniel Supernault
b85d351bc5
Update avatar logic, allow custom file size limits. Fixes #654 2018-12-18 00:09:36 -07:00
Daniel Supernault
90e41d9855
Update BaseApiController 2018-12-10 20:36:53 -07:00
Daniel Supernault
e1449b119a
Update BaseApiController 2018-12-09 16:02:01 -07:00
Daniel Supernault
0376a497ba
Update compose APIs 2018-12-02 18:42:55 -07:00
Daniel Supernault
b5f452d4c1
Update BaseApiControllers 2018-11-04 17:09:45 -07:00
Daniel Supernault
3e09250328
Update BaseApiController 2018-10-20 22:27:27 -06:00
Daniel Supernault
31b34570c0
Update BaseApiController 2018-10-17 12:22:35 -06:00
Daniel Supernault
bfa04b7ad7
Update BaseApiController@accountStatuses, handle visibility scope properly 2018-08-31 18:54:50 -06:00
daniel
b8abbdd90f Apply fixes from StyleCI 2018-08-28 03:07:36 +00:00
Daniel Supernault
d6970d930f
Add avatar cache busting logic 2018-08-12 21:51:05 -06:00
Daniel Supernault
522729b050
Update BaseApiController, add avatar update method 2018-08-12 20:38:47 -06:00
Daniel Supernault
86d7d1a928 Add BaseApiController 2018-08-05 13:17:28 -06:00