| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
Fix `Trace::HttpIO` can not render multi-byte chars
Closes #44981
See merge request gitlab-org/gitlab-ce!18417
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Return nil on empty path
Closes gitaly#1115
See merge request gitlab-org/gitlab-ce!18430
|
| |/
| |
| |
| |
| |
| |
| | |
The execution path wasn't clear from the error, but either way this is a
fix.
Closes gitlab-org/gitaly#1115
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Move Gitaly RefExists check to OPT_OUT
Closes gitaly#401
See merge request gitlab-org/gitlab-ce!18333
|
| | |
| | |
| | |
| | |
| | |
| | | |
Part of the Gitaly migration as tracked in: https://gitlab.com/gitlab-org/gitaly/issues/401
Acceptance testing was done in: https://gitlab.com/gitlab-org/gitaly/issues/1014
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Ignore `locale/gitlab.pot` in ee_compat_check
See merge request gitlab-org/gitlab-ce!18424
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts can be resolved by running
`bundle exec rake gettext:find; git checkout locale/*/gitlab.po`
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Add .org? method to Gitlab helper
See merge request gitlab-org/gitlab-ce!18429
|
| | |_|/
| |/| |
| | | |
| | | | |
dev_env_or_com? now considers dev.gitlab.org
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'45363-optional-params-on-api-endpoint-produce-invalid-pagination-header-links' into 'master'
Fix URLs in the `Link` header for `GET /projects/:id/repository/contributors` when no value is passed for `order_by` or `sort`
Closes #45363
See merge request gitlab-org/gitlab-ce!18393
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
/projects/:id/repository/contributors' when no value is passed for 'order_by' or 'sort'
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
'45436-markdown-is-not-rendering-error-loading-viewer-undefined-method-html_escape' into 'master'
Resolve "Markdown is not rendering, "Error loading viewer": undefined method `html_escape'"
Closes #45436
See merge request gitlab-org/gitlab-ce!18418
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Memoize Git::Repository#has_visible_content?
See merge request gitlab-org/gitlab-ce!18383
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is called repeatedly when viewing a merge request, and this should
improve performance significantly by avoiding shelling out to git every time.
This should help https://gitlab.com/gitlab-com/infrastructure/issues/4027.
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
'45406-error-getting-performance-bar-results-for-uuid-regularly-seen-in-production' into 'master'
Resolve ""Error getting performance bar results for [UUID]" regularly seen in production"
Closes #45406
See merge request gitlab-org/gitlab-ce!18419
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When a request contains an ETag value in its If-None-Match header, the backend
may send a request ID (from Rack) that does not correspond to a value in Peek's
Redis cache (because we aborted the Rails processing in our ETag middleware).
Because a cached response (304) has to replace the headers with those from the
previous 200 - https://tools.ietf.org/html/rfc7234#section-4.3.4 - we add a
custom header that will only be present in cache hits, that can tell the
frontend to ignore these.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds a method to track errors that can be recovered from in
sentry.
It is useful when debugging performance issues, or exceptions that are
hard to reproduce.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Validate project path prior to hitting the database.
Closes #45247
See merge request gitlab-org/gitlab-ce!18322
|
| | | |
| | | |
| | | |
| | | | |
Closes #45247.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Backport GitLab domain helper methods
See merge request gitlab-org/gitlab-ce!18376
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Allow `rake cache:clear` clearing pipeline status cache
Closes #44582
See merge request gitlab-org/gitlab-ce!18257
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Use the correct key prefix
* Clear old cache keys
TODO:
At some point we could remove clearing old cache keys.
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Deprecate legacy disk paths
See merge request gitlab-org/gitlab-ce!18332
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Direct disk access is impossible on environments where components run in
their own container. There for constructing the path should not be done
except for exceptional cases.
One of the considerations, instead of logging, was to use Sentry. For
now I've chosen not to use this as the impact of this change is hard to
determine. Getting this in now will allow us to checkout the impact on
dev.gitlab.org and staging.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Fix reference filters in group context
See merge request gitlab-org/gitlab-ce!18340
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since !18150 abstract reference filter supports also `group`
as a resource parent (not only `project`). Some reference filters,
which inherit from abstract filter, depend on parent being `project`
when checking a reference.
This patch adds explicit check of parent class to the given filters.
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make archived projects completely read-only
Closes #44788
See merge request gitlab-org/gitlab-ce!18136
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This could only be possible for users that can create merge requests
within a project.
So they need to be a allowed to create a branch and create a merge request.
|
| | | | |
| | | | |
| | | | |
| | | | | |
prevent confusion with destroy_protected_branch
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
'backport-of-rd-3429-enabling-maximum-file-size-limit-in-repository-causes-pushes-to-fail' into 'master'
Backport of EE !4989
See merge request gitlab-org/gitlab-ce!18238
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | |
| | | | | |
| | | | | | |
Optimise rendering of Markdown documents that belong to different projects
See merge request gitlab-org/gitlab-ce!18157
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This refactors the Markdown pipeline so it supports the rendering of
multiple documents that may belong to different projects. An example of
where this happens is when displaying the event feed of a group. In this
case we retrieve events for all projects in the group. Previously we
would group events per project and render these chunks separately, but
this would result in many SQL queries being executed. By extending the
Markdown pipeline to support this out of the box we can drastically
reduce the number of SQL queries.
To achieve this we introduce a new object to the pipeline:
Banzai::RenderContext. This object simply wraps two other objects: an
optional Project instance, and an optional User instance. On its own
this wouldn't be very helpful, but a RenderContext can also be used to
associate HTML documents with specific Project instances. This work is
done in Banzai::ObjectRenderer and allows us to reuse as many queries
(and results) as possible.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix empty state for build that does not have a trace
Closes #45204
See merge request gitlab-org/gitlab-ce!18278
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
It also adds a fallback that covers other edge cases that might surface
later.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fix finding wiki file when Gitaly is enabled
Closes gitaly#1126
See merge request gitlab-org/gitlab-ce!18317
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes gitaly#1126
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Client implementation for InfoAttributes
See merge request gitlab-org/gitlab-ce!18261
|