per request project rules caching
Fix LDAP TLS authentication
Call every service, even if one fails

When one service fails, we dont want to have all of them failing. This
fixes this problem by catching all the errors, and writing them to the
error log.

Fixes: #5803

Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Enforce md style.

- multiple blank lines before header
- skip header level
- colon at end of header
- break very long lines
- align definition like lists at marker
- case typos
- informal contractions
adds rake task to clean up deleted LDAP users
Don't remove trailing newline when editing a file in web UI editor:

* populate ACE editor content via API instead of HTML element inner text (to preserve trailing whitespace).
* remove hack in EditTreeController#preview that replaces any removed \n.

Fixes #5936
Remove 'socket' example PostgreSQL parameter

The ActiveRecord PostgreSQL adapter does not have a 'socket' option;
see:

https://github.com/rails/rails/blob/4-1-2/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L20
Add a mention of the merge request into its default commit message.
Add contributors API endpoint

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Collect contributors info via API
When assigning an unassigned issue send notification with the correct text.
Fix tests because previous assignee didn't exist.
Move API contributors logic to repository model
Use Contributor class instead of hash
Remove unecessary return.
Do not notify person who merged the MR.
Add contributors API docs

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

Add reference to the merge request in the default merge request commit message

This adds a link to the merge request to the merge request commit.

If merge requests are used for code review, the merge in git is now linked to the code review.

See http://feedback.gitlab.com/forums/176466-general/suggestions/6088000-in-the-default-merge-request-commit-message-add-a
Merge branch 'assignement_change_notifications' into 'master'

Assignment change notifications

Fixes #1377
Merge branch 'no_pg_socket' into 'master'

Remove 'socket' example PostgreSQL parameter