You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao de981c39e6
Fix bug of branches API with tests (#25578)
Fix #25558
Extract from #22743

This PR added a repository's check when creating/deleting branches via
API. Mirror repository and archive repository cannot do that.
1 year ago
..
avatar.go Add API for changing Avatars (#25369) 1 year ago
blob.go Implement FSFE REUSE for golang files (#21840) 2 years ago
branch.go Fix bug of branches API with tests (#25578) 1 year ago
collaborators.go Add context cache as a request level cache (#22294) 1 year ago
commits.go Filter get single commit (#24613) 1 year ago
file.go Sync branches into databases (#22743) 1 year ago
fork.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
git_hook.go Move `convert` package to services (#22264) 2 years ago
git_ref.go Implement FSFE REUSE for golang files (#21840) 2 years ago
hook.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
hook_test.go Refactor web package and context package (#25298) 1 year ago
issue.go Decouple the different contexts from each other (#24786) 1 year ago
issue_attachment.go Preserve file size when creating attachments (#23406) 1 year ago
issue_comment.go Use `CommentList` instead of `[]*Comment` (#24828) 1 year ago
issue_comment_attachment.go Preserve file size when creating attachments (#23406) 1 year ago
issue_dependency.go Add API to manage issue dependencies (#17935) 1 year ago
issue_label.go Move `convert` package to services (#22264) 2 years ago
issue_pin.go Followup to pinned Issues (#24945) 1 year ago
issue_reaction.go Add context cache as a request level cache (#22294) 1 year ago
issue_stopwatch.go Move `convert` package to services (#22264) 2 years ago
issue_subscription.go Add context cache as a request level cache (#22294) 1 year ago
issue_tracked_time.go Decouple the different contexts from each other (#24786) 1 year ago
key.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
label.go Add loading yaml label template files (#22976) 1 year ago
language.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Merge setting.InitXXX into one function with options (#24389) 1 year ago
migrate.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
milestone.go Move `convert` package to services (#22264) 2 years ago
mirror.go Use correct response code in push mirror creation response in v1_json.tmpl (#25476) 1 year ago
notes.go Filters for GetAllCommits (#24568) 1 year ago
patch.go Sync branches into databases (#22743) 1 year ago
pull.go Filters for GetAllCommits (#24568) 1 year ago
pull_review.go Make more functions use ctx instead of db.DefaultContext (#24068) 1 year ago
release.go Add context cache as a request level cache (#22294) 1 year ago
release_attachment.go Preserve file size when creating attachments (#23406) 1 year ago
release_tags.go Add context cache as a request level cache (#22294) 1 year ago
repo.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
repo_test.go Refactor web package and context package (#25298) 1 year ago
star.go Add context cache as a request level cache (#22294) 1 year ago
status.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
subscriber.go Add context cache as a request level cache (#22294) 1 year ago
tag.go Add context cache as a request level cache (#22294) 1 year ago
teams.go Add context cache as a request level cache (#22294) 1 year ago
topic.go Move `convert` package to services (#22264) 2 years ago
transfer.go Fix `Permission` in API returned repository struct (#25388) 1 year ago
tree.go Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki.go Pass 'not' to commit count (#24473) 1 year ago