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
Kazuhiko Shiozaki
gitlab-ce
Commits
cb7db6d2
Commit
cb7db6d2
authored
Nov 05, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
d59f8abe
f8477287
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
7 deletions
+12
-7
app/services/system_hooks_service.rb
app/services/system_hooks_service.rb
+1
-1
app/uploaders/attachment_uploader.rb
app/uploaders/attachment_uploader.rb
+4
-0
app/views/notify/new_ssh_key_email.html.haml
app/views/notify/new_ssh_key_email.html.haml
+1
-1
app/views/notify/new_ssh_key_email.text.erb
app/views/notify/new_ssh_key_email.text.erb
+2
-2
app/views/projects/blob/_actions.html.haml
app/views/projects/blob/_actions.html.haml
+2
-1
doc/install/installation.md
doc/install/installation.md
+1
-1
features/steps/project/source/browse_files.rb
features/steps/project/source/browse_files.rb
+1
-1
No files found.
app/services/system_hooks_service.rb
View file @
cb7db6d2
...
@@ -18,7 +18,7 @@ class SystemHooksService
...
@@ -18,7 +18,7 @@ class SystemHooksService
def
build_event_data
(
model
,
event
)
def
build_event_data
(
model
,
event
)
data
=
{
data
=
{
event_name:
build_event_name
(
model
,
event
),
event_name:
build_event_name
(
model
,
event
),
created_at:
model
.
created_at
created_at:
model
.
created_at
.
xmlschema
}
}
case
model
case
model
...
...
app/uploaders/attachment_uploader.rb
View file @
cb7db6d2
...
@@ -26,6 +26,10 @@ class AttachmentUploader < CarrierWave::Uploader::Base
...
@@ -26,6 +26,10 @@ class AttachmentUploader < CarrierWave::Uploader::Base
Gitlab
.
config
.
gitlab
.
relative_url_root
+
"/files/
#{
model
.
class
.
to_s
.
underscore
}
/
#{
model
.
id
}
/
#{
file
.
filename
}
"
Gitlab
.
config
.
gitlab
.
relative_url_root
+
"/files/
#{
model
.
class
.
to_s
.
underscore
}
/
#{
model
.
id
}
/
#{
file
.
filename
}
"
end
end
def
url
Gitlab
.
config
.
gitlab
.
relative_url_root
+
super
unless
super
.
nil?
end
def
file_storage?
def
file_storage?
self
.
class
.
storage
==
CarrierWave
::
Storage
::
File
self
.
class
.
storage
==
CarrierWave
::
Storage
::
File
end
end
...
...
app/views/notify/new_ssh_key_email.html.haml
View file @
cb7db6d2
...
@@ -6,5 +6,5 @@
...
@@ -6,5 +6,5 @@
title:
title:
%code
=
@key
.
title
%code
=
@key
.
title
%p
%p
If this key was added in error, you can remove it
here:
If this key was added in error, you can remove it
under
=
link_to
"SSH Keys"
,
profile_keys_url
=
link_to
"SSH Keys"
,
profile_keys_url
app/views/notify/new_ssh_key_email.text.erb
View file @
cb7db6d2
...
@@ -2,6 +2,6 @@ Hi <%= @user.name %>!
...
@@ -2,6 +2,6 @@ Hi <%= @user.name %>!
A new public key was added to your account:
A new public key was added to your account:
title..................
<%=
@key
.
title
%>
Title:
<%=
@key
.
title
%>
If this key was added in error, you can remove it
here:
<%=
profile_keys_url
%>
If this key was added in error, you can remove it
at
<%=
profile_keys_url
%>
app/views/projects/blob/_actions.html.haml
View file @
cb7db6d2
...
@@ -23,5 +23,6 @@
...
@@ -23,5 +23,6 @@
tree_join
(
@commit
.
sha
,
@path
)),
class:
'btn btn-small'
tree_join
(
@commit
.
sha
,
@path
)),
class:
'btn btn-small'
-
if
allowed_tree_edit?
-
if
allowed_tree_edit?
=
link_to
'#modal-remove-blob'
,
class:
"remove-blob btn btn-small btn-remove"
,
"data-toggle"
=>
"modal"
do
=
button_tag
class:
'remove-blob btn btn-small btn-remove'
,
'data-toggle'
=>
'modal'
,
'data-target'
=>
'#modal-remove-blob'
do
Remove
Remove
doc/install/installation.md
View file @
cb7db6d2
...
@@ -199,7 +199,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
...
@@ -199,7 +199,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
# Make sure GitLab can write to the log/ and tmp/ directories
# Make sure GitLab can write to the log/ and tmp/ directories
sudo chown -R git log/
sudo chown -R git log/
sudo chown -R git tmp/
sudo chown -R git tmp/
sudo chmod -R u+rwX log/
sudo chmod -R u+rwX
,go-w
log/
sudo chmod -R u+rwX tmp/
sudo chmod -R u+rwX tmp/
# Create directory for satellites
# Create directory for satellites
...
...
features/steps/project/source/browse_files.rb
View file @
cb7db6d2
...
@@ -78,7 +78,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
...
@@ -78,7 +78,7 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
end
end
step
'I click on "Remove"'
do
step
'I click on "Remove"'
do
click_
link
'Remove'
click_
button
'Remove'
end
end
step
'I click on "Remove file"'
do
step
'I click on "Remove file"'
do
...
...
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