Hazelnoot
e44623d7c9
don't parse empty strings in timelineArgs.ts
2025-03-03 01:22:15 -05:00
Hazelnoot
9fdb68d568
remove fileId
from importCustomEmojis
log
2025-03-02 13:47:02 -05:00
Hazelnoot
e030facaa9
don't record deleted note, flash, page, or gallery post in modlog
2025-03-02 13:38:35 -05:00
Hazelnoot
f42790ad32
don't pass note into moderationLogService.log
2025-03-02 13:38:35 -05:00
Hazelnoot
c44c59e9ae
remove embedded Note from "createPromo" mod logs
2025-03-02 13:38:32 -05:00
Hazelnoot
27d43879a2
add moderation logs for many endpoints
...
- `/admin/delete-all-files-of-a-user`
- `/admin/nsfw-user`
- `/admin/unnsfw-user`
- `/admin/silence-user`
- `/admin/unsilence-user`
- `/admin/accounts/create`
- `/admin/drive/clean-remote-files`
- `/admin/drive/cleanup`
- `/admin/emoji/set-category-bulk`
- `/admin/emoji/set-license-bulk`
- `/admin/emoji/set-aliases-bulk`
- `/admin/emoji/add-aliases-bulk`
- `/admin/emoji/remove-aliases-bulk`
- `/admin/emoji/import-zip`
- `/admin/federation/delete-all-files`
- `/admin/federation/remove-all-following`
- `/admin/promo/create`
- `/admin/relay/add`
- `/admin/relay/remove`
2025-03-02 13:38:02 -05:00
dakkar
504e90c190
merge: Remove assertActivityMatchesUrls in favor of three-way same-authority checks ( resolves #956 and #914 ) ( !914 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/914
Closes #956 and #914
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-02 18:36:04 +00:00
dakkar
92bac81a7f
merge: handle scheduled notes when deleting and migrating accounts - fixes #931 #936 ( !920 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/920
Closes #931 and #936
Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-03-02 18:28:15 +00:00
dakkar
0fba8dc26a
don't move scheduled notes to new account when migrating
...
@Julia confirms it would confuse people more than it helps
2025-03-02 16:51:54 +00:00
Hazelnoot
910b83c531
filter url
properties by mediaType
2025-03-02 11:06:32 -05:00
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
syuilo
616cccf251
enhance(backend): refine system account ( #15530 )
...
* wip
* wip
* wip
* Update SystemAccountService.ts
* Update 1740121393164-system-accounts.js
* Update DeleteAccountService.ts
* wip
* wip
* wip
* wip
* Update 1740121393164-system-accounts.js
* Update RepositoryModule.ts
* wip
* wip
* wip
* Update ApRendererService.ts
* wip
* wip
* Update SystemAccountService.ts
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* add print logs
* ログが長すぎて出てないかもしれない
* fix migration
* refactor
* fix fed-tests
* Update RelayService.ts
* merge
* Update user.test.ts
* chore: emit log
* fix: tweak sleep duration
* fix: exit 1
* fix: wait for misskey processes to become healthy
* fix: longer sleep for user deletion
* fix: make sleep longer again
* デッドロック解消の試み
https://github.com/misskey-dev/misskey/issues/15005
* Revert "デッドロック解消の試み"
This reverts commit 266141f66fb584371bbb56ef7eba04e14bcff94d.
* wip
* Update SystemAccountService.ts
---------
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2025-03-02 20:06:20 +09:00
syuilo
5d683728f3
デッドロック解消の試み ( #15574 )
...
https://github.com/misskey-dev/misskey/issues/15005
Co-authored-by: 饺子w (Yumechi) <35571479+eternal-flame-AD@users.noreply.github.com>
2025-03-01 16:12:42 +09: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
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
syuilo
c63c3462dd
refactor
2025-02-28 09:34:21 +09: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
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
PrivateGER
aa6bc9c9d0
linter fix
2025-02-26 12:13:13 +01:00
Esurio/1673beta
bd13fb626c
fix(backend): S3_SAFEかつURL_SAFEでない文字列をprefixに使えないように ( #15455 )
...
* fix(backend): S3_SAFEかつURL_SAFEでない文字列をprefixに使えないように
* update CHANGELOG
* fix validation
* fix: remove unused import
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-26 01:56:23 +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
おさむのひと
495db27433
fix(backend): カスタム絵文字の一括インポートをした時にHTTPプロキシの除外設定が効かないのを修正 ( #15431 )
...
* pxory
* fix
* fix CHANGELOG.md
* allow localAddress
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-02-26 01:48:38 +00: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
鴇峰 朔華
39c487e1d1
fix(backend): ローカル判定でisUriLocalを使用していない箇所を修正 ( #15069 )
...
* fix(backend): ローカル判定でisUriLocalを使用していない箇所を修正
* fix(test backend): RelayServiceでUtilityServiceを使う
2025-02-26 01:28:53 +00:00
かっこかり
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
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
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
かっこかり
1b44954dcb
enhance(frontend): サーバーエラー画面の多言語対応 ( #15549 )
...
* enhance(frontend): サーバーエラー画面の多言語対応
* indent
2025-02-24 05:23:20 +00:00
おさむのひと
426940bea7
2025.2.1-beta.0のlintがコケているのを修正 ( #15546 )
2025-02-23 21:21:58 +09: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
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
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