gitea/routers/api/v1/repo
Mike Schwörer 042089fbaf API method to list all commits of a repository (#6408)
* Added API endpoint ListAllCommits (/repos/{owner}/{repo}/git/commits)

Signed-off-by: Mike Schwörer <mailport@mikescher.de>

* Fixed failing drone build

Signed-off-by: Mike Schwörer <mailport@mikescher.de>

* Implemented requested changes (PR reviews)

Signed-off-by: Mike Schwörer <mailport@mikescher.de>

* gofmt

Signed-off-by: Mike Schwörer <mailport@mikescher.de>

* Changed api route from "/repos/{owner}/{repo}/git/commits" to "/repos/{owner}/{repo}/commits"

* Removed unnecessary line

* better error message when git repo is empty

* make generate-swagger

* fixed removed return

* Update routers/api/v1/repo/commits.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* Update routers/api/v1/repo/commits.go

Co-Authored-By: Lauris BH <lauris@nix.lv>

* go fmt

* Refactored common code into ToCommit()

* made toCommit not exported

* added check for userCache == nil
2019-08-26 16:09:10 +02:00
..
blob.go
branch.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
collaborators.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
commits.go API method to list all commits of a repository (#6408) 2019-08-26 16:09:10 +02:00
file.go
fork.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
git_hook.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
git_ref.go api: fix multiple bugs with statuses endpoints (#7785) 2019-08-09 10:13:03 +08:00
hook_test.go
hook.go
issue_comment.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
issue_label.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
issue_tracked_time.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
issue.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
key.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
label.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
main_test.go
milestone.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
pull.go Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
release_attachment.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
release.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo_test.go
repo.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
star.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
status.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
subscriber.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
tag.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
tree.go