Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d4b17700
Commit
d4b17700
authored
Aug 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'christian.taedcke/gitlab-ce-add_complete_commit_message_to_api'
parents
04d1128b
5b52d7b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
CHANGELOG
CHANGELOG
+1
-0
doc/api/commits.md
doc/api/commits.md
+5
-2
lib/api/entities.rb
lib/api/entities.rb
+1
-0
No files found.
CHANGELOG
View file @
d4b17700
...
...
@@ -6,6 +6,7 @@ v 7.2.0
- Better labels: colors, ability to rename and remove
- Improve the way merge request collects diffs
- Improve compare page for large diffs
- Expose the full commit message via API
v 7.1.0
- Remove observers
...
...
doc/api/commits.md
View file @
d4b17700
...
...
@@ -21,7 +21,8 @@ Parameters:
"title"
:
"Replace sanitize with escape once"
,
"author_name"
:
"Dmitriy Zaporozhets"
,
"author_email"
:
"dzaporozhets@sphereconsultinginc.com"
,
"created_at"
:
"2012-09-20T11:50:22+03:00"
"created_at"
:
"2012-09-20T11:50:22+03:00"
,
"message"
:
"Replace sanitize with escape once"
},
{
"id"
:
"6104942438c14ec7bd21c6cd5bd995272b3faff6"
,
...
...
@@ -29,7 +30,8 @@ Parameters:
"title"
:
"Sanitize for network graph"
,
"author_name"
:
"randx"
,
"author_email"
:
"dmitriy.zaporozhets@gmail.com"
,
"created_at"
:
"2012-09-20T09:06:12+03:00"
"created_at"
:
"2012-09-20T09:06:12+03:00"
,
"message"
:
"Sanitize for network graph"
}
]
```
...
...
@@ -55,6 +57,7 @@ Parameters:
"author_name"
:
"randx"
,
"author_email"
:
"dmitriy.zaporozhets@gmail.com"
,
"created_at"
:
"2012-09-20T09:06:12+03:00"
,
"message"
:
"Sanitize for network graph"
,
"committed_date"
:
"2012-09-20T09:06:12+03:00"
,
"authored_date"
:
"2012-09-20T09:06:12+03:00"
,
"parent_ids"
:
[
...
...
lib/api/entities.rb
View file @
d4b17700
...
...
@@ -102,6 +102,7 @@ module API
class
RepoCommit
<
Grape
::
Entity
expose
:id
,
:short_id
,
:title
,
:author_name
,
:author_email
,
:created_at
expose
:safe_message
,
as: :message
end
class
RepoCommitDetail
<
RepoCommit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment