Commit graph

27 commits

Author SHA1 Message Date
Robert Schilling
612e61f4c4 Use grape validation for dates 2017-02-20 14:24:09 +01:00
Mark Fletcher
7a8d0aab61 Ensure only commit comments relevant to target project are returned 2017-02-15 18:56:57 +05:30
Lin Jen-Shin
4587c78afa Merge remote-tracking branch 'upstream/master' into fix-git-hooks-when-creating-file
* upstream/master: (1122 commits)
  Update CHANGELOG.md for 8.16.2
  Display project ID in project settings (!8572)
  fixed points from comments to improve code quality
  Update CHANGELOG.md for 8.14.8
  Statisfy eslint
  Add CHANGELOG entry
  Fix access to the wiki code via HTTP when repository feature disabled
  Display fullscreen button on small screens (!5302)
  Prevent removing fields from dropdowns on input elements
  fix for all themes
  Return struct instead of multiple values
  Fix race conditions for AuthorizedProjectsWorker
  Add User#nested_groups and User#nested_projects methods
  Fix spec failure due to timestamp ordering issue in mySQL
  Fixed error with filter keyboard tests
  `can?` already includes the `feature_available?` check
  Test there is no Merge Request button when MRs are disabled
  Ensure the correct Merge Request button is found
  Add 409 conflict tests
  Add CHANGELOG
  ...
2017-01-26 17:21:38 +08:00
Lin Jen-Shin
a639454032 Fix renaming 2017-01-07 00:31:11 +08:00
Lin Jen-Shin
a30f278bde Fix for initial commit and remove unneeded args 2017-01-06 04:18:51 +08:00
Mark Fletcher
63fcf13739 Fix Commits API to accept a Project path upon POST 2017-01-03 01:16:38 +00:00
Robert Schilling
1a81fcfbd8 API: Ability to cherry-pick a commit 2016-12-13 16:12:40 +01:00
Robert Schilling
9dfbfbb2d1 Don't convert data which already is the target type 2016-11-24 13:35:26 +01:00
Semyon Pupkov
77cf855bb9 Define common helper for describe pagination params in api 2016-11-22 09:19:26 +05:00
Robert Schilling
76bd09326f Use declared_params helper in API 2016-11-14 15:22:06 +01:00
Luis HGO
f73d83db76 Added path parameter to Commits API
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-24 16:43:52 +02:00
Z.J. van de Weg
4de883bc81 Use GrapeDSL for commits 2016-10-18 08:21:43 +02:00
Marc Siegfriedt
a1ee8cf5ad multi-file commit
add docs and tests - add additional validation
allow move without content
updated response
2016-10-05 17:42:52 +00:00
Paco Guzman
c86c1905b5 switch from diff_file_collection to diffs
So we have raw_diffs too
2016-08-03 07:00:20 +02:00
Douwe Maan
99d3e21f19 Extract LegacyDiffNote out of Note 2016-05-13 17:31:43 -05:00
Paco Guzman
c4b9bd0413 API support for the 'since' and 'until' operators on commit requests
- Parameter validation as ISO8601 format
2016-04-29 09:26:52 +02:00
Jacob Vosmaer
1764e1b7cb Use Gitlab::Git::DiffCollections 2016-03-03 18:38:44 +01:00
Martin Luder
55f91f3d43 Order commit comments in API chronologically
When fetching commit comments via API, the comments were not ordered,
but just returned in the order Postgresql finds them. Now the API always
returns comments in chronological order.
2015-05-08 14:34:10 +02:00
Douwe Maan
8ed7ac9d44 Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
Marin Jankovski
cd0aed3d54 Add a message when unable to save an object through api. 2015-01-07 10:46:00 +01:00
Marin Jankovski
ed464edabe Message for api files and groups. 2014-12-30 14:29:55 +01:00
Marin Jankovski
d4b613ded7 Clearer message if adding comment to commit via api fails. 2014-12-30 14:00:07 +01:00
Jeroen Jacobs
430758653c Adds comments to commits in the API 2014-09-26 10:58:11 +02:00
Dmitriy Zaporozhets
9b276f0003
Move branches api to separate class
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-31 16:31:53 +03:00
Dmitriy Zaporozhets
6cf39fe10d
Extract commits API to separate file
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-18 12:41:21 +02:00
Nihad Abbasov
4a072be2d7 API: commits belong to project repository 2012-09-21 04:34:07 -07:00
Dmitriy Zaporozhets
10d3a30b25 APi for commits. Better api docs 2012-09-21 13:22:30 +03:00