Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-20Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42GitLab Bot
2022-03-18Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42GitLab Bot
2021-06-16Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot
2021-03-16Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot
2020-11-19Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot
2020-01-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-01-07Switch use of Rack::Request to ActionDispatch::RequestStan Hu
As mentioned in https://gitlab.com/gitlab-org/gitlab-ee/issues/9035#note_129093444, Rails 5 switched ActionDispatch::Request so that it no longer inherits Rack::Request directly. A middleware that uses Rack::Request to read the environment may see stale request parameters if another middleware modifies the environment via ActionDispatch::Request. To be safe, we should be using ActionDispatch::Request everywhere.
2018-11-07Enable even more frozen string in lib/gitlabgfyoung
Enables frozens string for the following: * lib/gitlab/conflict/**/*.rb * lib/gitlab/cross_project_access/**/*.rb * lib/gitlab/cycle_analytics/**/*.rb * lib/gitlab/data_builder/**/*.rb * lib/gitlab/database/**/*.rb * lib/gitlab/dependency_linker/**/*.rb * lib/gitlab/diff/**/*.rb * lib/gitlab/downtime_check/**/*.rb * lib/gitlab/email/**/*.rb * lib/gitlab/etag_caching/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
2018-04-17Fix flash errors in performance bar for cached responsesSean McGivern
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.
2017-06-12Revert to passing the path when matching key to the routerZ.J. van de Weg
This was edited to the request, but this won't work if the data is not available at the time of setting the key for the first time.
2017-06-07Fix incorrect ETag cache key when relative instance URL is usedAdam Niedzielski
2017-04-10Test all enabled routes in ETag caching middleware and fix pipeline routesAdam Niedzielski
Extract route matching logic to Gitlab::EtagCaching::Router. Fix pipeline routes: 1. "project_pipelines" has to come after "commit_pipelines" and "merge_request_pipelines" because it is more generic 2. "commit_pipelines": "\s" (any whitespace character) => "\S" (any non-whitespace character).
2017-04-07Enable polling for pipelines table other pagesToon Claes
Also poll for pipeline changes on: - Pipeline table on commit page - Pipeline table on merge request page - Pipeline table on new merge request page
2017-04-07In case of Etag cache hit, the body should be emptyToon Claes
2017-04-07Use Etag caching for pipelines jsonToon Claes
Enable caching in the Etag::Middleware and when a pipeline changes status, expire the cache for the project pipelines path.
2017-04-06Include endpoint in metrics for ETag caching middlewareAdam Niedzielski
2017-04-06Issue title realtimeRegis Boudinot
2017-04-05Use NamespaceValidator::WILDCARD_ROUTES in ETag caching middlewareAdam Niedzielski
NamespaceValidator::WILDCARD_ROUTES is less restrictive than ProjectPathValidator::RESERVED and we really have to avoid only routes that contain wildcard names.
2017-04-03Introduce "polling_interval_multiplier" as application settingAdam Niedzielski
Implement module for setting "Poll-Interval" response header. Return 429 in ETag caching middleware when polling is disabled.
2017-03-10Fix notes polling failing after code changesSean McGivern
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9235
2017-03-01Add middleware for ETag caching with RedisAdam Niedzielski