mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 15:21:04 +00:00
8ffb9c6fb1
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> (cherry picked from commit e5160185ed65fd1c2bcb2fc7dc7e0b5514ddb299) Conflicts: options/locale/locale_en-US.ini trivial conflict because Forgejo strings do not have surrounding double quotes
26 lines
393 B
YAML
26 lines
393 B
YAML
-
|
|
id: 1
|
|
project_id: 1
|
|
title: Done
|
|
creator_id: 2
|
|
default: false
|
|
created_unix: 1588117528
|
|
updated_unix: 1588117528
|
|
|
|
-
|
|
id: 2
|
|
project_id: 2
|
|
title: Backlog
|
|
creator_id: 2
|
|
default: true
|
|
created_unix: 1588117528
|
|
updated_unix: 1588117528
|
|
|
|
-
|
|
id: 3
|
|
project_id: 2
|
|
title: Uncategorized
|
|
creator_id: 2
|
|
default: true
|
|
created_unix: 1588117528
|
|
updated_unix: 1588117528
|