MB-100 Put xdc replications related handlers into a single file.

Change-Id: Id23c8fbc48e10767c4d5804aa5048e939d5e45c2
Reviewed-on: http://review.couchbase.org/28158
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100 Don't use connection timeout in capi_replication.

Connection timeout is a parameter for outgoing
replications. capi_replication handles incoming replications. So I
don't see why it should be used there. Given that only a log message
is emitted when this "timeout" is exceeded, I think it's enough to use
a sufficiently large constant.

Change-Id: I5d2cef300dd8264c5bc1b226ccf3557601d98b39
Reviewed-on: http://review.couchbase.org/28159
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8797 Hide "Generate Diagnostic Report" for read-only user.

Change-Id: I130352f6721f0fbbf869b5dac5d25c74a2202f86
Reviewed-on: http://review.couchbase.org/28240
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8720 Check wellness of the hostname when engaging a cluster.

Change-Id: I6a55f90b53e9ba9e3917461ae28592700a762f08
Reviewed-on: http://review.couchbase.org/28239
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-5904 remove passwords from cbcollect_info results

- except backtraces in diag.log

Change-Id: I9c556062cc0db2d0ef935676a6bbc2db654f6a8a
Reviewed-on: http://review.couchbase.org/28233
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8819 get node advertised_version from the heartbeat

Change-Id: I4665aa0ee076b4477877e528600f74e3b86ace62
Reviewed-on: http://review.couchbase.org/28209
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8145: display roa name in acc management

Change-Id: If36c6997907a78840485e985bf81e550483f9a46
Reviewed-on: http://review.couchbase.org/28157
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-8781: rou password reset functionality

Change-Id: I0240fd264f373237763f5771c63fdc788b885ccf
Reviewed-on: http://review.couchbase.org/28195
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-100: killed support of never used http COPY method

Change-Id: I9fa7ab6f16e989f924e72eb9e88ba87e16f10756
Reviewed-on: http://review.couchbase.org/28250
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
MB-100: refactored read-only admin management ui

Particularly I wasn't comfortable with having ro admin name cells at
core-data level.

New code moves all corresponding cells info account management
sub-section.

It also ensures that cells are refreshed on leaving/entering account
management tab. For that to work well it places spinner on user
management form when user management data is loaded.

Also given that we dont really need "isROAdminExists" on pools reply
it removes it.

Change-Id: I8fb12f71e1e0626857a5b25b2176b3ddcb6d4cfd
Reviewed-on: http://review.couchbase.org/28251
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Merge remote-tracking branch 'origin/2.2.0'

* origin/2.2.0:
  MB-100: refactored read-only admin management ui
  MB-100: killed support of never used http COPY method
  MB-8781: rou password reset functionality
  MB-8145: display roa name in acc management
  MB-8819 get node advertised_version from the heartbeat
  MB-5904 remove passwords from cbcollect_info results
  MB-8720 Check wellness of the hostname when engaging a cluster.
  MB-8797 Hide "Generate Diagnostic Report" for read-only user.
  MB-100 Don't use connection timeout in capi_replication.
  MB-100 Put xdc replications related handlers into a single file.

Conflicts:
	src/menelaus_web.erl

Confict was trivial

Change-Id: I87c043981a694aa0b1433cb7064ba232ca866a27
MB-5904: sanitize process backtraces

Change-Id: Ia529cf8cbbdb221d1ba44519cfaa0a66393f07ed
Reviewed-on: http://review.couchbase.org/28254
Reviewed-by: Artem Stemkovski <artem@couchbase.com>
Tested-by: Artem Stemkovski <artem@couchbase.com>
MB-100: unbreak dialyzer breakage

Change-Id: I4fce022a53a4f54ce7534cffb4554ed2d8708e77
Reviewed-on: http://review.couchbase.org/28262
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Merge remote-tracking branch 'origin/2.2.0'

* origin/2.2.0:
  MB-100: unbreak dialyzer breakage
  MB-5904: sanitize process backtraces

Change-Id: I8b98ced9862cafeb379b814c40961c8e7b224554