mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 11:44:27 +00:00
e5160185ed
On creation of an empty project (no template) a default board will be created instead of falling back to the uneditable pseudo-board. Every project now has to have exactly one default boards. As a consequence, you cannot unset a board as default, instead you have to set another board as default. Existing projects will be modified using a cron job, additionally this check will run every midnight by default. Deleting the default board is not allowed, you have to set another board as default to do it. Fixes #29873 Fixes #14679 along the way Fixes #29853 Co-authored-by: delvh <dev.lh@web.de>
72 lines
1.1 KiB
YAML
72 lines
1.1 KiB
YAML
-
|
|
id: 1
|
|
title: First project
|
|
owner_id: 0
|
|
repo_id: 1
|
|
is_closed: false
|
|
creator_id: 2
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973030
|
|
updated_unix: 1688973030
|
|
|
|
-
|
|
id: 2
|
|
title: second project
|
|
owner_id: 0
|
|
repo_id: 3
|
|
is_closed: false
|
|
creator_id: 3
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973010
|
|
updated_unix: 1688973010
|
|
|
|
-
|
|
id: 3
|
|
title: project on repo with disabled project
|
|
owner_id: 0
|
|
repo_id: 4
|
|
is_closed: true
|
|
creator_id: 5
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973020
|
|
updated_unix: 1688973020
|
|
|
|
-
|
|
id: 4
|
|
title: project on user2
|
|
owner_id: 2
|
|
repo_id: 0
|
|
is_closed: false
|
|
creator_id: 2
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973000
|
|
updated_unix: 1688973000
|
|
|
|
-
|
|
id: 5
|
|
title: project without default column
|
|
owner_id: 2
|
|
repo_id: 0
|
|
is_closed: false
|
|
creator_id: 2
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973000
|
|
updated_unix: 1688973000
|
|
|
|
-
|
|
id: 6
|
|
title: project with multiple default columns
|
|
owner_id: 2
|
|
repo_id: 0
|
|
is_closed: false
|
|
creator_id: 2
|
|
board_type: 1
|
|
type: 2
|
|
created_unix: 1688973000
|
|
updated_unix: 1688973000
|