Replace old references of users_project & users_group

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix migration and association for new members table

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix STI+polymorphic for Group <-> GroupMember

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

Implement comments on parallel diff

Fixes #1565

See merge request !1090
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Fix adminarea and emails for new membership logic

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fix project member management

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Move hook models in separate dir

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Replace project_access attribute with access_level in specs and API

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

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
More fixes to project members api

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Ordering and sorting for MR in api.
Different created_at and updated_at time in api merge_requests spec.
Fix finder and tests for new membership models

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'use-members-models' into 'refator-members-logic'

Use members models

See merge request !1
Merge branch 'redis_socket' into 'master'

Use sockets to connect to Redis

See merge request !1088
Improve error reporting on users API

* users (#6878, #3526, #4209): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username
* MRs (#5335): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks
* issues
* labels
* projects
Fix typo in comment.
Merge branch 'order_mr_api' into 'master'

API MR ordering

Fixes #1477

See merge request !1076
Check for hooks directory symlink in gitlab:check