Add permalink to fixed SHA URL on blob view.
Fix missing to on reassign MR email to unassigned.

Factors out MR and issue email.
update repo recreation details
Fix missing to on reassign MR text email to unassigned.

Factors out text MR and issue email.
Validate branch-names and references in WebUI, API

Add specs for GitRefValidator
Validate tag-names and references in WebUI, API
Explicit order of issues in API. Fixes specs for mysql db

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge pull request #7669 from bbodenmiller/patch-16

update repo recreation details
Explicitly require active teab for tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Factor new issue and edit MR forms.
Enable link underline on hover for better UX

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Small color refactoring

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Filters issues by labels via API
Merge branch 'sha-link' of https://github.com/cirosantilli/gitlabhq into cirosantilli-sha-link

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

Conflicts:
	CHANGELOG
Merge pull request #7661 from cirosantilli/factor-issue-mr-email

Fix missing to on reassign Merge Request email to unassigned.
Merge pull request #7382 from Razer6/git_ref_validation

Validate branch/tag-names and references WebUI, API
Merge branch 'api/issues-filter-labels' into 'master'

API: Filter issues by labels

While working on [laboard](https://gitlab.com/jubianchi/laboard) I had some issues with the API : I was not able to filter issues by labels so I had to write some logic to do it on my side.

I think it will be useful to have this feature supported by the Gitlab API.

I added the filtering logic on `/issues` and `/projects/:id/issues`.

The commits are not squashed but I'll do it once everything seems ok to you.

See merge request !169
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
Merge pull request #7678 from cirosantilli/factor-new-issue-edit-mr

Factor new issue and edit MR forms.