- 03 Jan, 2020 13 commits
-
-
Bob Van Landuyt authored
Feature for #27518, users can revoke active sessions again. Closes #27518 See merge request gitlab-org/gitlab!17462
-
Bob Van Landuyt authored
Fix typo in CI yaml docs See merge request gitlab-org/gitlab!22382
-
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 27 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
-
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
-
Stan Hu authored
Previously the foreign key constraint for `user_id` on the `personal_access_tokens` table did not have the ON DELETE CASCADE option enabled, which made deleting users that had generated a PAT impossible. This migration adds a new foreign key constraint with this option and drops the old one. Closes https://gitlab.com/gitlab-org/gitlab/issues/191262
-
Enrique Alcantara authored
- ee/spec/javascripts/environments/deploy_board_component_spec.js - ee/spec/javascripts/vue_shared/components/deployment_instance_spec.js
-
Jan Provaznik authored
Prevent stack overflowing with a lot of user references Closes #119333 See merge request gitlab-org/gitlab!22247
-
Lukas 'Eipi' Eipert authored
-
Martin Wortschack authored
Replace search by stub name with real components Closes #191270 See merge request gitlab-org/gitlab!22300
-
Kushal Pandya authored
Add support for operator in filter bar See merge request gitlab-org/gitlab!19011
-
Andreas Brandl authored
Drop redundant index on ci_pipelines.project_id See merge request gitlab-org/gitlab!22325
-
Sean McGivern authored
When an issue, MR, or epic contains a lot of user references (even to the same user), we use the method Banzai::ReferenceParser::BaseParser.collection_objects_for_ids to load those users and maintain the loaded users for the current request in a RequestStore cache. This method calls Hash#values_at with the splatted IDs - so one argument per ID passed in. If enough IDs are passed in, it's possible for the arguments here to overflow the stack. Let's say we have: ids = [1] * 1_000_000; ids.length #=> 1000000 cache = {} #=> {} cache.values_at(*ids).compact # SystemStackError: stack level too deep We could do this `cache.values_at(*ids.uniq).compact`, but that would fail in this case: distinct_ids = 1.upto(1_000_000).to_a; distinct_ids.length #=> 1000000 cache.values_at(*distinct_ids.uniq).compact # SystemStackError: stack level too deep So the best option seems to be to just write a slower, but non-stack-consuming, version: Benchmark.realtime { ids.uniq.map { |id| cache[id] }.compact } #=> 0.15192799968644977 Benchmark.realtime { distinct_ids.uniq.map { |id| cache[id] }.compact } #=> 0.3621319998055696 To test this locally, you can replace the last issue's description with a lot of mentions of a user (here I've created a user with the username 't'), but it takes a long time: problem = ('@t ' * 1_000_000)[0...1_000_000]; problem.length #=> 1000000 Issue.last.update!(description: problem_string) Visiting that issue in the UI will then overflow the stack. With this change, it won't (although it is very slow).
-
Lin Jen-Shin authored
Pass through TOP_UPSTREAM_SOURCE_REF for qa pipeline See merge request gitlab-org/gitlab!22263
-
Balasankar "Balu" C authored
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
-
Balasankar "Balu" C authored
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
-
Adam Hegyi authored
Remove optimized_groups_user_can_read_epics_method feature flag and keep the optimized code in the codebase. Closes https://gitlab.com/gitlab-org/gitlab/issues/37748
-