鴇峰 朔華
abd99b1433
Merge 6236c936f1
into 0f59adc436
2024-11-21 09:27:27 +09:00
syuilo
0f59adc436
fix ap/show
2024-11-21 09:25:18 +09:00
syuilo
9fdabe3666
fix(backend): use atomic command to improve security
...
Co-Authored-By: Acid Chicken <root@acid-chicken.com>
2024-11-21 09:22:15 +09:00
rectcoordsystem
090e9392cd
Merge commit from fork
...
* fix(backend): check target IP before sending HTTP request
* fix(backend): allow accessing private IP when testing
* Apply suggestions from code review
Co-authored-by: anatawa12 <anatawa12@icloud.com>
* fix(backend): lint and typecheck
* fix(backend): add isLocalAddressAllowed option to getAgentByUrl and send (HttpRequestService)
* fix(backend): allow fetchSummaryFromProxy, trueMail to access local addresses
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:27:09 +09:00
Julia
b9cb949eb1
Merge commit from fork
...
* Fix poll update spoofing
* fix: Disallow negative poll counts
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-21 08:24:50 +09:00
Julia
5f675201f2
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>
2024-11-21 08:20:09 +09:00
syuilo
1c284c8154
New Crowdin updates ( #15000 )
...
* New translations ja-jp.yml (Catalan)
* New translations ja-jp.yml (English)
* New translations ja-jp.yml (Korean)
* New translations ja-jp.yml (Chinese Simplified)
* New translations ja-jp.yml (Chinese Traditional)
* New translations ja-jp.yml (German)
2024-11-21 08:01:42 +09:00
Sayamame-beans
aa48a0e207
Fix: リノートミュートが新規投稿通知に対して作用していなかった問題を修正 ( #15006 )
...
* fix(backend): renoteMute doesn't work for note notification
* docs(changelog): update changelog
2024-11-21 08:00:50 +09:00
syuilo
f0c3a4cc0b
perf(frontend): reduce api requests for non-logged-in enviroment ( #15001 )
...
* wip
* Update CHANGELOG.md
* wip
2024-11-21 07:58:34 +09:00
鴇峰 朔華
4603ab67bb
feat: 絵文字のポップアップメニューに編集を追加 ( #15004 )
...
* Mod: 絵文字のポップアップメニューに編集を追加
* fix: code styleの修正
* fix: code styleの修正
* fix
2024-11-20 20:08:26 +09:00
zawa-ch.
763c708253
Fix(backend): アカウント削除のモデレーションログが動作していないのを修正 ( #14996 ) ( #14997 )
...
* アカウント削除のモデレーションログが動作していないのを修正
* update CHANGELOG
2024-11-19 21:12:40 +09:00
github-actions[bot]
6c5d3113c6
Bump version to 2024.11.0-alpha.2
2024-11-19 03:56:50 +00:00
syuilo
968f595606
New Crowdin updates ( #14965 )
...
* New translations ja-jp.yml (Chinese Simplified)
* New translations ja-jp.yml (Chinese Traditional)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (Catalan)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (Swedish)
* New translations ja-jp.yml (English)
* New translations ja-jp.yml (Catalan)
* New translations ja-jp.yml (Chinese Traditional)
* New translations ja-jp.yml (Korean)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (Swedish)
* New translations ja-jp.yml (Chinese Simplified)
* 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 (Italian)
* New translations ja-jp.yml (Dutch)
* New translations ja-jp.yml (Norwegian)
* New translations ja-jp.yml (Polish)
* New translations ja-jp.yml (Portuguese)
* New translations ja-jp.yml (Russian)
* New translations ja-jp.yml (Slovak)
* New translations ja-jp.yml (Turkish)
* New translations ja-jp.yml (Ukrainian)
* 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 (Japanese, Kansai)
* New translations ja-jp.yml (Korean (Gyeongsang))
* New translations ja-jp.yml (Chinese Traditional)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (English)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (Chinese Simplified)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (English)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (German)
* New translations ja-jp.yml (Polish)
* New translations ja-jp.yml (Catalan)
* New translations ja-jp.yml (Swedish)
* New translations ja-jp.yml (French)
* New translations ja-jp.yml (French)
* New translations ja-jp.yml (French)
* New translations ja-jp.yml (French)
* New translations ja-jp.yml (Swedish)
* New translations ja-jp.yml (Korean)
* New translations ja-jp.yml (Chinese Simplified)
2024-11-19 12:50:04 +09:00
鴇峰 朔華
6236c936f1
fix: code style の修正
2024-11-19 11:16:14 +09:00
鴇峰 朔華
fd9b7edeff
fix: クエリとか修正
2024-11-19 11:08:34 +09:00
おさむのひと
7b9c884a5d
refactor(backend): SystemWebhookで送信されるペイロードの型を追加 ( #14980 )
2024-11-19 10:41:39 +09:00
FineArchs
c271534aba
リノートメニューに「リノートの詳細」を追加 ( #14985 )
...
* add renote-detail menu
* changelog
* Apply suggestions from code review
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* Update CHANGELOG.md
---------
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-11-19 10:34:33 +09:00
饺子w (Yumechi)
e800c0f85a
fix(backend): お知らせ作成時に画像URL入力欄を空欄に変更できないのを修正 ( #14990 )
...
* fix(backend): アナウンスメントを作成ときに画像URLを後悔できないのを修正
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
* Update CHANGELOG.md
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
---------
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: おさむのひと <46447427+samunohito@users.noreply.github.com>
2024-11-19 10:29:42 +09:00
かっこかり
81348f1277
fix(frontend): TypeScriptの型チェック対象ファイルを限定して高速化するように ( #14994 )
...
* fix frontend tsconfig includes
* fix frontend-embed tsconfig includes
* fix eslint in frontend / frontend-embed
* Update Changelog
---------
Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
2024-11-19 10:22:47 +09:00
鴇峰 朔華
ac95b12f0b
Merge branch 'develop' into misskey-dev/blocking-reaction-user
2024-11-18 22:12:45 +09:00
鴇峰 朔華
a96ae92f47
fix: ReactionService
2024-11-18 22:11:13 +09:00
鴇峰 朔華
292809a324
fix: SPDXつけ忘れ
2024-11-18 22:08:05 +09:00
鴇峰 朔華
34da11f371
fix: import周りの諸々修正
2024-11-18 22:06:32 +09:00
鴇峰 朔華
da94dbee00
Mod: UserReactionBlockingServiceとUserBlockingServiceを統合
2024-11-18 21:46:28 +09:00
鴇峰 朔華
0301e86aff
Mod: Migrationファイルを再作成
2024-11-18 21:20:27 +09:00
鴇峰 朔華
26652949cb
fix: code styleの修正
2024-11-18 21:12:34 +09:00
鴇峰 朔華
24792e09b5
Add: リアクションのブロック判定にblockingReactionUserService.checkBlockedを追加
2024-11-18 21:04:36 +09:00
鴇峰 朔華
3ea69b6203
Mod: isReactionBlockからenumに変更
2024-11-18 21:03:33 +09:00
鴇峰 朔華
202fceed22
fix: as -> satisfies
2024-11-18 16:23:35 +09:00
鴇峰 朔華
9ef2dbbd30
Mod: ログ出力を英語に変更
2024-11-18 16:21:40 +09:00
鴇峰 朔華
1b0ac28825
fix
...
不要なonModuleInit Imprementsを除去
2024-11-18 16:10:42 +09:00
鴇峰 朔華
51a2a7d81c
Add: フロントエンドのユーザーメニューにリアクションブロックを追加
2024-11-18 15:53:06 +09:00
鴇峰 朔華
37627bb0e6
Add: リアクションブロックの設定画面を追加
2024-11-18 15:52:58 +09:00
鴇峰 朔華
3dd5af3003
Add: BlockingテーブルにisReactionBlockカラムを追加し、blocking-reaction-userエンドポイントを追加
...
ユーザー単位でリアクションをブロックするため、blocking-reaction-userエンドポイントを追加。
ロジックは別途実装する。
2024-11-18 15:52:37 +09:00
おさむのひと
0df6c79172
enhance(frontend): デッキ表示時にサイドバーを展開・折りたたみできるように ( #14983 )
...
* enhance(frontend): デッキ表示時にサイドバーを展開・折りたたみできるように
* wip
* wip
* Update navbar.vue
* ✌️
* Update CHANGELOG.md
* 🎨
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-11-18 10:36:51 +09:00
syuilo
eed45c7915
Update SECURITY.md
2024-11-17 17:35:27 +09:00
syuilo
42f9586fc6
Update CONTRIBUTING.md
2024-11-17 17:33:50 +09:00
syuilo
032dfc782d
Update CONTRIBUTING.md
2024-11-17 17:33:12 +09:00
syuilo
00b8d0c072
Update CONTRIBUTING.md
2024-11-17 17:32:28 +09:00
syuilo
9aebf0c168
Update CHANGELOG.md
2024-11-17 14:15:38 +09:00
syuilo
a730045bdd
Update CHANGELOG.md
2024-11-17 12:44:44 +09:00
syuilo
9614f74bf8
🎨
2024-11-16 20:24:31 +09:00
CDN
b3c2de2b26
fix(backend): fallback sharedInbox to null in ApPersonService ( #14970 )
2024-11-16 18:53:28 +09:00
syuilo
cf1b7c7064
add warning for open registration ( #14963 )
...
* wip
* wip
* Update ja-JP.yml
* Update index.d.ts
* ✌️
2024-11-16 17:22:34 +09:00
syuilo
2e0f3936a8
Update .gitignore
2024-11-16 15:32:51 +09:00
syuilo
459449864c
🎨
2024-11-16 10:16:11 +09:00
syuilo
eef0c895bc
use execa 8.0.1
...
#14966
2024-11-15 19:48:31 +09:00
syuilo
d9d92bcfbf
Revert "use nodemon 3.0.2"
...
This reverts commit ce1f84e5a3
.
2024-11-15 19:40:12 +09:00
syuilo
ce1f84e5a3
use nodemon 3.0.2
...
#14966
2024-11-15 19:33:50 +09:00
github-actions[bot]
cf7df05023
Bump version to 2024.11.0-alpha.1
2024-11-15 09:06:13 +00:00