forgejo/models/migrations/fixtures
Gusted a8c61532d2
feat: migrate TOTP secrets to keying
- Currently the TOTP secrets are stored using the `secrets` module with
as key the MD5 hash of the Secretkey, the `secrets` module uses general
bad practices. This patch migrates the secrets to use the `keying`
module (#5041) which is easier to use and use better practices to store
secrets in databases.
- Migration test added.
- Remove the Forgejo migration databases, and let the gitea migration
databases also run forgejo migration databases. This is required as the
Forgejo migration is now also touching tables that the forgejo migration
didn't create itself.
2024-11-27 00:34:16 +01:00
..
Test_AddCombinedIndexToIssueUser
Test_AddConfidentialClientColumnToOAuth2ApplicationTable Fix wrong table name (#30557) 2024-04-28 15:39:00 +02:00
Test_AddHeaderAuthorizationEncryptedColWebhook
Test_AddIssueResourceIndexTable
Test_AddPayloadVersionToHookTaskTable
Test_AddRepoIDForAttachment
Test_AddUniqueIndexForProjectIssue [PORT] gitea#30190: Add unique index for project_issue to prevent duplicate data 2024-04-07 14:51:50 +02:00
Test_CheckProjectColumnsConsistency
Test_DeleteOrphanedIssueLabels
Test_MigrateTwoFactorToKeying feat: migrate TOTP secrets to keying 2024-11-27 00:34:16 +01:00
Test_RemigrateU2FCredentials
Test_RemoveInvalidLabels
Test_RemoveSSHSignaturesFromReleaseNotes
Test_RepositoryFormat Remove If Exist check on migration for mssql because that syntax required SQL server 2016 (#30894) 2024-05-12 20:03:10 +02:00
Test_StoreWebauthnCredentialIDAsBytes
Test_UnwrapLDAPSourceCfg
Test_UpdateBadgeColName
Test_UpdateOpenMilestoneCounts