jojo/models/gitea_migrations
Gusted 691dd023ff chore: unify the usage of CryptoRandomString (#10110)
- Similair spirit of forgejo/forgejo!7453.
- Refactor the code in such a way that it always succeeds.
- To avoid doing mathematics if you use this function, define three security level (64, 128 and 256 bits) that correspond to a specific length which has that a security guarantee. I picked them as they fit the need for the existing usages of the code.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10110
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Reviewed-by: Lucas <sclu1034@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-11-15 13:24:53 +01:00
..
base chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
fixtures feat: add ActionUser model & fields to ActionRun 2025-11-06 11:07:38 +01:00
test chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_6 chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
v1_7 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_8 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_9 chore: unify the usage of CryptoRandomString (#10110) 2025-11-15 13:24:53 +01:00
v1_10 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_11 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_12 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_13 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_14 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_15 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_16 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_17 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_18 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_19 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_20 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_21 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_22 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
v1_23 chore: rename 'migrations' to 'gitea_migrations' 2025-10-14 14:40:49 -06:00
main_test.go fix: strict error handling on corrupted DB migration tracking tables (#9773) 2025-10-20 18:03:30 +02:00
migrations.go fix: strict error handling on corrupted DB migration tracking tables (#9773) 2025-10-20 18:03:30 +02:00
migrations_test.go fix: strict error handling on corrupted DB migration tracking tables (#9773) 2025-10-20 18:03:30 +02:00