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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
11721b0d
Commit
11721b0d
authored
Jul 21, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Help section for system hooks completed
parent
9c8a1e65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
0 deletions
+55
-0
app/views/admin/hooks/_data_ex.html.erb
app/views/admin/hooks/_data_ex.html.erb
+52
-0
app/views/help/index.html.haml
app/views/help/index.html.haml
+3
-0
No files found.
app/views/admin/hooks/_data_ex.html.erb
View file @
11721b0d
<%
data_ex_str
=
<<
eos
<%
data_ex_str
=
<<
eos
1. Project created:
{
{
"created_at": "2012-07-21T07:30:54Z",
"created_at": "2012-07-21T07:30:54Z",
"event_name": "project_create",
"event_name": "project_create",
...
@@ -8,6 +9,57 @@
...
@@ -8,6 +9,57 @@
"path": "storecloud",
"path": "storecloud",
"project_id": 74
"project_id": 74
}
}
2. Project destroyed:
{
"event_name": "project_destroy",
"name": "Underscore",
"owner_email": "johnsmith@gmail.com",
"owner_name": "John Smith",
"path": "underscore",
"project_id": 73
}
3. New Team Member:
{
"created_at": "2012-07-21T07:30:56Z",
"event_name": "user_add_to_team",
"project_access": "Master",
"project_id": 74,
"project_name": "StoreCloud",
"project_path": "storecloud",
"owner_email": "johnsmith@gmail.com",
"owner_name": "John Smith",
}
4. Team Member Removed:
{
"created_at": "2012-07-21T07:30:56Z",
"event_name": "user_remove_from_team",
"project_access": "Master",
"project_id": 74,
"project_name": "StoreCloud",
"project_path": "storecloud",
"owner_email": "johnsmith@gmail.com",
"owner_name": "John Smith",
}
5. User created:
{
"created_at": "2012-07-21T07:44:07Z",
"email": "js@gitlabhq.com",
"event_name": "user_create",
"name": "John Smith"
}
6. User removed:
{
"created_at": "2012-07-21T07:44:07Z",
"email": "js@gitlabhq.com",
"event_name": "user_destroy",
"name": "John Smith"
}
eos
eos
%>
%>
<%
js_lexer
=
Pygments
::
Lexer
[
:js
]
%>
<%
js_lexer
=
Pygments
::
Lexer
[
:js
]
%>
...
...
app/views/help/index.html.haml
View file @
11721b0d
...
@@ -23,5 +23,8 @@
...
@@ -23,5 +23,8 @@
%li
%li
%h5
=
link_to
"Web Hooks"
,
help_web_hooks_path
%h5
=
link_to
"Web Hooks"
,
help_web_hooks_path
%li
%h5
=
link_to
"System Hooks"
,
help_system_hooks_path
%li
%li
%h5
=
link_to
"API"
,
help_api_path
%h5
=
link_to
"API"
,
help_api_path
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