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
2020-04-01Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-04-01Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-12-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-26Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-05Use stub_rails_env for Rails.env stubbingAsh McKenzie
RailsHelpers.stub_rails_env takes care of stubbing Rails.env
2019-09-03Stub DetectRepositoryLanguagesWorker for all testsIgor
It performs an expensive operation, but isn't required in most of tests
2019-08-11Allow to use focus: true in specsGiorgenes Gelatti
2019-08-02Again run quarantine specs if tag providedToon Claes
In f59438c0a9da7bb4d98291d2adedfc5a13a50798 we changed how quarantined specs are excluded. But that made it impossible to run them by providing `--tag quarantine`, this changes that.
2019-07-29Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqRobert Speicher
2019-07-26Merge branch 'security-dns-ssrf-bypass' into 'master'GitLab Release Tools Bot
Server Side Request Forgery mitigation bypass Closes #2872 See merge request gitlab/gitlabhq!3205
2019-07-25Remove code related to object hierarchy in MySQLHeinrich Lee Yu
These are not required because MySQL is not supported anymore
2019-07-23Remove dead MySQL codeNick Thomas
None of this code can be reached any more, so it can all be removed
2019-07-18Merge branch 'webide-commit-use-correct-parent' into 'master'Nick Thomas
Use correct parent when committing in WebIDE See merge request gitlab-org/gitlab-ce!29598
2019-07-18Add start_sha to commits APIMarkus Koller
When passing start_branch on committing from the WebIDE, it's possible that the branch has changed since editing started, which results in the change being applied on top of the latest commit in the branch and overwriting the new changes. By passing the start_sha instead we can make sure that the change is applied on top of the commit which the user started editing from.
2019-07-16Wrap rugged calls with access disk blockJohn Cai
Whenever we use the rugged implementation, we are going straight to disk so we want to bypass the disk access check.
2019-07-15Fix Server Side Request Forgery mitigation bypassFrancisco Javier López
When we can't resolve the hostname or it is invalid, we shouldn't even perform the request. This fix also fixes the problem the SSRF rebinding attack. We can't stub feature flags outside example blocks. Nevertheless, there are some actions that calls the UrlBlocker, that are performed outside example blocks, ie: `set` instruction. That's why we have to use some signalign mechanism outside the scope of the specs.
2019-07-12Merge branch 'js-specs-transactions' into 'master'Andreas Brandl
Use transactions in JS feature specs Closes #60207 See merge request gitlab-org/gitlab-ce!27496
2019-07-12Gather memory usage data in testsAleksei Lipniagov
Log memory stats after running each spec file and compile the report.
2019-07-12Use transactions in JS feature specsHeinrich Lee Yu
Uses Rails transactional tests instead of DatabaseCleaner transaction strategy because that doesn't work with JS tests
2019-07-02Add a memory cache local to the thread to reduce Redis loadStan Hu
Loading `ApplicationSetting` from Redis was responsible for at least 50% of the CPU load of the Redis cluster on GitLab.com. Since these values generally don't change very much, we can load this from the database and cache it in memory, skipping Redis altogther. We use `ActiveSupport::Cache::MemoryStore` as a drop-in replacement for `RedisCacheStore` even though we probably don't need synchronized access within `Thread.current`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63977
2019-06-26Disable Rails SQL query cache when applying service templatesStan Hu
When the SQL query cache is active, the SELECT query for finding projects to apply service templates returns the same values. This causes an infinite loop because even though bulk INSERT queries are made, the cached results never reflect that progress. To fix this, we call `Project.uncached` around the query to ensure new data is retrieved. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63595
2019-05-22Revert "Merge branch 'revert-04c3c6dd' into 'master'"Rémy Coutable
This reverts commit 744f1f2e7037f5c70c3168d9e2e89b1c327465d2, reversing changes made to c4d930e5f54e7da07c80cc028dfc0f5c08719146.
2019-05-22Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'"Kamil Trzciński
This reverts merge request !27514
2019-05-20Reorganize test jobs by levelRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-10Fix unrelated errors when teardowning quanrantined specsRémy Coutable
Since we're skipping the example in a before hook, the @_subscribers instance variable that is normally set in the setup phase of the test by https://github.com/rails/rails-controller-testing/blob/21014e48be124dd8d0af250b79f682519d445015/lib/rails/controller/testing/template_assertions.rb#L21 isn't set but the teardown phase of the example still happens and tries to iterate over the array of subcribers: https://github.com/rails/rails-controller-testing/blob/21014e48be124dd8d0af250b79f682519d445015/lib/rails/controller/testing/template_assertions.rb#L54 Using an around hook allows the @_subscribers instance variable to be set. Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-03Show full Rspec backtrace only in CIHeinrich Lee Yu
2019-04-29Add full backtrace for RSpec outputStan Hu
Attempt to debug https://gitlab.com/gitlab-org/gitlab-ce/issues/60953
2019-04-18Introduce the wait_for helper for system testsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-10Double retries for rspec-retriesLin Jen-Shin
It was 2*4 => 8 times before, so 4 times is still half retries
2019-04-09Reduce number of rspec retriesSanad Liaquat
In both e2e QA tests and unit tests, reduce the number of retires to 2 (i.e., 1 initial and one retry)
2019-04-01Merge branch '6539-extract-ee-specific-code' into 'master'Rémy Coutable
Add no-op license helper to CE See merge request gitlab-org/gitlab-ce!26723