githaven-fork/models/user
techknowlogick 03591f0f95
add user rename endpoint to admin api (#22789)
this is a simple endpoint that adds the ability to rename users to the
admin API.

Note: this is not in a mergeable state. It would be better if this was
handled by a PATCH/POST to the /api/v1/admin/users/{username} endpoint
and the username is modified.

---------

Co-authored-by: Jason Song <i@wolfogre.com>
2023-03-14 03:45:21 -04:00
..
avatar.go Avoid warning for system setting when start up (#23054) 2023-02-24 18:23:13 +08:00
badge.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
email_address_test.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
email_address.go Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
error.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
external_login_user.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
follow_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
follow.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
list.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
must_change_password.go Add command to bulk set must-change-password (#22823) 2023-02-14 16:12:19 -06:00
openid_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
openid.go Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
redirect_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
redirect.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
search.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_keys.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting.go Fix bug on user setting (#22539) 2023-01-21 15:31:11 +01:00
user_system.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
user_test.go Provide the ability to set password hash algorithm parameters (#22942) 2023-02-19 15:35:20 +08:00
user_update.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user.go add user rename endpoint to admin api (#22789) 2023-03-14 03:45:21 -04:00