forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'giteaofficial/main'
* giteaofficial/main: (21 commits) Use 8 as default value for git lfs concurrency (go-gitea#32421) Fix milestone deadline and date related problems (go-gitea#32339) Only query team tables if repository is under org when getting assignees (go-gitea#32414) Refactor RepoRefByType (go-gitea#32413) Refactor template ctx and render utils (go-gitea#32422) Refactor DateUtils and merge TimeSince (go-gitea#32409) Refactor markup package (go-gitea#32399) Add some handy markdown editor features (go-gitea#32400) Make LFS http_client parallel within a batch. (go-gitea#32369) Refactor repo legacy (go-gitea#32404) Replace DateTime with proper functions (go-gitea#32402) Fix git error handling (go-gitea#32401) Fix created_unix for mirroring (go-gitea#32342) Replace DateTime with DateUtils (go-gitea#32383) improve performance of diffs (go-gitea#32393) Refactor tests to prevent from unnecessary preparations (go-gitea#32398) Add artifacts test fixture (go-gitea#30300) Fix `missing signature key` error when pulling Docker images with `SERVE_DIRECT` enabled (go-gitea#32365) Fix a number of typescript issues (go-gitea#32308) Update go dependencies (go-gitea#32389) ...
- Loading branch information
Showing
237 changed files
with
6,073 additions
and
5,356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
- | ||
id: 1 | ||
run_id: 791 | ||
runner_id: 1 | ||
repo_id: 4 | ||
owner_id: 1 | ||
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0 | ||
storage_path: "26/1/1712166500347189545.chunk" | ||
file_size: 1024 | ||
file_compressed_size: 1024 | ||
content_encoding: "" | ||
artifact_path: "abc.txt" | ||
artifact_name: "artifact-download" | ||
status: 1 | ||
created_unix: 1712338649 | ||
updated_unix: 1712338649 | ||
expired_unix: 1720114649 | ||
|
||
- | ||
id: 19 | ||
run_id: 791 | ||
runner_id: 1 | ||
repo_id: 4 | ||
owner_id: 1 | ||
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0 | ||
storage_path: "26/19/1712348022422036662.chunk" | ||
file_size: 1024 | ||
file_compressed_size: 1024 | ||
content_encoding: "" | ||
artifact_path: "abc.txt" | ||
artifact_name: "multi-file-download" | ||
status: 2 | ||
created_unix: 1712348022 | ||
updated_unix: 1712348022 | ||
expired_unix: 1720124022 | ||
|
||
- | ||
id: 20 | ||
run_id: 791 | ||
runner_id: 1 | ||
repo_id: 4 | ||
owner_id: 1 | ||
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0 | ||
storage_path: "26/20/1712348022423431524.chunk" | ||
file_size: 1024 | ||
file_compressed_size: 1024 | ||
content_encoding: "" | ||
artifact_path: "xyz/def.txt" | ||
artifact_name: "multi-file-download" | ||
status: 2 | ||
created_unix: 1712348022 | ||
updated_unix: 1712348022 | ||
expired_unix: 1720124022 | ||
|
||
- | ||
id: 22 | ||
run_id: 792 | ||
runner_id: 1 | ||
repo_id: 4 | ||
owner_id: 1 | ||
commit_sha: c2d72f548424103f01ee1dc02889c1e2bff816b0 | ||
storage_path: "27/5/1730330775594233150.chunk" | ||
file_size: 1024 | ||
file_compressed_size: 1024 | ||
content_encoding: "application/zip" | ||
artifact_path: "artifact-v4-download.zip" | ||
artifact_name: "artifact-v4-download" | ||
status: 2 | ||
created_unix: 1730330775 | ||
updated_unix: 1730330775 | ||
expired_unix: 1738106775 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright 2024 The Gitea Authors. All rights reserved. | ||
// SPDX-License-Identifier: MIT | ||
|
||
package v1_23 //nolint | ||
|
||
import ( | ||
"code.gitea.io/gitea/modules/timeutil" | ||
|
||
"xorm.io/xorm" | ||
) | ||
|
||
func FixMilestoneNoDueDate(x *xorm.Engine) error { | ||
type Milestone struct { | ||
DeadlineUnix timeutil.TimeStamp | ||
} | ||
// Wednesday, December 1, 9999 12:00:00 AM GMT+00:00 | ||
_, err := x.Table("milestone").Where("deadline_unix > 253399622400"). | ||
Cols("deadline_unix"). | ||
Update(&Milestone{DeadlineUnix: 0}) | ||
return err | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.