forgejo-federation/templates
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 [Branch View] show "New Pull Request" Button only if posible (#7977) 2019-08-26 13:47:41 +03:00
base jQuery 3 (#7425) 2019-07-12 08:21:44 +03:00
custom Templates for extra links in top navbar and repo tool tabs. (#3308) 2018-01-10 08:19:50 +02:00
explore Repository avatar fallback configuration (#7087) 2019-06-02 14:40:12 +08:00
mail UX + Security current user password reset (#5042) 2019-04-18 10:23:59 +03:00
org org/members: display 2FA members states + optimize sql requests (#7621) 2019-08-02 12:06:27 -04:00
pwa jQuery 3 (#7425) 2019-07-12 08:21:44 +03:00
repo [Branch View] show "New Pull Request" Button only if posible (#7977) 2019-08-26 13:47:41 +03:00
status Minor UI tweaks (#5980) 2019-02-19 18:09:47 -05:00
swagger API method to list all commits of a repository (#6408) 2019-08-26 16:09:10 +02:00
user gpg/bugfix: Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7846) 2019-08-14 09:39:44 +08:00
home.tmpl Fix typo in home.tmpl (#7452) 2019-07-15 19:26:23 -04:00
install.tmpl Add support of utf8mb4 for mysql (#6992) 2019-05-24 00:15:26 -04:00