Commit graph

30275 commits

Author SHA1 Message Date
Hazelnoot
25f26655bf don't use empty CW as placeholder in megalodon 2025-03-03 01:22:01 -05:00
Julia
0c7657e3a3 merge: Bump develop version (!928)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/928
2025-03-02 21:50:43 +00:00
Julia Johannesen
18ab08cfe0
Bump develop version 2025-03-02 15:54:23 -05:00
Julia
9e13c375c5 merge: 2025.2.2 (!927)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/927

Approved-by: Marie <github@yuugi.dev>
Approved-by: Julia <julia@insertdomain.name>
2025-03-02 19:54:32 +00:00
dakkar
955b6e8c12 bump version 2025-03-02 18:58:53 +00:00
dakkar
0b5e197afb Merge branch 'develop' into release/2025.2.2 2025-03-02 18:57:27 +00:00
Hazelnoot
141bce2be7 merge: Add/fix moderation logs for many endpoints (resolves #911 and #969) (!925)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/925

Closes #911 and #969

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-03-02 18:56:44 +00:00
Hazelnoot
9fdb68d568 remove fileId from importCustomEmojis log 2025-03-02 13:47:02 -05:00
Hazelnoot
86a7d33f3f fix rebase error 2025-03-02 13:46:28 -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
c02fd47811 fix formatting in SkFetchNote 2025-03-02 13:38:35 -05:00
Hazelnoot
5d1e1a2215 fix typo in "cannotLoadPage" translation 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
e5b8fc3c80 add missing modlog render blocks 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
20e2a6e95a add SkFetchNote to render a note by ID 2025-03-02 13:38:05 -05:00
Hazelnoot
9e833f724b add DynamicNote to encapsulate MkNote / SkNote switching logic 2025-03-02 13:38:05 -05:00
Hazelnoot
cea77f3e2c emit "show" event from MkLazy 2025-03-02 13:38:05 -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
github-actions[bot]
2a96e39bb3 Bump version to 2025.3.0-alpha.0 2025-03-02 12:12:06 +00: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
7114523d84
Update CHANGELOG.md 2025-03-01 17:02:52 +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
おさむのひと
b8632f389d
chore(ci): Renovateが作ったprにラベルつける (#15573) 2025-03-01 04:37:11 +00:00
renovate[bot]
830da5e9f1
fix(deps): update [frontend] update dependencies (#15566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 13:11:09 +09:00
renovate[bot]
e2eddd5b1a
chore(deps): update actions/cache action to v4.2.2 (#15564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 13:07:59 +09:00
renovate[bot]
d4f9bf1f11
chore(deps): update [misskey-js] update dependencies (#15565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 13:07:47 +09:00
renovate[bot]
734c78ddd1
chore(deps): update [tools] update dependencies (#15563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-01 13:07:36 +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
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
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
github-actions[bot]
a3bba23b7d [skip ci] Update CHANGELOG.md (prepend template) 2025-02-27 08:58:46 +00:00
github-actions[bot]
94a3e37ba8 Release: 2025.2.1 2025-02-27 08:58:40 +00:00
syuilo
cc09de7b27
New Crowdin updates (#15560)
* New translations ja-jp.yml (Russian)

* New translations ja-jp.yml (Catalan)

* New translations ja-jp.yml (Korean)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Turkish)

* New translations ja-jp.yml (Chinese Traditional)

* New translations ja-jp.yml (English)

* New translations ja-jp.yml (Japanese, Kansai)

* New translations ja-jp.yml (Romanian)

* New translations ja-jp.yml (French)

* New translations ja-jp.yml (Spanish)

* New translations ja-jp.yml (Arabic)

* New translations ja-jp.yml (Czech)

* New translations ja-jp.yml (German)

* New translations ja-jp.yml (Greek)

* New translations ja-jp.yml (Italian)

* New translations ja-jp.yml (Dutch)

* New translations ja-jp.yml (Norwegian)

* New translations ja-jp.yml (Polish)

* New translations ja-jp.yml (Slovak)

* New translations ja-jp.yml (Swedish)

* New translations ja-jp.yml (Ukrainian)

* New translations ja-jp.yml (Chinese Simplified)

* New translations ja-jp.yml (Vietnamese)

* New translations ja-jp.yml (Indonesian)

* New translations ja-jp.yml (Bengali)

* New translations ja-jp.yml (Thai)

* New translations ja-jp.yml (Uzbek)

* New translations ja-jp.yml (Lao)

* New translations ja-jp.yml (Korean (Gyeongsang))

* New translations ja-jp.yml (Catalan)
2025-02-27 16:13:37 +09:00
かっこかり
da66079c29
enhance(frontend): ノート検索ページのデザイン調整 (#14780)
* enhance(frontend): 検索ページのホスト指定とユーザー指定を統合する (#273)

(cherry picked from commit c79392c88d6bf58ede39d8bba9ca2778c58521ef)

* fix

* 🎨

* Update Changelog

* Update Changelog

* refactor

---------

Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
2025-02-27 02:56:17 +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
syuilo
ec83815227
fix(frontend): MkSelectの初期値が表示されない場合がある (#15559)
* fix

* Update CHANGELOG.md
2025-02-27 00:32:39 +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