aboutsummaryrefslogtreecommitdiffstats
path: root/modules/optional/option_test.go
Commit message (Collapse)AuthorAgeFilesLines
* migrate some more "OptionalBool" to "Option[bool]" (#29479)65432024-02-291-0/+10
| | | | | | | | just some refactoring bits towards replacing **util.OptionalBool** with **optional.Option[bool]** --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
* Make optional.Option[T] type serializable (#29282)65432024-02-231-10/+12
| | | | | | | make the generic `Option` type de-/serializable for json and yaml --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
* Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329)65432024-02-231-3/+2
| | | just create transition helper and migrate two structs
* Unify user update methods (#28733)KN4CK3R2024-02-041-0/+48
Fixes #28660 Fixes an admin api bug related to `user.LoginSource` Fixed `/user/emails` response not identical to GitHub api This PR unifies the user update methods. The goal is to keep the logic only at one place (having audit logs in mind). For example, do the password checks only in one method not everywhere a password is updated. After that PR is merged, the user creation should be next.