forgejo/models/auth
6543 e2371743d5
remove util.OptionalBool and related functions ()
and migrate affected code

_last refactoring bits to replace **util.OptionalBool** with
**optional.Option[bool]**_

(cherry picked from commit a3f05d0d98408bb47333b19f505b21afcefa9e7c)

Conflicts:
	services/repository/branch.go
	trivial context conflict
2024-03-06 12:10:46 +08:00
..
access_token.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00
access_token_scope.go [GITEA] silently ignore obsolete sudo scope 2024-02-05 16:05:50 +01:00
access_token_scope_test.go [GITEA] silently ignore obsolete sudo scope 2024-02-05 16:05:50 +01:00
access_token_test.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00
auth_token.go [SECURITY] Rework long-term authentication 2024-02-05 15:06:15 +01:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
oauth2.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00
oauth2_list.go Use db.Find instead of writing methods for every object () 2023-11-24 03:49:41 +00:00
oauth2_test.go Final round of db.DefaultContext refactor () 2023-10-14 08:37:24 +00:00
session.go Fix session key conflict with database keyword () 2023-12-27 15:24:23 +08:00
session_test.go [GITEA] Fix session generation for database 2024-02-05 16:09:41 +01:00
source.go remove util.OptionalBool and related functions () 2024-03-06 12:10:46 +08:00
source_test.go Penultimate round of db.DefaultContext refactor () 2023-10-11 04:24:07 +00:00
twofactor.go [GITEA] Drop sha256-simd in favor of stdlib 2024-02-05 16:09:40 +01:00
webauthn.go Move more functions to db.Find () 2024-01-15 02:19:25 +00:00
webauthn_test.go Next round of db.DefaultContext refactor () 2023-09-16 14:39:12 +00:00