Files
gerrit/gerrit-acceptance-tests
Edwin Kempin e9f5da3e63 Support defaults for general preferences in All-Users
The All-Users repository contains a refs/users/default branch for
configuring defaults that apply to all users. It already has a
preferences.config file for configuring default preferences that
overwrite the defaults that are hard-coded in Gerrit. However so far
only defaults for diff preferences and my menu entries are supported.
With this change defaults for all general preferences are supported.

When comparing preferences in the test we exclude the my menus because
GeneralPreferencesInfo.defaults() doesn't contain the my menu
defaults, but they are computed on the fly.

General preferences are stored in the accounts, this is why we need to
flush the account cache when the defaults for the general preferences
are changed.

Change-Id: Icdea2bf81ce1a49aba095735099b9bfcafad5a73
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-08-05 09:18:10 +02:00
..
2016-04-20 22:02:49 +02:00
2016-06-14 21:12:02 +02:00
2016-06-14 21:12:02 +02:00