1
0
Commit Graph

29804 Commits

Author SHA1 Message Date
Hazelnoot d8d94b65a0 restore unintentionally-changed import type 2025-03-02 11:06:32 -05:00
Hazelnoot 67abc0ce19 allow Update(Note) to change url, since it's now validated on edits 2025-03-02 11:06:32 -05:00
Hazelnoot a568333ecd remove assertActivityMatchesUrls in favor of three-way same-authority checks 2025-03-02 11:06:29 -05:00
Hazelnoot 14a81b4f85 merge: Add "reject quotes" settings (!901)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/901

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-01 03:33:06 +00:00
Hazelnoot 8a65074f23 merge: fix lookup confirmations (!926)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/926

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-28 21:20:57 +00:00
Marie 6e8ab00750 merge: Trim padded Actor keys to avoid value too long error (resolves #806) (!913)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/913

Closes #806

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-28 20:06:11 +00:00
dakkar 42d6e0deeb fix lookup confirmations
having that "lookp user" check *twice* meant that typing a full
username, and then canceling the lookup confirmation, ended up doing a
lookup anyway

now, if you cancel the looup confirmation, you get a search

thanks to @Ares on Discord for reporting
2025-02-28 17:47:13 +00:00
dakkar c19746d9d8 merge: Fix note visibility in streaming API (!922)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/922

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-27 11:18:31 +00:00
Marie d5bb83ac08 merge: probably fix editing scheduled notes - fixes #934 (!924)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/924

Closes #934

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-27 01:41:48 +00:00
Marie 483441dccb merge: debounce a bunch of MkInput (!923)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/923

Closes #885 and #968

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-27 01:41:15 +00:00
dakkar c33ce30d32 debounce the scratchpad 2025-02-26 13:08:46 +00:00
dakkar 9bf1d4c5ac probably fix editing scheduled notes - fixes #934
the result of `notes/schedule/list` needs to be shaped like an array
of `Packed<'Note'>`, but it wasn't

now it's much closer, and I can edit scheduled quotes and replies
2025-02-26 12:57:20 +00:00
dakkar 71d842421d debounce a bunch of MkInput
these are all the places I could find that (directly or indirectly)
perform API calls when the input is changed; telling the component to
"debounce" means that the API will be called at most once per second
2025-02-26 12:14:57 +00:00
Hazelnoot 18f211e3bc call NoteEntityService.hideNote from streaming API 2025-02-25 20:55:24 -05:00
Hazelnoot 30b2bfb184 use assignMyReaction in channel, hashtag, role-timeline, and user-list channels 2025-02-25 20:54:54 -05:00
Hazelnoot 019e60d9a4 pass NoteEntityService through Channel constructor instead of method args 2025-02-25 20:52:14 -05:00
Hazelnoot de3c9124cd check mutes and blocks of renote target in streaming API 2025-02-25 20:47:44 -05:00
Hazelnoot cba9fcd4f2 make hideNote public 2025-02-25 20:46:36 -05:00
Hazelnoot f039a7a37b use padEnd to shorten long line in activitypub.ts 2025-02-25 11:44:16 -05:00
Hazelnoot 6cb04dbaac trim padded Actor keys to avoid value too long error 2025-02-25 11:41:44 -05:00
dakkar e10e9ba071 merge: maybe better db/meili container images to start with - fixes #942 (!919)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/919

Closes #942

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-24 13:10:38 +00:00
dakkar bfc0299359 suggest using a more recent meilisearch 2025-02-23 13:27:19 +00:00
dakkar 86ac57e76e suggest using a recent postgres image with pgroonga 2025-02-23 13:26:56 +00:00
Hazelnoot c6cabb8c75 merge: Fix file description labels to use "alt text" terminology (!911)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/911

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-22 03:23:49 +00:00
Hazelnoot 3642ea022b disable inline note previews from users with quotes disabled 2025-02-20 21:34:09 -05:00
Hazelnoot f39f47aade include rejectQuotes on all packed User entities 2025-02-20 21:12:12 -05:00
Jacob Hall 2c610f446b do not change "description" key to "Alt text"
- switch Drive file info view to use the `caption` rather than
  `description` i18n key, so that it reads "Alt text"
2025-02-20 11:21:13 -05:00
Hazelnoot 365a0bd2c5 improve labels and wording for reject quotes feature 2025-02-20 09:58:22 -05:00
Hazelnoot bb0bc68927 cover more retryable errors for quote resolution 2025-02-20 09:58:22 -05:00
Hazelnoot ca7d8b5bff fix logging for quote errors 2025-02-20 09:58:22 -05:00
Hazelnoot b9b339fd48 add admin/reject-quotes to new endpoints list 2025-02-20 09:58:19 -05:00
Hazelnoot 784290186f fix type errors in is-renote unit tests 2025-02-20 09:58:06 -05:00
Hazelnoot b100249a34 fix type errors in NoteCreateService unit tests 2025-02-20 09:58:06 -05:00
Hazelnoot 0e2e77e346 fix type errors in WebhookTestService.ts 2025-02-20 09:58:04 -05:00
Hazelnoot 292d3b9229 add "reject quotes" toggle at user and instance level
+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
2025-02-20 09:57:48 -05:00
dakkar 93ffd4611c merge: TSVector based search provider (!910)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/910

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:27:18 +00:00
dakkar 534c35cca2 merge: Add "force content warning" setting for user moderation (resolves #905) (!876)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/876

Closes #905

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-20 10:20:49 +00:00
Jacob Hall e9f3702cf3 fix file description labels to use "alt text" terminology 2025-02-19 18:44:52 -05:00
PrivateGER 285bbcb81f fix linter... 2025-02-19 16:46:59 +01:00
PrivateGER 691a9a6be2 Rename tsvector to sqlTsvector 2025-02-19 16:34:48 +01:00
PrivateGER e6464906e6 change to sqlTsvector 2025-02-19 16:32:11 +01:00
PrivateGER b5208c2ad0 simplify tsvector implementation, remove cover density 2025-02-19 16:26:02 +01:00
PrivateGER 006e92a7d0 adjust docs 2025-02-19 15:20:48 +01:00
PrivateGER 4fde14d1cc fix wrong column name 2025-02-19 15:12:16 +01:00
PrivateGER d82c8e8e97 Implement tsvector search support 2025-02-19 14:55:50 +01:00
Marie d67eefaaf5 merge: Add separate redis for rate limit (!908)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/908

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-18 23:27:56 +00:00
Marie 0bec7fe2a2 merge: fix time zone for CustomEmojiService test (!909)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/909

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-18 23:25:54 +00:00
dakkar 9e3667b2a3 fix names that annoy @dakkar 2025-02-18 20:57:55 +00:00
dakkar 029f67b7e5 fix time zone for CustomEmojiService test
otherwise, the timestamps that the test uses for queries are
interpreted as UTC (because they have a TZ in the string), but the
truncated date is interpreted in the session timezone, which defaults
to the server timezone, which can be anything

thanks to @fEmber for noticing
2025-02-18 20:57:55 +00:00
Hazelnoot c28b27b57f merge: Optionally log remote ActivityPub objects to database (!833)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/833

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-18 19:51:13 +00:00