Update the mysql documentation concerning charsets

This commit changes the mysql setup documentation because
there is no need to use latin1 encoding if you are using
another engine than the MyISAM engine.

Bug: Issue 1273
Change-Id: I432957381385c3e0390bb0db245139954300ecb8
Allow creation of persistent caches after server is started

2e1cb2b8495761a7e9abc09ebca24ca6bbf2afbe switches from Ehcache to Guava
for providing caching in Gerrit and claims that one of the advantages of
using Guava is that it enables caches to be build at any time, rather
than only at server startup. Therefore, I guess it is OK to remove the
precondition check which prevents creation of caches once the server was
started.

This enables plugins to create own persistent caches when they are
installed.

Change-Id: I28b1a140c58f9967e6d1dacd61ddd021b48c8ad5
Add database index on patch_sets.revision

Without that index the PatchSetAccess.byRevision was always doing a
sequential table scan.

Change-Id: Ief351d56794589fa0e1804fac5a6c38fea67e23c
Use public getter to retrieve name from JarFile

ZipFile provides a public getter 'getName()' hence there is no need to
use reflection to access its private member 'name'.

Change-Id: If622fce7f902cc65483d66b834aff2c585b645e2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Remove unused web.xml from gerrit-gwtui module

Change-Id: I3bd2bfac40717d3d1d1b7b2e764c8a4557c848b6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Merge "Add database index on patch_sets.revision"
Bump SSHD version to 0.10.1 and enable nio2 backend

46f8488a78742799a4f5f781279c8955460e7964 removed nio2 backend because of
a bug [1].  Given that the bug is fixed and released, enable it again.

Another problem was also fixed and released [2].

Upgrade to the official version 0.10.1 makes Gerrit's own custom patch of
SSHD and hosting it on Google bucket unnecessary.

[1] https://issues.apache.org/jira/browse/SSHD-252
[2] https://issues.apache.org/jira/browse/SSHD-255

Bug: Issue 2406
Change-Id: I6668f6194427f153e1982e14b3936d2f3132fa7d
Fix class name in plugin documentation

Change-Id: I9e41ee9770d410b35581f31bbfc4b49f46953d10
Revert "Buck: Preserve SNAPSHOT suffix in Maven artifact names"

This prevents gwtorm snapshots from being downloaded from the
Gerrit maven repository.

This reverts commit 731967591ef98ab3c94691ba9dc0f217630dda76.

Change-Id: I17aad32606d4afb1c0654ffca0747f660c148520
Access-control: Specifying what is meant by ssh access

As the owner still can't create a branch by pushing a reference over
ssh I think the previous statement isn't as clear as it could be.
Original commit 7ec4ac71ffa58f32e1443b0ca0110417244983c0 seems to
only deal with the create-branch command, not changing the behavior
over creating a reference by pushing it (over ssh).

Change-Id: Iac3f52b10ee6a92862622e8699c5daa1d4749247
Signed-off-by: Fredrik Luthander <fredrik@gandaraj.com>
Access-control: Administrators no longer have all capabilities by default

Update the documentation accordingly.

Change-Id: If62076b4671a3a46a68ef9dab12c462b90df2b50
Signed-off-by: Fredrik Luthander <fredrik@gandaraj.com>
Documentation: mention that index.commitWithin uses time units

Change-Id: I54a17369ce6395190b8a0c02fb77b260251cc6ba
Merge "Revert "Buck: Preserve SNAPSHOT suffix in Maven artifact names""
Update gwtorm to version 1.9

Updates the versions of protobuf, asm and guava libraries to
synchronize with the versions used in GWT 2.6.0

Change-Id: Id1badda0d0f24f6022404be479d4681560ed0eda
Fix typo in REST API example for /test.submit_rule

Change-Id: I122aa4168b89fec2dc353718db847ef6a764ef71
Merge branch 'stable-2.8' into stable-2.9

* stable-2.8:
  Fix typo in REST API example for /test.submit_rule
  Documentation: mention that index.commitWithin uses time units
  Access-control: Administrators no longer have all capabilities by default
  Access-control: Specifying what is meant by ssh access

Conflicts:
	Documentation/access-control.txt

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

* stable-2.9:
  Fix typo in REST API example for /test.submit_rule
  Documentation: mention that index.commitWithin uses time units
  Access-control: Administrators no longer have all capabilities by default
  Access-control: Specifying what is meant by ssh access
  Fix class name in plugin documentation

Change-Id: Ia5f131e1550cbece008af7cfa71e492fe16d066c
Disable "save" button while saving commit message edit

After editing the commit message and pressing "save", the button
remains active until the message is saved and the dialog is closed.

Usually the edit completes quickly, but on some systems where the
network is slow it can take a few seconds.  If the user presses the
"save" button again (perhaps more than once) it will result in more
than one edit request being sent.  This can in some cases result in
inconsistency between the database and the git repository, which
prevents the change from being viewed any more until a new patch set
is manually uploaded.

Disable the "save" button after it has been pressed, to prevent this.

Change-Id: I820095a1d91b7fd7c498c7c24fa5e7e81e40a7eb
ChangeScreen2: Avoid space before '.' in welcome bar

When an anonymous user looks at the change screen for the first
time, they see a notice:

	Welcome to the new change screen! Learn more
	You can revert to the old screen . Got it!

The space before the "." would be appropriate when followed by
the text "in Settings > Preferences" but for anonymous users
there are no settings and so that text is suppressed.  Suppress
the space in that case, too.

Change-Id: I1d94807cb94dbf874755b293943f1a4be49a07a8
Hide `refs/heads/` prefix in cherry-pick branch suggestion list

Bug: Issue 2526
Change-Id: I82b8bf7f6abbdfbade7f508f2b974a98d8ca39b4