Commit graph

4641 commits

Author SHA1 Message Date
Hazelnoot
4c2a0fed63 fix streaming API notes missing reactions, not always being hidden, and having incorrect values for the isRenoted, isFavorited, isMutingThread, and isMutingNote properties 2025-06-23 15:45:47 -04:00
Hazelnoot
8cbe1344f6 fix Note.isRenoted 2025-06-23 13:47:04 -04:00
Hazelnoot
d2b4035f7a add missing GROUP BY to threadMutingsCache / noteMutingsCache 2025-06-23 13:47:04 -04:00
Hazelnoot
7200c3d6c8 implement note mutings and move favorited/renoted status into note entity directly 2025-06-23 13:47:04 -04:00
Hazelnoot
87582034b5 expose thread mute status as Note.isMuting property 2025-06-23 13:47:04 -04:00
Hazelnoot
7d0f995c9b hide muted threads from timelines 2025-06-23 13:47:04 -04:00
JeDaYoshi
afd57f99c5
fix Mastodon link verification
the top element must be a single <a> in order for verification to work, so MfmService has gained an 'inline' argument to remove the <p> added by default
2025-06-22 17:56:37 +00:00
dakkar
3aa5ec713c unique constraint for registry_item - fixes #1121
we remove all duplicate items from the registry, keeping the
most-recently updated one (which presumably is the one that the users
expect to be used)

then we use `upsert` instead of the more complicated previous logic,
which was subject to races
2025-06-22 13:10:22 +01:00
nicole mikołajczyk
d43e81e268 Implement /v1/accounts/search Mastodon API endpoint
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-06-22 13:45:29 +02:00
Lilly Schramm
4d077732ac refactor: Remove Migration Name 2025-06-22 01:39:53 +02:00
Lilly Schramm
2329618418 refactor: Remove Migration Name 2025-06-22 01:39:47 +02:00
Lilly Schramm
2ac5f2f412 refactor: Remove Migration Name 2025-06-22 01:31:55 +02:00
Lilly Schramm
df77f339ec feat(backend): Add Config Option For Bio Length 2025-06-22 01:02:20 +02:00
Lillychan
87f6d84229 Apply 1 suggestion(s) to 1 file(s) 2025-06-20 20:10:04 +00:00
Lilly Schramm
3ce8914673 refactor: Simplify Statement (again) 2025-06-20 21:55:02 +02:00
Lilly Schramm
3dadbdb854 refactor: Simplify Statement 2025-06-20 21:41:48 +02:00
Lilly Schramm
0e52763bed refactor: Fix Typo 2025-06-20 21:38:23 +02:00
Lilly Schramm
98a63e8e96 feat: Truncate Old Name 2025-06-20 21:33:17 +02:00
Lilly Schramm
18a979ea4e refactor: Add Licence Header 2025-06-20 21:32:05 +02:00
Lilly Schramm
ebf21b474a feat(backend): Add Clone Endpoint 2025-06-20 21:12:51 +02:00
dakkar
85f7813d75 use a *very* long statement_timeout for migrations
some migrations still timeout with the ×10, let's hope that ×100 is
enough!

(if people have not set a timeout in the configuration files, this
commit changes the migration timeout from 1m40s to 16m40s)
2025-06-20 14:01:17 +01:00
dakkar
6b3f775600 fix merge in json-schema 2025-06-20 11:00:31 +01:00
dakkar
6df6e758c8 fix merge in WebhookTestService 2025-06-20 10:57:02 +01:00
dakkar
886160bdec Merge branch 'develop' into upstream/2025.5.0 2025-06-20 10:44:34 +01:00
Hazelnoot
8926ba06a6 merge: Extract inline media from remote posts (resolves #1074, #1104, and #1105) (!1113)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1113

Closes #1074, #1104, and #1105

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-19 23:36:44 +00:00
dakkar
169c06d4ca merge: fix(backend): Send Abuse Reports To Set Maintainer E-Mail (!1127)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1127

Closes #1069

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-06-19 15:54:55 +00:00
Lilly Schramm
ab5c247f09 refactor(backend): Remove Useless Variable 2025-06-18 20:30:40 +02:00
Lilly Schramm
372e141bcf refactor(backend): Resolve Nested Conditionals 2025-06-18 20:25:32 +02:00
Lilly Schramm
789deeabac fix(backend): Send Abuse Reports To Set Maintainer E-Mail 2025-06-18 20:08:06 +02:00
Hazelnoot
969fdc037c don't publish null updated property 2025-06-18 12:54:22 -04:00
Hazelnoot
72a512a59d fix tests 2025-06-18 10:46:49 -04:00
Hazelnoot
54d99c9e8c fold renderUpNote into renderNote 2025-06-18 10:38:16 -04:00
Hazelnoot
82b90d02ae don't allow boosts to be fetched as a note over AP 2025-06-18 10:37:30 -04:00
Hazelnoot
1aeaee7f7c filter boosts out of pinned notes when federating 2025-06-18 10:37:11 -04:00
Hazelnoot
6a8bc6741e support boosts and edits in renderNoteOrRenoteActivity 2025-06-18 10:36:18 -04:00
Hazelnoot
ec6e4da8b3 parse plain Markdown as MFM before falling back to HTML from remote notes 2025-06-14 19:58:32 -04:00
Hazelnoot
c3a6ba93ca extract inline images from MFM and Markdown 2025-06-14 19:45:12 -04:00
Hazelnoot
5e46efe60d remove duplicate attach.sensitive updates 2025-06-14 19:44:46 -04:00
Hazelnoot
e3cf30ad09 update to sfm-js version 0.24.8 2025-06-14 19:40:04 -04:00
Hazelnoot
c35da729fc merge: Check privacy settings in charts/user/following (resolves #1107) (!1124)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1124

Closes #1107

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 19:49:26 +00:00
Hazelnoot
7a25ff3d65 check privacy settings in charts/user/following 2025-06-14 14:14:02 -04:00
Marie
db4f6d50a4 merge: group notifications regardless of when they happened - fix #633 (!1123)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1123

Closes #633

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 18:07:07 +00:00
dakkar
b0275f86fe annotate types 2025-06-14 18:38:18 +01:00
Hazelnoot
f6964f6e27 merge: Show signup reason in user admin screen (resolves #1090) (!1114)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1114

Closes #1090

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 17:30:17 +00:00
Hazelnoot
e80187b8f1 merge: Don't unfollow suspended users (!1122)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1122

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 17:28:19 +00:00
Marie
ec5ea3cf17 merge: fix some regressions due to recent merges (!1112)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1112

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 17:26:43 +00:00
Hazelnoot
b44264c38b prioritize document summary over name 2025-06-14 13:22:42 -04:00
Hazelnoot
1747d79740 fix typeo psuedo -> pseudo 2025-06-14 13:20:39 -04:00
Hazelnoot
93885530c8 merge: Don't convert empty HTML elements to MFM (resolves #982) (!1116)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1116

Closes #982

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 17:13:16 +00:00
Marie
f58badade8 merge: Hide admin secrets from the mod log (resolves #44) (!1120)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1120

Closes #44

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:16:58 +00:00