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
Léo-Paul Géneau
gitlab-ce
Commits
eb640ede
Commit
eb640ede
authored
Sep 21, 2018
by
Marcel Amirault
Committed by
Douwe Maan
Sep 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct Gitlab Capitalization in code files
parent
abab0cd6
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
45 additions
and
45 deletions
+45
-45
.rubocop.yml
.rubocop.yml
+1
-1
CHANGELOG.md
CHANGELOG.md
+6
-6
app/assets/javascripts/behaviors/markdown/render_gfm.js
app/assets/javascripts/behaviors/markdown/render_gfm.js
+1
-1
app/mailers/previews/notify_preview.rb
app/mailers/previews/notify_preview.rb
+3
-3
app/models/project_wiki.rb
app/models/project_wiki.rb
+1
-1
app/models/wiki_page.rb
app/models/wiki_page.rb
+2
-2
app/views/help/instance_configuration/_gitlab_pages.html.haml
...views/help/instance_configuration/_gitlab_pages.html.haml
+1
-1
bin/pkgr_before_precompile.sh
bin/pkgr_before_precompile.sh
+1
-1
changelogs/archive.md
changelogs/archive.md
+8
-8
config/application.rb
config/application.rb
+1
-1
lib/gitlab/auth/ldap/access.rb
lib/gitlab/auth/ldap/access.rb
+3
-3
lib/gitlab/gitaly_client/storage_settings.rb
lib/gitlab/gitaly_client/storage_settings.rb
+1
-1
lib/gitlab/template/finders/global_template_finder.rb
lib/gitlab/template/finders/global_template_finder.rb
+1
-1
lib/gitlab/template/finders/repo_template_finder.rb
lib/gitlab/template/finders/repo_template_finder.rb
+1
-1
lib/support/nginx/gitlab
lib/support/nginx/gitlab
+2
-2
lib/support/nginx/gitlab-ssl
lib/support/nginx/gitlab-ssl
+2
-2
spec/lib/gitlab/auth/ldap/access_spec.rb
spec/lib/gitlab/auth/ldap/access_spec.rb
+5
-5
spec/lib/gitlab/middleware/read_only_spec.rb
spec/lib/gitlab/middleware/read_only_spec.rb
+1
-1
spec/models/instance_configuration_spec.rb
spec/models/instance_configuration_spec.rb
+1
-1
spec/requests/openid_connect_spec.rb
spec/requests/openid_connect_spec.rb
+1
-1
spec/services/auth/container_registry_authentication_service_spec.rb
...es/auth/container_registry_authentication_service_spec.rb
+1
-1
spec/services/groups/transfer_service_spec.rb
spec/services/groups/transfer_service_spec.rb
+1
-1
No files found.
.rubocop.yml
View file @
eb640ede
...
@@ -111,7 +111,7 @@ Naming/FileName:
...
@@ -111,7 +111,7 @@ Naming/FileName:
-
XSRF
-
XSRF
-
XSS
-
XSS
# Git
l
ab ###################################################################
# Git
L
ab ###################################################################
Gitlab/ModuleWithInstanceVariables
:
Gitlab/ModuleWithInstanceVariables
:
Enable
:
true
Enable
:
true
...
...
CHANGELOG.md
View file @
eb640ede
...
@@ -1126,7 +1126,7 @@ entry.
...
@@ -1126,7 +1126,7 @@ entry.
-
Use the default strings of timeago.js for timeago. !19350 (Takuya Noguchi)
-
Use the default strings of timeago.js for timeago. !19350 (Takuya Noguchi)
-
Update selenium-webdriver to 3.12.0. !19351 (Takuya Noguchi)
-
Update selenium-webdriver to 3.12.0. !19351 (Takuya Noguchi)
-
Include username in output when testing SSH to GitLab. !19358
-
Include username in output when testing SSH to GitLab. !19358
-
Update screenshot in Git
l
ab.com integration documentation. !19433 (Tuğçe Nur Taş)
-
Update screenshot in Git
L
ab.com integration documentation. !19433 (Tuğçe Nur Taş)
-
Users can accept terms during registration. !19583
-
Users can accept terms during registration. !19583
-
Fix issue count on sidebar.
-
Fix issue count on sidebar.
-
Add merge requests list endpoint for groups.
-
Add merge requests list endpoint for groups.
...
@@ -1256,7 +1256,7 @@ entry.
...
@@ -1256,7 +1256,7 @@ entry.
-
Make toggle markdown preview shortcut only toggle selected field.
-
Make toggle markdown preview shortcut only toggle selected field.
-
Verifiy if pipeline has commit idetails and render information in MR widget when branch is deleted.
-
Verifiy if pipeline has commit idetails and render information in MR widget when branch is deleted.
-
Fixed inconsistent protected branch pill baseline.
-
Fixed inconsistent protected branch pill baseline.
-
Fix setting Git
l
ab metrics content types.
-
Fix setting Git
L
ab metrics content types.
-
Display only generic message on merge error to avoid exposing any potentially sensitive or user unfriendly backend messages.
-
Display only generic message on merge error to avoid exposing any potentially sensitive or user unfriendly backend messages.
-
Fix label links update on project transfer.
-
Fix label links update on project transfer.
-
Breaks commit not found message in pipelines table.
-
Breaks commit not found message in pipelines table.
...
@@ -1626,7 +1626,7 @@ entry.
...
@@ -1626,7 +1626,7 @@ entry.
-
Add 'Assigned Issues' and 'Assigned Merge Requests' as dashboard view choices for users. !17860 (Elias Werberich)
-
Add 'Assigned Issues' and 'Assigned Merge Requests' as dashboard view choices for users. !17860 (Elias Werberich)
-
Extend API for importing a project export with overwrite support. !17883
-
Extend API for importing a project export with overwrite support. !17883
-
Create Deploy Tokens to allow permanent access to repository and registry. !17894
-
Create Deploy Tokens to allow permanent access to repository and registry. !17894
-
Detect commit message trailers and link users properly to their accounts on Git
l
ab. !17919 (cousine)
-
Detect commit message trailers and link users properly to their accounts on Git
L
ab. !17919 (cousine)
-
Adds cancel btn to new pages domain page. !18026 (Jacopo Beschi @jacopo-beschi)
-
Adds cancel btn to new pages domain page. !18026 (Jacopo Beschi @jacopo-beschi)
-
API: Add parameter merge_method to projects. !18031 (Jan Beckmann)
-
API: Add parameter merge_method to projects. !18031 (Jan Beckmann)
-
Introduce simpler env vars for auto devops REPLICAS and CANARY_REPLICAS #41436. !18036
-
Introduce simpler env vars for auto devops REPLICAS and CANARY_REPLICAS #41436. !18036
...
@@ -3074,7 +3074,7 @@ entry.
...
@@ -3074,7 +3074,7 @@ entry.
-
[FIXED] Fix broken wiki pages that link to a wiki file. !15019
-
[FIXED] Fix broken wiki pages that link to a wiki file. !15019
-
[FIXED] Don't rename paths that were freed up when upgrading. !15029
-
[FIXED] Don't rename paths that were freed up when upgrading. !15029
-
[FIXED] Fix bitbucket login. !15051
-
[FIXED] Fix bitbucket login. !15051
-
[FIXED] Update gitaly in Git
l
ab 10.1 to 0.43.1 for temp file cleanup. !15055
-
[FIXED] Update gitaly in Git
L
ab 10.1 to 0.43.1 for temp file cleanup. !15055
-
[FIXED] Use the correct visibility attribute for projects in system hooks. !15065
-
[FIXED] Use the correct visibility attribute for projects in system hooks. !15065
-
[FIXED] Normalize LDAP DN when looking up identity.
-
[FIXED] Normalize LDAP DN when looking up identity.
-
[FIXED] Adds callback functions for initial request in clusters page.
-
[FIXED] Adds callback functions for initial request in clusters page.
...
@@ -4784,7 +4784,7 @@ entry.
...
@@ -4784,7 +4784,7 @@ entry.
-
Make user mentions case-insensitive. !10285 (blackst0ne)
-
Make user mentions case-insensitive. !10285 (blackst0ne)
-
Update rugged to 0.25.1.1. !10286 (Elan Ruusamäe)
-
Update rugged to 0.25.1.1. !10286 (Elan Ruusamäe)
-
Handle parsing OpenBSD ps output properly to display sidekiq infos on admin->monitoring->background. !10303 (Sebastian Reitenbach)
-
Handle parsing OpenBSD ps output properly to display sidekiq infos on admin->monitoring->background. !10303 (Sebastian Reitenbach)
-
Log errors during generating of Git
l
ab Pages to debug log. !10335 (Danilo Bargen)
-
Log errors during generating of Git
L
ab Pages to debug log. !10335 (Danilo Bargen)
-
Update issue board cards design. !10353
-
Update issue board cards design. !10353
-
Tags can be protected, restricting creation of matching tags by user role. !10356
-
Tags can be protected, restricting creation of matching tags by user role. !10356
-
Set GIT_TERMINAL_PROMPT env variable in initializer. !10372
-
Set GIT_TERMINAL_PROMPT env variable in initializer. !10372
...
@@ -5197,7 +5197,7 @@ entry.
...
@@ -5197,7 +5197,7 @@ entry.
-
Restore keyboard shortcuts for "Activity" and "Charts". !9680
-
Restore keyboard shortcuts for "Activity" and "Charts". !9680
-
Added commit array to Syshook json. !9685 (Gabriele Pongelli)
-
Added commit array to Syshook json. !9685 (Gabriele Pongelli)
-
Document ability to list issues with no labels using API. !9697 (Vignesh Ravichandran)
-
Document ability to list issues with no labels using API. !9697 (Vignesh Ravichandran)
-
Fix typo in Git
l
ab config file. !9702 (medied)
-
Fix typo in Git
L
ab config file. !9702 (medied)
-
Fix json response in branches controller. !9710 (George Andrinopoulos)
-
Fix json response in branches controller. !9710 (George Andrinopoulos)
-
Refactor dropdown_assignee_spec. !9711 (George Andrinopoulos)
-
Refactor dropdown_assignee_spec. !9711 (George Andrinopoulos)
-
Delete artifacts for pages unless expiry date is specified. !9716
-
Delete artifacts for pages unless expiry date is specified. !9716
...
...
app/assets/javascripts/behaviors/markdown/render_gfm.js
View file @
eb640ede
...
@@ -3,7 +3,7 @@ import syntaxHighlight from '~/syntax_highlight';
...
@@ -3,7 +3,7 @@ import syntaxHighlight from '~/syntax_highlight';
import
renderMath
from
'
./render_math
'
;
import
renderMath
from
'
./render_math
'
;
import
renderMermaid
from
'
./render_mermaid
'
;
import
renderMermaid
from
'
./render_mermaid
'
;
// Render Git
l
ab flavoured Markdown
// Render Git
L
ab flavoured Markdown
//
//
// Delegates to syntax highlight and render math & mermaid diagrams.
// Delegates to syntax highlight and render math & mermaid diagrams.
//
//
...
...
app/mailers/previews/notify_preview.rb
View file @
eb640ede
...
@@ -9,7 +9,7 @@ class NotifyPreview < ActionMailer::Preview
...
@@ -9,7 +9,7 @@ class NotifyPreview < ActionMailer::Preview
In this notification email, we expect to see:
In this notification email, we expect to see:
- The note contents (that's what you're looking at)
- The note contents (that's what you're looking at)
- A link to view this note on Git
l
ab
- A link to view this note on Git
L
ab
- An explanation for why the user is receiving this notification
- An explanation for why the user is receiving this notification
MD
MD
...
@@ -26,7 +26,7 @@ class NotifyPreview < ActionMailer::Preview
...
@@ -26,7 +26,7 @@ class NotifyPreview < ActionMailer::Preview
- A line saying who started this discussion
- A line saying who started this discussion
- The note contents (that's what you're looking at)
- The note contents (that's what you're looking at)
- A link to view this discussion on Git
l
ab
- A link to view this discussion on Git
L
ab
- An explanation for why the user is receiving this notification
- An explanation for why the user is receiving this notification
MD
MD
...
@@ -44,7 +44,7 @@ class NotifyPreview < ActionMailer::Preview
...
@@ -44,7 +44,7 @@ class NotifyPreview < ActionMailer::Preview
- A line saying who started this discussion and on what file
- A line saying who started this discussion and on what file
- The diff
- The diff
- The note contents (that's what you're looking at)
- The note contents (that's what you're looking at)
- A link to view this discussion on Git
l
ab
- A link to view this discussion on Git
L
ab
- An explanation for why the user is receiving this notification
- An explanation for why the user is receiving this notification
MD
MD
...
...
app/models/project_wiki.rb
View file @
eb640ede
...
@@ -80,7 +80,7 @@ class ProjectWiki
...
@@ -80,7 +80,7 @@ class ProjectWiki
pages
(
limit:
1
).
empty?
pages
(
limit:
1
).
empty?
end
end
# Returns an Array of Git
l
ab WikiPage instances or an
# Returns an Array of Git
L
ab WikiPage instances or an
# empty Array if this Wiki has no pages.
# empty Array if this Wiki has no pages.
def
pages
(
limit:
0
)
def
pages
(
limit:
0
)
wiki
.
pages
(
limit:
limit
).
map
{
|
page
|
WikiPage
.
new
(
self
,
page
,
true
)
}
wiki
.
pages
(
limit:
limit
).
map
{
|
page
|
WikiPage
.
new
(
self
,
page
,
true
)
}
...
...
app/models/wiki_page.rb
View file @
eb640ede
...
@@ -51,7 +51,7 @@ class WikiPage
...
@@ -51,7 +51,7 @@ class WikiPage
validates
:title
,
presence:
true
validates
:title
,
presence:
true
validates
:content
,
presence:
true
validates
:content
,
presence:
true
# The Git
l
ab ProjectWiki instance.
# The Git
L
ab ProjectWiki instance.
attr_reader
:wiki
attr_reader
:wiki
# The raw Gitlab::Git::WikiPage instance.
# The raw Gitlab::Git::WikiPage instance.
...
@@ -127,7 +127,7 @@ class WikiPage
...
@@ -127,7 +127,7 @@ class WikiPage
version
.
try
(
:message
)
version
.
try
(
:message
)
end
end
# The Git
l
ab Commit instance for this page.
# The Git
L
ab Commit instance for this page.
def
version
def
version
return
nil
unless
persisted?
return
nil
unless
persisted?
...
...
app/views/help/instance_configuration/_gitlab_pages.html.haml
View file @
eb640ede
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
%p
%p
Below are the settings for
Below are the settings for
=
succeed
(
'.'
)
{
link_to
(
'Git
l
ab Pages'
,
gitlab_pages
[
:url
],
target:
'_blank'
)
}
=
succeed
(
'.'
)
{
link_to
(
'Git
L
ab Pages'
,
gitlab_pages
[
:url
],
target:
'_blank'
)
}
.table-responsive
.table-responsive
%table
%table
%thead
%thead
...
...
bin/pkgr_before_precompile.sh
View file @
eb640ede
...
@@ -6,7 +6,7 @@ for file in config/*.yml.example; do
...
@@ -6,7 +6,7 @@ for file in config/*.yml.example; do
cp
${
file
}
config/
$(
basename
${
file
}
.example
)
cp
${
file
}
config/
$(
basename
${
file
}
.example
)
done
done
# Allow to override the Git
l
ab URL from an environment variable, as this will avoid having to change the configuration file for simple deployments.
# Allow to override the Git
L
ab URL from an environment variable, as this will avoid having to change the configuration file for simple deployments.
config
=
$(
echo
'<% gitlab_url = URI(ENV["GITLAB_URL"] || "http://localhost:80") %>'
|
cat
- config/gitlab.yml
)
config
=
$(
echo
'<% gitlab_url = URI(ENV["GITLAB_URL"] || "http://localhost:80") %>'
|
cat
- config/gitlab.yml
)
echo
"
$config
"
>
config/gitlab.yml
echo
"
$config
"
>
config/gitlab.yml
sed
-i
"s/host: localhost/host: <%= gitlab_url.host %>/"
config/gitlab.yml
sed
-i
"s/host: localhost/host: <%= gitlab_url.host %>/"
config/gitlab.yml
...
...
changelogs/archive.md
View file @
eb640ede
...
@@ -739,7 +739,7 @@
...
@@ -739,7 +739,7 @@
-
Update duration at the end of pipeline
-
Update duration at the end of pipeline
-
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
-
ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
-
Add group level labels. (!6425)
-
Add group level labels. (!6425)
-
Add an example for testing a phoenix application with Git
l
ab CI in the docs (Manthan Mallikarjun)
-
Add an example for testing a phoenix application with Git
L
ab CI in the docs (Manthan Mallikarjun)
-
Cancelled pipelines could be retried. !6927
-
Cancelled pipelines could be retried. !6927
-
Updating verbiage on git basics to be more intuitive
-
Updating verbiage on git basics to be more intuitive
-
Fix project_feature record not generated on project creation
-
Fix project_feature record not generated on project creation
...
@@ -768,7 +768,7 @@
...
@@ -768,7 +768,7 @@
-
Log LDAP lookup errors and don't swallow unrelated exceptions. !6103 (Markus Koller)
-
Log LDAP lookup errors and don't swallow unrelated exceptions. !6103 (Markus Koller)
-
Replace unique keyframes mixin with keyframe mixin with specific names (ClemMakesApps)
-
Replace unique keyframes mixin with keyframe mixin with specific names (ClemMakesApps)
-
Add more tests for calendar contribution (ClemMakesApps)
-
Add more tests for calendar contribution (ClemMakesApps)
-
Update Git
l
ab Shell to fix some problems with moving projects between storages
-
Update Git
L
ab Shell to fix some problems with moving projects between storages
-
Cache rendered markdown in the database, rather than Redis
-
Cache rendered markdown in the database, rather than Redis
-
Add todo toggle event (ClemMakesApps)
-
Add todo toggle event (ClemMakesApps)
-
Avoid database queries on Banzai::ReferenceParser::BaseParser for nodes without references
-
Avoid database queries on Banzai::ReferenceParser::BaseParser for nodes without references
...
@@ -815,7 +815,7 @@
...
@@ -815,7 +815,7 @@
-
Replace static issue fixtures by script !6059 (winniehell)
-
Replace static issue fixtures by script !6059 (winniehell)
-
Append issue template to existing description !6149 (Joseph Frazier)
-
Append issue template to existing description !6149 (Joseph Frazier)
-
Trending projects now only show public projects and the list of projects is cached for a day
-
Trending projects now only show public projects and the list of projects is cached for a day
-
Memoize Git
l
ab Shell's secret token (!6599, Justin DiPierro)
-
Memoize Git
L
ab Shell's secret token (!6599, Justin DiPierro)
-
Revoke button in Applications Settings underlines on hover.
-
Revoke button in Applications Settings underlines on hover.
-
Use higher size on Gitlab::Redis connection pool on Sidekiq servers
-
Use higher size on Gitlab::Redis connection pool on Sidekiq servers
-
Add missing values to linter !6276 (Katarzyna Kobierska Ula Budziszewska)
-
Add missing values to linter !6276 (Katarzyna Kobierska Ula Budziszewska)
...
@@ -930,7 +930,7 @@
...
@@ -930,7 +930,7 @@
## 8.12.3
## 8.12.3
-
Update Git
l
ab Shell to support low IO priority for storage moves
-
Update Git
L
ab Shell to support low IO priority for storage moves
## 8.12.2
## 8.12.2
...
@@ -1001,7 +1001,7 @@
...
@@ -1001,7 +1001,7 @@
-
Added ability to specify URL in environment configuration in gitlab-ci.yml
-
Added ability to specify URL in environment configuration in gitlab-ci.yml
-
Escape search term before passing it to Regexp.new !6241 (winniehell)
-
Escape search term before passing it to Regexp.new !6241 (winniehell)
-
Fix pinned sidebar behavior in smaller viewports !6169
-
Fix pinned sidebar behavior in smaller viewports !6169
-
Fix file permissions change when updating a file on the Git
l
ab UI !5979
-
Fix file permissions change when updating a file on the Git
L
ab UI !5979
-
Added horizontal padding on build page sidebar on code coverage block. !6196 (Vitaly Baev)
-
Added horizontal padding on build page sidebar on code coverage block. !6196 (Vitaly Baev)
-
Change merge_error column from string to text type
-
Change merge_error column from string to text type
-
Fix issue with search filter labels not displaying
-
Fix issue with search filter labels not displaying
...
@@ -1688,7 +1688,7 @@
...
@@ -1688,7 +1688,7 @@
-
Fix commit avatar alignment in compare view. !5128
-
Fix commit avatar alignment in compare view. !5128
-
Fix broken migration in MySQL. !5005
-
Fix broken migration in MySQL. !5005
-
Overwrite Host and X-Forwarded-Host headers in NGINX !5213
-
Overwrite Host and X-Forwarded-Host headers in NGINX !5213
-
Keeps issue number when importing from Git
l
ab.com
-
Keeps issue number when importing from Git
L
ab.com
-
Add Pending tab for Builds (Katarzyna Kobierska, Urszula Budziszewska)
-
Add Pending tab for Builds (Katarzyna Kobierska, Urszula Budziszewska)
## 8.9.5
## 8.9.5
...
@@ -4786,7 +4786,7 @@
...
@@ -4786,7 +4786,7 @@
## 3.1.0
## 3.1.0
-
Updated gems
-
Updated gems
-
Services: Git
l
ab CI integration
-
Services: Git
L
ab CI integration
-
Events filter on dashboard
-
Events filter on dashboard
-
Own namespace for redis/resque
-
Own namespace for redis/resque
-
Optimized commit diff views
-
Optimized commit diff views
...
@@ -4869,7 +4869,7 @@
...
@@ -4869,7 +4869,7 @@
## 2.8.0
## 2.8.0
-
Git
l
ab Flavored Markdown
-
Git
L
ab Flavored Markdown
-
Bulk issues update
-
Bulk issues update
-
Issues API
-
Issues API
-
Cucumber coverage increased
-
Cucumber coverage increased
...
...
config/application.rb
View file @
eb640ede
...
@@ -205,7 +205,7 @@ module Gitlab
...
@@ -205,7 +205,7 @@ module Gitlab
ENV
[
'GITLAB_PATH_OUTSIDE_HOOK'
]
=
ENV
[
'PATH'
]
ENV
[
'GITLAB_PATH_OUTSIDE_HOOK'
]
=
ENV
[
'PATH'
]
ENV
[
'GIT_TERMINAL_PROMPT'
]
=
'0'
ENV
[
'GIT_TERMINAL_PROMPT'
]
=
'0'
# Git
l
ab Read-only middleware support
# Git
L
ab Read-only middleware support
config
.
middleware
.
insert_after
ActionDispatch
::
Flash
,
::
Gitlab
::
Middleware
::
ReadOnly
config
.
middleware
.
insert_after
ActionDispatch
::
Flash
,
::
Gitlab
::
Middleware
::
ReadOnly
config
.
generators
do
|
g
|
config
.
generators
do
|
g
|
...
...
lib/gitlab/auth/ldap/access.rb
View file @
eb640ede
...
@@ -92,12 +92,12 @@ module Gitlab
...
@@ -92,12 +92,12 @@ module Gitlab
if
provider
if
provider
Gitlab
::
AppLogger
.
info
(
Gitlab
::
AppLogger
.
info
(
"LDAP account
\"
#{
ldap_identity
.
extern_uid
}
\"
#{
reason
}
, "
\
"LDAP account
\"
#{
ldap_identity
.
extern_uid
}
\"
#{
reason
}
, "
\
"blocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"blocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
else
else
Gitlab
::
AppLogger
.
info
(
Gitlab
::
AppLogger
.
info
(
"Account is not provided by LDAP, "
\
"Account is not provided by LDAP, "
\
"blocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"blocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
end
end
end
end
...
@@ -107,7 +107,7 @@ module Gitlab
...
@@ -107,7 +107,7 @@ module Gitlab
Gitlab
::
AppLogger
.
info
(
Gitlab
::
AppLogger
.
info
(
"LDAP account
\"
#{
ldap_identity
.
extern_uid
}
\"
#{
reason
}
, "
\
"LDAP account
\"
#{
ldap_identity
.
extern_uid
}
\"
#{
reason
}
, "
\
"unblocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"unblocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
end
end
end
end
...
...
lib/gitlab/gitaly_client/storage_settings.rb
View file @
eb640ede
...
@@ -13,7 +13,7 @@ module Gitlab
...
@@ -13,7 +13,7 @@ module Gitlab
Storage is invalid because it has no `path` key.
Storage is invalid because it has no `path` key.
For source installations, update your config/gitlab.yml Refer to gitlab.yml.example for an updated example.
For source installations, update your config/gitlab.yml Refer to gitlab.yml.example for an updated example.
If you're using the Git
l
ab Development Kit, you can update your configuration running `gdk reconfigure`.
If you're using the Git
L
ab Development Kit, you can update your configuration running `gdk reconfigure`.
MSG
MSG
# This class will give easily recognizable NoMethodErrors
# This class will give easily recognizable NoMethodErrors
...
...
lib/gitlab/template/finders/global_template_finder.rb
View file @
eb640ede
# Searches and reads file present on Git
l
ab installation directory
# Searches and reads file present on Git
L
ab installation directory
module
Gitlab
module
Gitlab
module
Template
module
Template
module
Finders
module
Finders
...
...
lib/gitlab/template/finders/repo_template_finder.rb
View file @
eb640ede
# Searches and reads files present on each Git
l
ab project repository
# Searches and reads files present on each Git
L
ab project repository
module
Gitlab
module
Gitlab
module
Template
module
Template
module
Finders
module
Finders
...
...
lib/support/nginx/gitlab
View file @
eb640ede
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
## See installation.md#using-https for additional HTTPS configuration details.
## See installation.md#using-https for additional HTTPS configuration details.
upstream gitlab-workhorse {
upstream gitlab-workhorse {
# Git
l
ab socket file,
# Git
L
ab socket file,
# for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/socket
# for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/socket
server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
}
}
...
@@ -112,7 +112,7 @@ server {
...
@@ -112,7 +112,7 @@ server {
error_page 502 /502.html;
error_page 502 /502.html;
error_page 503 /503.html;
error_page 503 /503.html;
location ~ ^/(404|422|500|502|503)\.html$ {
location ~ ^/(404|422|500|502|503)\.html$ {
# Location to the Git
l
ab's public directory,
# Location to the Git
L
ab's public directory,
# for Omnibus this would be: /opt/gitlab/embedded/service/gitlab-rails/public.
# for Omnibus this would be: /opt/gitlab/embedded/service/gitlab-rails/public.
root /home/git/gitlab/public;
root /home/git/gitlab/public;
internal;
internal;
...
...
lib/support/nginx/gitlab-ssl
View file @
eb640ede
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
## See installation.md#using-https for additional HTTPS configuration details.
## See installation.md#using-https for additional HTTPS configuration details.
upstream gitlab-workhorse {
upstream gitlab-workhorse {
# Git
l
ab socket file,
# Git
L
ab socket file,
# for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/socket
# for Omnibus this would be: unix:/var/opt/gitlab/gitlab-workhorse/socket
server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
server unix:/home/git/gitlab/tmp/sockets/gitlab-workhorse.socket fail_timeout=0;
}
}
...
@@ -162,7 +162,7 @@ server {
...
@@ -162,7 +162,7 @@ server {
error_page 502 /502.html;
error_page 502 /502.html;
error_page 503 /503.html;
error_page 503 /503.html;
location ~ ^/(404|422|500|502|503)\.html$ {
location ~ ^/(404|422|500|502|503)\.html$ {
# Location to the Git
l
ab's public directory,
# Location to the Git
L
ab's public directory,
# for Omnibus this would be: /opt/gitlab/embedded/service/gitlab-rails/public
# for Omnibus this would be: /opt/gitlab/embedded/service/gitlab-rails/public
root /home/git/gitlab/public;
root /home/git/gitlab/public;
internal;
internal;
...
...
spec/lib/gitlab/auth/ldap/access_spec.rb
View file @
eb640ede
...
@@ -48,7 +48,7 @@ describe Gitlab::Auth::LDAP::Access do
...
@@ -48,7 +48,7 @@ describe Gitlab::Auth::LDAP::Access do
it
'logs the reason'
do
it
'logs the reason'
do
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
"LDAP account
\"
123456
\"
does not exist anymore, "
\
"LDAP account
\"
123456
\"
does not exist anymore, "
\
"blocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"blocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
access
.
allowed?
access
.
allowed?
...
@@ -79,7 +79,7 @@ describe Gitlab::Auth::LDAP::Access do
...
@@ -79,7 +79,7 @@ describe Gitlab::Auth::LDAP::Access do
it
'logs the reason'
do
it
'logs the reason'
do
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
"LDAP account
\"
123456
\"
is disabled in Active Directory, "
\
"LDAP account
\"
123456
\"
is disabled in Active Directory, "
\
"blocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"blocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
access
.
allowed?
access
.
allowed?
...
@@ -123,7 +123,7 @@ describe Gitlab::Auth::LDAP::Access do
...
@@ -123,7 +123,7 @@ describe Gitlab::Auth::LDAP::Access do
it
'logs the reason'
do
it
'logs the reason'
do
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
"LDAP account
\"
123456
\"
is not disabled anymore, "
\
"LDAP account
\"
123456
\"
is not disabled anymore, "
\
"unblocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"unblocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
access
.
allowed?
access
.
allowed?
...
@@ -161,7 +161,7 @@ describe Gitlab::Auth::LDAP::Access do
...
@@ -161,7 +161,7 @@ describe Gitlab::Auth::LDAP::Access do
it
'logs the reason'
do
it
'logs the reason'
do
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
"LDAP account
\"
123456
\"
does not exist anymore, "
\
"LDAP account
\"
123456
\"
does not exist anymore, "
\
"blocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"blocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
access
.
allowed?
access
.
allowed?
...
@@ -183,7 +183,7 @@ describe Gitlab::Auth::LDAP::Access do
...
@@ -183,7 +183,7 @@ describe Gitlab::Auth::LDAP::Access do
it
'logs the reason'
do
it
'logs the reason'
do
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
expect
(
Gitlab
::
AppLogger
).
to
receive
(
:info
).
with
(
"LDAP account
\"
123456
\"
is available again, "
\
"LDAP account
\"
123456
\"
is available again, "
\
"unblocking Git
l
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
"unblocking Git
L
ab user
\"
#{
user
.
name
}
\"
(
#{
user
.
email
}
)"
)
)
access
.
allowed?
access
.
allowed?
...
...
spec/lib/gitlab/middleware/read_only_spec.rb
View file @
eb640ede
...
@@ -34,7 +34,7 @@ describe Gitlab::Middleware::ReadOnly do
...
@@ -34,7 +34,7 @@ describe Gitlab::Middleware::ReadOnly do
end
end
end
end
context
'normal requests to a read-only Git
l
ab instance'
do
context
'normal requests to a read-only Git
L
ab instance'
do
let
(
:fake_app
)
{
lambda
{
|
env
|
[
200
,
{
'Content-Type'
=>
'text/plain'
},
[
'OK'
]]
}
}
let
(
:fake_app
)
{
lambda
{
|
env
|
[
200
,
{
'Content-Type'
=>
'text/plain'
},
[
'OK'
]]
}
}
before
do
before
do
...
...
spec/models/instance_configuration_spec.rb
View file @
eb640ede
...
@@ -52,7 +52,7 @@ RSpec.describe InstanceConfiguration do
...
@@ -52,7 +52,7 @@ RSpec.describe InstanceConfiguration do
expect
(
gitlab_pages
).
to
eq
(
Settings
.
pages
.
symbolize_keys
)
expect
(
gitlab_pages
).
to
eq
(
Settings
.
pages
.
symbolize_keys
)
end
end
it
'returns the Git
l
ab\'s pages host ip address'
do
it
'returns the Git
L
ab\'s pages host ip address'
do
expect
(
gitlab_pages
.
keys
).
to
include
(
:ip_address
)
expect
(
gitlab_pages
.
keys
).
to
include
(
:ip_address
)
end
end
...
...
spec/requests/openid_connect_spec.rb
View file @
eb640ede
...
@@ -121,7 +121,7 @@ describe 'OpenID Connect requests' do
...
@@ -121,7 +121,7 @@ describe 'OpenID Connect requests' do
expect
(
@payload
).
to
match
(
a_hash_including
(
id_token_claims
))
expect
(
@payload
).
to
match
(
a_hash_including
(
id_token_claims
))
end
end
it
'includes the Git
l
ab root URL'
do
it
'includes the Git
L
ab root URL'
do
expect
(
@payload
[
'iss'
]).
to
eq
Gitlab
.
config
.
gitlab
.
url
expect
(
@payload
[
'iss'
]).
to
eq
Gitlab
.
config
.
gitlab
.
url
end
end
...
...
spec/services/auth/container_registry_authentication_service_spec.rb
View file @
eb640ede
...
@@ -145,7 +145,7 @@ describe Auth::ContainerRegistryAuthenticationService do
...
@@ -145,7 +145,7 @@ describe Auth::ContainerRegistryAuthenticationService do
{
scopes:
[
"registry:catalog:*"
]
}
{
scopes:
[
"registry:catalog:*"
]
}
end
end
context
'disallow browsing for users without Git
l
ab admin rights'
do
context
'disallow browsing for users without Git
L
ab admin rights'
do
it_behaves_like
'an inaccessible'
it_behaves_like
'an inaccessible'
it_behaves_like
'not a container repository factory'
it_behaves_like
'not a container repository factory'
end
end
...
...
spec/services/groups/transfer_service_spec.rb
View file @
eb640ede
...
@@ -22,7 +22,7 @@ describe Groups::TransferService, :postgresql do
...
@@ -22,7 +22,7 @@ describe Groups::TransferService, :postgresql do
end
end
end
end
context
"when there's an exception on Git
l
ab shell directories"
do
context
"when there's an exception on Git
L
ab shell directories"
do
let
(
:new_parent_group
)
{
create
(
:group
,
:public
)
}
let
(
:new_parent_group
)
{
create
(
:group
,
:public
)
}
before
do
before
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