444 Commits

Author SHA1 Message Date
David Pursehouse
68a0881e54 Merge branch 'stable-2.11'
* stable-2.11:
  Update 2.11.1 release notes
  PatchListCacheImpl: Catch LargeObjectException
  Update commons-validator to 1.4.1

Change-Id: I34f81ad8a0276d127b925422d6d97ac3c7b9bea4
2015-05-27 11:00:46 +09:00
David Pursehouse
b50a3c9e8a Update 2.11.1 release notes
Change-Id: I5333a2ae4daac409f392ec1e43a804050c9f517e
2015-05-27 10:38:24 +09:00
Edwin Kempin
f9c329aa18 Merge branch 'stable-2.11'
* stable-2.11:
  Pass edit info from ChangeScreen to PatchSetsBox
  Improve the wording about logical CPUs
  Use the same thick Cursor in inline editor

Change-Id: I6f2a24e805e67a499574f0affe89b50bb46729a4
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2015-05-26 15:38:12 +02:00
Sebastian Schuberth
a13dc29305 Improve the wording about logical CPUs
Not the number itself is logical, but the CPUs.

Change-Id: I997d8a322a6c7bfe9f6e2f68434c7ae8f976aef4
2015-05-21 16:45:02 +02:00
David Pursehouse
be0877d2bd Merge branch 'stable-2.11'
* stable-2.11:
  Position cursor on first column on diff chunk navigation
  Restore default Codemirror cursor style
  Update 2.11.1 release notes
  Update replication plugin
  rest-api-changes.txt: fix minor spelling mistake
  Fix various spelling mistakes
  Prolog-Cookbook: tidy up rule status descriptions
  Upgrade replication plugin
  Always add SecureStore module in WebAppInitializer
  Batch index executor: Don't fall back to interactive executor
  Fix minor typo in set-account command documentation
  ChangeJson: Don't load all approvals on closed changes
  ChangeJson: Less eager loading of patch sets
  ChangeJson: Eliminate patch set loading in search results
  Remove StoredValues.PATCH_SET
  Update 2.11.1 release notes
  JarPluginProvider: Add JarScanner on running plugin JAR file
  GitWeb config: Delete temporary config on exit
  Fix description of auth.* parameters

Change-Id: I9fc13aa3665c29e488d49a36c9b57f908a74c2f8
2015-05-19 17:50:57 +09:00
David Pursehouse
37bdd2e723 Update 2.11.1 release notes
Change-Id: Ib1b8e76cf27855f0dd923c8ff64cfc208d6fee2d
2015-05-19 08:00:43 +00:00
David Pursehouse
dbe1a5a3c6 Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Fix various spelling mistakes
  Prolog-Cookbook: tidy up rule status descriptions

Change-Id: I9e2d8b55869f2da7a7e6ff74a6429424dfdc795d
2015-05-19 16:30:35 +09:00
David Pursehouse
1ff91c0d82 Fix various spelling mistakes
Change-Id: I5fb811eab02d48a649990c6418977915c7dd7430
2015-05-19 15:05:26 +09:00
David Pursehouse
08c0ac28f7 Update 2.11.1 release notes
Change-Id: Ibd09d63bf52c4749933fc3ca353a35590dfdf896
2015-05-12 09:47:19 +09:00
David Pursehouse
7ad3185bbd Merge branch 'stable-2.11'
* stable-2.11:
  Fix Lucene indexing for the reviewer suggestion
  Set version to 2.11.1
  Release notes for Gerrit 2.11.1
  Set VERSION to 2.10.4
  Release notes for Gerrit 2.10.4
  Update version to 2.10.4
  Use in-memory Lucene index for a better reviewer suggestion
  Require 'View Plugins' capability to list plugins through SSH
  OAuth: Simplify protocol implementation
  Allow to link user identity to another OAuth provider
  Update JGit to the 4.0.0.201505050340-m2 version
  Fix typo in Apache 2 documentation
  Escape curly braces in 2.11 release notes
  Hybrid OpenID/OAuth: Support switching identities
  Hybrid OpenID/OAuth: Allow to link identity accross protocols
  OAuth: Check for session validity during logout

Change-Id: I44690bd676b04449164f366e5e5d5f1365983ebc
2015-05-08 13:16:39 +02:00
David Pursehouse
07310f5e14 Release notes for Gerrit 2.11.1
Change-Id: I16ee365f30827478ea93f66c09646de556dbb562
2015-05-08 14:43:03 +09:00
David Pursehouse
8e85e5eb15 Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Set VERSION to 2.10.4
  Release notes for Gerrit 2.10.4
  Update version to 2.10.4

Change-Id: Ia61940b9a6fcc6619782f7cb537f819caab2bcf7
2015-05-08 11:15:40 +09:00
David Ostrovsky
bde8ccf22c Release notes for Gerrit 2.10.4
This is a fix for >10x performance degradation, caused by this JGit
change: [1].

In addidtion some minor fixes for base64 patch download and OAuth2
extension point are also included.

[1] https://git.eclipse.org/r/31081

Change-Id: Ia9e190b22e1573a3876db2a87198fca9dd7ea01f
2015-05-07 19:13:08 +09:00
Edwin Kempin
49347a2896 Escape curly braces in 2.11 release notes
Otherwise the line may not be rendered at all.

Change-Id: I8cb68ccfd5a80a552794628d4fb6114c5154af86
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2015-05-05 11:08:59 +02:00
David Pursehouse
409ce6a9fd Merge branch 'stable-2.11'
* stable-2.11:
  Acceptance-tests: Don't assume UTF-8 system wide encoding
  Update version to 2.10.3.1
  Release notes for 2.10.3.1
  Project Owner Guide: Mention importer plugin to rename project
  Update the cookbook plugin revision
  Acceptance tests: Always treat response encoding as UTF-8
  Fix broken formatting in 2.10.3 release notes
  Update 2.11 release notes
  Add anchors to plugin sections in plugin documentation page
  Add description of importer plugin to the plugin documentation page
  Fix rendering issues in Configuration documentation
  Document that submit should for granted on refs/heads/*
  Update version to 2.10.3
  Update 2.10.3 release notes
  Improve the version computation for the release notes
  Check reachability from R_HEADS/R_TAGS/REFS_CONFIG when creating branches
  Update 2.10.3 release notes
  Include submitter in ChangeMessage on submission
  Support hybrid OpenID and OAuth2 authentication
  Move edit ref name methods from ChangeEditUtil to RefNames
  Remove tests related to duplicate event type registration
  Events: Allow same event type to be re-registered
  InlineEdit: Clarify difference between remove and revert operation
  Documentation: clone buck from Github
  ChangeTable: Always add the title tooltip on label column entries
  Enable 'Save' button when 'Display In Review Category' pref is changed
  Add ForcePushIT to acceptance tests
  InlineEdit: Handle enter event in add file dialog box
  Update replication plugin to latest revision
  Release notes for Gerrit 2.10.3
  Fix NPE in GitWebServlet
  Update revision of the replication plugin
  Fix required index version for online reindexing in 2.11 release notes
  Update buck version to same as master
  OAuth: Respect servlet context path in URL for login token
  Invalidate OAuth session after web_sessions cache expiration
  Set version to 2.11
  Update 2.11 release notes
  Prevent wrong content type for CSS files
  Improve rebase usability with the RebaseDialog
  Update 2.11 release notes
  MergeabilityCacheImpl: Only get needed refs
  Explain online reindexing in 2.11 release
  Revert marking merged or abandoned changes in related changes

Change-Id: Id915ef7316b3e721738064bb1cce97020e04296e
2015-04-20 10:32:27 +09:00
David Pursehouse
5f9115a502 Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Update version to 2.10.3.1
  Release notes for 2.10.3.1

Change-Id: Ia90547d2eb556582d8ac3a7c4054710514a04076
2015-04-20 09:42:59 +09:00
Saša Živkov
9dbfb9c407 Release notes for 2.10.3.1
Change-Id: Ia37d71db50b88f624c59eb1815a73689a1613fb7
2015-04-17 10:52:50 +02:00
David Pursehouse
bd5295889d Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Fix broken formatting in 2.10.3 release notes

Change-Id: I429b630dd8e4d87029c4ba5504c322b5caa77308
2015-04-17 12:35:46 +09:00
David Pursehouse
07bb595b2b Fix broken formatting in 2.10.3 release notes
Change-Id: I4ecccf14f5b2f6cf1edb0e408c120025ca673c37
2015-04-17 12:31:55 +09:00
David Pursehouse
5c50b8c376 Update 2.11 release notes
Change-Id: I857521ea25e992923e95727d6ddfdd413e121cc5
2015-04-17 09:53:07 +09:00
David Pursehouse
da130f0b15 Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Update 2.10.3 release notes
  Improve the version computation for the release notes
  Check reachability from R_HEADS/R_TAGS/REFS_CONFIG when creating branches
  Update 2.10.3 release notes
  Include submitter in ChangeMessage on submission
  Support hybrid OpenID and OAuth2 authentication
  Release notes for Gerrit 2.10.3

Change-Id: I03e0cbb444e9ae2090f510d6f4e49c6db5ece033
2015-04-16 22:30:54 +09:00
Saša Živkov
16d56c3c41 Update 2.10.3 release notes
Change-Id: I07be2d363b85e0372504b8782fd4be451ed4f486
2015-04-16 12:49:11 +00:00
Saša Živkov
958d8e734b Improve the version computation for the release notes
The "make -C ReleaseNotes" used to produce a version descriptor like:

  X.Y (from X.Y-rcN-...)

when the ReleaseNotes-X.Y.txt wasn't changed in the vX.Y tagged commit.

For example, if we checked out the v2.10 and then built the
ReleaseNotes-2.10.txt the version string in the html file was:

  2.10 (from v2.10-rc2-...)

which wasn't really nice for a final release. I had to change the
generated html file manually.

Here is an overview of how this change improves the computation of the
version string for the ReleaseNotes-2.10.txt file:

Checked out | Version (before)         | Version (after)
------------+--------------------------+---------------------
v2.10-rc2   | 2.10 (from 2.10-rc1-...) | 2.10 (from v2.10-rc2)
v2.10       | 2.10 (from 2.10-rc2-...) | 2.10
master      | 2.10 (from 2.10-rc2-...) | 2.10

Only add the "(from N)" suffix if the ReleaseNotes-X.Y.txt is
different in HEAD and in the vX.Y. In the "(from N)" string compute the
N as "git describe HEAD" instead of describing the last commit where the
ReleaseNotes-X.Y was changed.

Change-Id: I66aff6cc57cfbd42a332ca19445dedbfbee0b088
(cherry picked from commit 25bd938158aead6583bc1f6c0b64d8b33a657ab1)
2015-04-16 12:38:17 +00:00
David Ostrovsky
3dbdb2babf Update 2.10.3 release notes
Change-Id: Ia54e447f55e2884c68994bc2d95e71cf5c6aaa6f
2015-04-16 11:45:28 +00:00
David Ostrovsky
f1ac0da7c3 Release notes for Gerrit 2.10.3
Change-Id: I03e0294f2e0d3beb7cb77e61103ed7b8bfc40509
2015-04-15 09:40:44 +09:00
Edwin Kempin
adfd495afb Fix required index version for online reindexing in 2.11 release notes
Online reindexing with 2.11 requires an index version of 11 and not
10. Index version 10 was deleted by [1].

[1] https://gerrit-review.googlesource.com/62684

Change-Id: I805fec9c9cb87209421f02410a7ce3db1a65969b
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2015-04-14 13:22:44 +00:00
David Pursehouse
877f38049a Update 2.11 release notes
Change-Id: I089f099088972be366c0b1c98e1dac53bd8fcafd
2015-04-10 17:16:19 +09:00
David Pursehouse
b0393592e2 Update 2.11 release notes
Change-Id: I0276fa14672747e6a71fee49fad60abed05fef3f
2015-04-10 16:30:18 +09:00
Edwin Kempin
87c88e9dee Explain online reindexing in 2.11 release
Running the reindex program on large site can take a vary long time,
which is bad because during this time the system is down. Fortunately
Gerrit supports online reindexing if a secondary index with an older
version already exists. Explain in the release notes under which
conditions online reindexing is possible. Online reindexing in 2.11
requires an index version of 10, since older index versions have been
deleted [1].

[1] https://gerrit-review.googlesource.com/62684

Change-Id: I9a4ee7151057a30a3ea732ecc2f4affb6c06c1b1
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2015-04-09 15:32:26 +02:00
David Pursehouse
f838e8dc0b Merge branch 'stable-2.11'
* stable-2.11:
  Update 2.11 release notes
  Revert "Revert "SSH: Simplify CachingPublicKeyAuthenticator implementation""
  Update 2.11 release notes
  SshDaemon: Add implementation of InsecureBouncyCastleRandom.random()
  Fix formatting in documentation about review labels
  Remove stripping # in login redirect
  Ensure that AccountLoader sets username if requested
  Workaround Guice bug "getPathInfo not decoded"

Change-Id: I9615fe2305b47a8ff232a47982651ea00a423263
2015-04-08 11:39:46 +09:00
David Pursehouse
a9473b1124 Update 2.11 release notes
Change-Id: I4eb2a3b153a4d73771d29983eb485bf3ef3d285c
2015-04-07 19:53:58 +09:00
David Pursehouse
1cdf381e7b Update 2.11 release notes
Change-Id: I4bd5ecc363fbb7a1ad8f3f125acb3b8944bacfd9
2015-04-07 19:18:22 +09:00
David Pursehouse
efdb2461d3 Merge branch 'stable-2.11'
* stable-2.11:
  SshDaemon: Don't use deprecated IoAcceptor.dispose()
  PatchListLoader: Don't use deprecated TemporaryBuffer.LocalFile constructor
  Fix unused exception throws in EncryptedContactStore
  Remove unused imports
  Don't use deprecated PGPPublicKeyRingCollection constructor
  Print proper name for mergeability check tasks in show-queue command
  Print proper name for ListenableFutureTask in show-queue command
  Work around asciidoctor handling of nested ` and *
  Revert "Revert "Allow configuration of SSH rekey values""
  Revert "Revert "SSHD: Allow ECDSA based public key authentication""
  Revert "Revert "SSHD: Prevent double authentication for the same public key""
  Revert "Downgrade SSHD to 0.9.0-4-g5967cfd"
  Recommend --data-binary flag when testing submit rules from curl
  Change edit shortcut from 'm' to 'e'
  Fix NPE in MergeabilityCache.getIfPresent
  Fix F5 shortcut being hijacked by edit topic in Firefox
  Update 2.11 release notes
  Update version to 2.10.2
  Release notes for Gerrit 2.10.2
  Do not return 403 when clicking on Gitweb breadcrumb
  Add log messages to troubleshoot OAuth/OpenID linking
  Remove unused imports
  Convert to new AutoCloseable instances coming in JGit 4.0
  Remove unused OAuthToken in authorisation URL
  OnlineReindexer: log the success/failure numbers on exit
  Work around MyersDiff infinite loop in PatchListLoader
  Bind SecureStore and SecureStoreClassName in WebAppInitializer
  Update replication plugin
  Rework intra line diff to interrupt threads instead of killing them
  Update JGit to 3.7.0.201502260915-r.58-g65c379e
  Update replication plugin
  Workaround a RecursiveMerger bug [1], avoid online reindexing failure
  OAuth: Allow to link claimed identity to existing accounts
  OAuth: Allow to change username
  Allow PatchListLoader to use recursive merger
  Allow plugins to use self-provided licenses for used Maven Jars

Change-Id: Ie7f96abd97bd2c7e9205a708eed11f9052546187
2015-04-07 10:52:27 +09:00
David Pursehouse
3b489e65c5 Update 2.11 release notes
Change-Id: Id3edae9b4fc5602cc16a5761e8d9b5d483fb9b37
2015-03-29 20:56:09 +01:00
David Pursehouse
245dc68a01 Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Update version to 2.10.2
  Release notes for Gerrit 2.10.2
  Do not return 403 when clicking on Gitweb breadcrumb
  Add log messages to troubleshoot OAuth/OpenID linking
  Remove unused OAuthToken in authorisation URL
  OnlineReindexer: log the success/failure numbers on exit
  Update replication plugin
  OAuth: Allow to link claimed identity to existing accounts
  OAuth: Allow to change username

Change-Id: Ia9fc371b9f957c8e0fc3e215084baa3d31dadd41
2015-03-29 20:49:13 +01:00
Shawn Pearce
19547b5ac6 Merge "Improve the version computation for the release notes" 2015-03-27 14:46:16 +00:00
Saša Živkov
a86b3fc40b Release notes for Gerrit 2.10.2
Change-Id: Ie1f5c51e498864cbc719f5cd4b1a511f87067381
2015-03-26 16:16:38 +01:00
David Pursehouse
dc0afa973f Merge branch 'stable-2.11'
* stable-2.11:
  Update 2.11 release notes
  Make LabelTypeIT tests assume copy-score defaults now initialized herein
  Remove duplication of defaults for boolean label types in ProjectConfig
  Add tests for copyAllScoresIfNoChange in LabelTypeIT

Change-Id: I035ce888508fcab47e3939a4332710966049bb91
2015-03-20 10:11:53 +09:00
David Pursehouse
0f4048b909 Update 2.11 release notes
Change-Id: Ic1d7183d74cdc32b778f31fcbd71939823d46161
2015-03-19 16:22:02 +09:00
David Pursehouse
d3dcb36cde Merge branch 'stable-2.11'
* stable-2.11:
  Align parent links with parents in CommitBox
  Allow scrollable cover messages
  Update Review UI documentation to include new rebase functionality
  ChangeData: check patch set visibility in change mergeability check
  Prevent recursive rebase attempts
  RebaseDialog can now be closed with ESC
  Make use of true as default for copyAllScoresIfNoChange consistent
  Set version to 2.10.1
  Release notes for Gerrit 2.10.1
  Expose extension point for generic OAuth providers

Change-Id: I93af48ce7a600dffc9f73afb9cc8131da26b2a59
2015-03-19 15:45:27 +09:00
David Pursehouse
21b83da225 Merge branch 'stable-2.10' into stable-2.11
* stable-2.10:
  Set version to 2.10.1
  Release notes for Gerrit 2.10.1
  Expose extension point for generic OAuth providers

Change-Id: I33006b0ea12611590979f376816d066883177d4f
2015-03-16 14:10:54 +09:00
Saša Živkov
ac19ec3533 Release notes for Gerrit 2.10.1
Change-Id: Ib5317c67ab058f8397ed1c2c353f55f3581217e5
2015-03-13 15:29:57 +01:00
David Pursehouse
0cf823a1c2 Add initial framework for 2.12 release notes
Change-Id: Iba767087c5f1abfce3040693f34122df064ec7d3
2015-03-06 18:27:33 +09:00
David Pursehouse
376d8efc31 Update 2.11 release notes
Change-Id: Iefe573481d2a1e39c1f59cb6adc610278dd08d99
2015-03-04 16:51:54 +09:00
David Pursehouse
610f597531 Add warning about Bouncy Castle Crypto library update in release notes
Bouncy Castle was upgraded in Ie2b22328 which was first included in
Gerrit version 2.8.5

The new library versions are downloaded during site init, but if the
old library versions are still present in the `lib` folder, it causes
a startup failure (see issue linked below).

The failure can be resolved by removing the old library versions from
the `lib` folder. Add a warning about this in all the release notes
from version 2.9 onwards.

Bug: Issue 3084
Change-Id: Ib6152de9978c57bb7a1d5e147e14ab0ceb464418
2015-02-27 16:42:46 +09:00
Dave Borowitz
8e9c4c9cc3 Update 2.11 release notes
Change-Id: I26426e5b8fbf877b2819bd4cbb775cdc94cf41b6
2015-02-26 09:40:35 +09:00
David Pursehouse
837a675e5e Remove '--recheck-mergeable' option in 2.11 release notes
This option was removed from the reindex program, so it should not
be given in the example command in the release notes.

Bug: Issue 3205
Change-Id: Ie3929c68b221d4df6b4b6f6d266741ce9bd1820b
2015-02-25 15:33:14 +09:00
David Pursehouse
08da3d3ea6 Update 2.11 release notes
Change-Id: I32b9c03289c729150a575f061f2f775f7af5d299
2015-02-23 11:27:39 +09:00
David Pursehouse
7c461863d6 Update 2.11 release notes
Change-Id: Iab0ee03566ffd28eec4bca60ebc588f8bc5d52a6
2015-02-20 16:12:09 +09:00
David Pursehouse
2b3a38fe2a Update 2.11 release notes
Change-Id: I7eb37f5b75a56c3d4eb295e5ecd71c44dc2a9e9f
2015-02-19 11:24:46 +09:00