mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-19 00:01:16 -04:00
Compare commits
No commits in common. "14731a34ff4d854b8427fa3ca880f40bcd86e1e3" and "24a215e317103471aeb864f365089a36076efc1d" have entirely different histories.
14731a34ff
...
24a215e317
@ -180,6 +180,3 @@ For events supported only by GitHub, see GitHub's [documentation](https://docs.g
|
|||||||
| pull_request_review_comment | `created`, `edited` |
|
| pull_request_review_comment | `created`, `edited` |
|
||||||
| release | `published`, `edited` |
|
| release | `published`, `edited` |
|
||||||
| registry_package | `published` |
|
| registry_package | `published` |
|
||||||
|
|
||||||
> For `pull_request` events, in [GitHub Actions](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request), the `ref` is `refs/pull/:prNumber/merge`, which is a reference to the merge commit preview. However, Gitea has no such reference.
|
|
||||||
> Therefore, the `ref` in Gitea Actions is `refs/pull/:prNumber/head`, which points to the head of pull request rather than the preview of the merge commit.
|
|
||||||
|
@ -180,6 +180,3 @@ defaults:
|
|||||||
| pull_request_review_comment | `created`, `edited` |
|
| pull_request_review_comment | `created`, `edited` |
|
||||||
| release | `published`, `edited` |
|
| release | `published`, `edited` |
|
||||||
| registry_package | `published` |
|
| registry_package | `published` |
|
||||||
|
|
||||||
> 对于 `pull_request` 事件,在 [GitHub Actions](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request) 中 `ref` 是 `refs/pull/:prNumber/merge`,它指向这个拉取请求合并提交的一个预览。但是 Gitea 没有这种 reference。
|
|
||||||
> 因此,Gitea Actions 中 `ref` 是 `refs/pull/:prNumber/head`,它指向这个拉取请求的头分支而不是合并提交的预览。
|
|
||||||
|
@ -15,7 +15,7 @@ import (
|
|||||||
type IssueUser struct {
|
type IssueUser struct {
|
||||||
ID int64 `xorm:"pk autoincr"`
|
ID int64 `xorm:"pk autoincr"`
|
||||||
UID int64 `xorm:"INDEX"` // User ID.
|
UID int64 `xorm:"INDEX"` // User ID.
|
||||||
IssueID int64 `xorm:"INDEX"`
|
IssueID int64
|
||||||
IsRead bool
|
IsRead bool
|
||||||
IsMentioned bool
|
IsMentioned bool
|
||||||
}
|
}
|
||||||
|
@ -534,8 +534,6 @@ var migrations = []Migration{
|
|||||||
NewMigration("Add ScheduleID for ActionRun", v1_21.AddScheduleIDForActionRun),
|
NewMigration("Add ScheduleID for ActionRun", v1_21.AddScheduleIDForActionRun),
|
||||||
// v276 -> v277
|
// v276 -> v277
|
||||||
NewMigration("Add RemoteAddress to mirrors", v1_21.AddRemoteAddressToMirrors),
|
NewMigration("Add RemoteAddress to mirrors", v1_21.AddRemoteAddressToMirrors),
|
||||||
// v277 -> v278
|
|
||||||
NewMigration("Add Index to issue_user.issue_id", v1_21.AddIndexToIssueUserIssueID),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetCurrentDBVersion returns the current db version
|
// GetCurrentDBVersion returns the current db version
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
||||||
// SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
package v1_21 //nolint
|
|
||||||
|
|
||||||
import (
|
|
||||||
"xorm.io/xorm"
|
|
||||||
)
|
|
||||||
|
|
||||||
func AddIndexToIssueUserIssueID(x *xorm.Engine) error {
|
|
||||||
type IssueUser struct {
|
|
||||||
IssueID int64 `xorm:"INDEX"`
|
|
||||||
}
|
|
||||||
|
|
||||||
return x.Sync(new(IssueUser))
|
|
||||||
}
|
|
@ -2717,7 +2717,6 @@ dashboard.gc_lfs=LFSメタオブジェクトのガベージコレクション
|
|||||||
dashboard.stop_zombie_tasks=ゾンビタスクを停止
|
dashboard.stop_zombie_tasks=ゾンビタスクを停止
|
||||||
dashboard.stop_endless_tasks=終わらないタスクを停止
|
dashboard.stop_endless_tasks=終わらないタスクを停止
|
||||||
dashboard.cancel_abandoned_jobs=放置されたままのジョブをキャンセル
|
dashboard.cancel_abandoned_jobs=放置されたままのジョブをキャンセル
|
||||||
dashboard.start_schedule_tasks=スケジュールタスクを開始
|
|
||||||
|
|
||||||
users.user_manage_panel=ユーザーアカウント管理
|
users.user_manage_panel=ユーザーアカウント管理
|
||||||
users.new_account=ユーザーアカウントを作成
|
users.new_account=ユーザーアカウントを作成
|
||||||
@ -2726,9 +2725,6 @@ users.full_name=フルネーム
|
|||||||
users.activated=アクティベート済み
|
users.activated=アクティベート済み
|
||||||
users.admin=管理者
|
users.admin=管理者
|
||||||
users.restricted=制限あり
|
users.restricted=制限あり
|
||||||
users.reserved=予約済み
|
|
||||||
users.bot=Bot
|
|
||||||
users.remote=リモート
|
|
||||||
users.2fa=2FA
|
users.2fa=2FA
|
||||||
users.repos=リポジトリ
|
users.repos=リポジトリ
|
||||||
users.created=作成日
|
users.created=作成日
|
||||||
@ -2775,7 +2771,6 @@ users.list_status_filter.is_prohibit_login=ログインを禁止
|
|||||||
users.list_status_filter.not_prohibit_login=ログインを許可
|
users.list_status_filter.not_prohibit_login=ログインを許可
|
||||||
users.list_status_filter.is_2fa_enabled=2要素認証有効
|
users.list_status_filter.is_2fa_enabled=2要素認証有効
|
||||||
users.list_status_filter.not_2fa_enabled=2要素認証無効
|
users.list_status_filter.not_2fa_enabled=2要素認証無効
|
||||||
users.details=ユーザーの詳細
|
|
||||||
|
|
||||||
emails.email_manage_panel=ユーザーメールアドレスの管理
|
emails.email_manage_panel=ユーザーメールアドレスの管理
|
||||||
emails.primary=プライマリー
|
emails.primary=プライマリー
|
||||||
@ -2811,7 +2806,6 @@ repos.size=サイズ
|
|||||||
packages.package_manage_panel=パッケージ管理
|
packages.package_manage_panel=パッケージ管理
|
||||||
packages.total_size=合計サイズ: %s
|
packages.total_size=合計サイズ: %s
|
||||||
packages.unreferenced_size=非参照サイズ: %s
|
packages.unreferenced_size=非参照サイズ: %s
|
||||||
packages.cleanup=期限切れデータを掃除する
|
|
||||||
packages.owner=オーナー
|
packages.owner=オーナー
|
||||||
packages.creator=作成者
|
packages.creator=作成者
|
||||||
packages.name=名前
|
packages.name=名前
|
||||||
@ -2918,7 +2912,6 @@ auths.sspi_default_language=ユーザーのデフォルトの言語
|
|||||||
auths.sspi_default_language_helper=SSPI認証処理によって自動的に作成されるユーザーのデフォルトの言語です。 言語を自動検出する方が良い場合は空のままにしてください。
|
auths.sspi_default_language_helper=SSPI認証処理によって自動的に作成されるユーザーのデフォルトの言語です。 言語を自動検出する方が良い場合は空のままにしてください。
|
||||||
auths.tips=ヒント
|
auths.tips=ヒント
|
||||||
auths.tips.oauth2.general=OAuth2認証
|
auths.tips.oauth2.general=OAuth2認証
|
||||||
auths.tips.oauth2.general.tip=新しいOAuth2認証を登録するときは、コールバック/リダイレクトURLは以下になります:
|
|
||||||
auths.tip.oauth2_provider=OAuth2プロバイダー
|
auths.tip.oauth2_provider=OAuth2プロバイダー
|
||||||
auths.tip.bitbucket=新しいOAuthコンシューマーを https://bitbucket.org/account/user/<あなたのユーザー名>/oauth-consumers/new から登録し、"アカウント" に "読み取り" 権限を追加してください。
|
auths.tip.bitbucket=新しいOAuthコンシューマーを https://bitbucket.org/account/user/<あなたのユーザー名>/oauth-consumers/new から登録し、"アカウント" に "読み取り" 権限を追加してください。
|
||||||
auths.tip.nextcloud=新しいOAuthコンシューマーを、インスタンスのメニュー "Settings -> Security -> OAuth 2.0 client" から登録してください。
|
auths.tip.nextcloud=新しいOAuthコンシューマーを、インスタンスのメニュー "Settings -> Security -> OAuth 2.0 client" から登録してください。
|
||||||
@ -2959,7 +2952,6 @@ config.disable_router_log=ルーターのログが無効
|
|||||||
config.run_user=実行ユーザー名
|
config.run_user=実行ユーザー名
|
||||||
config.run_mode=実行モード
|
config.run_mode=実行モード
|
||||||
config.git_version=Gitバージョン
|
config.git_version=Gitバージョン
|
||||||
config.app_data_path=Appデータパス
|
|
||||||
config.repo_root_path=リポジトリのルートパス
|
config.repo_root_path=リポジトリのルートパス
|
||||||
config.lfs_root_path=LFSルートパス
|
config.lfs_root_path=LFSルートパス
|
||||||
config.log_file_root_path=ログの保存先パス
|
config.log_file_root_path=ログの保存先パス
|
||||||
|
@ -1343,7 +1343,7 @@ outer:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return diff, nil
|
return diff, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// CommentAsDiff returns c.Patch as *Diff
|
// CommentAsDiff returns c.Patch as *Diff
|
||||||
|
Loading…
x
Reference in New Issue
Block a user