forgejo-federation/routers
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
..
admin Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
api/v1 API method to list all commits of a repository (#6408) 2019-08-26 16:09:10 +02:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
private Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
repo Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
routes Run CORS handler first for /api routes (#7967) 2019-08-26 13:33:06 +02:00
user Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
home.go Include description in repository search. (#7942) 2019-08-25 20:06:36 +03:00
init.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
install.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00