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
4cda5811
Commit
4cda5811
authored
Dec 03, 2021
by
Dominic Couture
Committed by
Marcel Amirault
Dec 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the assets.gitlab-static.net domain from examples in our documentation
parent
d057bc1f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
doc/api/projects.md
doc/api/projects.md
+1
-1
doc/ci/environments/protected_environments.md
doc/ci/environments/protected_environments.md
+1
-1
doc/development/image_scaling.md
doc/development/image_scaling.md
+2
-2
No files found.
doc/api/projects.md
View file @
4cda5811
...
@@ -1072,7 +1072,7 @@ If the project is a fork, and you provide a valid token to authenticate, the
...
@@ -1072,7 +1072,7 @@ If the project is a fork, and you provide a valid token to authenticate, the
"ssh_url_to_repo"
:
"git@gitlab.com:gitlab-org/gitlab-foss.git"
,
"ssh_url_to_repo"
:
"git@gitlab.com:gitlab-org/gitlab-foss.git"
,
"http_url_to_repo"
:
"https://gitlab.com/gitlab-org/gitlab-foss.git"
,
"http_url_to_repo"
:
"https://gitlab.com/gitlab-org/gitlab-foss.git"
,
"web_url"
:
"https://gitlab.com/gitlab-org/gitlab-foss"
,
"web_url"
:
"https://gitlab.com/gitlab-org/gitlab-foss"
,
"avatar_url"
:
"https://
assets.gitlab-static.net
/uploads/-/system/project/avatar/13083/logo-extra-whitespace.png"
,
"avatar_url"
:
"https://
gitlab.com
/uploads/-/system/project/avatar/13083/logo-extra-whitespace.png"
,
"license_url"
:
"https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE"
,
"license_url"
:
"https://gitlab.com/gitlab-org/gitlab/-/blob/master/LICENSE"
,
"license"
:
{
"license"
:
{
"key"
:
"mit"
,
"key"
:
"mit"
,
...
...
doc/ci/environments/protected_environments.md
View file @
4cda5811
...
@@ -79,7 +79,7 @@ Alternatively, you can use the API to protect an environment:
...
@@ -79,7 +79,7 @@ Alternatively, you can use the API to protect an environment:
$
curl
--request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
\
$
curl
--request
POST
--header
"PRIVATE-TOKEN: <your_access_token>"
\
--data
"user_id=3222377&access_level=20"
"https://gitlab.com/api/v4/groups/9899826/members"
--data
"user_id=3222377&access_level=20"
"https://gitlab.com/api/v4/groups/9899826/members"
{
"id"
:3222377,
"name"
:
"Sean Carroll"
,
"username"
:
"sfcarroll"
,
"state"
:
"active"
,
"avatar_url"
:
"https://
assets.gitlab-static.net
/uploads/-/system/user/avatar/3222377/avatar.png"
,
"web_url"
:
"https://gitlab.com/sfcarroll"
,
"access_level"
:20,
"created_at"
:
"2020-10-26T17:37:50.309Z"
,
"expires_at"
:null
}
{
"id"
:3222377,
"name"
:
"Sean Carroll"
,
"username"
:
"sfcarroll"
,
"state"
:
"active"
,
"avatar_url"
:
"https://
gitlab.com
/uploads/-/system/user/avatar/3222377/avatar.png"
,
"web_url"
:
"https://gitlab.com/sfcarroll"
,
"access_level"
:20,
"created_at"
:
"2020-10-26T17:37:50.309Z"
,
"expires_at"
:null
}
```
```
1.
Use the API to add the group to the project as a reporter:
1.
Use the API to add the group to the project as a reporter:
...
...
doc/development/image_scaling.md
View file @
4cda5811
...
@@ -37,8 +37,8 @@ Furthermore, configuration in Workhorse can lead to the image scaler rejecting a
...
@@ -37,8 +37,8 @@ Furthermore, configuration in Workhorse can lead to the image scaler rejecting a
For instance, here are two different URLs that serve the GitLab project avatar both in its
For instance, here are two different URLs that serve the GitLab project avatar both in its
original size and scaled down to 64 pixels. Only the second request will trigger the image scaler:
original size and scaled down to 64 pixels. Only the second request will trigger the image scaler:
-
[
`/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png`
](
https://
assets.gitlab-static.net
/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png
)
-
[
`/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png`
](
https://
gitlab.com
/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png
)
-
[
`/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png?width=64`
](
https://
assets.gitlab-static.net
/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png?width=64
)
-
[
`/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png?width=64`
](
https://
gitlab.com
/uploads/-/system/project/avatar/278964/logo-extra-whitespace.png?width=64
)
## Where do we scale images?
## Where do we scale images?
...
...
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