Commit Graph

3277 Commits

Author SHA1 Message Date
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
Daniel Supernault fb1deb6e28
Add Resilient Media Storage 2023-09-25 00:59:24 -06:00
Daniel Supernault 0210f8aa2a
Update NotificationService, fix order bug 2023-09-18 00:25:01 -06:00
Daniel Supernault 61d235b797
Update StatusService, fix logic check 2023-09-18 00:17:22 -06:00
Daniel Supernault 223661ecb2
Update StatusService, hydrate accounts on request instead of caching them along with status objects 2023-09-17 23:54:31 -06:00
Daniel Supernault 2496386d9b
Update NotificationService, improve cache warming query 2023-09-17 23:51:42 -06:00
Daniel Supernault 33ed7a8c91
Add AdminShadowFilter feature 2023-09-14 22:32:37 -06:00
Daniel Supernault a510c3e89c
Add AdminShadowFilter model/migration 2023-09-14 22:23:46 -06:00
Daniel Supernault 8fa2afe016
Remove unused resource 2023-09-10 01:13:45 -06:00
Daniel Supernault 941736ce6c
Update StoryApiV1Controller, add viewers route to view story viewers 2023-09-10 01:12:27 -06:00
daniel c4843e823e
Merge pull request #4642 from b2cc/bugfix-4518-unable-to-view-reports-in-admin
[Bugfix] #4518: SQL query that generates the report list in the admin view needs to include the 'id' field
2023-09-09 20:48:18 -06:00
Emelia Smith 74ad26fee6
Fix potential memory leak due to not calling imagedestroy on GdImage objects 2023-09-09 22:55:06 +02:00
David Gabriel 2e5c141724 Fix similar SQL error which triggers when mentioning people in new posts 2023-09-09 20:46:50 +02:00
David Gabriel 480394f3d8 [Bugfix] Fix for #4518: SQL query that generates the report list in the admin view needs to include the 'id' field 2023-09-09 19:50:45 +02:00
Daniel Supernault 83900a3b00
Update ProfileTransformer, fix Mastodon indexable context 2023-08-27 21:43:11 -06:00
Daniel Supernault 817b494703
Update Profile AP transformer, fix context 2023-08-24 23:54:08 -06:00
Daniel Supernault fbdcdd9dbc
Update AP Helpers, consume actor `indexable` attribute 2023-08-24 23:36:50 -06:00
Daniel Supernault fc24630eba
Update Privacy Settings, add support for Mastodon indexable search flag 2023-08-24 23:31:33 -06:00
Daniel Supernault 61a6d90403
Update FollowServiceWarmCache, improve handling larger following/follower lists 2023-08-23 03:45:51 -06:00
Daniel Supernault 347e4f59a3
Update FollowerService, add forget method to RelationshipService call to reduce load when mass purging 2023-08-23 02:39:16 -06:00
Daniel Supernault ca746717cb
Update ApiV1Controller, add bookmarked to timeline entities 2023-08-21 22:43:30 -06:00
Daniel Supernault 47e5c07061
Add ProfileAliasController, hello account migrations! 2023-08-08 00:00:24 -06:00
Daniel Supernault dc7973de62
Update Profile model, add aliases relation 2023-08-07 23:59:29 -06:00
Daniel Supernault 9378c65396
Add AccountMigration ActivityPub support 2023-08-07 23:59:10 -06:00
Daniel Supernault a9220e4e01
Add Account Migrations 2023-08-07 23:48:58 -06:00
Daniel Supernault 618b67271a
Update RemoteStatusPipeline, fix reply check 2023-08-06 21:52:01 -06:00
Daniel Supernault fab8f25e9b
Update RemoteStatusDelete pipeline 2023-08-06 15:31:37 -06:00
Daniel Supernault 4f19a58b2c
Add AdminProfileActionPipeline 2023-08-01 05:48:43 -06:00
Daniel Supernault 6161cf45aa
Add AdminProfile resource 2023-08-01 05:48:27 -06:00
Daniel Supernault 71e92261f4
Update RemoteStatusDelete pipeline 2023-08-01 05:07:58 -06:00
Daniel Supernault 45be6e10b8
Update RemoteStatusDelete pipeline 2023-08-01 04:40:39 -06:00
Daniel Supernault ed87ddb923
Update RemoteStatusDelete pipeline 2023-08-01 04:30:50 -06:00
Daniel Supernault 3d1b6516fe
Update ActivityPubFetchService, add validateUrl parameter to bypass url validation to fetch content from blocked instances 2023-08-01 03:16:08 -06:00
Daniel Supernault dccec7d5a9
Update SettingsController, add photo_reblogs_only setting 2023-07-30 06:29:12 -06:00
Daniel Supernault ec2a1ed99c
Update SharePipeline 2023-07-30 05:50:39 -06:00
Daniel Supernault 5a19daabce
Update SharePipeline 2023-07-30 05:45:14 -06:00
Daniel Supernault 13bdaa2ed4
Update ApiV1Controller, hydrate reblog state in home timeline 2023-07-30 05:16:51 -06:00
Daniel Supernault 3b885709b8
Update ApiV1Dot1Controller 2023-07-30 04:01:29 -06:00
Daniel Supernault 0eca48f1a4
Update SettingsController 2023-07-30 03:55:51 -06:00
Daniel Supernault 1c13b518be
Update StatusStatelessTransformer, allow unlisted reblogs 2023-07-30 02:25:49 -06:00
Daniel Supernault 1c105a6ce3
Update ProfileController, allow albums in atom feed. Closes #4561. Fixes #4526 2023-07-30 00:49:23 -06:00
Daniel Supernault 59b643789f
Update StatusService, reduce cache ttl from 7 days to 6 hours 2023-07-22 03:50:23 -06:00
Daniel Supernault ff58f9707f
Add Health check endpoint at /api/service/health-check 2023-07-18 02:11:06 -06:00
Daniel Supernault acabf603f0
Update Remote Auth feature, fix custom domain bug and enforce banned domains 2023-07-17 23:43:19 -06:00
Daniel Supernault 9cfa89dab4
Update routes and add RemoteAuthController 2023-07-16 22:54:02 -06:00
Daniel Supernault 0b90d629d5
Update User, fix last_active_at guard 2023-07-16 18:42:43 -06:00
Daniel Supernault 45b9404ec1
Add Sign-in with Mastodon 2023-07-16 07:09:15 -06:00
Daniel Supernault 0d802c313b
Update FanoutDeletePipeline, fix AP object 2023-07-16 04:27:14 -06:00
Daniel Supernault 7a431af93a
Update Media model 2023-07-16 04:24:58 -06:00
Daniel Supernault 3590adbd87
Update MediaStorageService, improve head header handling 2023-07-16 04:17:23 -06:00
Daniel Supernault 4b611be2d9
Update user model 2023-07-14 04:33:05 -06:00
Daniel Supernault 2bef3e415d
Update AP Helpers, improve url validation and add optional dns verification, disabled by default 2023-07-14 03:10:48 -06:00
Daniel Supernault ba7551d8a9
Update TransformImports command, increment status_count on profile model 2023-07-14 01:46:51 -06:00
Daniel Supernault 0b5157675f
Update FollowPipeline, improve follower/following count calculation 2023-07-14 01:38:36 -06:00
Daniel Supernault c61d0b915f
Update SearchApiV2Service, improve resolve query logic to better handle remote posts/profiles and local posts/profiles 2023-07-14 01:22:49 -06:00
Daniel Supernault 0704c7e05e
Update AP Helpers, preserve admin unlisted state before adding to NetworkTimelineService 2023-07-14 01:20:26 -06:00
Daniel Supernault 9fa6b3f7aa
Update Inbox, allow storing Create->Note activities without any local followers, disabled by default 2023-07-13 23:11:19 -06:00
Daniel Supernault 4b2c66f557
Update Services, use zpopmin on predis 2023-07-13 22:06:21 -06:00
Daniel Supernault 1cc6274ac0
Update rate limits, fixes #4537 2023-07-13 21:38:18 -06:00
Daniel Supernault 37fd03428a
Update ApiV1Controller, add include_reblogs attribute to home timeline 2023-07-10 23:41:17 -06:00
Daniel Supernault 43b101dbfa
Add FetchMissingMediaMimeType command 2023-06-28 06:41:32 -06:00
Daniel Supernault ea54413e95
Update StatusRemoteUpdatePipeline, fix missing mime and size attributes that cause empty media previews on our mobile app 2023-06-28 06:28:13 -06:00
Daniel Supernault 04f4f8baf1
Update FixStatusCount, improve command and support remote count resync 2023-06-28 05:02:41 -06:00
Daniel Supernault 2f2e446c1f
Update ImportService 2023-06-26 05:39:16 -06:00
Daniel Supernault fe6123c820
Update ImportPostController 2023-06-26 05:38:29 -06:00
Daniel Supernault 10dd348c28
Update ImportService, filter deleted posts from getImportedPosts endpoint 2023-06-26 04:46:57 -06:00
Daniel Supernault afe6948da8
Update console kernel, add import upload gc 2023-06-26 04:33:47 -06:00
Daniel Supernault 892907d5d1
Update TransformImports command, improve handling of imported posts that already exist or are from deleted accounts 2023-06-26 04:16:49 -06:00
Daniel Supernault b18f3fba8b
Update IG Import commands, fix stalled import queue 2023-06-26 03:21:38 -06:00
Daniel Supernault 63a7879c29
Update ActivityPubFetchService 2023-06-25 23:02:02 -06:00
Daniel Supernault b89c4f1cdc
Update ActivityPubFetchService, fix authorized_fetch support 2023-06-25 22:26:04 -06:00
Daniel Supernault 763ce19a0a
Update AdminApiController, improve admin moderation tools 2023-06-22 05:43:42 -06:00
Daniel Supernault 71ad7d5d43
Update AdminUser resource 2023-06-22 01:12:53 -06:00
Daniel Supernault 4f850e54ad
Update AdminApiController, include more data for getUser method 2023-06-22 01:08:15 -06:00
Daniel Supernault 5c5541fc01
Update AdminApiController 2023-06-20 05:09:15 -06:00
Daniel Supernault a6d10f0389
Update RegisterController 2023-06-20 05:03:49 -06:00
Daniel Supernault 89c3710d3c
Update AdminApiController, add instance stats endpoint 2023-06-20 00:34:02 -06:00
Daniel Supernault ba58aaba36
Update ImportPostController, fix typo 2023-06-12 06:19:09 -06:00
Daniel Supernault c394fb76c6
Update sidebar/settings 2023-06-12 06:08:25 -06:00