summaryrefslogtreecommitdiffstats
path: root/modules/structs/repo_commit.go
Commit message (Collapse)AuthorAgeFilesLines
* More commit info from API (#19252)John Olheiser2022-03-291-5/+14
| | | | | Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* [API] Add affected files of commits to commit struct (#14579)65432021-02-071-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add files affected by a commit to gitea API -- similar to github * Add files affected by a commit to gitea API * Fix stupid error * Fix other stupid typo * Generate swagger tmpl * Comply with convert to git commit refacto * update swagger docs * extend test * format code * Update integrations/api_repo_git_commits_test.go * Update modules/convert/git_commit.go Co-authored-by: Laurent Cahour <laurent.cahour@dont-nod.com> Co-authored-by: zeripath <art27@cantab.net>
* [#13004] Add Timestamp to Tag list API (#13026)Lucas Queiroz2020-10-051-0/+2
| | | | | | | | | * Add Timestamp to Tag list API * Add unit test for ToCommitMeta * Rename timestamp to created * Reformat files
* [API] Extend contents with dates (#9464)65432019-12-241-0/+12
| | | | | | | | | | | | | | | * extend CommitTree func * make sure Date NOT nil * spell corection Co-Authored-By: zeripath <art27@cantab.net> * add TEST Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Move sdk structs to modules/structs (#6905)Lunny Xiao2019-05-111-0/+44
* move sdk structs to moduels/structs * fix tests * fix fmt * fix swagger * fix vendor