Commit graph

30711 commits

Author SHA1 Message Date
かっこかり
b5799351d0
fix(backend): clips/updateのdescriptionで空文字を許容するように (#15429)
* fix(backend): clips/updateのdescriptionで空文字を許容するように

* Update Changelog

* fix: createの際も空文字を許容するように

* fix test

* fix test

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-26 01:27:38 +00:00
github-actions[bot]
7f31fd24b1 Bump version to 2025.2.1-beta.1 2025-02-26 00:47:08 +00:00
zyoshoka
389ec6350b
fix(backend): send Delete activity of a note to users who renoted or replied to it (#15554)
* fix(backend): send Delete activity of a note to users who renoted or replied to it

* Update CHANGELOG.md
2025-02-26 00:29:12 +00:00
PrivateGER
9ed9ed86af
override compression from env vars 2025-02-25 23:53:53 +01:00
PrivateGER
2b919c4eb0
Optionally enable websocket compression 2025-02-25 22:07:59 +01: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
syuilo
2b6638e160
feat: google analytics (#15451)
* wip backend

* wip frontend

* build misskey-js

* implement control panel

* fix

* introduce analytics wrapper

* spdx

* Update analytics.ts

* Update common.ts

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

---------

Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
2025-02-25 11:51:23 +00: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
687cb5b168 handle scheduled notes when migrating account - fixes #931
I'm not sure we want the "change ownership of notes if dst is local",
though
2025-02-24 13:08:19 +00:00
dakkar
acf1b661a2 delete scheduled notes when deleting account - fixes #936 2025-02-24 12:38:50 +00:00
renovate[bot]
20cc6d3049
chore(config): migrate renovate config (#15550)
* chore(config): migrate config renovate.json5

* Update renovate.json5

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:24:34 +09:00
かっこかり
1b44954dcb
enhance(frontend): サーバーエラー画面の多言語対応 (#15549)
* enhance(frontend): サーバーエラー画面の多言語対応

* indent
2025-02-24 05:23:20 +00:00
renovate[bot]
5dc99e6f89
fix(deps): update [frontend] update dependencies (#15542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:13:44 +09:00
renovate[bot]
d1504a5a83
fix(deps): update dependency shiki to v3 (#15544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:07:32 +09:00
renovate[bot]
5a97f040c7
chore(deps): update actions/cache action to v4.2.1 (#15541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:06:41 +09:00
renovate[bot]
0456c0f3c2
chore(deps): update [tools] update dependencies (#15540)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:06:30 +09:00
renovate[bot]
524adda2a6
chore(deps): update [misskey-js] update dependencies (#15539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 14:06:17 +09: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
おさむのひと
426940bea7
2025.2.1-beta.0のlintがコケているのを修正 (#15546) 2025-02-23 21:21:58 +09:00
github-actions[bot]
9a619c621d Bump version to 2025.2.1-beta.0 2025-02-23 10:35:39 +00:00
饺子w (Yumechi)
25052164c0
Merge commit from fork
* fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly.

[GHSA-6w2c-vf6f-xf26](https://github.com/misskey-dev/misskey/security/advisories/GHSA-6w2c-vf6f-xf26)

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* Enhance: Add configuration option to disable all external redirects when responding to an ActivityPub lookup (config.disallowExternalApRedirect)

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* fixup! fix(backend): Fix an issue where the origin of ActivityPub lookup response was not validated correctly.

* docs & one edge case

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* apply suggestions

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* remove stale frontend reference to _responseInvalidIdHostNotMatch

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* apply suggestions

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-02-23 19:21:34 +09: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
Jacob Hall
21eff6df66
do not make a DM visible if user is mentioned but not a recipient 2025-02-21 13:33:36 -05: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
187c98e5ac
do not notify mentioned users if a DM is not visible to them 2025-02-20 15:09:48 -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