0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-09-12 12:19:38 +02:00
gitea/models/fixtures
KN4CK3R f8b471ace1
Unify user update methods (#28733)
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.
2024-02-04 13:29:09 +00:00
..
access.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
access_token.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
action.yml
action_run.yml
action_run_job.yml
action_runner_token.yml Add unit tests for action runner token (#27670) 2023-10-19 07:24:24 +00:00
action_task.yml
attachment.yml Allow get release download files and lfs files with oauth2 token format (#26430) 2023-10-01 10:41:52 +00:00
branch.yml
collaboration.yml
comment.yml Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
commit_status.yml
commit_status_index.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
deploy_key.yml
email_address.yml Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
external_login_user.yml
follow.yml
gpg_key.yml Fix verifyCommits error when push a new branch (#26664) 2023-08-30 02:27:53 +00:00
gpg_key_import.yml
hook_task.yml
issue.yml Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml Allow to archive labels (#26478) 2023-08-14 11:56:14 +02:00
lfs_meta_object.yml
login_source.yml
milestone.yml
mirror.yml Fix bug of branches API with tests (#25578) 2023-07-01 10:52:52 +08:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Revert package access change from #23879 (#25707) 2023-07-09 13:00:07 +00:00
project.yml Fix incorrect oldest sort in project list (#25806) 2023-07-11 20:47:50 +02:00
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
pull_request.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
reaction.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
release.yml Allow get release download files and lfs files with oauth2 token format (#26430) 2023-10-01 10:41:52 +00:00
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
repository.yml Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
review.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
star.yml
stopwatch.yml
system_setting.yml Fix context cache bug & enable context cache for dashabord commits' authors (#26991) 2023-09-11 10:14:01 +00:00
team.yml Fix review request number and add more tests (#27104) 2023-09-21 13:59:50 +02:00
team_repo.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
team_unit.yml Fix access check for org-level project (#26182) 2023-07-29 14:13:24 +00:00
team_user.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
user_open_id.yml
user_redirect.yml
watch.yml Fix more yaml lint errors (#27284) 2023-09-26 12:56:42 -04:00
webauthn_credential.yml
webhook.yml