Commit graph

888 commits

Author SHA1 Message Date
b80629abed
Merge upstream 2025-05-16 08:00:55 +09:00
あわわわとーにゅ
c94e5d7e22
feat(SSO): メールアドレスのnormalizeを設定可能にする (MisskeyIO#971) 2025-04-22 00:14:13 +09:00
3e0bcd2b5b Merge upstream 2025-04-04 16:00:58 +09:00
あわわわとーにゅ
eb5e94dbf8
fix(SSO): JWK関数の仕様変更に対応 (MisskeyIO#959)
MisskeyIO#950
2025-04-01 01:53:25 +09:00
f761a454d3 Merge upstream 2025-03-31 16:22:07 +09:00
まっちゃてぃー。
abdaa18666
enhance(sensitive-flag):センシティブフラグの機能の強化 (MisskeyIO#936) 2025-03-18 03:22:08 +09:00
bc9acabd6c
Merge upstream 2025-02-13 16:13:52 +09:00
まっちゃてぃー。
ff85d650bf
feat(account-migration): アカウント移行ログのフィルターを追加 (MisskeyIO#919) 2025-02-01 22:57:18 +09:00
オスカー、
63087a8e48
Merge upstream 2025-01-17 23:07:52 +09:00
あわわわとーにゅ
8821e3e81b
spec(role/ScheduledNote): ロールで予約投稿の個数・予約の最大日数を制御できるように (MisskeyIO#906) 2025-01-17 17:08:13 +09:00
あわわわとーにゅ
cbe80fdd26
feat(note): 予約投稿 (MisskeyIO#890) 2025-01-16 22:35:27 +09:00
オスカー、
67f9e3efd1
Merge upstream 2025-01-12 21:58:27 +09:00
あわわわとーにゅ
535a6bc756
spec(notes/create): 投稿されたnoteを返さないオプションを追加 (MisskeyIO#879) 2025-01-10 14:54:32 +09:00
あわわわとーにゅ
4f9aee899f
spec(pages): URLとして使用できる文字を制限 (MisskeyIO#873) 2025-01-08 03:50:25 +09:00
d485432661
feat: note.isDeletable 2025-01-07 18:49:56 +09:00
オスカー、
5c19ac788e
Merge remote-tracking branch 'origin/oscar' into oscar 2025-01-01 18:52:12 +09:00
オスカー、
ac58cc3ac5
enhance(delete): we all love to archive their black(out) history 2025-01-01 18:51:33 +09:00
5f931855be
Merge upstream 2024-12-30 23:28:39 +09:00
あわわわとーにゅ
ff195d4f8d
cleanup(backend): refactor UtilityService (MisskeyIO#858) 2024-12-28 11:39:48 +09:00
あわわわとーにゅ
6542ad4a12
enhance(role): ロールの割り当て時メモを残せるように (MisskeyIO#842) 2024-12-25 09:42:59 +09:00
かっこかり
e3cad435b8
fix(backend): fix apResolver (#15010)
* fix(backend): fix apResolver

* fix

* add comments

* tweak comment

(cherry picked from commit c1f19fad1e7e1717898b37bbb4e863e0f26b306b)
2024-12-25 04:20:44 +09:00
かっこかり
ed68245177
fix(backend): fix security patches (#15008)
(cherry picked from commit 53e827b18c46f786268278645206404ff2d95f72)
2024-12-25 04:19:51 +09:00
syuilo
710e719fc5
fix ap/show
(cherry picked from commit 0f59adc436f80c495b4404807b0bd645da2b1db8)
2024-12-25 04:19:51 +09:00
Julia
85096e58b9
Merge commit from fork
* enhance: Add a few validation fixes from Sharkey

See the original MR on the GitLab instance:
https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/484

Co-Authored-By: Dakkar <dakkar@thenautilus.net>

* fix: primitive 2: acceptance of cross-origin alternate

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 3: validation of non-final url

* fix: primitive 4: missing same-origin identifier validation of collection-wrapped activities

* fix: primitives 5 & 8: reject activities with non
string identifiers

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 6: reject anonymous objects that were fetched by their id

* fix: primitives 9, 10 & 11: http signature validation
doesn't enforce required headers or specify auth header name

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 14: improper validation of outbox, followers, following & shared inbox collections

* fix: code style for primitive 14

* fix: primitive 15: improper same-origin validation for
note uri and url

Co-Authored-By: Laura Hausmann <laura@hausmann.dev>

* fix: primitive 16: improper same-origin validation for user uri and url

* fix: primitive 17: note same-origin identifier validation can be bypassed by wrapping the id in an array

* fix: code style for primitive 17

* fix: check attribution against actor in notes

While this isn't strictly required to fix the exploits at hand, this
mirrors the fix in `ApQuestionService` for GHSA-5h8r-gq97-xv69, as a
preemptive countermeasure.

* fix: primitive 18: `ap/get` bypasses access checks

One might argue that we could make this one actually preform access
checks against the returned activity object, but I feel like that's a
lot more work than just restricting it to administrators, since, to me
at least, it seems more like a debugging tool than anything else.

* fix: primitive 19 & 20: respect blocks and hide more

Ideally, the user property should also be hidden (as leaving it in leaks
information slightly), but given the schema of the note endpoint, I
don't think that would be possible without introducing some kind of
"ghost" user, who is attributed for posts by users who have you blocked.

* fix: primitives 21, 22, and 23: reuse resolver

This also increases the default `recursionLimit` for `Resolver`, as it
theoretically will go higher that it previously would and could possibly
fail on non-malicious collection activities.

* fix: primitives 25-33: proper local instance checks

* revert: fix: primitive 19 & 20

This reverts commit 465a9fe6591de90f78bd3d084e3c01e65dc3cf3c.

---------

Co-authored-by: Dakkar <dakkar@thenautilus.net>
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
(cherry picked from commit 5f675201f261d5db6a58d3099a190372bb2f09f0)
2024-12-25 04:09:04 +09:00
Daiki Mizukami
21e3b04391
fix(backend): check visibility of following/followers of remote users / feat: moderators can see following/followers of all users (#14375)
Cherry-picked from 0d508db8a7a36218d38231af4e718aff0e94d9bc

Co-authored-by: Daiki Mizukami <tesaguriguma@gmail.com>
2024-12-25 02:24:33 +09:00
86e344bb88
fix: some minor problems 2024-12-22 22:42:24 +09:00
29c25555b8
Merge upstream 2024-12-22 12:44:09 +09:00
3358fb7a9b
Merge upstream 2024-12-22 12:36:04 +09:00
あわわわとーにゅ
3362c464c5
spec(api): 一部APIをGETに対応・認証情報をヘッダーに (MisskeyIO#837) 2024-12-22 03:08:34 +09:00
あわわわとーにゅ
58513c1b81
feat(sign-in): メールアドレスログインを実装 (MisskeyIO#836)
Co-authored-by: まっちゃてぃー。 <56515516+mattyatea@users.noreply.github.com>
2024-12-22 00:09:33 +09:00
あわわわとーにゅ
b3f73d7312
update deps (MisskeyIO#833) 2024-12-19 05:35:13 +09:00
まっちゃてぃー。
1a81d3fa46
enhance(Page): ページを非公開にできるように (MisskeyIO#821) 2024-12-11 03:23:16 +09:00
オスカー、
668df162f4
fix(about): avatar display problem 2024-11-27 18:21:29 +09:00
オスカー、
06f160a2b4
enhance(credits): use instance meta instead of hard code 2024-11-27 17:44:23 +09:00
あわわわとーにゅ
43f0b9a73c
fix(about-report-resolver): 転送設定を一度有効にすると戻すことができない問題を修正 (MisskeyIO#812)
Cherry-picked from atsu1125/misskey-core@5001b4b77c

Co-authored-by: atsu1125 <atsuchan@atsuchan.page>
2024-11-10 13:03:18 +09:00
オスカー、
b8dcaecd2e
fix(create): add withNotification 2024-11-06 20:34:12 +09:00
オスカー、
03c64c296b
feat: notification muting 2024-11-06 20:32:41 +09:00
オスカー、
4671fc4139
Merge upstream 2024-11-06 18:27:42 +09:00
オスカー、
cda3d93db8
feat: 안되겠소, 쏩시다! 2024-11-06 17:53:25 +09:00
あわわわとーにゅ
613e0a8aa3
enhance: アイコンデコレーション管理画面の改善
Cherry-picked from 74847bce303449124282a748fc50b1c6588288fc

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-06 09:09:09 +09:00
あわわわとーにゅ
fcfd004c38
feat(analytics): Google Analytics・同意モード・一部機能のトラッキング実装 (MisskeyIO#784) 2024-11-06 01:28:14 +09:00
オスカー、
9c40d0edda
Merge upstream 2024-10-28 15:23:29 +09:00
あわわわとーにゅ
f33e1b5e87
update deps (MisskeyIO#775) 2024-10-23 05:48:11 +09:00
オスカー、
2f6f1a7158
Merge upstream 2024-10-20 21:15:43 +09:00
あわわわとーにゅ
d005daae84
feat(announcement): お知らせの既読処理にチュートリアル受講を要求できるように (MisskeyIO#753) 2024-10-19 03:22:05 +09:00
riku6460
3fdcf99011
perf(backend): queue の delayed の件数が増えた際に deliver-delayed と inbox-delayed が返ってこなくなる問題を修正 (MisskeyIO#750) 2024-10-18 22:35:33 +09:00
オスカー、
d34eadc8b0
Merge upstream 2024-10-18 21:41:33 +09:00
あわわわとーにゅ
8706fa0747
feat(moderation): モデレーターがユーザーの名前を変更できるように&トークンを再生成できるように (MisskeyIO#747) 2024-10-18 08:53:33 +09:00
무라쿠모
4b6cbdab39
Merge upstream 2024-09-18 00:11:23 +09:00
まっちゃとーにゅ
c82bf7583a
fix(api/users): PVランキングに誰もいない場合エラーになる問題を修正 (MisskeyIO#737) 2024-09-17 13:21:28 +09:00