Bump version to 2.8.5

Change-Id: I177ccfd2a3db387822085602dfc66267703c0a48
Release notes for Gerrit 2.8.5

Change-Id: I87b951065a8331e635f042ece7266c9e859516be
Fix project icon in plugin extensions screenshot

The query icon shown in the screenshot does not exist anymore, but
instead there is now a settings icon.

Change-Id: I9970355549d7a31c2be454970b059e5c61526f27
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Fix inconsistency in documentation

The page with the title "Project Configuration" was referred to as
"Project Setup". Moreover, it was contained in a file with the name
"project-setup.txt".

Change-Id: Iab834981893967bfbcba8214e118689ea348b93b
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
Describe basics of side-by-side diff screen in review UI documentation

Change-Id: Iedfd06b1d64e67b8ec919ce043185039a904a9db
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Merge "Describe basics of side-by-side diff screen in review UI documentation" into stable-2.9
Merge "Fix inconsistency in documentation" into stable-2.9
Consistently refer to "CodeMirror" in documentation

According to [1] the name of the software is "CodeMirror" with capital
C and capital M.

Consistently refer to it with the proper capitalisation.

[1] http://codemirror.net/

Change-Id: I8014c2ae15bd9d82afd1a4376cc18b2df71bd112
Describe inline comments in review UI documentation

Change-Id: I3685f86bc30521b42472154611dee2eca008acdf
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Describe file level comments in review UI documentation

Change-Id: I3b9dde79c5a214f173917211bb28ac1bce527d93
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Plugin API: Add create change method

Change-Id: I34c3302b5dab3fd705fe8d0cc5b0f4c71c0fd4d6
Revert "ChangeScreen2: Rename Submit to Merge Change"

This reverts commit 7dd52e61e09366422bc8205c8c241486b7f7ae87.
Users are confused by calling the button Merge Change.

Some projects use submit type fast-forward only, which never creates
a merge. Some are cherry pick, which is confusing to have a button
called "Cherry Pick" next to another called "Merge Change".

Change-Id: I5d7e1d21a1157d1df8f808cda2ff967a65645979
ProjectAccess: remove unused canChangeParent field

Since v2.9-rc0~717^2 (Allow users to save update of parent project for
review, 2013-11-18), canChangeParent is unused.  The SetParent action
already checked the administrateServer capability directly.

Change-Id: If8a8fb866e3d265689d5a628f289a70c2455b5cf
Merge branch 'stable-2.9'

* stable-2.9:
  Revert "ChangeScreen2: Rename Submit to Merge Change"
  Consistently refer to "CodeMirror" in documentation
  Describe basics of side-by-side diff screen in review UI documentation
  Fix inconsistency in documentation
  Fix project icon in plugin extensions screenshot
Merge "ProjectAccess: remove unused canChangeParent field"
Add extension point to register JGit PreUploadHooks

Very similar to the PostReceiveHook change that Saša made in
I0212eab6e4867819ebe7ecc7fc5532c26bb82282, it is conceivable that
a plugin may want to attach a PreUploadHook, such as for displaying
messages to a user.

Change-Id: If8e8f4e0b3774e4360048b7d3719d10f66719c78
Merge "Plugin API: Add create change method"
ReceiveCommits: Add support for approvals

Add -l option to magic branch to pass approvals through git push.

One use case is to support Work In Progress (WIP) Workflow backed by
WIP label. In this scenario new label is introduced with (-1,0) range
to mark a change as WIP. This change allows to optionally mark a new
patch set as WIP through `git push`.

With configuration of push macro in .git/config:
  git config remote.wip.url ssh://review.example.com:29418/project
  git config remote.wip.push HEAD:refs/for/master%l=wip-1

WIP patch set can be uploaded with:
  git push wip

Another use case is to do %l=Verified+1 if a change was compiled and
tested locally, e.g.:

  git config alias r '! buck build gerrit && buck test --all && \\
  git push gerrit-review HEAD:refs/for/master%l=Verified+1'

Then all these can be done in one step - compile, run tests and push to
review:

  git r

Change-Id: I52a67993952f32f8a04d9c0226f1c456a6f522b4
Merge "ReceiveCommits: Add support for approvals"
Merge changes I3b9dde79,I3685f86b into stable-2.9

* changes:
  Describe file level comments in review UI documentation
  Describe inline comments in review UI documentation