Bump gitlab_git

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'bump-gitlab-git' into 'master'

Bump gitlab git

Makes Commit#find method much faster on bigger repos.

Partly fixes #1306
Merge branch 'strip_apostrophe_from_email_generated_username' into 'master'

Strip apostrophe from email generated username

Related to #1225
Fixes #1225
Prevent commit page error if cant collect branches where commit exists

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Show spinner on network graph while it loading

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Added update repository size to repository import
Describe unicorn timeout value in git over http

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use gitlab_git to get commit_count in repo. It allows get commits count for git repos with 100k+ commits

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Use same 30 seconds satellite timeout for all actions

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
More items in CHANGELOG

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'huge-repo-improve' into 'master'

Better support for huge repositories

This MR contains next improvements to GitLab:
* You can see repo commits count even if it is > 100k commits
* Prevent 500 for commit page for large repos
* Add notice about huge push over http to unicorn config
* File action in satellites uses default 30 seconds timeout instead of old 10 seconds one
* Show spinner when loading data for network graph
Skip init script checks on omnibus-gitlab

Omnibus-gitlab does not use the init script.
Load last commit for files per 10 items.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'files-rational-git-log' into 'master'

Split commit logs loading

#### Before this MR

When visit files tab we have ajax call that loads all last commits for files inside directory.
Load time depends on amount of files in directory. So if directory has 100 files - you may need to wait up to 20 seconds to get last commits info of files. Still if you do navigation at this time the request still wait for processing taking workers busy. If several people try to navigate through big repository directories - you will see huge performance drop.

#### After this MR

Load last commits only for first 10 entries. It usually takes not more then a second (even for huge repos). If user still on the same page - do next ajax call and get 10 more entries. If user navigate to another directory - stop ajax calls for this directory. So for cases when you want navigate to nested directory - you don't have long-running ajax calls that takes workers and makes app unusable for other users

- - -

Fixes #1229
Merge branch 'detect_omnibus' into 'master'

Detect omnibus-gitlab in `rake gitlab:check`
Dont truncate project names on group page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Be more selective when killing stray Sidekiqs

Avoid the background_jobs script killing every process with 'sidekiq' in
its argument string (e.g. 'rake gitlab:sidekiq start') by also catching
the number (2) in 'sidekiq 2.14'.
Merge branch 'careful_sidekiq_kill' into 'master'

Be more selective when killing stray Sidekiqs
Merge branch 'ui-improvements' into 'master'

Ui improvements
Fix blob highlight tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>