Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 2024.10.1 #14741

Merged
merged 53 commits into from
Oct 15, 2024
Merged

Release: 2024.10.1 #14741

merged 53 commits into from
Oct 15, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 10, 2024

Note

  • スパム対策として、モデレータ権限を持つユーザのアクティビティが7日以上確認できない場合は自動的に招待制へと切り替え(コントロールパネル -> モデレーション -> "誰でも新規登録できるようにする"をオフに変更)るようになりました。 ( 運営のアクティビティーがないサーバーの新規登録を非活性にする #13437 )
    • 切り替わった際はモデレーターへお知らせとして通知されます。登録をオープンな状態で継続したい場合は、コントロールパネルから再度設定を行ってください。

General

  • Feat: ユーザーの名前に禁止ワードを設定できるように

Client

  • Enhance: タイムライン表示時のパフォーマンスを向上
  • Enhance: アーカイブした個人宛のお知らせを表示・編集できるように
  • Enhance: l10nの更新
  • Fix: メールアドレス不要でCaptchaが有効な場合にアカウント登録完了後自動でのログインに失敗する問題を修正

Server

github-actions bot and others added 5 commits October 9, 2024 05:17
* wip

* Update index.d.ts

* remove unnecessary codes
* fix(frontend): ユーザー登録完了時にサインインAPIを別途使用していたのを修正

* emitされるオブジェクトの型を変更したことに伴う修正

* Update Changelog
* New translations ja-jp.yml (English)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Catalan)

* New translations ja-jp.yml (Italian)

* New translations ja-jp.yml (Russian)

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

* New translations ja-jp.yml (Indonesian)

* 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 (Korean)

* New translations ja-jp.yml (Polish)

* New translations ja-jp.yml (Slovak)

* New translations ja-jp.yml (Ukrainian)

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

* New translations ja-jp.yml (Vietnamese)

* New translations ja-jp.yml (Bengali)

* New translations ja-jp.yml (Thai)

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

* New translations ja-jp.yml (Catalan)
@kakkokari-gtyih kakkokari-gtyih added this to the v2024.10.1 milestone Oct 10, 2024
@syuilo syuilo marked this pull request as ready for review October 10, 2024 05:55
* refactor(frontend): prefix css variables

* `MI_UI` -> `MI`

* fix

* `stickyBottom`

* stickyTop
@github-actions github-actions bot added packages/frontend Client side specific issue/PR packages/backend Server side specific issue/PR packages/misskey-js labels Oct 10, 2024
Copy link
Contributor Author

github-actions bot commented Oct 10, 2024

このPRによるapi.jsonの差分

差分はこちら
--- base
+++ head
@@ -1,7 +1,7 @@
 {
   "openapi": "3.1.0",
   "info": {
-    "version": "2024.10.0",
+    "version": "2024.10.1-beta.6",
     "title": "Misskey API"
   },
   "externalDocs": {
@@ -90,6 +90,9 @@
                         "null"
                       ]
                     },
+                    "enableTestcaptcha": {
+                      "type": "boolean"
+                    },
                     "swPublickey": {
                       "type": [
                         "string",
@@ -196,6 +199,12 @@
                         "type": "string"
                       }
                     },
+                    "prohibitedWordsForNameOfUser": {
+                      "type": "array",
+                      "items": {
+                        "type": "string"
+                      }
+                    },
                     "bannedEmailDomains": {
                       "type": "array",
                       "items": {
@@ -386,6 +395,9 @@
                     "enableChartsForFederatedInstances": {
                       "type": "boolean"
                     },
+                    "enableStatsForFederatedInstances": {
+                      "type": "boolean"
+                    },
                     "enableServerMachineStats": {
                       "type": "boolean"
                     },
@@ -582,6 +594,7 @@
                     "recaptchaSiteKey",
                     "enableTurnstile",
                     "turnstileSiteKey",
+                    "enableTestcaptcha",
                     "swPublickey",
                     "mascotImageUrl",
                     "bannerUrl",
@@ -600,6 +613,7 @@
                     "blockedHosts",
                     "sensitiveWords",
                     "prohibitedWords",
+                    "prohibitedWordsForNameOfUser",
                     "preservedUsernames",
                     "hcaptchaSecretKey",
                     "mcaptchaSecretKey",
@@ -638,6 +652,7 @@
                     "truemailAuthKey",
                     "enableChartsForRemoteUser",
                     "enableChartsForFederatedInstances",
+                    "enableStatsForFederatedInstances",
                     "enableServerMachineStats",
                     "enableIdenticonGeneration",
                     "manifestJsonOverride",
@@ -13789,6 +13804,15 @@
                       "type": "string"
                     }
                   },
+                  "prohibitedWordsForNameOfUser": {
+                    "type": [
+                      "array",
+                      "null"
+                    ],
+                    "items": {
+                      "type": "string"
+                    }
+                  },
                   "themeColor": {
                     "type": [
                       "string",
@@ -13961,6 +13985,9 @@
                       "null"
                     ]
                   },
+                  "enableTestcaptcha": {
+                    "type": "boolean"
+                  },
                   "sensitiveMediaDetection": {
                     "type": "string",
                     "enum": [
@@ -14206,6 +14233,9 @@
                   "enableChartsForFederatedInstances": {
                     "type": "boolean"
                   },
+                  "enableStatsForFederatedInstances": {
+                    "type": "boolean"
+                  },
                   "enableServerMachineStats": {
                     "type": "boolean"
                   },
@@ -16388,7 +16418,9 @@
                       "enum": [
                         "abuseReport",
                         "abuseReportResolved",
-                        "userCreated"
+                        "userCreated",
+                        "inactiveModeratorsWarning",
+                        "inactiveModeratorsInvitationOnlyChanged"
                       ]
                     }
                   },
@@ -16716,7 +16748,9 @@
                       "enum": [
                         "abuseReport",
                         "abuseReportResolved",
-                        "userCreated"
+                        "userCreated",
+                        "inactiveModeratorsWarning",
+                        "inactiveModeratorsInvitationOnlyChanged"
                       ]
                     }
                   }
@@ -17058,7 +17092,9 @@
                       "enum": [
                         "abuseReport",
                         "abuseReportResolved",
-                        "userCreated"
+                        "userCreated",
+                        "inactiveModeratorsWarning",
+                        "inactiveModeratorsInvitationOnlyChanged"
                       ]
                     }
                   },
@@ -17238,7 +17274,9 @@
                     "enum": [
                       "abuseReport",
                       "abuseReportResolved",
-                      "userCreated"
+                      "userCreated",
+                      "inactiveModeratorsWarning",
+                      "inactiveModeratorsInvitationOnlyChanged"
                     ]
                   },
                   "override": {
@@ -51061,6 +51099,16 @@
                       }
                     }
                   },
+                  "YOUR_NAME_CONTAINS_PROHIBITED_WORDS": {
+                    "value": {
+                      "error": {
+                        "message": "Your new name contains prohibited words.",
+                        "code": "YOUR_NAME_CONTAINS_PROHIBITED_WORDS",
+                        "id": "0b3f9f6a-2f4d-4b1f-9fb4-49d3a2fd7191",
+                        "httpStatusCode": 422
+                      }
+                    }
+                  },
                   "INVALID_PARAM": {
                     "value": {
                       "error": {
@@ -81952,6 +82000,9 @@
               "null"
             ]
           },
+          "enableTestcaptcha": {
+            "type": "boolean"
+          },
           "swPublickey": {
             "type": [
               "string",
@@ -82136,6 +82187,7 @@
           "recaptchaSiteKey",
           "enableTurnstile",
           "turnstileSiteKey",
+          "enableTestcaptcha",
           "swPublickey",
           "mascotImageUrl",
           "bannerUrl",
@@ -82286,7 +82338,9 @@
               "enum": [
                 "abuseReport",
                 "abuseReportResolved",
-                "userCreated"
+                "userCreated",
+                "inactiveModeratorsWarning",
+                "inactiveModeratorsInvitationOnlyChanged"
               ]
             }
           },

Get diff files from Workflow Page

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

Attention: Patch coverage is 40.53902% with 1059 lines in your changes missing coverage. Please review.

Project coverage is 39.65%. Comparing base (a304185) to head (21a2aa5).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...es/frontend/src/components/MkSignupDialog.form.vue 0.00% 75 Missing ⚠️
...ackages/backend/src/queue/QueueProcessorService.ts 27.45% 37 Missing ⚠️
...cessors/CheckModeratorsActivityProcessorService.ts 87.67% 36 Missing ⚠️
packages/backend/src/core/UserFollowingService.ts 9.37% 29 Missing ⚠️
packages/frontend/src/components/MkCaptcha.vue 0.00% 26 Missing ⚠️
...ges/backend/src/core/entities/NoteEntityService.ts 10.71% 25 Missing ⚠️
packages/frontend/src/pages/admin/moderation.vue 0.00% 24 Missing ⚠️
.../frontend/src/components/MkSystemWebhookEditor.vue 0.00% 23 Missing ⚠️
packages/backend/src/core/CustomEmojiService.ts 0.00% 22 Missing ⚠️
...nd/src/queue/processors/DeliverProcessorService.ts 0.00% 20 Missing ⚠️
... and 162 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14741      +/-   ##
==========================================
+ Coverage   39.56%   39.65%   +0.08%     
==========================================
  Files        1553     1554       +1     
  Lines      195039   195746     +707     
  Branches     3609     3605       -4     
==========================================
+ Hits        77174    77629     +455     
- Misses     117262   117515     +253     
+ Partials      603      602       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@syuilo
Copy link
Member

syuilo commented Oct 10, 2024

リリースするぞ

@syuilo
Copy link
Member

syuilo commented Oct 10, 2024

するぞ

@syuilo
Copy link
Member

syuilo commented Oct 10, 2024

ご確認を募集しています

FineArchs and others added 2 commits October 11, 2024 17:17
* fix emoji updating bug

* update changelog

* type fix

* " -> '

* conprehensiveness check

* lint

* undefined -> null
* feat(backend): 7日間運営のアクティビティがないサーバを自動的に招待制にする

* fix RoleService.

* fix

* fix

* fix

* add test and fix

* fix

* fix CHANGELOG.md

* fix test
@syuilo
Copy link
Member

syuilo commented Oct 14, 2024

リリースするぞ

Copy link
Member

@anatawa12 anatawa12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#14741 (comment)

このようにコメントを追加したいくらい

@syuilo
Copy link
Member

syuilo commented Oct 14, 2024

#14741 (comment)

このようにコメントを追加したいくらい

どこと同期させるかという問題があるわね

@anatawa12
Copy link
Member

一箇所にまとめるのもそうなんですが、一箇所直してほかを直し忘れると嫌なので相互(コメントをたどれば必ず全部に辿れるような書き方で)にコメントを書くのがいいと思ってます

@syuilo
Copy link
Member

syuilo commented Oct 14, 2024

他に同様の処理してるところが自分の検索力では見つからなかった

@anatawa12
Copy link
Member

is-renote.tsがisRenoteとisQuoteの組み合わせでisRenote(note) && !isQuote(note)でpure renoteやisRenote(note) && isQuote(note)で判定をすることを想定したユーティリティなのでこことリンクをしたい。

@syuilo
Copy link
Member

syuilo commented Oct 14, 2024

done

@syuilo
Copy link
Member

syuilo commented Oct 14, 2024

するぞ

Copy link
Member

@anatawa12 anatawa12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

相互であるべきだと思うけど(is-renote.tsいじったときにそっちがあることを認知できない)まぁいいか

@syuilo
Copy link
Member

syuilo commented Oct 15, 2024

する

syuilo and others added 2 commits October 15, 2024 13:01
* test(backend): add federation test

* fix(ci): install pnpm

* fix(ci): cd

* fix(ci): build entire project

* fix(ci): skip frontend build

* fix(ci): pull submodule when checkout

* chore: show log for debugging

* Revert "chore: show log for debugging"

This reverts commit a930964.

* fix(ci): build entire project

* chore: omit unused globals

* refactor: use strictEqual and simplify some asserts

* test: follow requests

* refactor: add resolveRemoteNote function

* refactor: refine resolveRemoteUser function

* refactor: cache admin credentials

* refactor: simplify assertion with excluded fields

* refactor: use assert

* test: note

* chore: labeler detect federation

* test: blocking

* test: move

* fix: use appropriate TLD

* chore: shorter purge interval

* fix(ci): change TLD

* refactor: delete trivial comment

* test(user): isCat

* chore: use jest

* chore: omit logs

* chore: add memo

* fix(ci): omit unnecessary build

* test: pinning Note

* fix: build daemon in container

* style: indent

* test(streaming): timeline

* chore: rename

* fix: delete role after test

* refactor: resolve users by uri

* fix: delete antenna after test

* test: api timeline

* test: Note deletion

* refactor: sleep function

* test: notification

* style: indent

* refactor: type-safe host

* docs: update description

* refactor: resolve function params

* fix(block): wrong test name

* fix: invalid type

* fix: longer timeout for fire testing

* test(timeline): hashtag

* test(note): vote delivery

* fix: wrong description

* fix: hashtag channel param type

* refactor: wrap basic cases

* test(timeline): add homeTimeline tests

* fix(timeline): correct wrong case and description

* test(notification): add tests for Note

* refactor(user): wrap profile consistency with describe

* chore(note): add issue link

* test(timeline): add test

* test(user): suspension

* test: emoji

* refactor: fetch admin first

* perf: faster tests

* test(drive): sensitive flag

* test(emoji): add tests

* chore: ignore .config/docker.env

* chore: hard-coded tester IP address

* test(emoji): custom emoji are surrounded by zero width space

* refactor: client and username as property

* test(notification): mute

* fix(notification): correct description

* test(block): mention

* refactor(emoji): addCustomEmoji function

* fix: typo

* test(note): add reaction tests

* test(timeline): Note deletion

* fix: unnecessary ts-expect-error

* refactor: unnecessary fetch mocking

* chore: add TODO comments

* test(user): deletion

* chore: enable --frozen-lockfile

* fix(ci): copying configs

* docs: update CONTRIBUTING.md

* docs: fix typo

* chore: set default sleep duration

* fix(notification): omit flaky tests

* fix(notification): correct type

* test(notification): add api endpoint tests

* chore: remove redundant mute test

* refactor: use param client

* fix: start timer after trigger

* refactor: remove unnecessary any

* chore: shorter timeout for checking if fired

* fix(block): remove outdated comment

* refactor: shorten remote user variable name

* refactor(block): use existing function

* refactor: file upload

* docs: update description

* test(user): ffVisibility

* fix: `/api/signin` -> `/api/signin-flow`

* test: abuse report

* refactor: use existing type

* refactor: extract duplicate configs to template file

* fix: typo

* fix: avoid conflict

* refactor: change container dependency

* perf: start misskey parallelly

* fix: remove dependency

* chore(backend): add typecheck

* test: add check for #14728

* chore: enable eslint check

* perf: don't start linked services when test

* test(note): remote note deletion for moderation

* chore: define config template

* chore: write setup script

* refactor: omit unnecessary conditional

* refactor: clarify scope

* refactor: omit type assertion

* refactor: omit logs

* style

* refactor: redundant promise

* refactor: unnecessary imports

* refactor: use readable error code

* refactor: cache set in signin function

* refactor: optimize import
@syuilo
Copy link
Member

syuilo commented Oct 15, 2024

ぽちっとな

@misskey-release-bot misskey-release-bot bot merged commit b99e13e into master Oct 15, 2024
@syuilo
Copy link
Member

syuilo commented Oct 15, 2024

🙏🏻 🙏🏻 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages/backend:test packages/backend Server side specific issue/PR packages/frontend Client side specific issue/PR packages/misskey-js
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants