1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/models/project
Denys Konovalov e5160185ed
Add default board to new projects, remove uncategorized pseudo-board (#29874)
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>
2024-03-27 20:54:32 +00:00
..
board_test.go Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
board.go Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
issue.go More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
project_test.go Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-27 20:54:32 +00:00
project.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00