AngularJS: display spinner by default

Change-Id: Iba2072cd1202c52f2b298d5a3a1178a1f917fc6c
Reviewed-on: http://review.couchbase.org/40869
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12056: don't crash on update of bucket with invalid authType

In MB-12056 it looks like second submit is somehow triggered. And that
second submit sees form input disabled which causes post with invalid
authType. The later caused other_buckets_ram_quota property to be
undefined which crashed menelaus_web_buckets:interpret_ram_quota.

We now anticipate this undefinedness which fixes the problem.

Change-Id: Ia2b5b51097a5cab53c36677a441fc0096d69f48b
Reviewed-on: http://review.couchbase.org/40889
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
hooks.js: fixed stats for only-web

Change-Id: I76cd19149aafe4bca7c5a902d4c7c0b5314d4121
Reviewed-on: http://review.couchbase.org/41006
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
[cells.js] added debugger call into future start exception path

Change-Id: Ie13d76f436a7c698f545a3e38eb9864003ddf5c0
Reviewed-on: http://review.couchbase.org/41007
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
made bucketsListCell.refresh work even if nothing has changed

Which is important for hooks.js which always returns same stuff.

I.e. previously because we subscribed on bucketsListCell which uses
_.isEqual for equality we ended up not calling callback in hooks.js.

Now we subscribeOne on rawDetailedBuckets which has object identity
equality which causes refresh callback to work.

Change-Id: Ia5077e156426645368c760df2ad131914e37b8d3
Reviewed-on: http://review.couchbase.org/41008
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
refactored hooks.js into mn-hooks.js that is not tied to jquery

So that we can use it for Angular based UI.

As part of that work some responses were actually fixed. Like addition
of evictionPolicy to bucket details. Lack of which caused UI to crash.

Change-Id: Id34e6ddc1aa4402aec9096c06a5b2d27c96aa5b6
Reviewed-on: http://review.couchbase.org/41009
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Reviewed-by: Pavel Blagodov <stochmail@gmail.com>
Tested-by: Pavel Blagodov <stochmail@gmail.com>
MB-12062: updated doc link to point to future 3.0 manual place

Change-Id: Ia0658c2b3f226c5ec01a7eb0e068df0506ae8f20
Reviewed-on: http://review.couchbase.org/41057
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'rel-3.0.0'

* rel-3.0.0:
  MB-12062: updated doc link to point to future 3.0 manual place

Change-Id: I92a301506cd11d904f01b8ece3069ed760f255a9
remove mc_couch related code

not needed anymore since couch notifier is removed from ep_engine

Change-Id: Id6f7cc228b36b63a9ccf83a8d97842c712d015ba
Reviewed-on: http://review.couchbase.org/41000
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
simplify child_erlang:open_port_args

Change-Id: Ic1461f74a40d15342b9340dafd5ae25c0e8fdcfe
Reviewed-on: http://review.couchbase.org/40808
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
AngularJS: implement jquery flot

Change-Id: I3e83ae62eac50b47d7d91852a02bdf95213deca9
Reviewed-on: http://review.couchbase.org/40881
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
AngularJS: finalize overview section

Change-Id: Ifab9632b3a3f11342274d62e9c5c7bd0b601315c
Reviewed-on: http://review.couchbase.org/40979
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12062: updated docs link again

As requested in the ticket.

Change-Id: Id86e9fd07aa6e108e5ca87bd2f6fc1bf40583f70
Reviewed-on: http://review.couchbase.org/41066
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Merge remote-tracking branch 'origin/rel-3.0.0'

* origin/rel-3.0.0:
  MB-12062: updated docs link again

This is trivial merge

Change-Id: I6b14daf299af50486cf87ff2f41ccc573b27d151
MB-12099 Handle unicode:characters_to_binary errors.

Change-Id: I1f327d54569bb9ab7a4db6d0ff1be2dacde779da
Reviewed-on: http://review.couchbase.org/41096
Tested-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12092: Display spatial view results

In 3.0 the spatial views return the `key` instead of the `bbox` as they
are now multidimensional and may contain more than two dimensions.

Change-Id: Ia93997cb962d835385de4c930126657ffecd8239
Reviewed-on: http://review.couchbase.org/41024
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
MB-12095: Change default values for spatial views

Spatial views don't need a bounding box anymore. If none is defined the
full data set is returned. Additionally spatial views support skip and
limit to page through the results.

Change-Id: I061074d8b3c077fae7de90002ab23f0f5fee197a
Reviewed-on: http://review.couchbase.org/41081
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
fix and use ns_config_replica:get_compressed

Change-Id: I7db8172e035ffb0ea873b76e74cad0f0fd470eba
allow to initialize config by pulling it from another node

we also need to replace the destination node with target node
in all node dependent keys in order for calls like search_node to
work correctly

Change-Id: Iab868bc5cfac5372c273ba29ff615dd58d0af58d
initial implementation of couchdb node with the copy of config

no config replication yet

Change-Id: I934f5cd8e601cf1a830af9a96b060777748f1762