SideBySide2: Map *.scala to clike CodeMirror mode

Bug: issue 2360
Change-Id: I5183cdafba52b1e5e0fa344026c5b597315a46e2
Buck: Preserve SNAPSHOT suffix in Maven artifact names

Drop the code that removes SNAPSHOT suffix in artifact name. This prevents
Gitblit plugin from fetching its custom artifact from Gerritforge Maven
repository, making from the right name:

  com/gitblit/gitblit/1.4.0-SNAPSHOT/gitblit-1.4.0-SNAPSHOT.jar

the broken artifact name:

  com/gitblit/gitblit/1.4.0-SNAPSHOT/gitblit-1.4.0.jar

Change-Id: Ib16f032a9fda3ef61570a85d97659cd3ce02f5f2
Merge "Buck: Preserve SNAPSHOT suffix in Maven artifact names" into stable-2.8
Fix examples for Code-Review queries in search documentation

The Code-Review label is now called 'Code-Review' and not anymore
'CodeReview'.

Change-Id: I04c57107d2a4d4762216a09bca3c12a24c8916f0
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Update 2.8.1 release notes

- Add fixes that were merged since the last update.

- Add missing issue IDs.

- Improve formatting.

Change-Id: Ic14711754309b25577a157cf4deba99d05950d51
Bump VERSION to 2.8.1

Change-Id: I1ea1c84a6f3d7deb6dfee977551a18b2c46acb37
Update Gerrit API version to 2.8.1 in pom files

Update the version in the GWT plugin API and plugin
archetypes.

Change-Id: I6dad48410f5ac1ab8e5de4977e8acc0766cb0445
Codemirror: Add support for perl mode

Bug: issue 2398
Change-Id: Ie7c2b4583a71ad9646ef745df156bcb31ae1f9a4
Codemirror: Add support for ruby mode

Change-Id: I0077bf99ec9960beb6d40911b65ee92af523b093
Codemirror: Add support for Lisp mode

Change-Id: I653b8a385029bd89516206ac67e022915d5713c1
Codemirror: Add support for Clojure mode

Change-Id: Ie814a7f7b5a97554617889b439f02aec065b8189
Codemirror: Add support for Groovy mode

Change-Id: I7654e4c9911a3c6da9023155440445a4e777516b
Documentation: Update download link

For quite some time, downloads have not been hosted on Google Code,
and are now hosted elsewhere. The documentation should reflect this
move. The one schema update on Google Code is not what most users
will be looking for when trying to download Gerrit

Change-Id: Ib1f7a9bc17e02d4cfce849a960e461425f004e91
Check if user can read HEAD commit when resolving detached HEAD

If HEAD was detached the GetHead REST endpoint refused to resolve HEAD
if the user was no project owner. Instead we are now checking if the
user can actually read this commit and if yes, we return it.

If HEAD points to a non-existing commit we still return the commit
only if the user is a project owner.

Change-Id: I56c49b578516070eb3b02f22677559a0eb11b02e
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
ChangeScreen2: Fix enter when setting topic

Do not allow KEY_ENTER to cause the selected file to open.
Instead stop the key and only update the topic.

Change-Id: I617d738dc826b3d8f2fdea3b52e706ee0a2b628e
Remove quotes and trailing period from "topic edited" messages

When the topic is edited, a change message is added that shows
the old and new topics.  If the topic is set to a URL, the URL
is linkified, but the linkification includes the trailing closing
quote and period after the topic name, and the link does not work.

Remove the quotes and trailing period to prevent this.

Bug: Issue 2397
Change-Id: Ic70882f7355cf84e12a2853f0ac6a77c4ca1543d
Fix build failure due to Java 7 specific statement usage

6ecab77d02b2b117c0275ed391174aa63f683f60 was cherry-picked from
master and causes a build failure because it uses a multi-catch
statement that is not supported in source version 1.6.  On master
the Java source version is 1.7 which is why it builds there.

Change-Id: Ia43c2c6b9068553635a5ddd5bc4129ddf5c1fd35
Add missing documentation of secondary index configuration

Document that open and closed changes are indexed in separate
indexes, and for Lucene indexes the RAM buffer size and maximum
buffered documents can be configured.

Add an example configuration.

Change-Id: Ic4cb834cea0c716052c419377a818e369bfe2ce7
Correct description of revisions field in ChangeInfo

Change-Id: Ifdff5ff51ec97935a4f7b9b571ccd2875b48c3f4
Merge "Add missing documentation of secondary index configuration" into stable-2.8