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: 0.6.0 #394

Merged
merged 125 commits into from
Aug 30, 2024
Merged

Release: 0.6.0 #394

merged 125 commits into from
Aug 30, 2024

Conversation

kozakura913
Copy link
Collaborator

0.6.0

Cherrypick 4.11.1

Release Date

2024-08-31

General

Client

  • Enhance: 更新情報を確認の画面に幼女.artのチェンジログへのボタンを追加 #374
  • Enhance: /aboutで公式タグを表示できるように #357
  • Fix: 検索画面の不具合を修正 #346
    • リモートユーザー高度な検索画面で照会しますか?のダイアログが出ない問題
    • ユーザー検索画面で照会しますか?のダイアログが2つ出る問題
  • Fix: 更新情報を確認のCherryPickの項目へのリンクを修正 #372
  • Feat: お気に入りのタグリストを作成できるように #358
  • Enhance: リバーシ連合の対応状況をサーバー一覧に表示するように #384

Server

  • Fix: ユーザーnull(System)の場合forceがfalseでも新規追加されるのを修正 #363
  • Fix: Outboxから投稿を所得する際にタイムラインに投稿が流れないように #348
  • Fix: 翻訳にdeepl以外を利用していると翻訳できない問題を修正 #355
  • Fix: 絵文字インポート時にすでにファイルがあるならそれを使うように #362
  • Enhance: リバーシ連合の対応状況をnodeinfoに追加 #379

Misc

misskey-release-bot bot and others added 30 commits July 31, 2024 11:20
… / feat: moderators can see following/followers of all users (#14375)

* fix(backend): check visibility of following/followers of remote users

Resolves misskey-dev/misskey#13362.

* test(backend): add tests for visibility of following/followers of remote users

* docs(changelog): update CHANGELOG.md

* feat: moderators can see following/followers of all users

* docs(changelog): update CHANGELOG.md

* refactor(backend): minor refactoring

`createPerson`と`if`の条件を統一するとともに、異常系の
処理をearly returnに追い出すための変更。

* feat(backend): moderators can see following/followers count of all users

As per misskey-dev/misskey#14375 (comment).
* refactor: add and use isJsonObject

* fix: readNotification message without body is not working

* docs(changelog): WSの`readAllNotifications` メッセージが `body` を持たない場合に動作しない問題

* Update CHANGELOG.md

Co-authored-by: Sayamame-beans <[email protected]>

---------

Co-authored-by: Sayamame-beans <[email protected]>
* fix(backend): missing `visibility` param in packing flash

* fix(frontend): use `visibility` value got from API

* enhance(frontend): change preview appearance of private Play

* Update CHANGELOG.md
* fix(frontend): ページ遷移に失敗することがある問題を修正 (bump vue version)

* Update Changelog

---------

Co-authored-by: syuilo <[email protected]>
* fix(frontend): iosでの自動リンク化を抑制

* Update Changelog

* typo

* typo

* Update CHANGELOG.md
* fix(frontend): mCaptchaを使用していてもbotプロテクションに関する警告が消えないのを修正

* Update Changelog

* refactor
* fix: pass current user into `InstanceEntityService.packMany`

(cherry picked from commit 858ba188768017764c61c4a5591bdf2524a850e7)

* Update Changelog

* origin

* Update Changelog

---------

Co-authored-by: Hazel K <[email protected]>
* fix(backend): getApTypeでエラーを投げないように

* Update Changelog

* Update Changelog

* Update type.ts

* add comment
* fix(chart): ダイレクト投稿をユーザーごとのチャートから除外 (MisskeyIO#679)

(cherry picked from commit 3db41c2d829ac18daabbdf52fe6235a874735b31)

* Update Changelog

---------

Co-authored-by: Yuuki <[email protected]>
Co-authored-by: syuilo <[email protected]>
* New translations ja-jp.yml (Thai)

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

* New translations ja-jp.yml (Thai)

* New translations ja-jp.yml (Thai)

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

* New translations ja-jp.yml (Thai)

* New translations ja-jp.yml (Thai)

* New translations ja-jp.yml (Thai)

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

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

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (French)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (English)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (English)

* New translations ja-jp.yml (Portuguese)

* New translations ja-jp.yml (Portuguese)
(cherry picked from commit b6a5a36eaa66883e9306c782b71cb08f80cb12bc)
# Conflicts:
#	locales/index.d.ts
#	locales/ja-JP.yml
#	packages/backend/src/core/CoreModule.ts
#	packages/backend/src/core/entities/UserEntityService.ts
#	packages/backend/src/models/RepositoryModule.ts
#	packages/backend/src/models/_.ts
#	packages/backend/src/models/json-schema/user.ts
#	packages/backend/src/server/api/endpoints/i/update.ts
#	packages/backend/src/types.ts
#	packages/cherrypick-js/etc/cherrypick-js.api.md
#	packages/cherrypick-js/src/autogen/endpoint.ts
#	packages/cherrypick-js/src/autogen/entities.ts
#	packages/cherrypick-js/src/consts.ts
#	packages/frontend/src/pages/admin-user.vue
#	packages/frontend/src/pages/user/home.vue
#	packages/frontend/src/pages/user/index.timeline.vue

Co-authored-by: まっちゃてぃー。 <[email protected]>
(cherry picked from commit 5a9d8a556440452bdf803c323b93098e7c716a54)
# Conflicts:
#	locales/ja-JP.yml
#	packages/backend/src/core/CoreModule.ts
#	packages/backend/src/core/RoleService.ts
#	packages/backend/src/core/entities/UserEntityService.ts
#	packages/backend/src/models/RepositoryModule.ts
#	packages/backend/src/models/_.ts
#	packages/backend/src/models/json-schema/role.ts
#	packages/backend/src/types.ts
#	packages/backend/test/e2e/users.ts
#	packages/cherrypick-js/etc/cherrypick-js.api.md
#	packages/cherrypick-js/src/autogen/endpoint.ts
#	packages/cherrypick-js/src/autogen/entities.ts
#	packages/cherrypick-js/src/autogen/types.ts
#	packages/cherrypick-js/src/consts.ts
#	packages/frontend/src/const.ts
#	packages/frontend/src/pages/admin-user.vue
#	packages/frontend/src/pages/user/home.vue
#	packages/frontend/src/pages/user/index.timeline.vue

Co-authored-by: まっちゃてぃー。 <[email protected]>
(cherry picked from commit 90be6317e6cd39e82bc0b1a108fe490f0fb772a9)
# Conflicts:
#	locales/en-US.yml
#	locales/ko-KR.yml

Co-authored-by: まっちゃとーにゅ <[email protected]>
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@@ -1,4 +1,4 @@
name: Check the description in CHANGELOG.md
name: Check the description in CHANGELOG_CHERRYPICK.md

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: no topLevel permission defined
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help
Copy link
Contributor

github-actions bot commented Aug 30, 2024

이 PR에 의한 api.json 차이

차이점은 여기에서 볼 수 있음
--- base
+++ head
@@ -1,8 +1,8 @@
 {
   "openapi": "3.1.0",
   "info": {
-    "version": "4.10.0-rc.3-yojo0.5.2",
-    "description": "2024.7.0",
+    "version": "4.11.1-yojo0.6.0",
+    "description": "2024.8.0",
     "title": "CherryPick API"
   },
   "externalDocs": {
@@ -6011,6 +6011,154 @@
         }
       }
     },
+    "/admin/unset-user-mutual-link": {
+      "post": {
+        "operationId": "admin___unset-user-mutual-link",
+        "summary": "admin/unset-user-mutual-link",
+        "description": "No description provided.\n\n**Internal Endpoint**: This endpoint is an API for the cherrypick mainframe and is not intended for use by third parties.\n**Credential required**: *Yes* / **Permission**: *write:admin:unset-user-mutual-link*",
+        "externalDocs": {
+          "description": "Source code",
+          "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/admin/unset-user-mutual-link.ts"
+        },
+        "tags": [
+          "admin"
+        ],
+        "security": [
+          {
+            "bearerAuth": []
+          }
+        ],
+        "requestBody": {
+          "required": true,
+          "content": {
+            "application/json": {
+              "schema": {
+                "type": "object",
+                "properties": {
+                  "userId": {
+                    "type": "string",
+                    "format": "misskey:id"
+                  }
+                },
+                "required": [
+                  "userId"
+                ]
+              }
+            }
+          }
+        },
+        "responses": {
+          "204": {
+            "description": "OK (without any results)"
+          },
+          "400": {
+            "description": "Client error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "INVALID_PARAM": {
+                    "value": {
+                      "error": {
+                        "message": "Invalid param.",
+                        "code": "INVALID_PARAM",
+                        "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "401": {
+            "description": "Authentication error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "CREDENTIAL_REQUIRED": {
+                    "value": {
+                      "error": {
+                        "message": "Credential required.",
+                        "code": "CREDENTIAL_REQUIRED",
+                        "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "403": {
+            "description": "Forbidden error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "AUTHENTICATION_FAILED": {
+                    "value": {
+                      "error": {
+                        "message": "Authentication failed. Please ensure your token is correct.",
+                        "code": "AUTHENTICATION_FAILED",
+                        "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "418": {
+            "description": "I'm Ai",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "I_AM_AI": {
+                    "value": {
+                      "error": {
+                        "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.",
+                        "code": "I_AM_AI",
+                        "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "500": {
+            "description": "Internal server error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "INTERNAL_ERROR": {
+                    "value": {
+                      "error": {
+                        "message": "Internal error occurred. Please contact us if the error persists.",
+                        "code": "INTERNAL_ERROR",
+                        "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          }
+        }
+      }
+    },
     "/admin/drive/clean-remote-files": {
       "post": {
         "operationId": "admin___drive___clean-remote-files",
@@ -38147,6 +38295,15 @@
                       }
                     }
                   },
+                  "ACCESS_DENIED": {
+                    "value": {
+                      "error": {
+                        "message": "Access denied.",
+                        "code": "ACCESS_DENIED",
+                        "id": "c86e09de-1c48-43ac-a435-1c7e42ed4496"
+                      }
+                    }
+                  },
                   "INVALID_PARAM": {
                     "value": {
                       "error": {
@@ -50583,6 +50740,49 @@
                     "items": {
                       "type": "string"
                     }
+                  },
+                  "mutualLinkSections": {
+                    "type": "array",
+                    "items": {
+                      "type": "object",
+                      "properties": {
+                        "name": {
+                          "type": [
+                            "string",
+                            "null"
+                          ]
+                        },
+                        "mutualLinks": {
+                          "type": "array",
+                          "items": {
+                            "type": "object",
+                            "properties": {
+                              "url": {
+                                "type": "string",
+                                "format": "url"
+                              },
+                              "fileId": {
+                                "type": "string",
+                                "format": "misskey:id"
+                              },
+                              "description": {
+                                "type": [
+                                  "string",
+                                  "null"
+                                ]
+                              }
+                            },
+                            "required": [
+                              "url",
+                              "fileId"
+                            ]
+                          }
+                        }
+                      },
+                      "required": [
+                        "mutualLinks"
+                      ]
+                    }
                   }
                 }
               }
@@ -50618,6 +50818,15 @@
                       }
                     }
                   },
+                  "NO_SUCH_FILE": {
+                    "value": {
+                      "error": {
+                        "message": "No such file.",
+                        "code": "NO_SUCH_FILE",
+                        "id": "e0f0d3c7-e704-4314-a0b5-04286d69a65c"
+                      }
+                    }
+                  },
                   "NO_SUCH_BANNER": {
                     "value": {
                       "error": {
@@ -50636,6 +50845,15 @@
                       }
                     }
                   },
+                  "FILE_NOT_AN_IMAGE": {
+                    "value": {
+                      "error": {
+                        "message": "The specified file is not an image.",
+                        "code": "FILE_NOT_AN_IMAGE",
+                        "id": "2851568b-5ad1-4031-bf0d-5320afebf3a9"
+                      }
+                    }
+                  },
                   "BANNER_NOT_AN_IMAGE": {
                     "value": {
                       "error": {
@@ -53872,6 +54090,203 @@
         }
       }
     },
+    "/messaging/messages/search": {
+      "post": {
+        "operationId": "messaging___messages___search",
+        "summary": "messaging/messages/search",
+        "description": "No description provided.\n\n**Credential required**: *Yes* / **Permission**: *read:messaging*",
+        "externalDocs": {
+          "description": "Source code",
+          "url": "https://github.com/kokonect-link/cherrypick/blob/develop/packages/backend/src/server/api/endpoints/messaging/messages/search.ts"
+        },
+        "tags": [
+          "messaging"
+        ],
+        "security": [
+          {
+            "bearerAuth": []
+          }
+        ],
+        "requestBody": {
+          "required": true,
+          "content": {
+            "application/json": {
+              "schema": {
+                "type": "object",
+                "properties": {
+                  "query": {
+                    "type": "string"
+                  },
+                  "sinceId": {
+                    "type": "string",
+                    "format": "misskey:id"
+                  },
+                  "untilId": {
+                    "type": "string",
+                    "format": "misskey:id"
+                  },
+                  "limit": {
+                    "type": "integer",
+                    "minimum": 1,
+                    "maximum": 100,
+                    "default": 10
+                  },
+                  "recipientId": {
+                    "type": [
+                      "string",
+                      "null"
+                    ],
+                    "format": "misskey:id",
+                    "default": null
+                  },
+                  "groupId": {
+                    "type": [
+                      "string",
+                      "null"
+                    ],
+                    "format": "misskey:id",
+                    "default": null
+                  }
+                },
+                "required": [
+                  "query"
+                ]
+              }
+            }
+          }
+        },
+        "responses": {
+          "200": {
+            "description": "OK (with results)",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "type": "array",
+                  "items": {
+                    "type": "object",
+                    "$ref": "#/components/schemas/MessagingMessage"
+                  }
+                }
+              }
+            }
+          },
+          "400": {
+            "description": "Client error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "UNAVAILABLE": {
+                    "value": {
+                      "error": {
+                        "message": "Search of direct messages is ",
+                        "code": "UNAVAILABLE",
+                        "id": "5e086500-f40e-11ee-90b4-00155d403610"
+                      }
+                    }
+                  },
+                  "INVALID_PARAM": {
+                    "value": {
+                      "error": {
+                        "message": "Invalid param.",
+                        "code": "INVALID_PARAM",
+                        "id": "3d81ceae-475f-4600-b2a8-2bc116157532"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "401": {
+            "description": "Authentication error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "CREDENTIAL_REQUIRED": {
+                    "value": {
+                      "error": {
+                        "message": "Credential required.",
+                        "code": "CREDENTIAL_REQUIRED",
+                        "id": "1384574d-a912-4b81-8601-c7b1c4085df1"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "403": {
+            "description": "Forbidden error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "AUTHENTICATION_FAILED": {
+                    "value": {
+                      "error": {
+                        "message": "Authentication failed. Please ensure your token is correct.",
+                        "code": "AUTHENTICATION_FAILED",
+                        "id": "b0a7f5f8-dc2f-4171-b91f-de88ad238e14"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "418": {
+            "description": "I'm Ai",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "I_AM_AI": {
+                    "value": {
+                      "error": {
+                        "message": "You sent a request to Ai-chan, CherryPick's showgirl, instead of the server.",
+                        "code": "I_AM_AI",
+                        "id": "60c46cd1-f23a-46b1-bebe-5d2b73951a84"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          },
+          "500": {
+            "description": "Internal server error",
+            "content": {
+              "application/json": {
+                "schema": {
+                  "$ref": "#/components/schemas/Error"
+                },
+                "examples": {
+                  "INTERNAL_ERROR": {
+                    "value": {
+                      "error": {
+                        "message": "Internal error occurred. Please contact us if the error persists.",
+                        "code": "INTERNAL_ERROR",
+                        "id": "5d37dbcb-891e-41ca-a3d6-e690c97775ac"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          }
+        }
+      }
+    },
     "/meta": {
       "post": {
         "operationId": "meta",
@@ -81807,6 +82222,9 @@
                 },
                 "displayOrder": {
                   "type": "number"
+                },
+                "behavior": {
+                  "type": "string"
                 }
               },
               "required": [
@@ -82044,6 +82462,59 @@
           "moderationNote": {
             "type": "string"
           },
+          "mutualLinkSections": {
+            "type": "array",
+            "items": {
+              "type": "object",
+              "properties": {
+                "name": {
+                  "type": [
+                    "string",
+                    "null"
+                  ]
+                },
+                "mutualLinks": {
+                  "type": "array",
+                  "items": {
+                    "type": "object",
+                    "properties": {
+                      "id": {
+                        "type": "string",
+                        "format": "misskey:id"
+                      },
+                      "url": {
+                        "type": "string"
+                      },
+                      "fileId": {
+                        "type": "string",
+                        "format": "misskey:id"
+                      },
+                      "description": {
+                        "type": [
+                          "string",
+                          "null"
+                        ]
+                      },
+                      "imgSrc": {
+                        "type": "string"
+                      }
+                    },
+                    "required": [
+                      "id",
+                      "url",
+                      "fileId",
+                      "description",
+                      "imgSrc"
+                    ]
+                  }
+                }
+              },
+              "required": [
+                "name",
+                "mutualLinks"
+              ]
+            }
+          },
           "isFollowing": {
             "type": "boolean"
           },
@@ -82112,7 +82583,8 @@
           "usePasswordLessLogin",
           "securityKeys",
           "roles",
-          "memo"
+          "memo",
+          "mutualLinkSections"
         ]
       },
       "MeDetailedOnly": {
@@ -85469,6 +85941,12 @@
               "string",
               "null"
             ]
+          },
+          "reversiVersion": {
+            "type": [
+              "string",
+              "null"
+            ]
           }
         },
         "required": [
@@ -85716,6 +86194,13 @@
           "script": {
             "type": "string"
           },
+          "visibility": {
+            "type": "string",
+            "enum": [
+              "private",
+              "public"
+            ]
+          },
           "likedCount": {
             "type": [
               "number",
@@ -85735,6 +86220,7 @@
           "title",
           "summary",
           "script",
+          "visibility",
           "likedCount"
         ]
       },
@@ -86189,6 +86675,12 @@
           },
           "canEditNote": {
             "type": "boolean"
+          },
+          "mutualLinkSectionLimit": {
+            "type": "integer"
+          },
+          "mutualLinkLimit": {
+            "type": "integer"
           }
         },
         "required": [
@@ -86220,7 +86712,9 @@
           "rateLimitFactor",
           "avatarDecorationLimit",
           "fileSizeLimit",
-          "canEditNote"
+          "canEditNote",
+          "mutualLinkSectionLimit",
+          "mutualLinkLimit"
         ]
       },
       "ReversiGameLite": {
@@ -86813,6 +87307,9 @@
               "global"
             ],
             "default": "local"
+          },
+          "reversiVersion": {
+            "type": "string"
           }
         },
         "required": [
@@ -86867,7 +87364,8 @@
           "serverRules",
           "themeColor",
           "policies",
-          "noteSearchableScope"
+          "noteSearchableScope",
+          "reversiVersion"
         ]
       },
       "MetaDetailedOnly": {

Get diff files from Workflow Page

@kozakura913 kozakura913 merged commit 9094d9f into master Aug 30, 2024
51 of 55 checks passed
@kozakura913 kozakura913 added this to the yojo0.6.0 milestone Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.