Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/models/migrations/fixtures
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
..
Test_AddCombinedIndexToIssueUser [CI] Fix false positive in database migration 2024-02-05 13:33:59 +01:00
Test_AddConfidentialClientColumnToOAuth2ApplicationTable Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_AddHeaderAuthorizationEncryptedColWebhook Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_AddIssueResourceIndexTable Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
Test_AddPayloadVersionToHookTaskTable add test for webhook migration 2024-03-11 23:37:00 +07:00
Test_AddRepoIDForAttachment Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
Test_CheckProjectColumnsConsistency Add default board to new projects, remove uncategorized pseudo-board (#29874) 2024-03-30 07:17:31 +01:00
Test_DeleteOrphanedIssueLabels Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_RemigrateU2FCredentials Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_RemoveInvalidLabels Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_RemoveSSHSignaturesFromReleaseNotes Add a migration to remove SSH signatures from release notes 2024-03-26 08:09:36 +00:00
Test_RepositoryFormat Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
Test_StoreWebauthnCredentialIDAsBytes Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
Test_UnwrapLDAPSourceCfg Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00
Test_UpdateBadgeColName Fix bug hidden on CI and make ci failed if tests failure (#29254) 2024-03-11 23:36:59 +07:00
Test_UpdateOpenMilestoneCounts Move migration test fixtures to the correct directories (#21901) 2022-11-23 18:24:55 +08:00