| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This number was reporting a negative number because `current_time` was
a monotonic counter, not an absolute time.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65748
|
| |
|
|\
| |
| |
| |
| | |
Rename githost.log -> git_json.log
See merge request gitlab-org/gitlab-ce!31634
|
| |
| |
| |
| |
| |
| | |
The githost.log name was often confused with GitHost.io. Rename this to
git_json.log to make it clear it's coming from Git and that it's JSON
data.
|
|\ \
| |/
|/|
| |
| | |
Clean up an incomplete thought as a spec
See merge request gitlab-org/gitlab-ce!31541
|
| | |
|
| |
| |
| |
| | |
As decided in https://gitlab.com/gitlab-org/gitlab-ce/issues/53593
|
| |
| |
| |
| | |
Generalize wiki page counter for other page types to extend to.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Makes section title clickable and collapsible
Closes #63181
See merge request gitlab-org/gitlab-ce!31571
|
| |/
| |
| |
| |
| | |
In the job log, if the user clicks the section title
the job log section will be collapsed
|
| |
| |
| |
| | |
- Original EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14827
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add possibilty to view starrers ("stargazers") of a repository & any user's starred repositories
Closes #20137
See merge request gitlab-org/gitlab-ce!24690
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Pass keyname instead of translated string
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Add missing report-uri to CSP config
See merge request gitlab-org/gitlab-ce!31593
|
| | |
| | |
| | |
| | |
| | | |
This is supported in Rails 5.2, although it may be
deprecated in the future by reports-to.
|
| | |
| | |
| | |
| | |
| | | |
- This will make it easy to identify the project even if admins change
the name of the project or move it.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://gitlab.com/gitlab-org/gitlab-ce/issues/62971
Adds support to EnvironmentsController#metrics_dashboard
for the following params: group, title, y_label
These params are used to uniquely identify a panel on
the metrics dashboard.
Metrics are stored in several places, so this adds
utilities to find a specific panel from the database
or filesystem depending on the metric specified.
Also moves some shared utilities into separate classes,
notably default values and errors.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Send a `persist_filter: false` param to backend when
opening links to notes and auto-switching to show
all notes
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removes duplicate button from job log page
Closes #65705
See merge request gitlab-org/gitlab-ce!31544
|
| | |/
| |/|
| | |
| | |
| | | |
Prevents manual action button from being rendered
twice in the job log empty state
|
| | |
| | |
| | |
| | | |
Squash this commit and reword before merging..
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
Resolve "Selected project in the search view is not fully readable"
Closes #47814
See merge request gitlab-org/gitlab-ce!31137
|
| | |
| | |
| | |
| | |
| | |
| | | |
- Re-organising search.scss
- Rely more on utility-classes instead of component classes
- Update relevant specs
|
| | |
| | |
| | |
| | |
| | | |
Adding proper <label>s while removing labels from the fields themselves.
This gives more space for the field's content
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Don't attempt to contact registry if it is disabled
See merge request gitlab-org/gitlab-ce!31553
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21679 moved the
deletion of registry tags outside of a transaction, but introduced an
issue where Sidekiq would attempt to contact the container registry
during project destruction even if it were disabled.
Relates to:
* https://gitlab.com/charts/gitlab/issues/1455
* https://gitlab.com/gitlab-org/gitlab-ce/issues/45941
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow masking @ and : characters
Closes #63043
See merge request gitlab-org/gitlab-ce!31065
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add support for Content-Security-Policy
Closes #65330
See merge request gitlab-org/gitlab-ce!31402
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
A nonce-based Content-Security-Policy thwarts XSS attacks by allowing
inline JavaScript to execute if the script nonce matches the header
value. Rails 5.2 supports nonce-based Content-Security-Policy headers,
so provide configuration to enable this and make it work.
To support this, we need to change all `:javascript` HAML filters to the
following form:
```
= javascript_tag nonce: true do
:plain
...
```
We use `%script` throughout our HAML to store JSON and other text, but
since this doesn't execute, browsers don't appear to block this content
from being used and require the nonce value to be present.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Kubernetes deployments on new clusters will now have
a separate namespace per project environment, instead
of sharing a single namespace for the project.
Behaviour of existing clusters is unchanged.
All new functionality is controlled by the
:kubernetes_namespace_per_environment feature flag,
which is safe to enable/disable at any time.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Closes #60024
- Change PrometheusClient.new to accept a base url instead of an
already created RestClient
- Use Gitlab::HTTP in PrometheusClient instead of creating RestClient
in PrometheusService
- Move http_options from PrometheusService to
PrometheusClient (follow_redirects: false)
- ensure that base urls don't have the trailing slash
- Created a `PrometheusClient#url` method that might not be strictly
required
- Change rescued exceptions from RestClient::* to
HTTParty::ResponseError where possible and StandardError for the
rest
|
| |_|/ /
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Add top navigation analytics link
See merge request gitlab-org/gitlab-ce!30324
|
| |/ / / |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
Support selective highlighting of lines
See merge request gitlab-org/gitlab-ce!31361
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of highlighting all lines when not all of them are
needed, only highlight specific lines.
The `BlobPresenter#highlight` method has been updated to
support `since` and `to` params. These params will be used to
limit the content to be highlighted.
Modify `Gitlab::Highlight` to support `since` param which will
then be used to determine the starting line number.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Improve the performance of viewing deploy keys
Closes #43080
See merge request gitlab-org/gitlab-ce!31384
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit changes how we eager-load projects, routes, and namespaces
required by the deploy keys endpoint, getting a 10x improvement in my
local testing.
The endpoint still doesn't scale in-general, but going from ~13 seconds
to dump a 63K result to generating the same thing in ~1.6 seconds seems
like a good improvement to me.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Make issue boards importable
See merge request gitlab-org/gitlab-ce!31434
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Added Importable to models/list.rb
- Did unless: :importable? on board validation
- Created changelog
- Modified haml to show issue boards are importable
- Added needed spec tests
- Modified project.json to include board information
- Added relevant models to all_models
- Added relevant models to import_export
- Added relevant models to safe_model_attributes
|