Commit Graph

383 Commits (42173245fc8029b143eab752cadc0aded1e16ee9)

Author SHA1 Message Date
Daniel Supernault 364adb4387
Update ApiV1Controller, fix mute/block entities 3 years ago
Daniel Supernault ef0d1f84ae
Update ApiV1Controller, add optional place_id parameter to POST /api/v1/statuses endpoint 3 years ago
Daniel Supernault 4fe07e6fe2
Update ApiV1Controller, fix pagination header. Fixes #3354 3 years ago
Daniel Supernault 374bfdae15
Update ApiV1Controller, normalize profile id comparison 3 years ago
Daniel Supernault 796ad37419
Update ApiV1Controller 3 years ago
Daniel Supernault 61d26e85cd
Update ApiV1Controller update_credentials endpoint to support app (_pe) response 3 years ago
Daniel Supernault c91a6a7542
Update ApiV1Controller, fix typo in statusFavouriteById method 3 years ago
Daniel Supernault 61f230aa9e
Update ApiV1Controller 3 years ago
Daniel Supernault c3391c036a
Update ApiV1Controller 3 years ago
Daniel Supernault 016b11f301
Refactor discover accounts endpoint, cache popular accounts and remove following check as most invocations are from new accounts 3 years ago
Daniel Supernault f6ed560e78
Limit NotificationService to 400 items 3 years ago
Daniel Supernault c3e8a0e439
Improve mute/block v1 api endpoints, fixes #3540 3 years ago
Daniel Supernault 1545e37cdb
Enforce blocks on incoming likes, shares, replies and follows 3 years ago
Daniel Supernault 2fb18b7dff
Add configuration to v1/instance endpoint. Fixes #3605 3 years ago
Daniel Supernault b700790bb4
Update update_credentials endpoint, enforce validator limits 3 years ago
Daniel Supernault 44de1ad748
Update unfollow api endpoint to only decrement when appropriate, fixes #3539 3 years ago
Daniel Supernault abb4f7e1ec
Hydrate `favourited` and `reblogged` state on v1 context endpoint 3 years ago
Daniel Supernault 54a5c3be34
Fix v1 api block/mute endpoints, refresh RelationshipService cache after relationship changes 3 years ago
Daniel Supernault aa498af073
Add live stream events 3 years ago
Daniel Supernault 5254f3921b
Update ApiV1Controller, fix source note 3 years ago
Daniel Supernault a7613baee6
Update ApiV1Controller, fix public timeline min/max id pagination 3 years ago
Daniel Supernault 11e99d782f
Update ApiV1Controller, fix network timeline 3 years ago
Daniel Supernault 4ff179ad4d
Update ApiV1Controller, improve local/remote logic in public timeline endpoint 3 years ago
Daniel Supernault e97900a060
Update follower counts on follow_request approval 3 years ago
Daniel Supernault b4dda5776b
Implement follow request api endpoints 3 years ago
Daniel Supernault aded149fae
Update AccountController, include account entities in follow_requests.json endpoint 3 years ago
Daniel Supernault f54fd6e9cc
Update ApiV1Controller, add network timeline support via NetworkTimelineService 3 years ago
Daniel Supernault 98c2397bf0
Update ApiV1Controller, fix non-public visibility inclusion on home timeline 3 years ago
noellabo 2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 3 years ago
noellabo 1bdfa7a4a2 Fix instance API 3 years ago
Daniel Supernault d48642132b
Add custom content warnings/spoiler text 3 years ago
Daniel Supernault 71ba5fedc2
Update Like model, bump max likes per day from 100 to 200 3 years ago
Daniel Supernault f07cc14c4f
Add /api/v2/media endpoint, fixes #3405 3 years ago
Daniel Supernault f34a1e9d8e
Add Conversations model 3 years ago
Daniel Supernault cc6b78c436
Update StatusService 3 years ago
Daniel Supernault 5649873ab8
Update ApiV1Controller, add miissing pagination header 3 years ago
Daniel Supernault a5cdc28b6c
Update ApiV1Controller, fix timelline pagination 3 years ago
Daniel Supernault 37dfb1014f
Update ApiV1Controller, remove no-preview image from media urls 3 years ago
Daniel Supernault 6057de305e
Update ApiV1Controller, remove pinned attribute to match MastoAPI Status entity 3 years ago
Daniel Supernault a84ab6ea92
Update ApiV1Controller, update statusCreate entity 3 years ago
Daniel Supernault db7b1af343
Update ApiV1Controller, fix accountStatusesById endpoint 3 years ago
Daniel Supernault 15eccd443c
Update ApiV1Controller, increase limits from 80 to 100 3 years ago
Daniel Supernault 235d9184c6
Update ApiV1Controller, update markers endpoint 3 years ago
Daniel Supernault 93a9769e47
Update ApiV1Controller, add markers endpoint 3 years ago
Daniel Supernault fbe07c5161
Update ApiV1Controller, add announcements endpoint 3 years ago
Daniel Supernault d40a84533a
Update ApiV1Controller, add trends endpoint 3 years ago
Daniel Supernault 8c65d60b77
Update ApiV1Controller, fix tag timeline limits and remove has(media) constraint 3 years ago
Daniel Supernault c3e56b8722
Update ApiV1Controller, add preferences endpoint 3 years ago
Daniel Supernault df22f2e4b0
Update ApiV1Controller, increase max limit on timelines 3 years ago
Daniel Supernault c4d38c201f
Update ApiV1Controller, add apps/verify_credentials endpoint 3 years ago
Daniel Supernault 50baae5269
Update ApiV1Controller, fix apps endpoint 3 years ago
Daniel Supernault 9dac861ebe
Update ApiV1Controller, fix search v2 entities 3 years ago
Daniel Supernault a87f8301b1
Update ApiV1Controller, fix timeline default limit 3 years ago
Daniel Supernault b1ab41e0c4
Update ApiV1Controller, fix context entities 3 years ago
Daniel Supernault afe903c36e
Update ApiV1Controller, fix notification entities 3 years ago
Daniel Supernault 244869b7c2
Update ApiV1Controller, fix statusCreate validator 3 years ago
Daniel Supernault b6b15b0cce
Update ApiV1Controller, fix statusCreate validator 3 years ago
Daniel Supernault 89303fa478
Update ApiV1Controller, marshal json without escaped slashes 3 years ago
Daniel Supernault 3a3997fa91
Update ApiV1Controller, fix instance endpoint 3 years ago
Daniel Supernault c383f1008d
Update ApiV1Controller, fix instance endpoint 3 years ago
Daniel Supernault c13bca7629
Update ApiV1Controller, fix unlisted replies 3 years ago
Daniel Supernault b3ef2b2902
Improve reblog api performance 3 years ago
Daniel Supernault 3ef6c9fe81
Improve reblog api performance 3 years ago
Daniel Supernault 3e670774c0
Update ApiV1Controller, fixes #3288 3 years ago
Daniel Supernault 548a12a4c2
Update StatusController, set missing reblog/share type 3 years ago
Daniel Supernault 2848620a32
Update ApiV1Controller, improve favourites endpoint 3 years ago
Daniel Supernault 151dc17c25
Update ApiV1Controller, improve favourites endpoint 3 years ago
Daniel Supernault bae6126db3
Update compiled assets 3 years ago
Daniel Supernault cd78560184
Update ApiV1Controller, add validation messages to update_credentials endpoint 3 years ago
Daniel Supernault 6cfd6be523
Add ReblogService, improve reblogged state for api entities 3 years ago
Daniel Supernault 73226360fc
Update ApiV1Controller, fix private status replies returning 404 3 years ago
Daniel Supernault 3c261bbfec
Update ApiV1Controller, invalidate status reply cache on new reply 3 years ago
Daniel Supernault 16e725183e
Update ApiV1Controller, add custom_emoji endpoint 3 years ago
Daniel Supernault 4b6effb9c8
Update ApiV1Controller, improve follow count cache invalidation 3 years ago
Daniel Supernault 803bbac0ea
Update compiled assets 3 years ago
Daniel Supernault 350585d316
Fix typo in ApiV1Controller 3 years ago
Daniel Supernault de42d84c11
Update ApiV1Controller, fix reblogs endpoints 3 years ago
Daniel Supernault d6d99385db
Update ApiV1Controller, fix favourites endpoints 3 years ago
Daniel Supernault 6fc0dcb34d
Update ApiV1Controller, fix home timeline entities 3 years ago
Daniel Supernault 80c7def3df
Update ApiV1Controller, fix public timeline endpoint 3 years ago
Daniel Supernault a6261221ad
Update ApiV1Controller, fix version on instance endpoint 3 years ago
Daniel Supernault 4fe421a166
Update ApiV1Controller 3 years ago
Daniel Supernault 08246f2482
Update ApiV1Controller, fix account settings bug 3 years ago
Daniel Supernault da6312c2b0
Update ApiV1Controller 3 years ago
Daniel Supernault cdf78e23a4
Update ApiV1Controller, improve instance endpoint 3 years ago
Daniel Supernault e825b07d88
Update ApiV1Controller 3 years ago
Daniel Supernault 46485426ea
Update ApiV1Controller, add mastoapi strict mode 3 years ago
Daniel Supernault fcabc9be02
Fix Direct Message conversations endpoint on postgres instances 3 years ago
Daniel Supernault 415826f253
Update ApiV1Controller, fix illegal operator bug by setting default min_id 3 years ago
Daniel Supernault b00a453b99
Update status api, autolink caption before returning response 3 years ago
Daniel Supernault 5828a863cb
Update web routes 3 years ago
Daniel Supernault aee9b994e3
Improve DiscoverService 3 years ago
Daniel Supernault 367d74fbfb
Update ApiV1Controller, use DiscoverService for discoverPosts method 3 years ago
Daniel Supernault 466286af92
Update ApiV1Controller, improve statusesById perf and dispatch CommentPipeline job when applicable 3 years ago
Daniel Supernault 079804e65b
Update ApiV1Controller, improve settings and add discoverPosts endpoint 3 years ago
Daniel Supernault 7df3540b08
Update verify_credentials api endpoint to improve performance 4 years ago
Daniel Supernault 192553ff77
Update public timeline api, add experimental cache 4 years ago
Daniel Supernault 37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 4 years ago
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. 4 years ago
Daniel Supernault 0fc3a1d6a5
Formatting 4 years ago
daniel 907945a7a0
Merge pull request #2923 from Wv5twkFEKh54vo4tta9yu7dHa3/patch-1
Fix media upload
4 years ago
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.
4 years ago
Daniel Supernault 0584f9ee95
Update ApiV1Controller, fix empty public timeline bug 4 years ago
Daniel Supernault f9516ac316
Update ApiControllers, use NotificationService 4 years ago
Daniel Supernault 2a791f1991
Update ApiV1Controller, add default license support 4 years ago
Daniel Supernault 072d55d1a8
Update Compose Apis, make media descriptions/alt text length limit configurable. Default length: 1000 4 years ago
Daniel Supernault f39f32c866
Update ApiController, fix notification bug 4 years ago
Daniel Supernault 352aa57346
Update ApiV1Controller, use ProfileService for verify_credentials 4 years ago
Daniel Supernault f67c67bce1
Update ApiV1Controller, use PublicTimelineService 4 years ago
Daniel Supernault d43e6d8d07
Update NotificationService, use zrevrangebyscore for api 4 years ago
Daniel Supernault 9ac8bbde91
Update ApiController, fix hashtag endpoint 4 years ago
Daniel Supernault c8e40e0fd3
Update SharePipeline, add Undo->Announce support 4 years ago
Daniel Supernault f1208de0ef
Update ApiController, fix nulls in hashtag endpoint 4 years ago
Daniel Supernault c8c6b98380
Update like api, store status_profile_id and is_comment 4 years ago
Daniel Supernault 8ee104363a
Update Profile, add linkified bio, joined date, follows you label and improved website handling 4 years ago
Daniel Supernault c8e43c6094
Update api, remove auth requirement for hashtag timeline 4 years ago
Daniel Supernault 241ae0368f
Add hashtag timeline to v1 api 4 years ago
Daniel Supernault 955696b8a0
Update site config, fix boolean casting 4 years ago
Daniel Supernault a4efbb75d8
Update admin settings, add rules 4 years ago
Daniel Supernault 7895097fc1
Update config() to config_cache() 4 years ago
Daniel Supernault 3a9203e039
Update config() to config_cache() 4 years ago
Daniel Supernault 3e52458889
Update config() to config_cache() 4 years ago
Daniel Supernault 27b722e7a7
Update config() to config_cache() 4 years ago
Daniel Supernault c0e693cc73
Update config() to config_cache() 4 years ago
Daniel Supernault a9f009305c
Update config() to config_cache() 4 years ago
Daniel Supernault 1d54204635
Update config() to config_cache() 4 years ago
Daniel Supernault 61254b907f
Update site name config 4 years ago
Daniel Supernault 668e936eb5
Update instance endpoint, add custom description 4 years ago
Daniel Supernault 64b86546b9
Update ApiV1Controller, add missing instance api attributes 4 years ago
Daniel Supernault 886ea6175d
Update ApiV1Controller, add missing variable 4 years ago
Daniel Supernault 42375b3d79
Update Compose Apis, refactor rate limits 4 years ago
Daniel Supernault f53bfa6fa6
Update Compose apis, prevent private accounts from posting public or unlisted scopes 4 years ago
Daniel Supernault 05b9445c8f
Update ApiV1Controller, add StatusService del calls to update likes_count, reblogs_count and reply_count 4 years ago
Daniel Supernault ab888b2e70
Add StatusLabelService 4 years ago
Daniel Supernault cf40526ef9
Update mobile apis, add blurhash 4 years ago
Daniel Supernault 51f8fe5bde
Update ApiV1Controller 4 years ago
Daniel Supernault 96afc3e781
Update Controllers, add last_active_at logic 4 years ago
Daniel Supernault cc3053ed5d
Update api controllers 4 years ago
Daniel Supernault f70826e18c
Update status model, use scope over deprecated visibility attribute 4 years ago
Daniel Supernault 4a14e970f0
Update Profile model, improve counter caching 4 years ago
Daniel Supernault 0718711d09
Update ApiController, return status object after deletion 4 years ago
Daniel Supernault 597378bfb4
Update upload endpoints with MediaBlocklist checks 5 years ago
Daniel Supernault 588642123e
Update Api controllers, use MediaPathService 5 years ago
Daniel Supernault 00a96a15f0
Update ApiV1Controller, wrap ancestor in array 5 years ago
Daniel Supernault a0bde855bd
Update ApiV1Controller, add status ancestor and descendant context 5 years ago
Daniel Supernault b7ee9981eb
Update ApiV1Controller, fix instance endpoint #2233 5 years ago
Daniel Supernault c74cd0bdf0
Add missing bookmark api endpoints 5 years ago
Daniel Supernault 99cb48c55e
Update v1 API, add bookmarks 5 years ago
Daniel Supernault aa49afc755
Update ApiV1Controller, fix broken auth check on public timelines. Fixes #2168 5 years ago
Daniel Supernault 285bd4854b
Update ApiV1Controller, enforce public timeline setting 5 years ago
Daniel Supernault 324ccd0ab8
Update ApiV1Controller, fixes #2112 5 years ago
Daniel Supernault 0540a28ad1
Update oauth api, allow multiple redirect_uris. Fixes #2106 5 years ago
Daniel Supernault 01525cba4c
Update ApiV1Controller, fix unfavourite bug #2088 5 years ago
Daniel Supernault b6f56c2751
Update ApiV1Controller, fix link header pagination 5 years ago
Daniel Supernault e3b7c7ccb1
Update ApiV1Controller, fix link header pagination 5 years ago
Daniel Supernault 0a9654e3b8
Update ApiV1Controller, fix link header pagination 5 years ago
Daniel Supernault 737f3da5a4
Update ApiV1Controller, fix link header pagination 5 years ago
Daniel Supernault ebbdb4ab96
Update ApiV1Controller 5 years ago
Daniel Supernault 4e3c952cf3
Update v1 notifications api, fix optional params 5 years ago
Daniel Supernault eeca1fbc54
Update ApiV1Controller 5 years ago
Daniel Supernault 7bb9fb1f01
Update ApiV1Controller 5 years ago
Daniel Supernault a73fad75b0
Update ApiV1Controller, fix update_credentials endpoint 5 years ago
Daniel Supernault 310f668814
Update ApiV1Controller 5 years ago
Daniel Supernault 69d36fc1c1
Update ApiV1Controller, add v2 search endpoint 5 years ago
Daniel Supernault e2828f4b85
Update ApiV1Controller 5 years ago
Daniel Supernault bd45728615
Update ApiV1Controller 5 years ago
Daniel Supernault fb91892ee2
Update ApiV1Controller, fix follow/unfollow endpoints 5 years ago
Daniel Supernault 28bc9c1923
Update status edit view 5 years ago
Daniel Supernault 5740746339
Update APIV1Controller, add ```mobile_apis``` to /api/v1/instance endpoint 6 years ago
Thomas 2a849be650 Add some elements in api/v1/instance 6 years ago
Daniel Supernault 788f76cf35
Update ApiControllers, fix missing share/like counts 6 years ago
Daniel Supernault 1346b75887
Update ApiController, fixes #1764 6 years ago
Daniel Supernault 7c17c0e4ff
Update ApiController, oof 6 years ago
Daniel Supernault 8752d21301
Update ApiController 6 years ago
Daniel Supernault 9a50a6f627
Update ApiController 6 years ago
Daniel Supernault a79d23d152
Update StatusTransformers 6 years ago
Daniel Supernault 2ff53be458
Add /api/v1/timelines/tag/{hashtag} endpoint 6 years ago
Daniel Supernault 01a3841bc7
Update ApiController 6 years ago
Daniel Supernault 3147fe5ca3
Add /api/v1/statuses/{id}/unreblog endpoint 6 years ago
Daniel Supernault 43cef28296
Add /api/v1/statuses/{id}/reblog endpoint 6 years ago
Daniel Supernault 0a20b8321b
Add /api/v1/statuses endpoint 6 years ago
Daniel Supernault 10cb2d4004
Update ApiController 6 years ago
Daniel Supernault 3aa729a362
Add /api/v1/statuses endpoint 6 years ago
Daniel Supernault 5cdff57d59
Add /api/v1/statuses/{id}/favourited_by endpoint 6 years ago
Daniel Supernault 118006ed2d
Add /api/v1/statuses/{id}/reblogged_by endpoint 6 years ago
Daniel Supernault 9225120835
Add /api/v1/statuses/{id}/card endpoint 6 years ago
Daniel Supernault 3570e7acbb
Update api controller 6 years ago
Daniel Supernault 530149f0f4
Update AccountTransformer 6 years ago
Daniel Supernault 55ee29f301
Update APIV1Controller, fix cors bug 6 years ago
Daniel Supernault 11cd75e8e8
Update ApiController 6 years ago
Daniel Supernault 43c18e866c
Update api controller 6 years ago
Daniel Supernault be7eae8494
Update verify_credentials endpoint 6 years ago
Daniel Supernault f3eeb9c978
Add /api/v1/timelines/public endpoint 6 years ago
Daniel Supernault 336f906968
Add /api/v1/conversations endpoint 6 years ago
Daniel Supernault cf3405d852
Add /api/v1/timelines/home endpoint 6 years ago
Daniel Supernault 39449f3638
Add /api/v1/notifications endpoint 6 years ago
Daniel Supernault 41c96ddd6a
Add /api/v1/accounts/{id}/unmute endpoint 6 years ago
Daniel Supernault 3e98dce4de
Add /api/v1/accounts/{id}/mute endpoint 6 years ago
Daniel Supernault b280d183ad
Add /api/v1/mutes endpoint 6 years ago
Daniel Supernault fcf231f430
Add /api/v1/media/{id} endpoint 6 years ago