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
path: root/lib
AgeCommit message (Collapse)Author
2014-12-12Don't forget to splat.Marin Jankovski
2014-12-12Use system where only return result is needed.Marin Jankovski
2014-12-11Use shell invocation according to the shell commands guidelines.Marin Jankovski
2014-12-08Merge branch 'sidekiq_memory_killer_grace_time' into 'master'Dmitriy Zaporozhets
Add 'grace time' behavior to Sidekiq MemoryKiller The previous iteration of the memory killer did not give 'large' jobs much of a chance to finish. This caused them to come back after each restart, leading to another memory-induced shutdown. By adding some 'grace time' between the moment we detect a memory peak and the moment we start shutting down, we hope to give Sidekiq a chance to get whatever causes its memory to grow 'out of its system'. See merge request !1313
2014-12-08Fix typoJacob Vosmaer
2014-12-08Use constants instead of gettersJacob Vosmaer
2014-12-05Wait 15 minutes before Sidekiq MemoryKiller actionJacob Vosmaer
2014-12-05Decline push if repository does not existDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-05Merge branch 'rake_task_for_google_email_schema_verfication' into 'master'Dmitriy Zaporozhets
Rake task for google email schema verfication #1607 See merge request !1300
2014-12-04Add rake task for google schema whitelisting.Marin Jankovski
2014-12-04Supporting for multiple omniauth provider for the same userValery Sizov
2014-12-04Multi-provider auth. LDAP is not reworkedValery Sizov
2014-12-02Reload mr code on force push tooDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-01Fix internal API for missing project or keyDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-01Fix deploy keys permission check in internal apiDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30Properly fix wiki restore.Achilleas Pipinellis
ProjectWiki.new() creates a new wiki git repository, so any tries to bare clone a bundle fail. With this patch we remove the newly created wiki.git before restoring from the backup bundle.
2014-11-29Proper wiki restore. Fixes #845Achilleas Pipinellis
2014-11-28Add comments to the MemoryKiller middlewareJacob Vosmaer
2014-11-28Add 'MemoryKiller' Sidekiq middlewareJacob Vosmaer
When enabled, this middleware allows Sidekiq to detect that its RSS has exceeded a maximum value, triggering a graceful shutdown. This middleware should be combined with external process supervision that will restart Sidekiq after the graceful shutdown, such as Runit.
2014-11-24Merge branch 'git_hook_messages_ce' of dev.gitlab.org:gitlab/gitlabhqJacob Vosmaer
Conflicts: GITLAB_SHELL_VERSION
2014-11-24Git hook messages: wiki access fixValery Sizov
2014-11-20Explain why we create a StringIOJacob Vosmaer
2014-11-20Add CRON=1 backup setting for quiet backupsJacob Vosmaer
2014-11-18Revert "gitlab shell works if multiple rubies installed"Dmitriy Zaporozhets
This reverts commit 533f4cdf30b38c587f7a91f0dfd898b907ecd944.
2014-11-18Better message for failed pushes because of git hooksValery Sizov
Conflicts: lib/gitlab/git_access.rb spec/lib/gitlab/git_access_spec.rb
2014-11-18gitlab shell works if multiple rubies installedCiro Santilli
Before this it would fail because git hooks automatically prepend things to the path, which can lead the wrong Ruby version to be called in which dependencies are not installed. To make sure that this is correct, the forked_merge_requests commented out test that depends on this change was uncommented. For that test to pass, it is also necessary to setup the mock server on port 3001 under test_env.rb.
2014-11-13Correctly restore empty repositories.Dimitry Andric
If a project is being restored, but there is no bundle file, the project was empty when it was backed up. In this case, just use git init --base to create a new bare repository.
2014-11-12Merge pull request #8291 from MrMarvin/fix/ldap_cleanup_taskJacob Vosmaer
fixes the `block_removed_ldap_users` rake task
2014-11-12Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqDmitriy Zaporozhets
2014-11-12Merge branch 'commit-comments' of https://gitlab.com/jeroenj/gitlab-ce into ↵Dmitriy Zaporozhets
jeroenj/gitlab-ce-commit-comments Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: CHANGELOG
2014-11-12Merge remote-tracking branch 'origin/master' into backup_restore_drop_sequencesValery Sizov
Conflicts: CHANGELOG
2014-11-12fixes the `block_removed_ldap_users` rake taskMarvin Frick
In e23a26a (and later 1bc9936) the API for Gitlab::LDAP::Adapter was changed. I assume this rake task was an oversight in the refactoring of the changed class. While being on it, I noticed that already blocked users cannot be blocked again.
2014-11-10Revert "Create dev fixture projects with fixed visibility"Dmitriy Zaporozhets
This reverts commit a9fadce361163e97eb1de0ec62e4235ff0fa3daa.
2014-11-10Merge pull request #8273 from bbodenmiller/nginx-updatesMarin Jankovski
Nginx updates
2014-11-09minor updates & formatting changesBen Bodenmiller
minor updates @ formatting changes to match other versions of file. Unify formatting of https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/nginx/gitlab, https://github.com/gitlabhq/gitlabhq/blob/master/lib/support/nginx/gitlab-ssl, & https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
2014-11-08Merge pull request #8254 from cirosantilli/factor-get-shell-versionDmitriy Zaporozhets
Factor GITLAB_SHELL_VERSION get method
2014-11-07Merge branch 'nginx' into 'master'Marin Jankovski
Don't enable IPv4 *only* on nginx. I came across this issue when initially setting up gitlab and fixed it locally. Today, helping someone else set up their own instance, I came across this issue again: The sample nginx configuration files disable IPv6 by default, making the server inaccesible unless the remote node has native IPv4. IPv4->IPv6 transition mechanisms don't help if the server have proper IPv6 DNS records in-place, which was the case for both of my servers. This branch enables IPv4 and IPv6 by default. Older servers with no external IPv6 connectivity will not fail since they'll have a local-link IPv6 address to bind to anyway. See merge request !231
2014-11-07Merge pull request #8168 from cirosantilli/dev-fixtures-visibilityMarin Jankovski
Create dev fixture projects with fixed visibility
2014-11-06fix system silent callValery Sizov
2014-11-06Revert "Revert "Don't output to stdout from lib non-interactive methods""Valery Sizov
This reverts commit b33d4bc2f1d26ee3526b9d7f530f468a9d5b5a5e.
2014-11-06Revert "Don't output to stdout from lib non-interactive methods"Valery Sizov
This reverts commit 0b1084a4538bc46684c8620410988d3b1093e7ab.
2014-11-05Factor using Repository#path_to_repoCiro Santilli
2014-11-05Factor GITLAB_SHELL_VERSION get methodCiro Santilli
2014-11-05Merge pull request #8236 from cirosantilli/rm-lib-stdoutValeriy Sizov
Don't output to stdout from lib non-interactive methods [failure unrelated]
2014-11-05Don't output to stdout from lib non-interactive methodsCiro Santilli
It pollutes the test output too much.
2014-11-05Merge pull request #7516 from cirosantilli/update-regex-msgMarin Jankovski
Update default regex message to match regex.
2014-11-04Merge pull request #8224 from liammonahan/masterValeriy Sizov
Expose projects_limit through users API if UserFull.
2014-11-04Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets
2014-11-04Merge pull request #8231 from cirosantilli/0000Dmitriy Zaporozhets
Fix push not allowed to protected branch if commit starts with 7 zeros.
2014-11-03Fix push not allowed to protected branch ifCiro Santilli
commit starts with 7 zeros.