mirror of
1
Fork 0
forgejo/routers/web/org
Denys Konovalov 8ffb9c6fb1
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>
(cherry picked from commit e5160185ed65fd1c2bcb2fc7dc7e0b5514ddb299)

Conflicts:
	options/locale/locale_en-US.ini
	trivial conflict because Forgejo strings do not have
	surrounding double quotes
2024-03-30 07:17:31 +01:00
..
setting Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
home.go Filter Repositories by type (#29231) 2024-03-06 12:10:46 +08:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
members.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
org.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
org_labels.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
projects.go Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-30 07:17:31 +01:00
projects_test.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
setting.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
setting_oauth2.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
setting_packages.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
teams.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00