Commit graph

3226 commits

Author SHA1 Message Date
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
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