21 Commits

Author SHA1 Message Date
Ben Rohlfs
9c960cbf72 Add display_name account property.
This will allow users to control how their name is displayed in the UI.

A follow-up change will add a host config for changing the default
strategy of choosing the display name. Currently the full name is used
everywhere, which taking a lot of space, so admins will get the chance
with the new config to use first names as the default for display names.
The new account property display_name makes sure that users have full
control over how their names are shown in the UI, e.g. when the first
name default is not the right choice for them.

Change-Id: I62a56ed4323ad10be34f13842018159a79582d0a
2020-02-10 15:21:06 +00:00
Edwin Kempin
061bf2bc19 Merge changes I78564b35,Iab96ab10
* changes:
  Add example command for how to display note of an external ID
  Add example command for how to find SHA1 of an external ID
2019-12-13 12:09:46 +00:00
Saša Živkov
3c6b3c8ab9 Add example command for how to display note of an external ID
Change-Id: I78564b353aacf557ae22cc3ee8b61dfae1fc4eba
2019-12-13 12:29:34 +01:00
Saša Živkov
7bc2542694 Add example command for how to find SHA1 of an external ID
Change-Id: Iab96ab10c65cd3b1935cd5ff6f4fa671b89b3095
2019-12-13 12:29:24 +01:00
Marian Harbach
ebeb15460c Enabling linkattrs explicitly on doc pages having external links
Asciidoc may fail to render link attributes for external links
supposed to open in a new window correctly. This change adds
:linkattrs: to the beginning of such files to force parsing link
attributes correctly.

Bug: Issue 12068
Change-Id: If18be60de646ff78f672239dd4fa435fd4fd92ab
2019-12-13 10:59:57 +00:00
David Pursehouse
bfa270a360 Merge branch 'stable-3.1'
* stable-3.1:
  Set version to 3.1.2-SNAPSHOT
  Set version to 3.1.1
  Set version to 3.0.6-SNAPSHOT
  Set version to 3.0.5
  Set version to 2.16.15-SNAPSHOT
  Set version to 2.16.14
  Rename "master" to "primary" in documentation and comments
  Add event interface to Gerrit

Change-Id: I53e83ccce28a03a58518d5c419dfc3fe56e826dc
2019-12-11 17:21:03 +09:00
Marian Harbach
34253376e6 Make all external links in the documentation open in a new window
To make it easier to stay on track when reading documentation, I
added ",role=external,window=_blank" to all links in the
documentation directory that were not pointing at another piece of documentation.

Change-Id: I94bf254c90f8ebce067c765be0a2932b755a045a
2019-12-10 22:54:40 +01:00
Matthias Sohn
d8182babb4 Rename "master" to "primary" in documentation and comments
Per
https://en.wikipedia.org/wiki/Master/slave_(technology)#Terminology_concerns
the use of "master" and "slave" is considered offsensive in some circles.

This is a followup for
https://gerrit-review.googlesource.com/c/gerrit/+/238661
to also rename "master" to "primary" and "multi-master" to
"cluster setup with multiple primary nodes".

Also fix a few remaining occurrences of "slave" to "replica".

Change-Id: I8cd73220e2428d78dcd8205fbd826b4ebdcb2372
2019-12-10 17:20:11 +01:00
Han-Wen Nienhuys
348a6030c7 Rename "slave" to "replica" in documentation and command-line
Per
https://en.wikipedia.org/wiki/Master/slave_(technology)#Terminology_concerns
the use "slave" is considered offsensive in some circles.

For compatibility reasons, the "container.slave" property is
maintained, and the --slave flag is an alias for --replica.

Change-Id: If57df22705dac9450c1cf9900f051d9123d7dd2c
2019-09-26 23:19:53 +02:00
David Pursehouse
f887880776 Remove the "show site header" preference
This was only used in the GWT UI, which has been removed.

Change-Id: I9d7a13aa6ba663055716f108f880049384ed24e7
2019-08-20 21:25:13 +09:00
David Pursehouse
f7f400c9bf Clarify introduction to external IDs
External IDs are also used to store the account username and
email addresses, but the introduction gives the impression that
it is only for external IDs such as LDAP or OAuth.

Change-Id: Ie31163ecc3337f75677b99313abcaa110a8b3cbf
2019-05-27 20:22:11 +09:00
David Pursehouse
05c4cbad40 Add example of external ID key in external ID documentation
Change-Id: Iba402acccf2ef7e6455f7ddffcf41561bb2d7782
2019-05-27 16:25:58 +09:00
David Pursehouse
0da65cf35d Minor grammatical fixes in external ID documentation
Change-Id: Ib2386f8880dc53be8967ce41ea2471b6ed5745e5
2019-05-27 16:25:27 +09:00
David Pursehouse
1d53668145 Merge branch 'stable-2.15' into stable-2.16
* stable-2.15:
  Bazel: Automatically fix lint errors with buildifier 0.20.0
  Bazel: Fix more buildifier warnings
  Bazel: Automatically fix lint errors with buildifier 0.20.0
  Fix typo in documentation of edit preferences
  Bazel: Automatically fix lint errors with buildifier

Change-Id: I3400928e4dca65264715dca3c29729237934f042
2019-01-10 21:44:13 +09:00
David Pursehouse
6d2ae28cb8 Fix typo in documentation of edit preferences
Change-Id: Ifb025527ceb386844c96e6684443a43269a975dc
2019-01-09 11:00:33 +09:00
Edwin Kempin
7ff264dcb1 Add warning about changing external IDs manually
External IDs are stored in a notes branch where the note key is the SHA1
of the external ID key. This means if the external ID is changed the
note key must be recomputed.

Change-Id: I41fc1daaf861b4db385ead01a7bf2ab4119617bb
Signed-off-by: Edwin Kempin <ekempin@google.com>
2018-09-20 09:48:03 +02:00
Edwin Kempin
1e01692e79 Add REST endpoints to get/set default edit preferences
For general and diff preferences defaults can already be configured
via REST. Support the same for edit preferences.

Change-Id: I325fe4f768ad9089f8cf598bd88c5b9b57af871d
Signed-off-by: Edwin Kempin <ekempin@google.com>
2018-01-18 14:35:21 +01:00
Gert van Dijk
570ac7b008 Documentation: fix dead link to old NoteDb page location
Rename happened in I6339617033037955a5bafc47ab42117179b7e1d6

Change-Id: I193531dbc88178a9a26e4078bfa67067a1263e4c
2017-10-17 22:43:59 +02:00
Edwin Kempin
d97ec6cf28 Document which branches must be replicated to replicate the account data
Change-Id: I182977de6962ec8b822e048258ed9aad86909ae1
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-10-05 16:12:44 +02:00
Edwin Kempin
47dd7bae90 Minor fix for accounts in NoteDb documentation
Change-Id: Ibd89e22d4e59b4436970300fb8f143502a68197d
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-08-31 11:33:44 +02:00
Edwin Kempin
311d570d27 Document accounts in NoteDb
Add a documentation page that explains how accounts are stored in
NoteDb. This should enable administrators to make manual modifications
to the account data.

This documentation page also gives some background information about why
the account data is persisted in the way it is.

Change-Id: I378cc296947d9e5c9b84ac9ba3e63459bf01d192
Signed-off-by: Edwin Kempin <ekempin@google.com>
2017-08-29 14:51:36 +02:00