Dmitriy Zaporozhets
1c93d0df7a
Merge branch 'master' into ce-changes
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
db/schema.rb
2014-12-11 18:12:45 +02:00
Dmitriy Zaporozhets
633fb8ab6b
Prevent 500 error on ldap group links page
...
If group has links to ldap servers that are disabled or removed from
gitlab config.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-08 15:58:01 +02:00
Dmitriy Zaporozhets
7d662114b3
Merge branch 'sidekiq_memory_killer_grace_time' into 'master'
...
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-08 13:17:10 +00:00
Jacob Vosmaer
2fcef3278c
Fix typo
2014-12-08 13:39:18 +01:00
Jacob Vosmaer
3dd86b83ba
Use constants instead of getters
2014-12-08 13:19:31 +01:00
Valery Sizov
2f006f89a5
fix specs after merge CE -> EE
2014-12-08 13:11:33 +02:00
Jacob Vosmaer
4f9a14061b
Wait 15 minutes before Sidekiq MemoryKiller action
2014-12-05 17:29:34 +01:00
Dmitriy Zaporozhets
4491a3d12b
Decline push if repository does not exist
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-05 18:17:51 +02:00
Dmitriy Zaporozhets
3bd66989de
Merge branch 'master' into ee-master
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
Gemfile
Gemfile.lock
VERSION
app/models/project.rb
app/models/user.rb
db/schema.rb
doc/install/installation.md
doc/update/6.x-or-7.x-to-7.5.md
doc/update/7.4-to-7.5.md
lib/gitlab/git_access.rb
spec/factories.rb
spec/lib/gitlab/git_access_spec.rb
2014-12-05 13:28:32 +02:00
Dmitriy Zaporozhets
e6c5a8b161
Merge branch 'rake_task_for_google_email_schema_verfication' into 'master'
...
Rake task for google email schema verfication
#1607
See merge request !1300
2014-12-05 10:19:10 +00:00
Marin Jankovski
cdc62cffcb
Add rake task for google schema whitelisting.
2014-12-04 15:22:10 +01:00
Valery Sizov
3a5ed5260b
Supporting for multiple omniauth provider for the same user
2014-12-04 13:03:55 +02:00
Valery Sizov
1a80d13a39
Multi-provider auth. LDAP is not reworked
2014-12-04 13:01:50 +02:00
Dmitriy Zaporozhets
835cbc06d8
Reload mr code on force push too
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-02 17:42:56 +02:00
Dmitriy Zaporozhets
612b8806dd
Fix internal API for missing project or key
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-01 16:55:33 +02:00
Dmitriy Zaporozhets
06b7907c2a
Fix deploy keys permission check in internal api
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-01 16:25:10 +02:00
Achilleas Pipinellis
191aa9712e
Properly fix wiki restore.
...
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-30 18:24:05 +02:00
Achilleas Pipinellis
880478b21e
Proper wiki restore. Fixes #845
2014-11-29 22:01:52 +02:00
Marin Jankovski
e4f5b6df0c
Do a simpler rebase, show rebase check box only for users how can push code.
2014-11-28 16:48:03 +01:00
Jacob Vosmaer
d336127a20
Add comments to the MemoryKiller middleware
2014-11-28 15:19:03 +01:00
Jacob Vosmaer
64ab6c9ed5
Add 'MemoryKiller' Sidekiq middleware
...
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-28 15:01:41 +01:00
Marin Jankovski
7aaa8e8db2
Add comments around code to make it easier to understand, move remove_branch code into a separate method.
2014-11-28 11:29:11 +01:00
Marin Jankovski
bd2a29a878
Add option of rebasing before merging.
2014-11-28 10:02:55 +01:00
Jacob Vosmaer
ba8e9facbf
Merge branch 'git_hook_messages' into 'master'
...
Better message for failed pushes because of git hooks
https://dev.gitlab.org/gitlab/gitlab-ee/issues/119
See merge request !242
2014-11-25 13:03:36 +00:00
Valery Sizov
8290e23e65
Git hook messages: Improved error description
2014-11-25 11:37:46 +00:00
Jacob Vosmaer
b70cee9c2f
Merge branch 'git_hook_messages_ce' of dev.gitlab.org:gitlab/gitlabhq
...
Conflicts:
GITLAB_SHELL_VERSION
2014-11-24 18:41:06 +01:00
Valery Sizov
5509a5e8d4
Git hook messages: wiki access fix
2014-11-24 16:25:58 +02:00
Valery Sizov
ef944e83ec
Git hook messages: wiki access fix
2014-11-24 16:21:35 +02:00
Jacob Vosmaer
458f8c1f80
Explain why we create a StringIO
2014-11-20 15:54:39 +01:00
Jacob Vosmaer
7c54c63ac1
Add CRON=1 backup setting for quiet backups
2014-11-20 15:46:04 +01:00
Dmitriy Zaporozhets
f7bf892cca
Revert "gitlab shell works if multiple rubies installed"
...
This reverts commit 533f4cdf30 .
2014-11-18 17:14:36 +02:00
Valery Sizov
53bf52f191
Better message for failed pushes because of git hooks
...
Conflicts:
lib/gitlab/git_access.rb
spec/lib/gitlab/git_access_spec.rb
2014-11-18 13:10:07 +02:00
Ciro Santilli
533f4cdf30
gitlab shell works if multiple rubies installed
...
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-18 11:38:23 +01:00
Jacob Vosmaer
11b3a05946
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
2014-11-17 15:41:52 +01:00
Valery Sizov
3058059c0a
Better message for failed pushes because of git hooks
2014-11-17 12:34:37 +02:00
Valery Sizov
3fcd75a911
Merge CE master into EE master
...
Conflicts:
Gemfile
VERSION
app/assets/javascripts/project.js.coffee
app/assets/javascripts/users_select.js.coffee
app/controllers/projects/services_controller.rb
app/models/project.rb
app/views/groups/edit.html.haml
features/project/service.feature
features/steps/project/services.rb
spec/models/concerns/mentionable_spec.rb
2014-11-13 17:05:12 +02:00
Dimitry Andric
4a5044e302
Correctly restore empty repositories.
...
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-13 13:09:47 +01:00
Jacob Vosmaer
dfcc59a92b
Merge pull request #8291 from MrMarvin/fix/ldap_cleanup_task
...
fixes the `block_removed_ldap_users` rake task
2014-11-12 13:40:36 +01:00
Dmitriy Zaporozhets
9a96a8270b
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
2014-11-12 13:20:01 +02:00
Dmitriy Zaporozhets
940ed58e76
Merge branch 'commit-comments' of https://gitlab.com/jeroenj/gitlab-ce into jeroenj/gitlab-ce-commit-comments
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
2014-11-12 13:19:35 +02:00
Valery Sizov
1a7e347635
Merge remote-tracking branch 'origin/master' into backup_restore_drop_sequences
...
Conflicts:
CHANGELOG
2014-11-12 13:14:13 +02:00
Marvin Frick
1f902c2464
fixes the block_removed_ldap_users rake task
...
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-12 12:06:24 +01:00
Valery Sizov
3aa59d369e
Merge branch '7-4-stable-ee' into ee_master
...
Conflicts:
CHANGELOG-EE
VERSION
2014-11-11 11:35:18 +02:00
Dmitriy Zaporozhets
f56541de9a
Revert "Create dev fixture projects with fixed visibility"
...
This reverts commit a9fadce361 .
2014-11-10 16:17:04 +02:00
Marin Jankovski
70f30abd84
Merge pull request #8273 from bbodenmiller/nginx-updates
...
Nginx updates
2014-11-10 10:20:44 +01:00
Ben Bodenmiller
271a352079
minor updates & formatting changes
...
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-08 23:33:27 -08:00
Dmitriy Zaporozhets
6641341b65
Merge pull request #8254 from cirosantilli/factor-get-shell-version
...
Factor GITLAB_SHELL_VERSION get method
2014-11-08 11:04:56 +02:00
Marin Jankovski
36f9224e4a
Merge branch 'nginx' into 'master'
...
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-07 14:28:36 +00:00
Marin Jankovski
1d337defec
Merge pull request #8168 from cirosantilli/dev-fixtures-visibility
...
Create dev fixture projects with fixed visibility
2014-11-07 15:26:48 +01:00
Valery Sizov
bf8b874117
fix system silent call
2014-11-06 13:07:42 +02:00