Commit graph

3355 commits

Author SHA1 Message Date
Daniel Supernault
d39946b045
Update ApiV1Controller, add permissions check 2024-01-02 22:04:27 -07:00
Daniel Supernault
7dbdbf15a5
Add Roles & Parental Controls 2023-12-27 02:51:47 -07:00
Daniel Supernault
adfaa2b140
Update AP ProfileTransformer, add published attribute 2023-12-25 00:30:05 -07:00
Daniel Supernault
1be21c76f3
Fix StatusHashtag delete bug 2023-12-21 06:18:51 -07:00
Daniel Supernault
73a0f528ab
Update user domain block commands 2023-12-21 05:00:35 -07:00
Daniel Supernault
fa0380ac3b
Update UserObserver, add default domain blocks logic 2023-12-21 04:47:09 -07:00
Daniel Supernault
519c7a3735
Update domain block commands 2023-12-21 03:48:08 -07:00
Daniel Supernault
f3f0175c84
Add DefaultDomainBlock model + migration 2023-12-21 03:47:23 -07:00
Daniel Supernault
3e28cf661b
Add user domain block commands 2023-12-21 03:35:47 -07:00
Daniel Supernault
6c39df7fb3
Update Inbox, import AccountService 2023-12-21 02:08:44 -07:00
Daniel Supernault
5169936062
Update MarkerService, fix php deprecation warning 2023-12-21 02:05:26 -07:00
Daniel Supernault
89b8e87477
Update ApiV1Controller, apply user domain blocks filtering to hashtag timelines 2023-12-21 02:03:15 -07:00
Daniel Supernault
fcbcd7ec73
Update Delete pipelines, delete status hashtags quietly 2023-12-21 01:53:49 -07:00
Daniel Supernault
c3f16c87a3
Update SearchApiV2Service, add user domain blocks filtering 2023-12-21 01:05:49 -07:00
Daniel Supernault
21947835f8
Update ApiV1Controller, use domainBlock filtering on public/network feeds 2023-12-21 00:46:24 -07:00
Daniel Supernault
6d81214138
Update DomainBlockController, purge domainBlocks cache 2023-12-21 00:44:54 -07:00
Daniel Supernault
6d55cb27ee
Update UserFilterService, add domainBlocks method 2023-12-21 00:42:26 -07:00
Daniel Supernault
b3148b788e
Update HomeTimelineService, add domain blocks filtering to warmCache method 2023-12-21 00:21:33 -07:00
Daniel Supernault
29aa87c282
Update HomeFeedPipeline jobs, add domain block filtering 2023-12-21 00:17:20 -07:00
Daniel Supernault
0455dd1996
Update UserFilter model, add user relation 2023-12-20 23:55:26 -07:00
Daniel Supernault
dd16189fc8
Update ImageResize job, add more logging 2023-12-20 23:10:57 -07:00
Daniel Supernault
87bba03d23
Update DomainBlockController, dispatch jobies 2023-12-19 06:24:51 -07:00
Daniel Supernault
54adbeb059
Update FeedRemoveDomainPipeline, make batchable 2023-12-19 06:04:03 -07:00
Daniel Supernault
9d621108b0
Add ProfilePurgeNotificationsByDomain pipeline job 2023-12-19 06:03:36 -07:00
Daniel Supernault
484a377a44
Add ProfilePurgeFollowersByDomain pipeline job 2023-12-19 06:02:58 -07:00
Daniel Supernault
1664a5bc52
Update FollowerService, add $silent param to remove method to more efficently purge relationships 2023-12-19 05:46:06 -07:00
Daniel Supernault
a492a95a0e
Update AdminShadowFilter, fix deleted profile bug 2023-12-19 04:01:41 -07:00
Daniel Supernault
819e7d3b32
Add FeedRemoveDomainPipeline 2023-12-19 01:10:48 -07:00
Daniel Supernault
8a0ceaf801
Update Inbox, add user domain blocks to Story reaction handlers 2023-12-18 22:57:53 -07:00
Daniel Supernault
491468612f
Update Inbox, add user domain blocks to Undo handler 2023-12-18 22:49:31 -07:00
Daniel Supernault
e32e50da7b
Update Inbox, add user domain blocks to Like handler 2023-12-18 22:47:03 -07:00
Daniel Supernault
3fbf8f159e
Update Inbox, add user domain blocks to Accept handler 2023-12-18 22:46:09 -07:00
Daniel Supernault
279fb28e2a
Update Inbox, add user domain blocks to Announce handler 2023-12-18 22:42:21 -07:00
Daniel Supernault
c89dc45e8d
Update Inbox, add user domain blocks to Follow handler 2023-12-18 22:37:34 -07:00
Daniel Supernault
a7f96d8194
Update Inbox, add user domain blocks to Direct Message handler 2023-12-18 22:34:53 -07:00
Daniel Supernault
e7c08fbbb2
Update AccountService, add blocksDomain method 2023-12-18 22:32:48 -07:00
Daniel Supernault
60e053c936
Update ApiV1Controller, update discoverAccountsPopular method 2023-12-16 06:22:56 -07:00
Daniel Supernault
d3f032b2ec
Update FollowerService, add quickCheck to follows method for non cold-boot checks 2023-12-16 06:11:13 -07:00
Daniel Supernault
28da107f66
Add DomainBlockController 2023-12-16 05:56:37 -07:00
Daniel Supernault
28da44beec
Update PrivacySettings, add domainBlocks 2023-12-16 05:42:56 -07:00
Daniel Supernault
5cea5aab3c
Add Domain Blocks 2023-12-16 04:56:22 -07:00
Daniel Supernault
b641954549
Update ApiV1Controller, set last_active_at 2023-12-13 06:49:00 -07:00
Daniel Supernault
ebbd98e743
Update AccountService, add setLastActive method 2023-12-13 06:30:05 -07:00
Daniel Supernault
759a439334
Update Inbox, improve tombstone query efficiency 2023-12-11 04:09:33 -07:00
Daniel Supernault
33dbbe467d
Add Mutual Followers API endpoint 2023-12-11 01:34:46 -07:00
Daniel Supernault
041c01359b
Update HomeFeedPipeline, fix StatusService validation 2023-12-09 23:53:02 -07:00
Daniel Supernault
38fee418a9
Update DirectMessageController 2023-12-08 05:48:04 -07:00
Daniel Supernault
4c95306f12
Update StatusPipeline, fix Direct and Story notification deletion 2023-12-08 04:44:45 -07:00
Daniel Supernault
9818656425
Update DirectMessageController, dispatch local deletes to pipeline 2023-12-08 04:27:09 -07:00
Daniel Supernault
93a6f1e224
formatting 2023-12-08 03:26:32 -07:00
Daniel Supernault
957bbbc2bd
Update FeedInsertPipeline 2023-12-08 03:25:53 -07:00
Daniel Supernault
06bee36c52
Update Inbox, improve story attribute collection 2023-12-08 03:24:09 -07:00
Daniel Supernault
d1c297d1ad
Update DirectMessageController, revert delete delivery to sharedInbox 2023-12-08 02:36:56 -07:00
Daniel Supernault
7f462a8055
Update DirectMessageController, dispatch deliver and delete actions to the job queue 2023-12-08 02:07:26 -07:00
Daniel Supernault
d848792ad4
Update DirectMessageController, deliver direct delete activities to user inbox instead of sharedInbox 2023-12-08 01:38:17 -07:00
Daniel Supernault
a0157fce0c
Update Inbox handler, fix missing object_url and uri fields for direct statuses 2023-12-08 01:13:04 -07:00
Daniel Supernault
dec061f5ae
Update FederationController, add proper statuses counts 2023-12-05 00:55:41 -07:00
Daniel Supernault
3204fb9669
Update FederationController, add proper following/follower counts 2023-12-05 00:48:14 -07:00
daniel
6ffc964371
Merge pull request #4792 from mbliznikova/4790_4791_add_recently_deleted_post_to_collection_no_page_reloading_invalidate_cache_after_adding
4790 4791 add recently deleted post to collection no page reloading invalidate cache after adding
2023-12-05 00:28:42 -07:00
daniel
baa653d7de
Merge pull request #4750 from mbliznikova/3698_make_unlisted_photos_visible_in_collections
3698 make unlisted photos visible in collections
2023-12-05 00:27:30 -07:00
Daniel Supernault
8548294c7a
Update HomeFeedPipeline, observe mutes/blocks during fanout 2023-12-03 03:06:32 -07:00
Daniel Supernault
fe9b4c5a37
Update FollowServiceWarmCache 2023-12-03 03:05:00 -07:00
mbliznikova
a7320535e9 #4791 Invalidate cache after adding a collection item for data consistency 2023-11-30 00:19:04 +00:00
Daniel Supernault
bcb88d5b0a
Update StoryApiV1Controller, add self-carousel endpoint. Fixes #4352 2023-11-18 01:11:12 -07:00
Daniel Supernault
e5e3be0598
Update app:hashtag-related-generate command, add existing confirmation 2023-11-17 22:45:04 -07:00
Daniel Supernault
176b4ed793
Add app:hashtag-related-generate command 2023-11-17 22:21:55 -07:00
Daniel Supernault
aa166ab11a
Update ApiV1Controller, move tags endpoints to TagsController 2023-11-17 22:10:03 -07:00
Daniel Supernault
287f903bf3
Update ApiV1Controller, fix include_reblogs param on timelines/home endpoint, and improve limit pagination logic 2023-11-17 20:50:07 -07:00
Daniel Supernault
175203089b
Add Related Hashtags 2023-11-16 06:06:22 -07:00
Daniel Supernault
15f29f7d79
Update HashtagService, reduce cached_count cache ttl 2023-11-16 02:53:22 -07:00
Daniel Supernault
1e31fee6a6
Add app:hashtag-cached-count-update command to update cached_count of hashtags and add to scheduler to run every 25 minutes past the hour 2023-11-16 02:43:11 -07:00
Daniel Supernault
f105f4e8f6
Update HomeFeedPipeline, fix tag filtering 2023-11-16 00:47:49 -07:00
Daniel Supernault
e5401f8558
Update StatusHashtagService, remove problemaatic cache layer 2023-11-16 00:29:10 -07:00
Daniel Supernault
33a60e767d
Update AP helpers, fix fanout scope 2023-11-15 23:43:57 -07:00
Daniel Supernault
3327a008fa
Update HashtagService, improve count perf 2023-11-15 23:23:17 -07:00
Daniel Supernault
3e96fa8a56
Updaet HashtagUnfollowPipeline, fix typo 2023-11-15 22:37:21 -07:00
Daniel Supernault
19233cc976
Update HashtagFollowObserver 2023-11-15 22:16:23 -07:00
Daniel Supernault
c6a6b3ae30
Update Experimental Home Feed, fix remote posts, shares and reblogs 2023-11-15 21:57:13 -07:00
Daniel Supernault
b365aa7e06
Update ApiV1Controller 2023-11-15 00:17:31 -07:00
Daniel Supernault
c8092116e5
Update HashtagUnfollowPipeline 2023-11-15 00:02:17 -07:00
Daniel Supernault
84f4e88573
Update HashtagFollowService, fix cache invalidation bug 2023-11-14 23:55:53 -07:00
Daniel Supernault
d8fbb4ff32
Update HashtagUnfollowPipeline 2023-11-14 23:05:17 -07:00
Daniel Supernault
cf50618696
Update FeedInsertPipeline, self fanout, oof 2023-11-13 06:33:52 -07:00
Daniel Supernault
b2c9cc2318
Update IncrementPostCount job 2023-11-13 06:11:39 -07:00
Daniel Supernault
015b1b80b4
Update hashtag following 2023-11-13 05:29:38 -07:00
Daniel Supernault
446ca3a878
Update notification epoch generation 2023-11-13 01:59:38 -07:00
Daniel Supernault
c39b9afbfd
Update HomeTimelineService, apply filters to feed warm logic 2023-11-12 23:53:22 -07:00
Daniel Supernault
386e64d5e8
Update StatusEntityLexer, skip reblogs on FeedInsertPipeline 2023-11-12 23:52:44 -07:00
Daniel Supernault
125208fb9e
Update UserFilterObserver, dispatch FeedFollowPipeline jobs 2023-11-12 23:52:10 -07:00
Daniel Supernault
e917341651
Update ApiV1Controller 2023-11-12 23:32:45 -07:00
Daniel Supernault
43443503a1
Update FeedFollowPipeline, use more efficient query 2023-11-12 23:00:33 -07:00
Daniel Supernault
115a9d2dec
Update HomeTimelineService 2023-11-12 22:45:09 -07:00
Daniel Supernault
73cb8b43b3
Update HomeFeedPipeline, add follow/unfollow 2023-11-12 22:44:15 -07:00
Daniel Supernault
24c370ee22
Update ApiV1Controller, add experimental home timeline support to v1/timelines/home 2023-11-12 21:13:08 -07:00
Daniel Supernault
2a8a299058
Update HomeTimelineService 2023-11-12 21:09:06 -07:00
Daniel Supernault
ce63c4997b
Add Feed fanout 2023-11-12 20:54:32 -07:00
Daniel Supernault
de2b5ba4e9
Update FollowerService, reduce localFollowerIds ttl 2023-11-12 16:36:02 -07:00
Daniel Supernault
df1f98d5f7
Add FeedInsertPipeline job 2023-11-11 07:23:42 -07:00
Daniel Supernault
20a560bfd1
Update FollowerService, add localFollowerIds method 2023-11-11 07:23:11 -07:00
Daniel Supernault
6aa65b9a21
Add FeedWarmCachePipeline 2023-11-11 05:49:41 -07:00
Daniel Supernault
1cd96ced2a
Update StatusHashtagObserver 2023-11-11 05:47:52 -07:00
Daniel Supernault
9dfc377322
Add HomeTimelineService 2023-11-11 05:46:37 -07:00
Daniel Supernault
448c061070
Update HomeFeedPipeline, add hashtag jobs 2023-11-11 05:43:33 -07:00
Daniel Supernault
1f35da0d4b
Update HashtagServices 2023-11-11 05:25:23 -07:00
Daniel Supernault
ce54d29c69
Update delete pipelines, properly invoke StatusHashtag delete events 2023-11-11 03:40:59 -07:00
mbliznikova
2c6edf37a7 oFix #3698, make unlisted photos visible in collections 2023-11-11 04:08:29 +00:00
Daniel Supernault
21218c794b
Update AP helpers, improve preferredUsername validation 2023-11-09 02:47:20 -07:00
Daniel Supernault
ddc217147c
Update ApiV1Controller, fix mutes in home feed 2023-11-07 02:24:52 -07:00
Daniel Supernault
5b3a56102f
Add S3 command to rewrite media urls 2023-11-07 00:49:36 -07:00
Daniel Supernault
c7b304ef20
Update http client 2023-11-06 02:08:51 -07:00
Daniel Supernault
9c24157ab3
Update ImportPostController, fix IG bug with missing spaces between hashtags 2023-11-02 04:31:59 -06:00
Daniel Supernault
da510089e2
Update LikePipeline, dispatch to feed queue. Fixes #4723 2023-10-30 21:16:28 -06:00
Daniel Supernault
4c6a0719ca
Update ApiV1Dot1Controller, add configurable app confirm rate limit ttl 2023-10-29 05:29:30 -06:00
Daniel Supernault
3249695066
Update ApiV1Dot1Controller, update iar redirect url format 2023-10-29 04:50:20 -06:00
Daniel Supernault
432acb491a
Update ApiV1Dot1Controller, update iar redirect url format 2023-10-29 04:07:04 -06:00
Daniel Supernault
1f82d47ce5
Update ApiV1Dot1Controller, add domain to iar redirect 2023-10-29 03:47:06 -06:00
Daniel Supernault
28a808031b
Update ApiV1Dot1Controller, allow iar rate limits to be configurable 2023-10-29 03:06:10 -06:00
Daniel Supernault
7edfea0951
Update hls pipeline, improve version check 2023-10-23 02:46:56 -06:00
Daniel Supernault
5c358010b0
Update Config util, add hls attributes 2023-10-23 01:15:02 -06:00
Daniel Supernault
6cf4363c50
Update MediaService, remove hls_manifest attribute for MastoAPI entities 2023-10-23 01:14:33 -06:00
Daniel Supernault
f0ba2dfc69
Update VideoThumbnail job, dispatch HLS job when applicable 2023-10-23 01:13:09 -06:00
Daniel Supernault
3f292459ff
Update VideoPipeline, add VideoHlsPipeline job for HLS generation 2023-10-23 01:12:40 -06:00
Daniel Supernault
f9bbb05575
Update MediaDeletePipeline, handle HLS deletion 2023-10-23 01:09:16 -06:00
Daniel Supernault
fac7c3c5e7
Update MediaTransformer, add hls_manifest attribute 2023-10-23 00:38:37 -06:00
Daniel Supernault
4cd53247a6
Add MediaHlsService 2023-10-22 23:42:25 -06:00
Daniel Supernault
65a048cdd5
Update StatusTransformer 2023-10-20 00:17:24 -06:00
Daniel Supernault
dfe2379b93
Update StatusTransformer, generate autolink on request 2023-10-16 06:28:57 -06:00
Daniel Supernault
778e83d398
Update lexer regex, fix mention regex and add more tests 2023-10-15 03:51:45 -06:00
Daniel Supernault
36df0d8373
Update nodeinfo 2023-10-12 21:29:51 -06:00
Daniel Supernault
b76ad7cfe0
Update RemoteStatusDelete, fix include 2023-10-11 05:24:34 -06:00
Daniel Supernault
0d35f1a3e5
Update IncrementPostCount pipeline 2023-10-11 05:10:32 -06:00
Daniel Supernault
f481f3d248
Update RemoteStatusDelete pipeline 2023-10-11 04:56:39 -06:00
Daniel Supernault
edbcf3ed79
Update RemoteStatusDelete and DecrementPostCount pipelines 2023-10-11 04:42:40 -06:00
Daniel Supernault
c37b7cde30
Add avatar:storage-deep-clean command to dispatch avatar storage cleanup jobs 2023-10-11 03:38:31 -06:00
Daniel Supernault
319ced4054
Update CreateAvatar job, add processing constraints and set is_remote attribute 2023-10-11 01:32:04 -06:00
Daniel Supernault
82798b5ea3
Update AvatarPipeline, improve refresh logic and garbage collection to purge old avatars 2023-10-11 00:48:30 -06:00
Daniel Supernault
36b23fe34e
Update AP helpers, adjust RemoteAvatarFetch ttl from 24h to 3 months 2023-10-10 20:55:20 -06:00
Daniel Supernault
01bac51104
Update user:admin command, improve logic. Fixes #2465 2023-10-10 20:20:18 -06:00
Daniel Supernault
c6408fd79d
Add user:2fa command to easily disable 2FA for given account 2023-10-10 20:00:12 -06:00
Daniel Supernault
457d5454f8
Update NotificationService, handle empty epoch. Fixes #4689 2023-10-10 19:13:19 -06:00
Daniel Supernault
e4d3b19642
Update AdminReportController, add profile_id to group by. Fixes #4685 2023-10-09 13:44:25 -06:00
Daniel Supernault
135798eb68
Update ApiV1Controller, hydrate reblog interactions. Fixes #4686 2023-10-09 13:06:46 -06:00
Daniel Supernault
895dc4fa9e
Update Sign-in with Mastodon, allow usage when registrations are closed 2023-09-27 01:33:39 -06:00
Daniel Supernault
8c96919119
Update ap helpers, store media attachment width and height if present 2023-09-26 23:14:19 -06:00
Daniel Supernault
ce1afe2711
Update Note and CreateNote transformers, include attachment blurhash, width and height 2023-09-26 23:10:20 -06:00
Daniel Supernault
79b378cdb1
Update StatusTagsPipeline, fix object tags slug query 2023-09-25 05:20:04 -06:00
Daniel Supernault
9989d6c66f
Update StatusTagsPipeline, fix object tags slug query 2023-09-25 05:13:09 -06:00
Daniel Supernault
d295e6059b
Update StatusTagsPipeline, fix object tags and slug normalization 2023-09-25 04:23:04 -06:00
Daniel Supernault
1f0a45b7f4
Update Status model, allow unlisted thumbnails 2023-09-25 02:10:19 -06:00
Daniel Supernault
d969a97360
Update Status model, improve thumb logic 2023-09-25 01:57:43 -06:00