forgejo/routers/api/v1/repo
renothing cbf231a675 fix wrong email when use gitea as OAuth2 provider (#7640)
when you use gitea as OAuth2 provider, the /api/v1/user should return
user primary email as identifier, which is unique in OAuth2 clients.

this patch use convert.ToUser replace all u.APIFormat in api requests,
return primary email when caller is yourself or admin.
2019-07-27 16:15:30 +03:00
..
blob.go
branch.go
collaborators.go fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
commits.go Fixes #7564 - Malformed URLs in API git/commits response (#7565) 2019-07-22 18:32:22 +01:00
file.go Fixes #7292 - API File Contents bug (#7301) 2019-06-29 16:51:10 -04:00
fork.go
git_hook.go
git_ref.go
hook.go fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
hook_test.go
issue.go
issue_comment.go
issue_label.go
issue_tracked_time.go
key.go
label.go
main_test.go
milestone.go
pull.go
release.go
release_attachment.go Refactor filetype is not allowed errors (#7309) 2019-07-06 22:25:05 -04:00
repo.go add notification placeholder (#7409) 2019-07-12 16:55:46 +08:00
repo_test.go
star.go fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
status.go Fix #7136: Add paging and extend API GetCommitStatuses (#7141) 2019-07-25 11:55:06 +01:00
subscriber.go fix wrong email when use gitea as OAuth2 provider (#7640) 2019-07-27 16:15:30 +03:00
tag.go
tree.go