Commit graph

458 commits

Author SHA1 Message Date
Daniel Supernault
9873913921
Update ApiV1Controller, fix account blocks.Closes #4304 2023-04-20 05:27:44 -06:00
Daniel Supernault
50ab2e2039
Add cloud ip bans to BouncerService 2023-04-20 01:08:54 -06:00
Daniel Supernault
22da2647c7
Update filesystems, store all files as public by default and add default permissions. Fixes #4273, #4275. Closes #3825 2023-04-03 19:15:20 -06:00
Daniel Supernault
73aa01e8e0
Update ApiV1Controller, filter mute/blocks on statuses/context and statuses/replies endpoints 2023-04-03 18:51:20 -06:00
Daniel Supernault
8e71e0c03e
Update ApiV1Controller, fix blocking remote accounts. Closes #4256 2023-03-28 20:21:54 -06:00
Daniel Supernault
4d5614726f
Update ApiV1Controller, improve timeline account hydration 2023-03-25 06:30:33 -06:00
Daniel Supernault
4e79c77282
Update ApiV1Controller, improve timeline account hydration 2023-03-25 06:19:04 -06:00
Daniel Supernault
5a67e9f93b
Update image pipeline, dispatch jobs to mmo queue and add "replace_id" param to v2/media endpoint to dispatch delayed MediaDeletePipeline job for original media id to improve media gc on supported clients 2023-03-23 01:34:37 -06:00
Daniel Supernault
da38b33a24
Remove deprecated routes/methods 2023-03-18 22:15:56 -06:00
Daniel Supernault
4e1d0ed596
Add admin report email notifications 2023-03-13 05:55:56 -06:00
Daniel Supernault
deb2697115
Update ApiV1Controller, preserve album order. Fixes #3708 2023-03-11 05:49:39 -07:00
Daniel Supernault
5cf9ba785f
Update ApiV1Controller, increase home timeline max limit to 100 to fix compatibility with mastoapi 2023-03-11 05:45:20 -07:00
Daniel Supernault
a8ec8445a5
Update ApiV1Controller, fix home timeline bug 2023-03-05 08:18:22 -07:00
Daniel Supernault
4716c280c5
Update ApiV1Controller, fix following/follower entities, use masto schema by default and update components accordingly 2023-03-05 01:03:34 -07:00
Daniel Supernault
e346b675d4
Update ApiV1Controller, fix link header pagination in /api/v1/statuses/{id}/reblogged_by 2023-03-05 00:21:42 -07:00
Daniel Supernault
adc82ecab3
Update ApiV1Controller, fix link header pagination in /api/v1/statuses/{id}/favourited_by 2023-03-04 23:47:29 -07:00
Daniel Supernault
713aa5fd7d
Update ApiV1Controller, add cursor pagination and pagination link headers to account/{id}/followers and account/{id}/following endpoints with legacy support for page= simple pagination 2023-03-04 22:20:16 -07:00
Daniel Supernault
f4a69631a4
Update ApiV1Controller, allow optional mastodonMode on v2/search endpoint 2023-03-04 15:09:45 -07:00
Daniel Supernault
f31646502f
Update ApiV1Controller, fix media update. Fixes #4196 2023-03-03 21:22:35 -07:00
Daniel Supernault
6153b620bf
Update FollowPipeline, fix followers_count and following_count counters 2023-03-03 04:08:29 -07:00
Daniel Supernault
5b879f0156
Update mute/block logic with admin defined limits and improved filtering to skip deleted accounts 2023-03-01 04:16:42 -07:00
Daniel Supernault
9bbd6dcd23
Update v1.1 api, add post moderation endpoint 2023-02-23 21:51:27 -07:00
Daniel Supernault
dda9e77024
Update ApiV1Controller, add Redis facade 2023-02-10 06:14:51 -07:00
Daniel Supernault
94069db9b8
Update ApiV1Controller, add pixelfed entity support to bookmarks endpoint 2023-02-10 04:53:36 -07:00
Daniel Supernault
e343061a13
Update ApiV1Controller and BookmarkController, fix api differences and allow unbookmarking regardless of relationship 2023-02-10 04:06:18 -07:00
Daniel Supernault
e8a6a8c71e
Update ApiV1Controller, filter conversations without last_status 2023-02-10 02:02:07 -07:00
Daniel Supernault
29b1af100c
Update ApiV1Controller, add BookmarkService logic to bookmark endpoints 2023-02-10 02:01:15 -07:00
Daniel Supernault
1a130f3e33
Update ApiV1Controller, fix favourited_by and reblogged_by follows attribute 2023-02-08 02:47:24 -07:00
Daniel Supernault
e1c7e7015e
Update ApiV1Controller, use cursor pagination for favourited_by and reblogged_by endpoints 2023-02-08 02:07:35 -07:00
Daniel Supernault
6deb09de28
Update ApiV1Controller 2023-02-07 22:40:06 -07:00
Daniel Supernault
9f66d6b640
Update ApiV1Controller, fix account statuses and bookmark pagination 2023-02-07 22:02:23 -07:00
Daniel Supernault
fab0c9cca9
Update ApiV1Controller 2023-02-06 05:39:36 -07:00
Daniel Supernault
2881b6626a
Update ApiV1Controller 2023-02-05 22:50:12 -07:00
Daniel Supernault
80e6a5a98f
Update ComposeController, fix validation issue 2023-02-01 22:58:06 -07:00
Daniel Supernault
83e1e203ce
Update SharePipeline, fix share handling and notification generation 2023-01-31 02:27:23 -07:00
Daniel Supernault
84fb59d00a
Update AdminApiController, fix postgres support 2023-01-29 02:19:16 -07:00
Daniel Supernault
869c3ed1fa
Update ApiV1Controller, allow description (alt text) updates after status is published 2023-01-29 00:27:23 -07:00
Daniel Supernault
9ab9ffbafe
Add places api endpoints 2023-01-27 20:52:12 -07:00
Daniel Supernault
94395be9c4
Add archive api endpoints 2023-01-27 19:29:44 -07:00
Daniel Supernault
f0e648b7b8
Update ApiV1Controller, fix bookmarks endpoint 2023-01-27 00:53:47 -07:00
Daniel Supernault
6cfbedd9fd
Update ApiV1DotController, fix inAppRegistrationConfirm logic 2023-01-17 01:47:28 -07:00
Daniel Supernault
d5dc928224
Update admin api 2023-01-15 02:36:55 -07:00
Daniel Supernault
a224c71151
Add admin api 2023-01-14 20:33:46 -07:00
Daniel Supernault
b9154e3090
Update api routes 2022-12-30 23:23:39 -07:00
Daniel Supernault
3328b367fd
Add optional home feed caching 2022-12-16 00:43:20 -07:00
Daniel Supernault
2b0db8121a
Update ApiV1Controller, remove min avatar size limit, fixes #3715 2022-12-12 23:56:05 -07:00
Daniel Supernault
aaed2bf66e
Dispatch follow accept/reject pipeline jobs to follow queue 2022-12-12 20:43:51 -07:00
Daniel Supernault
81f7d17263
Update FollowerService, improve cache invalidation 2022-12-07 02:50:13 -07:00
Daniel Supernault
59e818cbbd
Update iar 2022-12-02 05:29:26 -07:00
Daniel Supernault
0ce484c56f
Update ApiV1Dot1Controller 2022-11-28 02:34:30 -07:00
Daniel Supernault
772cfb9cee
Initial in-app registration logic 2022-11-25 20:49:06 -07:00
Daniel Supernault
e71972d8f1
Update ApiV1Controller, map AccountService 2022-11-17 20:13:26 -07:00
Daniel Supernault
1d52ad0b27
Update ApiV1Controller, fix followAccountById with firstOrCreate() 2022-11-17 18:59:51 -07:00
Daniel Supernault
94697d536b
Add Server Directory integration 2022-11-13 20:11:07 -07:00
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
08ab19f0ea
Update v1.1 api 2022-09-25 08:16:01 -06:00
Daniel Supernault
6b2f6b3c22
Update v1.1 api 2022-09-25 08:11:44 -06:00
Daniel Supernault
12f9539054
Update v1.1 api 2022-09-25 03:28:43 -06:00
Daniel Supernault
fa88cf4ea6
Update v1.1 api 2022-09-25 03:00:00 -06:00
Daniel Supernault
34b57783c4
Update v1.1 api 2022-09-24 23:38:08 -06:00
Daniel Supernault
613e98ce09
Update v1.1 api 2022-09-24 23:20:45 -06:00
Daniel Supernault
78d82c7c2c
Update v1.1 api 2022-09-24 22:31:17 -06:00
Daniel Supernault
491843ac6c
Update v1.1 api 2022-09-24 20:52:19 -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
842f40a1b5
Update ApiV1Dot1Controller 2022-09-19 03:49:45 -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
5ea12601ce
Add DELETE /api/v1.1/accounts/avatar api endpoint 2022-08-02 00:57:46 -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
89abbe200d
Add report api endpoint 2022-07-19 20:05:00 -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
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