[angular-ui] wired mn-hooks into angular ui

Change-Id: Ibf0096d928561dfce39602c34df251dbb67e044d
Reviewed-on: http://review.couchbase.org/41091
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
upgrade memcached engine config

Because ep-engine folks want to change static_config of ep-engine.

Change-Id: I40613475f17794170b666fdda55e2b47c2f62fcd
Reviewed-on: http://review.couchbase.org/41265
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
remove depricated ep.so params vb0 & waitforwarmup

Change-Id: I9c00dfc7d0b6a25872373f65f974465f1bca11a2
Reviewed-on: http://review.couchbase.org/41212
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-11567: Pass bucket name and password from environment variables

Windows will have different interpretation on cmd arguments from Linux.
If empty password is passed, the next argument is treated as password.
As such, environment variable is better place to pass bucket credentials.

Change-Id: Ic096d9c7474982ed609aece6b721185a21d13e9c
Reviewed-on: http://review.couchbase.org/41293
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>
MB-11939: corrected typos

Change-Id: I8c88e1a2bd7336160867dd3c278d59283886c7cb
Reviewed-on: http://review.couchbase.org/41358
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12141: descriptive error message for Server Groups

Change-Id: I8ab3fc7da3e2ef77cfcb4a9e557e9dcff525bf66
Reviewed-on: http://review.couchbase.org/41359
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
AngularJS: better detection of entrance state

This change includes update of ui-router library.

Main idea is to set initial state to 'auth'
which determines initial state for the user.

Also according to documentation in most cases
we should to use state.go instead of state.transitionTo.

Change-Id: I8c16cc787466ed06ac014cdbdffbc643eeb87b64
Reviewed-on: http://review.couchbase.org/41130
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12156 Don't delete buckets when changing datapath.

Change-Id: I8d37f92f2d06cca9648f20b40eeae2642d0a91ac
Reviewed-on: http://review.couchbase.org/41332
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12156 Don't trap exits while change disk paths.

It's not needed and prevents us from a situation where process gets
stuck and wakes up much later (potentially after node became part of a
cluster) and thus invalidates the check that node is not provisioned.

Change-Id: Ie0f9ced83150ddca71781704c05a350dd4b6a271
Reviewed-on: http://review.couchbase.org/41333
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12167 Hide page fault graphs from UI.

Change-Id: I73e099eb4800427fd52d0227e260b81f4a57f0d6
Reviewed-on: http://review.couchbase.org/41378
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12147 Check all required stats for disk/data usage.

We have couch_disk_data_size (as well as some other stats that don't
make sense) even if there're only memmcached buckets. That's because in
certain places we don't make clear separation between memcached and
membase buckets in stats_collector code. I decided that it's easier to
just check all the required stats and fix the referred bug in this way.

Change-Id: I3f17971f2c532c31e63237eb2f5c6956df95e98d
Reviewed-on: http://review.couchbase.org/41379
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12158: don't trap exits in dcp_proxy processes

Because we don't really need to.

And most importantly because erlang has a bug where send might get
stuck forever if socket is closed on other end.

So if we just die when dcp_replicator dies we'll avoid this
problem. Or at very least we'll close both sockets without any delays.

Change-Id: I4ea2225ea78a5543053396574d33f8459d22c302
Reviewed-on: http://review.couchbase.org/41410
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12164 Don't confirm removing of node that was just added.

Change-Id: I6dab4b65367b4167b4d7e44bb4fb678bb10ad9a2
Reviewed-on: http://review.couchbase.org/41428
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Add zookeeper client.

Change-Id: I348153673d4b0328b97ad0db4940b2995bd0a78b
mark

Change-Id: I6d2dedff5c0e8db62a6a7ac9792e53de3b3a36f4
change handlers response format

Change-Id: I364de156e39d9c4a7c1df97618a0de83eed5adb1
Wrap connection into a state record.

Change-Id: Ie105df9000b9984ddc5fd9d863e84890381b8a09
watches

Change-Id: Iec183c0c5fe649a7444099dd59f9979861d3312e
Notify watcher only after new watch is set.

So if it needs to get the value, there's no race condition.

Change-Id: Ie3b6054e1e023dcce2f1cece86d3f59cf14a5242
version() -> server_version()

Change-Id: Iec0174c62f96a611a7cfe5383e932ede176b51a0