Commit Graph

310 Commits

Author SHA1 Message Date
まっちゃとーにゅ
8c1db331e7
feat(SSO): JWTやSAMLでのSingle Sign-Onの実装 (MisskeyIO#519) 2024-03-15 01:30:56 +09:00
riku6460
d300a6829f
Bump up version to 2024.3.1-io.1c (#518) 2024-03-11 09:25:58 +09:00
riku6460
738df7626b
Bump up version to 2024.3.1-io.1b (#515) 2024-03-07 23:45:14 +09:00
まっちゃとーにゅ
9728608015
Bump up version to 2024.3.1-io.1a (MisskeyIO#513) 2024-03-07 07:29:22 +09:00
まっちゃとーにゅ
ab48a44142
Bump up version to 2024.3.1-io.1 (MisskeyIO#510) 2024-03-07 06:04:25 +09:00
まっちゃとーにゅ
aa5f0d2cbc
update deps (MisskeyIO#511) 2024-03-07 06:04:07 +09:00
まっちゃとーにゅ
7abf5dcb78
Merge remote-tracking branch 'misskey-dev/develop' into io 2024-03-07 05:22:19 +09:00
かっこかり
7ead98cbe5
enhance(frontend): リアクションの総数を表示するように (#13532)
* enhance(frontend): リアクションの総数を表示するように

* Update Changelog

* リアクション選択済の色をaccentに
2024-03-06 21:08:42 +09:00
まっちゃとーにゅ
cb07db5399
Bump up version to 2024.3.1-io.0 (MisskeyIO#507) 2024-03-06 04:07:21 +09:00
まっちゃとーにゅ
1c3742b711
Bump up version to 2024.3.0-io.0 (MisskeyIO#496) 2024-03-03 19:35:43 +09:00
kabo2468
d624547874
feat: AIによるNSFW検出を無視できるポリシーを追加 (MisskeyIO#500)
* feat: AIによるNSFW検出を無視できるポリシーを追加

* refactor: skipNsfwCheckの条件を同じようにまとめた
2024-03-03 03:48:47 +09:00
kabo2468
c0dbdd78c1
feat: アンテナに保持するノート数をポリシーに追加 (MisskeyIO#499) 2024-03-03 02:42:13 +09:00
syuilo
3afdafed61 2024.3.1 2024-03-02 17:06:01 +09:00
まっちゃとーにゅ
9ab785c48f
Merge remote-tracking branch 'misskey-dev/develop' into io 2024-03-02 05:24:04 +09:00
kabo2468
62e7961aea
fix(backend): リプライ禁止ポリシーにて自分にリプライできないのを修正 (MisskeyIO#495) 2024-03-02 04:28:45 +09:00
syuilo
ba9d47fb69 2024.3.0 2024-03-01 20:22:06 +09:00
syuilo
033d71ee28 update deps 2024-03-01 13:52:39 +09:00
syuilo
a74406677c fix packedRoleCondFormulaValueAssignedRoleSchema 2024-03-01 12:03:33 +09:00
Yuriha
26d4c5fd94
メンションの最大数をロールごとに設定可能にする (#13343)
* Add new role policy: maximum mentions per note

* fix

* Reviewを反映

* fix

* Add ChangeLog

* Update type definitions

* Add E2E test

* CHANGELOG に説明を追加

---------

Co-authored-by: taichan <40626578+tai-cha@users.noreply.github.com>
2024-02-29 20:48:02 +09:00
かっこかり
39d6af135f
enhance: 通知の履歴をリセットできるように (#13335)
* enhance: 通知の履歴をリセットできるように

* Update Changelog

* 通知欄も連動して更新するように

* revert some changes

* Update CHANGELOG.md

* Remove unused part

* fix
2024-02-29 20:03:30 +09:00
syuilo
920c3be750 update deps 2024-02-29 11:10:03 +09:00
taichan
5f43c2faa2
enhance(backend): 通知がミュート・凍結を考慮するようにする (#13412)
* Never return broken notifications #409

Since notifications are stored in Redis, we can't expect relational
integrity: deleting a user will *not* delete notifications that
mention it.

But if we return notifications with missing bits (a `follow` without a
`user`, for example), the frontend will get very confused and throw an
exception while trying to render them.

This change makes sure we never expose those broken notifications. For
uniformity, I've applied the same logic to notes and roles mentioned
in notifications, even if nobody reported breakage in those cases.

Tested by creating a few types of notifications with a `notifierId`,
then deleting their user.

(cherry picked from commit 421f8d49e5d7a8dc3a798cc54716c767df8be3cb)

* Update Changelog

* Update CHANGELOG.md

* enhance: 通知がミュートを考慮するようにする

* enhance: 通知が凍結も考慮するようにする

* fix: notifierIdがない通知が消えてしまう問題

* Add tests (通知がミュートを考慮しているかどうか)

* fix: notifierIdがない通知が消えてしまう問題 (grouped)

* Remove unused import

* Fix: typo

* Revert "enhance: 通知が凍結も考慮するようにする"

This reverts commit b1e57e571dfd9a7d8b2430294473c2053cc3ea33.

* Revert API handling

* Remove unused imports

* enhance: Check if notifierId is valid in NotificationEntityService

* 通知作成時にpackしてnullになったらあとの処理をやめる

* Remove duplication of valid notifier check

* add filter notification is not null

* Revert "Remove duplication of valid notifier check"

This reverts commit 239a6952f717add53d52c3e701e7362eb1987645.

* Improve performance

* Fix packGrouped

* Refactor: 判定部分を共通化

* Fix condition

* use isNotNull

* Update CHANGELOG.md

* filterの改善

* Refactor: DONT REPEAT YOURSELF
Note: GroupedNotificationはNotificationの拡張なのでその例外だけ書けば基本的に共通の処理になり複雑な個別の処理は増えにくいと思われる

* Add groupedNotificationTypes

* Update misskey-js typedef

* Refactor: less sql calls

* refactor

* clean up

* filter notes to mark as read

* packed noteがmapなのでそちらを使う

* if (notesToRead.size > 0)

* if (notes.length === 0) return;

* fix

* Revert "if (notes.length === 0) return;"

This reverts commit 22e2324f9633bddba50769ef838bc5ddb4564c88.

* 🎨

* console.error

* err

* remove try-catch

* 不要なジェネリクスを除去

* Revert  (既読処理をpack内で行うものを元に戻す)

* Clean

* Update packages/backend/src/core/entities/NotificationEntityService.ts

* Update packages/backend/src/core/entities/NotificationEntityService.ts

* Update packages/backend/src/core/entities/NotificationEntityService.ts

* Update packages/backend/src/core/entities/NotificationEntityService.ts

* Update packages/backend/src/core/NotificationService.ts

* Clean

---------

Co-authored-by: dakkar <dakkar@thenautilus.net>
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-28 21:26:26 +09:00
zyoshoka
0d47877db1
enhance(backend): フォロー・フォロワー関連の通知の受信設定の強化 (#13468)
* enhance(backend): 通知の受信設定に「フォロー中またはフォロワー」を追加

* fix(backend): 通知の受信設定で「相互フォロー」が正しく動作しない問題を修正

* Update CHANGELOG.md
2024-02-28 09:49:34 +09:00
まっちゃとーにゅ
84b248cc49
Bump up version to 2024.2.0-io.2j (MisskeyIO#491) 2024-02-28 01:06:52 +09:00
まっちゃとーにゅ
6af95dcd5e
Bump up version to 2024.2.0-io.2i (MisskeyIO#489) 2024-02-27 23:57:10 +09:00
まっちゃとーにゅ
9fe29b5e8e
fix(backend): api/metaのfeaturesの下位互換性 (MisskeyIO#487) 2024-02-27 23:56:36 +09:00
zawa-ch
f906ad6ca7
Enhance: コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加 (#13463)
* コンディショナルロールの条件に「マニュアルロールへのアサイン」を追加

* コメント修正
2024-02-27 18:45:46 +09:00
まっちゃとーにゅ
851dc4cb6b
Bump up version to 2024.2.0-io.2h (MisskeyIO#486) 2024-02-27 10:59:47 +09:00
まっちゃとーにゅ
4241580351
Bump up version to 2024.2.0-io.2g (MisskeyIO#483) 2024-02-27 08:17:02 +09:00
まっちゃとーにゅ
4f8190c2bf
Bump up version to 2024.2.0-io.2f (MisskeyIO#481) 2024-02-27 08:01:15 +09:00
まっちゃとーにゅ
4a1000dba3
Bump up version to 2024.2.0-io.2e (MisskeyIO#476) 2024-02-27 05:12:24 +09:00
まっちゃとーにゅ
d18e3e9b93
Merge remote-tracking branch 'misskey-dev/develop' into io 2024-02-27 04:08:00 +09:00
zyoshoka
0fb7b98f96
fix(backend): fix incorrect schemas (#13458) 2024-02-26 19:49:12 +09:00
FineArchs
dd48366ed8
admin/emoji/updateの必須項目を減らす 等 (#13449)
* admin/emoji/update enhancement

* add CustomEmojiService.getEmojiByName

* update endpoint

* fix

* Update update.ts

* Update autogen files

* type assertion

* Update CHANGELOG.md
2024-02-25 18:06:26 +09:00
まっちゃとーにゅ
e4ee9580e3
Merge remote-tracking branch 'misskey-dev/develop' into io 2024-02-25 03:36:45 +09:00
かっこかり
d20542c495
enhance: metaをSSR HTMLに埋め込む (#13436)
* enhance: `meta`をSSR HTMLに埋め込む

* HTML Metaの有効時間を指定

* 1時間

* MetaEntityService

* JSONをPackするように

* ✌️

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-23 10:47:17 +09:00
FineArchs
bf5952fd63
flash/update で部分的に変更できるようにする (#13396)
* make flash/update params optional

* Update autogen files

pnpm run build-misskey-js-with-types

* Update update.ts

* Update CHANGELOG.md

* hasOwnProperty -> hasOwn

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-22 21:31:57 +09:00
syuilo
26c8b53f70 enhance: サーバーごとにモデレーションノートを残せるように 2024-02-22 20:59:52 +09:00
まっちゃとーにゅ
028649e7e5
Bump up version to 2024.2.0-io.2d (MisskeyIO#470) 2024-02-22 12:13:14 +09:00
まっちゃとーにゅ
50caa3fd5c
Merge remote-tracking branch 'misskey-dev/develop' into io 2024-02-22 06:50:23 +09:00
まっちゃとーにゅ
24a40a0dba
Bump up version to 2024.2.0-io.2c (MisskeyIO#467) 2024-02-19 20:21:00 +09:00
まっちゃとーにゅ
a1ae0f7de0
Bump up version to 2024.2.0-io.2b (MisskeyIO#464) 2024-02-18 06:22:33 +09:00
まっちゃとーにゅ
a813be9e06
Bump up version to 2024.2.0-io.2a (MisskeyIO#461) 2024-02-17 15:24:10 +09:00
syuilo
875069c6b0 Update package.json 2024-02-17 13:43:04 +09:00
Acid Chicken (硫酸鶏)
acba96c1d3
feat: license violation protection (#13285)
* spec(frontend): aboutページにリポジトリ・フィードバックのURLを表示させる

Cherry-picked from MisskeyIO#441
Cherry-picked from MisskeyIO#438

* feat: license violation protection

* build: fix typo

* build: fix typo

* fix: farewell to the static type land

* fix: key typo

* fix: import typo

* fix: properly interpret `prominently`

* docs: add disclaimer

* docs: update CHANGELOG

* chore: add gap

---------

Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-02-17 13:34:50 +09:00
tamaina
8c1a582348 2024.2.0-beta.13 2024-02-16 15:04:12 +00:00
まっちゃとーにゅ
2573df5c84
Bump up version to 2024.2.0-io.2 (MisskeyIO#458) 2024-02-16 22:21:26 +09:00
まっちゃとーにゅ
6751c38a52
fix(misskey-js): notifications/createのレスポンスの型の更新 (MisskeyIO#455) 2024-02-16 22:13:47 +09:00
かっこかり
5e317eac8c
fix misskey-js version 2024-02-16 19:17:37 +09:00
zyoshoka
40bbae3d6c
fix(backend): add missing schemas and fix incorrect schemas (#13295)
* fix(backend): add missing schemas and fix incorrect schemas

* fix: ci

* fix: ci (本命)

* fix: run `pnpm build-misskey-js-with-types`

* fix: typos

* fix: role-condition-formula-value contains `id`

* fix: incorrect schema
2024-02-16 14:27:33 +09:00