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
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-07-11Support multiple Redis instances based on queue typePaul Charlton
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-12Fix etag route missesZ.J. van de Weg
Fixes gitlab-org/gitlab-ce#33106
2017-06-12Raise exception on invalid pipeline cacheKamil Trzcinski
2017-06-07Fix incorrect ETag cache key when relative instance URL is usedAdam Niedzielski
2017-06-02Merge remote-tracking branch 'origin/master' into zj-job-view-goes-real-timeKamil Trzcinski
2017-06-01Merge branch 'master' into zj-realtime-env-listZ.J. van de Weg
2017-05-31Initial implementation for real time job viewZ.J. van de Weg
Added the needed keys and paths to a new entity, BuildDetailsEntity. Not renaming BuildEntity to BuildBasicEntity on explicit request. Most code now has test coverage, but not all. This will be added on later commits on this branch. Resolves gitlab-org/gitlab-ce#31397
2017-05-26Should escape the routes because we added -Lin Jen-Shin
2017-05-25Merge branch 'master' into zj-realtime-env-listZ.J. van de Weg
2017-05-24Revert "Remove changes that are not absolutely necessary"Douwe Maan
This reverts commit b0498c176fa134761d899c9b369be12f1ca789c5
2017-05-24Merge branch 'dm-fix-routes' into 'master'Robert Speicher
Fix ambiguous routing issues by teaching router about reserved words See merge request !11570
2017-05-24Restore original comment [ci skip]Z.J. van de Weg
2017-05-24Remove changes that are not absolutely necessaryDouwe Maan
2017-05-24Fix ambiguous routing issues by teaching router about reserved wordsDouwe Maan
2017-05-22Add Etag caching for Pipeline#Show actionZ.J. van de Weg
Due to a typo this was not actually the case. Now that is fixed and performance should improve because of this.
2017-05-22Use etag caching for environments JSONZ.J. van de Weg
For the index view, the environments can now be requested every 15 seconds. Any transition state of a projects environments will trigger a cache invalidation action. Fixes gitlab-org/gitlab-ce#31701
2017-05-13Rename all references to rendered_title to realtime_changesLuke "Jared" Bennett
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-06Real time pipeline show actionZeger-Jan van de Weg
2017-05-01Minor style adjustmentsBob Van Landuyt
2017-05-01Rename `NamespaceValidator` to `DynamicPathValidator`Bob Van Landuyt
This reflects better that it validates paths instead of a namespace model
2017-05-01Streamline the path validation in groups & projectsBob Van Landuyt
`Project` uses `ProjectPathValidator` which is now a `NamespaceValidator` that skips the format validation. That way we're sure we are using the same collection of reserved paths. I updated the path constraints to reflect the changes: We now allow some values that are only used on a top level namespace as a name for a nested group/project.
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-23Increase ETag cache expiry timeAdam Niedzielski
As discussed in #29777.
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