- 03 Jan, 2020 22 commits
-
-
Bob Van Landuyt authored
This provides context to all requests made to Rails controllers or grape endpoints. Doing this starts a new `Labkit::Context`, to which we can provide a namespace, project and user. We're currently setting the following values: - Web requests: In the ApplicationController we wrap the entire request in a `with_context`. - user: based on the `auth_user` if there is one - project: We try to read the @project instance variable of the controller. - namespace: We try to read the @group instance variable of the controller. If there was none, but the project was set, we'll use that path to set the namespace - API requests: The application context is pushed in a before block setting the following values: - user: to `current_user` if there is one - project: to `@project` - namespace: to `@group` - Internal API requests: the application context is pushed in a before block: - user: When to the user set in `Api::Support::GitAccessActor` - project: to @project if it was available The 3 supported attributes for a context are read lazily when required. This also replaces the existing correlation middlewares with the new Labkit::Context middlewares. The rack middleware wraps each rack request in an overarching context that adds the correlation id. The context is cleaned up after the request, so we're sure all child contexts are cleaned up as well. The sidekiq client middleware will write the context into the job that goes into redis when a job is scheduled. The sidekiq server middleware will then re-instantiate this context so the job gets executed with the same context that was alive when it was scheduled. This means that any new job scheduled from sidekiq would also have this context.
-
Bob Van Landuyt authored
This makes sure we're always working with the project that we've validated access for.
-
Jan Provaznik authored
Add Reenqueuer concern See merge request gitlab-org/gitlab!22031
-
Grzegorz Bizon authored
Add system/comment filter to notes api See merge request gitlab-org/gitlab!21159
-
Grzegorz Bizon authored
Add logging to error handling in ElasticIndexerWorker See merge request gitlab-org/gitlab!22414
-
Kushal Pandya authored
Add explanation to the "programming languages used" chart See merge request gitlab-org/gitlab!20592
-
Grzegorz Bizon authored
Create downstream pipeline inside same project See merge request gitlab-org/gitlab!20930
-
Bob Van Landuyt authored
Feature for #27518, users can revoke active sessions again. Closes #27518 See merge request gitlab-org/gitlab!17462
-
Dylan Griffith authored
-
Bob Van Landuyt authored
Fix typo in CI yaml docs See merge request gitlab-org/gitlab!22382
-
Dylan Griffith authored
-
Martin Wortschack authored
Prevent spiders indexing contribution analytics See merge request gitlab-org/gitlab!21896
-
Martin Wortschack authored
Resolve "Auto stop environments after a certain period" See merge request gitlab-org/gitlab!20372
-
Lin Jen-Shin authored
Add #finding method to Vulnerability See merge request gitlab-org/gitlab!22346
-
Stan Hu authored
Setup multiple milestones See merge request gitlab-org/gitlab!22043
-
Andreas Brandl authored
Update foreign key constraint for personal access tokens Closes #191262 See merge request gitlab-org/gitlab!22305
-
Ray Paik authored
Docs: Remove duplicate deploy action from aws.md See merge request gitlab-org/gitlab!22365
-
Stan Hu authored
Use Ruby 2.6.5 CI images See merge request gitlab-org/gitlab!22372
-
Jesse Hall authored
-
Marcel Amirault authored
fix include template code examples for SAST See merge request gitlab-org/gitlab!22339
-
Mark Lapierre authored
Update github import test Closes #193485 See merge request gitlab-org/gitlab!22353
-
Mark Lapierre authored
It needs to click the authenticate button, and then the repos are listed
-
- 02 Jan, 2020 18 commits
-
-
Drew Blessing authored
Docs: Remove extraneous text See merge request gitlab-org/gitlab!22403
-
Clement Ho authored
Replace breakpoints with GlBreakpointInstance in issuable_context.js See merge request gitlab-org/gitlab!22008
-
Diana Stanley authored
-
John T Skarbek authored
-
Sarah GP authored
This is the commit for all changes, for merging This change involves both HAML and Vue, plus refactoring
-
Michael Kozono authored
Check that uploaded file content matches the file extension See merge request gitlab-org/gitlab!20697
-
Alex Pooley authored
Handle when extension is missing Handle ambiguous file type checks - Content of text files often don't define their type. - A text file may be missing a file extension. - We may encounter a file with no extension that we can't magically type. Optionally check integrity of specific mime types Ensure upload integrity by file extension Apply integrity check to AvatarUploader and FaviconUploader
-
Dan Jensen authored
The chart showing "Programming languages used in this repository" did not explain how the chart was calculated. This adds a brief explanation.
-
Mike Kozono authored
It helps run exactly one instance of a worker, over and over, until it returns false or raises. If `perform` completes very quickly, it will sleep until `minimum_duration` is reached (default 5 seconds).
-
Fabio Pitino authored
Pass bridge job to pipeline creation * Take config from bridge job during pipeline creation if bridge exist and returns a yaml_for_downstream * Move Ci::Bridge#yaml_for_downstream to core
-
rossfuhrman authored
In support of https://gitlab.com/gitlab-org/gitlab/issues/13561, we need show action for the Vulnerability.
-
Clement Ho authored
Migrate deployment_instance_spec.js spec to jest See merge request gitlab-org/gitlab!22169
-
Sean McGivern authored
Remove ignored columns from Plan model See merge request gitlab-org/gitlab!22302
-
GitLab Release Tools Bot authored
[ci skip]
-
GitLab Release Tools Bot authored
[ci skip]
-
Jan Provaznik authored
Optimize Group#for_epics scope Closes #37368 and #37748 See merge request gitlab-org/gitlab!22375
-
Martin Wortschack authored
Fix tests failing in async mode Closes #193491 See merge request gitlab-org/gitlab!22361
-
Illya Klymov authored
This commit adds sync: false to our tests, preparing for VTU upgrade
-