Honor expireAfterWrite in the H2CacheImpl

The H2CacheImpl didn't honor the expireAfterWrite. This had an effect
that persisted entries never expired. For example, the web_sessions
cache entries didn't expire after their maxAge was reached.

Change-Id: I3a7c754ee05fe9ac92d96652db4b862bb597eba1
Signed-off-by: Saša Živkov <sasa.zivkov@sap.com>
Signed-off-by: Adrian Görler <adrian.goerler@sap.com>
Move functionality from PostHashtags to HashtagsUtil

So that it can be reused from the change inserter.

Change-Id: I133ef4684f482311a703cd052407988a1450271d
Fix TopMenu extensions for the Project Menu items

The behaviour of TopMenu extensions to the TopMenu projects menubar
was broken after the extension of “Project-aware” menu items I516f129dc
Even project agnostic items were incorrectly processed as
project-specific causing them to be hidden when there was no active
project selected.

The issue has been discussed on the mailing list (see [1]) and 
acknowledged to be a regression to be fixed. Issue can be easily 
reproduced looking at the cookbook-plugin: “Browse Repositories” 
TopMenu entry is hidden whilst it should be normally shown.
[1] https://groups.google.com/forum/#!topic/repo-discuss/nFBQFc0MS6E

Change-Id: I8adb59ddda3cae6fc5819c525580096002377c5b
Move httpcomponents libraries out of lib/commons to lib/httpcomponents

The elasticsearch REST client (Jest) has dependencies on more of the
libraries from httpcomponents, so it will make things a bit cleaner if
they are all kept in a separate lib.

Change-Id: I5c66b9bd63cbd66136bd7f543a1c4766de052889
Sort hashtags alphabetically in ChangeNotes

Change-Id: Ifa85623b80ef4f36d4c0dd288e5d3b3fea2d522f
Add diff pref whether the diff table header should be auto hidden

Add a new diff preference that allows the user to decide whether the
diff table header with the patch set selection should be automatically
hidden when scrolling down more than half of a page. At the moment
this behaviour cannot be disabled, but some users find it annoying
that the header disappears and that they need to scroll up to be able
to change the patch set selection.

By default the diff table header is automatically hidden as this is
the current behaviour.

Change-Id: I1d65c5058222c924ccaf3276f7d2d83fac7f4d32
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
Remove unused import in GetHashtags

Change-Id: Ie2b04a4367ed120504eb14df17b83db8c943ff50
Merge "Honor expireAfterWrite in the H2CacheImpl"
Merge "Add diff pref whether the diff table header should be auto hidden"
Include submitter in ChangeMessage on submission

Change-Id: I2136577857b3307ddcd91fa0d77265acd6532ea0
Show "create change" button even when no actions returned

Change-Id: I68b85fbca9f9aa2baab99e5bb7f8a573eeac20da
Enable inline edit in side by side view

Switch CodeMirror to edit mode in "B" side to enable inline edit.

In edit mode, CodeMirror is switched to "default" mode because "vim"
mode was sometimes not responsive. Also commenting is disabled in this
mode.

During testing I've discovered a small bug in CodeMirror. A JS
exception is thrown after entering a text and going to the new line.
Everything looks and works fine afterwards, but an error stays in the
JS console. Therefore it was suppressed in JSNI code.

Edit icon is taken from the Tango project:
  http://tango.freedesktop.org/Tango_Icon_Library
Specifically, 16x16/devices/media-floppy.png from
  http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz

Change-Id: Ie9b2c5f2b362da5ffbead57a241756a45e9eb60c
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
Add support for hashtags in change inserter

Change-Id: Ibf3b1d32c302d738a46cbb475c7e9e8db69faacc
Merge "Show "create change" button even when no actions returned"
Merge "Add support for hashtags in change inserter"
GetRelated: Discard single commit by its hash instead of change/ps

change/ps is only available for open changes.

Change-Id: I04e96635b01a231918f2adf83fd759376b9be80a