API: ability to set an import url when creating project for a specified user
update API docs
Added ability to serve files in wiki repository

From #6168.
per request project rules caching
ensure that uid is a string
prevent events loading while loading events refs #49759
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
Update 6.9-to-7.0.md

fix gitlab.yml example diff command
fix high cpu usage issue that occured in Firefox

fixes issue related with #342 (Merge Request view causes 100% CPU in firefox)
Clariy squash comes after review.

So people don't focus on writing good commit messages for a bunch of unrelated fixes.
Fixes #171, correct links in update guide 5.1 to 6.0
Check if blob or tree and redirect to the correct one.
Don't use URI join
Bump gitlab_git

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

Fix archive corruption

* When I click download I trigger archive creation
* We don't use tmp storage for uncompleted archive
* When I refresh a page - archiving still in progress but file already exists - I get corrupted (unfinished) file
* If I wait for few more seconds and click download - I get correct file because archiving operation finished and file is valid

This MR fixes issue by bumping `gitlab_git` to newer version. In this version archive created in tmp file and becomes available only when archive operation finished.

Fixes #1394

See merge request !954
Dont allow ? in project path

Because it causes 500 error on every page where link to such project
exists

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

Fix path regex

Fixes #1208

See merge request !955
Add tests for redirects.
Merge branch 'redirect_betwee_tree_and_blob' into 'master'

Redirect between tree and blob

This checks if on requested non-existing tree path blob exists, redirects to blob path if the file exists, otherwise return not found.

See #1369

See merge request !953
Update highlight.js to 8.1

Also added support for less common languages. All languages from
http://highlightjs.org/download/ now supported

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