かっこかり
e07bb1dcbc
fix: チャット周りの修正 ( #15741 )
...
* fix(misskey-js): チャットのChannel型定義を追加
* fix(backend); canChatで塞いでいない書き込み系のAPIを塞ぐ
* fix(frontend): チャット周りのフロントエンド型修正
* lint fix
* fix broken lockfile
* fix
* refactor
* wip
* wip
* wip
* clean up
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-03 15:28:10 +09:00
syuilo
455be80b4f
fix(backend): 非ログインでタイムラインのストリームに接続した際、表示にログイン必須のノートが流れる場合がある問題を修正
2025-04-03 11:32:55 +09:00
Hazelnoot
dab9b518e4
merge from misskey-develop
2025-04-02 22:29:14 -04:00
Hazelnoot
f9c1535147
fix backend lint errors
2025-04-02 10:35:11 -04:00
Nanashi.
98eadd7093
feat: アンテナでセンシティブなチャンネルからのノートを除外できるように ( #15346 )
...
* feat(db): マイグレーションを追加
* feat(backend): カラムの定義を追加
* wip
* feat: フラグを設定出来るように
* feat: /notesエンドポイントを対応
* feat: websocketを対応
* test: テストを追加
* docs: CHANGELOGを更新
* docs: CHANGELOGの追加場所を修正
* chore: api.jsonを更新
* docs(CHANGELOG): General欄に移動
* docs: フォーマットを揃える
* chore: クエリを削除
* revert: 英訳を消す
* chore: note.channelを追加するところを変える
* docs: CHANGELOGを更新する
* docs(CHANGELOG): 2025.3.2に移動
* chore: changelogを下に移動
* ci: CI再実行用の空コミット
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-02 16:01:24 +09:00
anatawa12
55d835ad51
Fix: 通知のページネーションで2つ以上読み込めなくなることがある問題 ( #15277 )
...
* fix: notifications-groupedのinclude/exclude typesに:groupedを指定できてしまう問題
* refactor: 通知の取得処理を Notification Service に移動
* feat: add function to parse additional part of id
* fix: 通知のページネーションが正しく動かない問題
Redisにのページネーションで使用する時間及びidとRedis上のものが混同されていたので、Misskeyが生成するものに寄せました。
* pnpm run build-misskey-js-with-types
* chore: XADDをretryするように
* fix: notifications-groupedでxrevrangeしているのを消し忘れていた
2025-04-02 10:37:16 +09:00
Hazelnoot
6ac37b4d6c
lint and type fixes
2025-04-01 20:47:04 -04:00
Hazelnoot
d272d6f224
fix software name in boot.embed.js, boot.js, and error.js
2025-04-01 12:30:35 -04:00
Hazelnoot
d39e4babd1
fix development link in error.pug
2025-04-01 12:29:08 -04:00
Hazelnoot
2e2ae21a09
remove no-op Connection.cachedNotes and Connection.cacheNote
2025-04-01 12:28:16 -04:00
Hazelnoot
fffa6c97fe
copy changes to notes/edit.ts
2025-04-01 10:55:56 -04:00
Hazelnoot
383633873d
fix backend type errors
2025-04-01 10:12:59 -04:00
Hazelnoot
7ff15816d1
Merge branch 'misskey-develop' into merge/2025-03-24
...
# Conflicts:
# .github/workflows/api-misskey-js.yml
# .github/workflows/changelog-check.yml
# .github/workflows/check-misskey-js-autogen.yml
# .github/workflows/get-api-diff.yml
# .github/workflows/lint.yml
# .github/workflows/locale.yml
# .github/workflows/on-release-created.yml
# .github/workflows/storybook.yml
# .github/workflows/test-backend.yml
# .github/workflows/test-federation.yml
# .github/workflows/test-frontend.yml
# .github/workflows/test-misskey-js.yml
# .github/workflows/test-production.yml
# .github/workflows/validate-api-json.yml
# locales/index.d.ts
# package.json
# packages/misskey-js/generator/package.json
# packages/misskey-js/package.json
# pnpm-lock.yaml
# scripts/changelog-checker/package-lock.json
# scripts/changelog-checker/package.json
2025-04-01 09:59:46 -04:00
syuilo
500a5615f0
enhance(frontend): 壁紙をデッキ設定の一部に
2025-04-01 13:18:49 +09:00
Hazelnoot
e7632c83dc
Merge branch 'develop' into merge/2025-03-24
...
# Conflicts:
# packages/backend/src/server/api/StreamingApiServerService.ts
# packages/backend/src/server/api/stream/Connection.ts
2025-03-31 15:02:52 -04:00
Hazelnoot
08b8d50124
fix type errors from notes/versions endpoint
2025-03-31 14:30:18 -04:00
Hazelnoot
000b1f4fe2
fix type errors from SponsorsService
2025-03-31 14:29:48 -04:00
Hazelnoot
a2062c6469
Revert "revert 7bfada9792: enhance: remove bull-board support"
...
This reverts commit d41d77fcd7 .
2025-03-30 02:14:03 -04:00
Hazelnoot
ea2a3be70f
Merge branch 'develop' into merge/2025-03-24
...
# Conflicts:
# packages/backend/src/core/activitypub/models/ApPersonService.ts
2025-03-30 01:58:43 -04:00
Hazelnoot
4ae26e6e18
Merge branch 'misskey-develop' into merge/2025-03-24
2025-03-30 01:58:17 -04:00
Hazelnoot
922a7ba1d4
track the number of concurrent requests to redis, and bypass if the request is guaranteed to reject
2025-03-29 09:47:05 -04:00
Hazelnoot
47ea8527fd
fix wsmessage rate limit definition
2025-03-29 09:44:38 -04:00
Hazelnoot
fafb811333
increase limits on WS note subscriptions and cached notes
2025-03-28 11:44:29 -04:00
Hazelnoot
86e34175d3
SkRateLimiterService revision 3: cache lockouts in memory to avoid redis calls
2025-03-28 11:43:30 -04:00
Hazelnoot
c41d617e63
limit the number of active connections per client, and limit upgrade requests by user
2025-03-28 11:03:31 -04:00
Hazelnoot
eff7321860
avoid duplicate channels in WS connection
2025-03-28 11:03:31 -04:00
Hazelnoot
14a7309cfb
avoid leaking cached notes in WS connection
2025-03-28 11:03:31 -04:00
Hazelnoot
045ff5d2c0
make sure that note subscriptions can't stay above limit
2025-03-28 11:03:31 -04:00
Hazelnoot
b8fd9d0bc0
clear subscriptions when connection closes
2025-03-28 11:03:31 -04:00
Hazelnoot
831329499d
limit the number of note subscriptions per connection
2025-03-28 11:03:31 -04:00
Hazelnoot
bf1c9b67d6
close websocket when rate limit exceeded
2025-03-28 11:03:31 -04:00
Hazelnoot
18655386f3
convert streaming rate limit to bucket
2025-03-28 11:03:31 -04:00
Hazelnoot
848a07a170
Ignore notifications that reference missing notes
2025-03-27 20:30:04 -04:00
Hazelnoot
a92416904f
use exclusive ranges in api/i/notifications and /api/v1/notifications
2025-03-27 20:20:42 -04:00
Hazelnoot
58cdee77d5
convert notification types in mastodon API
2025-03-27 19:51:43 -04:00
Hazelnoot
8a9979b3d3
don't render CW as HTML for mastodon
2025-03-27 19:51:43 -04:00
Hazelnoot
ebc3abea54
hide sensitive content from Discord previews
2025-03-27 19:51:43 -04:00
Hazelnoot
36dee5ff20
render profile bios in masto API
2025-03-27 19:51:43 -04:00
Hazelnoot
81f7346f80
fixes to CW and quote conversion for mastodon
2025-03-27 19:51:43 -04:00
Hazelnoot
1fa290c3eb
handle errors in mastodon search endpoints
2025-03-27 19:51:43 -04:00
Hazelnoot
971bc6fd3e
improve mastodon API error handling
2025-03-27 19:51:43 -04:00
Hazelnoot
a81a00e94d
rename MastodonConverters.ts to matching naming scheme
2025-03-27 19:51:43 -04:00
Hazelnoot
4754942301
add additional required CORS headers for masto-api requests
2025-03-27 19:51:43 -04:00
Hazelnoot
984be9e7aa
enable local timeline in Phanpy clients
2025-03-27 19:51:43 -04:00
Hazelnoot
3c54680860
support reactions in mastodon API
2025-03-27 19:51:43 -04:00
Hazelnoot
fbdee815da
remove unused async from toMastoApiHtml / fromMastoApiHtml
2025-03-27 19:51:43 -04:00
Hazelnoot
8d67a8c9ae
don't log query parameters from mastodon API
2025-03-27 19:51:43 -04:00
Hazelnoot
fc1d0c958c
support Mastodon v4 "link header" pagination
2025-03-27 19:51:43 -04:00
Hazelnoot
3d8930f070
implement /api/v1/favourites
2025-03-27 19:51:43 -04:00
Hazelnoot
cac8377e4e
fix empty response from /api/v1/notifications
2025-03-27 19:51:43 -04:00