Fix example how plugins can react on changes in project config

The example didn't handle the case that on project creation a zero
ObjectId is provided as old ObjectId.

RefNames.REFS_CONFIG has to be used instead of
GitRepositoryManager.REF_CONFIG which doesn't exist anymore.

Change-Id: Ic42ca72a126b70ff0b452e5150e2d1e3c916c73c
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
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>
Add acceptance test for getting different revisions by number

Change-Id: I77c36db17778fd72518d2a1ea04e537a6d1d7e72
SideBySide2: Fill the browser width and display a margin

Use the line length preference to draw a margin line at that many
columns of text. This allows a user to configure their project's
preferred width (e.g. 80 columns or 100 columns) and see the margin,
making it easier to identify lines that run over that width.

Filling the browser available space with the CM3 instances each at
50% size allows the user to more easily view long lines if they
have a wide display, and better fit on more narrow displays by
splitting the available width at 50%.

Change-Id: I80d14eb6dfcf5c60830d60ea9a70d5bb9a256b97
SideBySide2: Rename SideBar to OverviewBar

This thing on the side displays an overview of the change.
OverviewBar better describes its purpose.

Change-Id: Ib43887efb6af73df5708c87a99913b555af242a6
Merge changes Ib43887ef,I80d14eb6

* changes:
  SideBySide2: Rename SideBar to OverviewBar
  SideBySide2: Fill the browser width and display a margin
Update 2.8.1 release notes

- Add fixes that were merged since the last update.

- Add missing issue IDs.

- Improve formatting.

Change-Id: Ic14711754309b25577a157cf4deba99d05950d51
Merge "Fix example how plugins can react on changes in project config"
Do not show label status when revision is not current

When an older patch set the label status for the latest
patch set is being shown.

Make the label status visible only when the current patch
set is selected.

Change-Id: I1812175450804714cb84fd6d5314f395036b2284
Update the change status text correctly

The "Needs Code-Review" etc status was being overwritten by
"Review in Progress"/"Ready to Merge" or "Not current".

This reverts commit cdd5fdc231c052279688dfd0b451162358a56fc3
which worked around this bug by setting the status as the
text element's title instead.

Change-Id: I400417279780d4d0f7ddf6bca7841d5f238d41a6
Merge "Add acceptance test for getting different revisions by number"
Merge changes I40041727,I18121754

* changes:
  Update the change status text correctly
  Do not show label status when revision is not current
Acceptance tests: Remove duplicated JSON container classes

This change makes it possible to reuse server side classes for both
input and output JSON container classes.

To solve the mismatch between server-side CamelCase and lower case with
underscore the field naming policy is set to

  FieldNamingPolicy.LOWER_CASE_WITH_UNDERSCORES

in GsonBuilder in RestSession in acceptance framework.
Now we can remove dozen of duplicated classes in acceptance framework.

Change-Id: Icdc7f63a38c304f3a744a7a12b768cda2504a55e
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
Check submitter record in submit acceptance tests

Change-Id: If76fe8cfb67cebc4f8b56d07d173d9c3f10db8d4
Merge branch 'stable-2.8'

* stable-2.8:
  Update Gerrit API version to 2.8.1 in pom files
  Bump VERSION to 2.8.1
  Update 2.8.1 release notes
  Fix examples for Code-Review queries in search documentation
  Buck: Preserve SNAPSHOT suffix in Maven artifact names
  SideBySide2: Map *.scala to clike CodeMirror mode

Conflicts:
	VERSION
	gerrit-plugin-archetype/pom.xml
	gerrit-plugin-gwt-archetype/pom.xml
	gerrit-plugin-gwtui/pom.xml
	gerrit-plugin-js-archetype/pom.xml

Change-Id: I880dd73a49fcf7f763221f4ee700888c90cae7df