Commit graph

3187 commits

Author SHA1 Message Date
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
Daniel Supernault
6d0c5994da
Update TransformImports command, bump limit from 10 to 100 2023-06-12 05:53:29 -06:00
Daniel Supernault
477986abdd
Add import scheduler 2023-06-12 05:46:56 -06:00
Daniel Supernault
49e5703198
Add ImportPostController 2023-06-12 05:13:50 -06:00
Daniel Supernault
b64af89d40
Update migration and service 2023-06-12 04:56:18 -06:00
Daniel Supernault
7dd45c23b7
Add ImportStatus Resource 2023-06-12 02:52:00 -06:00
Daniel Supernault
8c9f4da48a
Add ImportPost model, migration and service 2023-06-12 02:51:29 -06:00
Daniel Supernault
36b6bf480e
Update admin dashboard, improve users section 2023-06-10 03:40:31 -06:00
Daniel Supernault
2cbf1acec3
Update profile 2023-06-06 06:21:24 -06:00
Daniel Supernault
e3be04db2b
Update HandleUpdateActivity 2023-06-06 06:08:00 -06:00
Daniel Supernault
e8d4ce1888
Update MediaStorageService 2023-06-06 06:01:49 -06:00
Daniel Supernault
d6374cfe70
Update MediaStorageService 2023-06-06 05:54:49 -06:00
Daniel Supernault
ab9a8ba314
Update Profile 2023-06-06 05:50:08 -06:00
Daniel Supernault
5bea903409
Update HandleUpdateActivity 2023-06-06 05:47:45 -06:00
Daniel Supernault
1bf3ad7ed9
Update HandleUpdateActivity 2023-06-06 05:47:17 -06:00
Daniel Supernault
31afaba3d0
Update ProfilePipeline 2023-06-06 05:21:44 -06:00
Daniel Supernault
0eb51ed74d
Update RemoteAvatarFetch command 2023-06-06 05:07:14 -06:00
Daniel Supernault
29961c4a80
Update ap inbox 2023-06-06 04:53:09 -06:00
Daniel Supernault
a8453e7719
Update api routes, add DeprecatedEndpoint middleware 2023-06-06 01:55:28 -06:00
Daniel Supernault
fe8728c0ba
Update Direct Messages, fix api endpoint 2023-06-02 06:45:14 -06:00
Daniel Supernault
a2305d5fdc
Added /api/v1.1/accounts/app/settings endpoint and UserAppSettings model to store app specific settings 2023-05-29 03:43:25 -06:00
Daniel Supernault
992d910b9c
Added following_since attribute to /api/v1/accounts/relationships endpoint when _pe=1 (pixelfed entity) parameter is present 2023-05-29 00:08:31 -06:00
Daniel Supernault
1430f5328f
Update Status model, increase max mentions, hashtags and links 2023-05-27 07:23:20 -06:00
Daniel Supernault
4479055e1e
Update UpdateStatusService, fix formatting issue. Fixes #4423 2023-05-26 19:16:57 -06:00
Daniel Supernault
1f2183ee67
Update StatusActivityPubDeliver, fix addressing 2023-05-25 04:57:17 -06:00
Daniel Supernault
109d041908
Update StatusRemoteUpdatePipeline, fix typo 2023-05-25 03:42:43 -06:00
Daniel Supernault
0f803446dd
Update EditHistoryModal, fix caption rendering 2023-05-25 02:27:03 -06:00
Daniel Supernault
c0190d8436
Update Config, bump version for post edit support without having to clear cache 2023-05-25 02:03:59 -06:00
Daniel Supernault
a6f96b4bb3
Remove temp logging 2023-05-25 01:50:15 -06:00
Daniel Supernault
6bf3142e8b
Add Profile 2023-05-25 01:35:06 -06:00
Daniel Supernault
8b3d1eeb5e
Add Purify 2023-05-25 01:32:58 -06:00
Daniel Supernault
559978db46
Fix typo 2023-05-25 01:30:58 -06:00
Daniel Supernault
859ed621b0
Fix typo 2023-05-25 01:26:54 -06:00
Daniel Supernault
b0634bfd8f
Add temp logging 2023-05-25 01:23:57 -06:00
Daniel Supernault
aad4259a47
Update ap inbox 2023-05-25 01:13:43 -06:00
Daniel Supernault
734136a7e7
Add StatusRemoteUpdatePipeline job 2023-05-25 00:57:35 -06:00
Daniel Supernault
98cf8f32a0
Add Post Edits/Updates 2023-05-25 00:33:44 -06:00
Daniel Supernault
4d8b4dcf35
Update StatusService, fix bug in getFull method 2023-05-24 23:41:48 -06:00
Daniel Supernault
221ddce0fa
Update login form, allow admins to enable captcha after X failed attempts. Admins can set the number of attempts before captcha is shown, default is 2 attempts before captcha is required 2023-05-23 05:08:34 -06:00
Daniel Supernault
c071c7195e
Update login/register views and captcha config, enable login or register captchas or both 2023-05-23 03:52:34 -06:00
Daniel Supernault
2800c8886a
Update AP Inbox, fix delete handling 2023-05-23 02:54:02 -06:00
Daniel Supernault
9f901d65c9
Update PublicTimelineService, improve warmCache query 2023-05-23 01:29:22 -06:00
Daniel Supernault
c54cdd3eb4
Update ApiV1Controller, add idempotency-key support to /api/v1/statuses endpoint 2023-05-23 00:46:57 -06:00
Daniel Supernault
4973cb4611
Update MediaController, add fallback for local files that are later stored on S3 but still are referenced in cached objects remotely 2023-05-22 18:10:55 -06:00
Daniel Supernault
adb070f178
Update scheduler, fix S3 media garbage collection not being executed when cloud storage is enabled via dashboard without .env/config being enabled 2023-05-21 07:34:27 -06:00
Daniel Supernault
c6ffda9618
Update admin moderation logic, only re-add top level posts 2023-05-21 01:53:25 -06:00
Daniel Supernault
79bcaadd49
Update ApiV1Controller, filter muted/blocked accounts from tag timeline. 2023-05-20 22:59:11 -06:00
Daniel Supernault
f42c114058
Update ApiV1Controller, filter muted/blocked accounts from tag timeline. 2023-05-20 22:57:42 -06:00
Daniel Supernault
3662d3defe
Update Settings, allow users to disable atom feeds 2023-05-19 04:53:52 -06:00
Daniel Supernault
dd2f5bb96a
Update ProfileController, require login to view spam accounts, and disable profile embeds for spam accounts 2023-05-19 03:41:01 -06:00
Daniel Supernault
c167af43a4
Update StatusController, disable embeds from spam accounts 2023-05-19 03:40:00 -06:00
Daniel Supernault
ae0d5d2d40
Update AdminReportController 2023-05-18 22:34:00 -06:00
Daniel Supernault
18cddd43f3
Update Bouncer, adjust advanced Autospam logic 2023-05-17 05:03:03 -06:00
Daniel Supernault
a11e1ee3f8
Update AutospamUpdateCachedDataPipeline 2023-05-17 04:44:35 -06:00
Daniel Supernault
5abc2445a7
Update AutospamUpdateCachedDataPipeline 2023-05-17 04:34:30 -06:00
Daniel Supernault
053b30bca0
Update nav and Bouncer 2023-05-17 04:10:07 -06:00
Daniel Supernault
132a58de54
Add Autospam Advanced Detection 2023-05-17 04:00:03 -06:00
Daniel Supernault
75db5116b7
Add AutospamCustomTokens model + migration 2023-05-17 03:53:05 -06:00
Daniel Supernault
ad25ed6792
Update UserCreate command, fix is_admin flag 2023-05-15 06:15:09 -06:00
Daniel Supernault
6a2daf1f63
Update ApiControllers, remove cloud ip blocks 2023-05-14 20:15:41 -06:00
Daniel Supernault
764315666e
Update CommentPipeline, replace expensive query and mark for refactor 2023-05-13 17:37:56 -06:00
Daniel Supernault
8b007f9ee9
Update ap helpers 2023-05-13 17:11:27 -06:00
Daniel Supernault
56ec083db5
Update Bouncer 2023-05-13 17:03:33 -06:00
Daniel Supernault
a91a5e4872
Update StatusEntityLexer, stop saving entities 2023-05-13 06:28:17 -06:00
Daniel Supernault
588ca653a8
Update admin autospam apis, remove autospam warning notifications when appropriate 2023-05-13 05:44:46 -06:00
Daniel Supernault
d5f63f8a71
Update AutoSpam Bouncer, generate notification on positive detections 2023-05-13 05:41:09 -06:00
Daniel Supernault
ea943333a5
Update models, remove deprecated toText and toHtml methods 2023-05-13 00:43:46 -06:00
Daniel Supernault
58ec49fd57
Update InstanceService, fix banner blurhash memory bug 2023-05-13 00:18:53 -06:00
Daniel Supernault
026842dd93
Update InstanceService, fix banner blurhash memory bug 2023-05-13 00:16:50 -06:00
Daniel Supernault
3aad75abcf
Update InstanceService, fix banner blurhash memory bug 2023-05-12 23:56:55 -06:00
Daniel Supernault
6cdb5bc672
Update Notification logic, remove message and rendered fields 2023-05-12 23:15:41 -06:00
Daniel Supernault
167dbcdd43
Add /api/v2/instance api endpoint 2023-05-11 04:06:27 -06:00
Daniel Supernault
0b42fe0f00
Update HashtagService 2023-05-09 03:22:28 -06:00
Daniel Supernault
b5fe956acf
Add only_media support to /api/v1/timelines/tag/:id api endpoint 2023-05-09 02:13:26 -06:00
Daniel Supernault
ed35214161
Update HashtagFollow model, add MAX_LIMIT of 250 tags per account 2023-05-09 02:05:23 -06:00
Daniel Supernault
521b3b4c82
Add /api/v1/tags/:id api endpoint 2023-05-09 01:25:39 -06:00
Daniel Supernault
4d997bb959
Add /api/v1/tags/:id/follow and /api/v1/tags/:id/unfollow api endpoints 2023-05-09 01:08:09 -06:00
Daniel Supernault
175a848665
Add /api/v1/followed_tags api endpoint 2023-05-09 00:21:46 -06:00
Daniel Supernault
fc1a385cfd
Update ApiV1Controller, fix hashtag timeline 2023-05-08 22:50:49 -06:00
Daniel Supernault
43d3aa2b94
Update StatusTransformers, fix ProfileService to soft fail on missing or deleted accounts 2023-05-08 22:49:08 -06:00
Daniel Supernault
91ba139808
Update LikeService, improve likedBy logic to soft fail on missing or deleted accounts 2023-05-08 22:47:59 -06:00
Daniel Supernault
df444851b5
Update MediaTagService, fix ProfileService to soft fail on missing or deleted accounts 2023-05-08 22:47:19 -06:00
Daniel Supernault
6bc20a37ed
Update ProfileService, add softFail param 2023-05-08 22:45:57 -06:00
Daniel Supernault
f48daab37e
Update StatusService, fix missing account condition 2023-05-08 22:45:02 -06:00
Daniel Supernault
db2da84bec
Update LandingController, fix config_cache api check 2023-05-07 05:25:38 -06:00
Daniel Supernault
add5eaf094
Fix CI 2023-05-07 05:20:33 -06:00
Daniel Supernault
637cdca27a
Fix CI 2023-05-07 05:18:59 -06:00
Daniel Supernault
ccbba56633
Update AdminSettingsController 2023-05-07 05:08:45 -06:00
Daniel Supernault
6ea2bdc782
Update Admin Dashboard, allow admins to designate an admin account for the landing page and instance api endpoint 2023-05-07 05:04:18 -06:00