History log of /6.0.3/query-ui/query-ui/ui-current/ (Results 1 - 25 of 231)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bdbfee6530-Aug-2018 Murtadha Hubail <murtadha.hubail@couchbase.com>

MB-29728: Adapt Plan Analysis to Analytics Mode

- Add Datasets in the plan analysis for analytics.
- Remove buckets from plan analysis for analytics.
- Use fully qualified name for d

MB-29728: Adapt Plan Analysis to Analytics Mode

- Add Datasets in the plan analysis for analytics.
- Remove buckets from plan analysis for analytics.
- Use fully qualified name for datasets/indexes.

Change-Id: I1e0d710a4adfb8c0a17138f24195884a4159e68e
Reviewed-on: http://review.couchbase.org/99002
Tested-by: Murtadha Hubail <Murtadha.hubail@couchbase.com>
Reviewed-by: Till Westmann <till@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

c84834a710-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30080 - performance issues in new doc editor

The new doc editor was slow when dealing with very complex documents
(many fields). This is caused by the browser spending time rendering

MB-30080 - performance issues in new doc editor

The new doc editor was slow when dealing with very complex documents
(many fields). This is caused by the browser spending time rendering
many many text-entry areas, one for each field. There's no general way
to speed that up (though Safari is about twice as fast as Chrome in
these situations), but I was able to help this two ways:

1) use ng-if instead of ng-show to prevent rendering of the
spreadsheet text-entry areas when the user selects "simple" mode. This
makes the simple mode effectively as fast as the classic doc editor.

2) there was already a limit on the maximum number of fields to show,
which was set at 500. This existed to prevent the browser from
grinding to a halt when facing thousands of fields. I reduced this
number to 250, which speeds up the "spreadsheet" mode somewhat. And if
the user really needs to edit more than 250 fields, they can use the
"edit as JSON" functionality.

Change-Id: Ief83b5018c3f39fbe7a269fb49dc6379ff7c9c8b
Reviewed-on: http://review.couchbase.org/98136
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

3dbe058f08-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30598 - Handling timeouts and other errors in the QWB

The query workbench was sending a timeout parameter to ns_server,
which proxies requests to cbq-engine, but cbq-engine also has a

MB-30598 - Handling timeouts and other errors in the QWB

The query workbench was sending a timeout parameter to ns_server,
which proxies requests to cbq-engine, but cbq-engine also has a
timeout parameter. Change the code to send the same timeout value to
both. This means that queries interrupted by the timeout are marked as
"timeout" instead of "completed", because cbq-engine times out instead
of the proxy gateway.

When cbq-engine times out, however, it is possible to have partial,
truncated results from the server. Thus I also had to improve the
notifications in the query workbench so that warnings and/or errors
are shown along with partial results, if any.

Change-Id: Icae57d6e1f387d7709c3dfcfe5d7ed871cb74a6c
Reviewed-on: http://review.couchbase.org/98027
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

7721686c06-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30639 - better 'enter' handling in QWB preferences

The problem reported was that clicking 'enter' in *any* of the text
fields in the preferences dialog would cause a numbered paramete

MB-30639 - better 'enter' handling in QWB preferences

The problem reported was that clicking 'enter' in *any* of the text
fields in the preferences dialog would cause a numbered parameter to
be added. Apparently with angular, 'enter' in any text field in a form
causes the first button in the form to be clicked, even if a later
button is marked as 'type="submit"'. The solution is to somewhat
redundantly label each of the buttons as 'type="button"' (except for
the 'ok' button, which is type="submit").

Change-Id: I9f502370de4bdb14ee5c2f0676f8e10607567a9f
Reviewed-on: http://review.couchbase.org/97891
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

55fd641b04-Aug-2018 Murtadha Hubail <murtadha.hubail@couchbase.com>

MB-30746: Show Query Timeout Option in Analytics

Change-Id: I03d7de461386cc28cea335f3e1d1d0a01ffac532
Reviewed-on: http://review.couchbase.org/97810
Reviewed-by: Eben Haber <eben@cou

MB-30746: Show Query Timeout Option in Analytics

Change-Id: I03d7de461386cc28cea335f3e1d1d0a01ffac532
Reviewed-on: http://review.couchbase.org/97810
Reviewed-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

933f66d203-Aug-2018 Eben M Haber <eben@couchbase.com>

MB-30757 - display fix for INFER improvement

Now that INFER can show schemas for nested arrays, the schema display
needs to be able to show it as well.

Change-Id: I8c72e11b985ea

MB-30757 - display fix for INFER improvement

Now that INFER can show schemas for nested arrays, the schema display
needs to be able to show it as well.

Change-Id: I8c72e11b985ea9d44fa5d727873ce623c4db6d08
Reviewed-on: http://review.couchbase.org/97800
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

67448c9526-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30559 - fix wrapping issue with nested docs in new doc editor.

Change-Id: I19dc39dd098d310e214beb0bcc6b8a53e1fa528c
Reviewed-on: http://review.couchbase.org/97466
Reviewed-by: Ebe

MB-30559 - fix wrapping issue with nested docs in new doc editor.

Change-Id: I19dc39dd098d310e214beb0bcc6b8a53e1fa528c
Reviewed-on: http://review.couchbase.org/97466
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

5da7f6fa26-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30668 - new document editor not showing data for certain data types.

The new doc editor was having trouble with field names containing
single quotes, and with arrays inside other arra

MB-30668 - new document editor not showing data for certain data types.

The new doc editor was having trouble with field names containing
single quotes, and with arrays inside other arrays.

Change-Id: Iac07928ed639ea3528f87476f8900499e48cced2
Reviewed-on: http://review.couchbase.org/97465
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

1fb12d9023-Jul-2018 Eben M Haber <eben@couchbase.com>

Merge remote-tracking branch 'couchbase/vulcan' into HEAD

Change-Id: I89b8264761e320938429f1b8828298eb72bd6df2


bbfc8ac616-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30426 - Allow preferences dialog to be used by analytics as well.

Change-Id: Iace9fa1132f397a35746b4b31c09ef127bf0b91c
Reviewed-on: http://review.couchbase.org/96956
Reviewed-by:

MB-30426 - Allow preferences dialog to be used by analytics as well.

Change-Id: Iace9fa1132f397a35746b4b31c09ef127bf0b91c
Reviewed-on: http://review.couchbase.org/96956
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

edd8ef5903-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30232 - hide documents tab for users with only query select.

A user with only query select permissions is not able to retrieve
documents via the REST API, the server fails and an HTTP

MB-30232 - hide documents tab for users with only query select.

A user with only query select permissions is not able to retrieve
documents via the REST API, the server fails and an HTTP 500 error is
returned. This is because the user doesn't have permissions to read
the XATTRs, which are returned with the document via the REST API. See
also MB-30232.

This fix hides the "Documents" tab if the user does not have
permissions to read XATTRs.

Change-Id: Ice78069fd184fde3854d463bf36b62653e0c0ee6
Reviewed-on: http://review.couchbase.org/96459
Well-Formed: Build Bot <build@couchbase.com>
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

62ad245f02-Jul-2018 Eben M Haber <eben@couchbase.com>

MB-30338 - Handle arrays with null elements in the document editor.

Needed to add a check for null to avoid an NPE.


Change-Id: I5beb3bab04ab3dc65ff96004abc5f4af390e2fcf
Rev

MB-30338 - Handle arrays with null elements in the document editor.

Needed to add a check for null to avoid an NPE.


Change-Id: I5beb3bab04ab3dc65ff96004abc5f4af390e2fcf
Reviewed-on: http://review.couchbase.org/96414
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

5abcf39027-Jun-2018 Eben M Haber <eben@couchbase.com>

MB-29356 - Display Analytics query plans as DAGs when needed.

Analytics query plans can effectively be DAGs. The JSON description is
actually a tree, but various plan nodes are repeated

MB-29356 - Display Analytics query plans as DAGs when needed.

Analytics query plans can effectively be DAGs. The JSON description is
actually a tree, but various plan nodes are repeated when they are on
multiple paths.

Unfortunately D3 does not support DAGs, only trees. I was able to
simulate a DAG, however, but forcing second and subsequent appearances
of multiply-occuring nodes to appear in the same location as the
original. This actually works in the cases I tried. I did have to add
some CSS logic to hide duplicate edges, however, because they were not
showing up correctly.

Change-Id: I9b0630f40d47d76ad5964b83a8c535842dbd9487
Reviewed-on: http://review.couchbase.org/96235
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

093b22d918-Jun-2018 Rob Ashcom <rob.ashcom@gmail.com>

MB-30174 revise query history dialog buttons

Change-Id: I639b2edea17e2e764a224f9b778aacab2a8d3efd
Reviewed-on: http://review.couchbase.org/95822
Reviewed-by: Eben Haber <eben@couchba

MB-30174 revise query history dialog buttons

Change-Id: I639b2edea17e2e764a224f9b778aacab2a8d3efd
Reviewed-on: http://review.couchbase.org/95822
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Well-Formed: Build Bot <build@couchbase.com>

show more ...

a1018e7115-Jun-2018 Rob Ashcom <rob.ashcom@gmail.com>

MB-30113 Improve msg when service is not available on node

- added warning message about links
- cleaned up some vertical spacing
- remove the bulleted list style from the links

MB-30113 Improve msg when service is not available on node

- added warning message about links
- cleaned up some vertical spacing
- remove the bulleted list style from the links

Change-Id: I3f8639b080bf96617711dd621e1fb408a4c56cfe
Reviewed-on: http://review.couchbase.org/95657
Well-Formed: Build Bot <build@couchbase.com>
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Dave Finlay <dave.finlay@couchbase.com>

show more ...

1a84381801-Jun-2018 Eben M Haber <eben@couchbase.com>

Fix issue with nested tables in new Doc Editor spreadsheet mode.

The new doc editor was not correctly handling nested tables involving
an array of objects, each with only one field which

Fix issue with nested tables in new Doc Editor spreadsheet mode.

The new doc editor was not correctly handling nested tables involving
an array of objects, each with only one field which is a nested
sub-object. The path to the subfields were lacking the name of the
single field.

Change-Id: I51fa31fa106cf35570632ec8886c7411d7b50418
Reviewed-on: http://review.couchbase.org/95068
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

19df69f129-May-2018 Eben M Haber <eben@couchbase.com>

MB-29824 - permissions issue with new doc editor

Missed one case - need to show "ADD DOCUMENT" button when users has
cluster.bucket[].data.docs.upsert permissions.

Change-Id: Ie

MB-29824 - permissions issue with new doc editor

Missed one case - need to show "ADD DOCUMENT" button when users has
cluster.bucket[].data.docs.upsert permissions.

Change-Id: Iec98d4fd0235d16e2210ff6ceba6f45caacc5693
Reviewed-on: http://review.couchbase.org/94869
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d9253ab026-May-2018 Eben M Haber <eben@couchbase.com>

MB-29824 - permissions issue with new doc editor.

The doc editor was checking for:

cluster.bucket[<bucket name>].data!read and
cluster.bucket[<bucket name>].data!write

MB-29824 - permissions issue with new doc editor.

The doc editor was checking for:

cluster.bucket[<bucket name>].data!read and
cluster.bucket[<bucket name>].data!write

when in fact it really needed to be checking for:

cluster.bucket[<bucket name>].data.docs!read and
cluster.bucket[<bucket name>].data.docs!upsert

In fact, none of the server code uses the !write permissions. So the
UI now just checks for docs!read for read permissions, and docs!upsert
for write permissions.

Change-Id: I010eb6cbdac7e95f6972e38c007bb1c138c50851
Reviewed-on: http://review.couchbase.org/94796
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d7eb772c23-May-2018 Eben M Haber <eben@couchbase.com>

MB-29748 - Show count queries per minute, not average.

In the query monitoring page, in the stats panel at the bottom, the
indicators for "queries > xxx ms" were showing the *average* of

MB-29748 - Show count queries per minute, not average.

In the query monitoring page, in the stats panel at the bottom, the
indicators for "queries > xxx ms" were showing the *average* of the
per-second values for the past minute. That isn't terribly
useful. Instead we are now showing the *sum* for the past minute, so
the user can see exactly how many long-running queries have been going
on recently.

Change-Id: Ib190279d2092de9262af7ca0e7871683f8f2b17d
Reviewed-on: http://review.couchbase.org/94607
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

b99a443b22-May-2018 Eben M Haber <eben@couchbase.com>

MB-29780 - Problem copying large docs in new doc editor.

Since the server does not permit uploading documents larger than 1MB,
disable the "copy" button for documents of that size. Also

MB-29780 - Problem copying large docs in new doc editor.

Since the server does not permit uploading documents larger than 1MB,
disable the "copy" button for documents of that size. Also fix the
error handling code to show a better error message should a similar
issue arise in future.

Change-Id: Iea1763f032297d9681d23ecea67bb1c2f3d2ffa9
Reviewed-on: http://review.couchbase.org/94530
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

80a69c4421-May-2018 Eben M Haber <eben@couchbase.com>

MB-29400 - Handling very large documents in the new doc editor.

With certain very large documents, in certain browsers (Chrome &
Firefox), the regex check for very large numbers (> 2^53)

MB-29400 - Handling very large documents in the new doc editor.

With certain very large documents, in certain browsers (Chrome &
Firefox), the regex check for very large numbers (> 2^53) was causing
an out-of-memory exception. Add code for properly handling exceptions
in this case. N.b. an exception means that we don't know if the
document includes very large numbers, so tabular editing is
disallowed.

Change-Id: I508ca64d583e673ad1942e5e1edf048ec6b2a844
Reviewed-on: http://review.couchbase.org/94484
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d9de55b117-May-2018 Eben M Haber <eben@couchbase.com>

MB-29400 - handling very large documents in the doc editor.

The doc editor wasn't handling documents with very large fields - the
browser would get very slow with text areas containing m

MB-29400 - handling very large documents in the doc editor.

The doc editor wasn't handling documents with very large fields - the
browser would get very slow with text areas containing more than 1MB
of data. Now the doc editor doesn't try to render such fields, instead
showing a warning where the field would normally appear.

Also, the REST API for uploading documents refuses to handle documents
larger than 1MB. I have filed an issue to have this raised, but in the
mean time the doc editor prevents editing of documents larger than 1MB.

Change-Id: I90b8504e3c1c80d7c9e7c1155db1e19eb1e008f5
Reviewed-on: http://review.couchbase.org/94337
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

85724d4815-May-2018 Eben M Haber <eben@couchbase.com>

Many small fixes to the new Doc Editor.

MB-29619 - unnecessary reload when hitting return on entering text to
search the bucket menu. Problem was that the menu was unnecessarily
part

Many small fixes to the new Doc Editor.

MB-29619 - unnecessary reload when hitting return on entering text to
search the bucket menu. Problem was that the menu was unnecessarily
part of an HTML form with the other controls.

MB-29627 - not correctly displaying documents that contain bare
strings or arrays in "simple" mode. Addition of simple mode didn't
account for this condition.

MB-29630 - allow edit dialog to adjust layout when error message shown.

MB-29628 - number fields in spreadsheet mode needed to allow any
number of decimal places.

MB-29622 - button order was incorrect for binary documents.

MB-29621 - change representation of empty array from "[]" to "[ ]" to
make it easier to read on the screen.

MB-29620 - boolean fields with value 'false' were not showing a widget
in the spreadsheet view.

MB-29618 - avoid duplicate error message if copy fails due to already
existing document.

MB-29613 - improve the error messages when the user forces an invalid
value into the offset or limit fields.

MB-29609 - fix the misalignment between the size of the spreadsheet
table and the size of the header.

MB-29607 - add the style 'overflow: hidden' to prevent very long field
names from overlapping the next column in the spreadsheet view.

Change-Id: I019cbf805574b2a876e814b349bf9b8a3c21f473
Reviewed-on: http://review.couchbase.org/94180
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

d335186210-May-2018 Eben M Haber <eben@couchbase.com>

MB-29573 - doc editor not handling ephemeral buckets correctly.

The normal REST API for iterating through documents doesn't work for
ephemeral buckets, so we have to insist that the user

MB-29573 - doc editor not handling ephemeral buckets correctly.

The normal REST API for iterating through documents doesn't work for
ephemeral buckets, so we have to insist that the user either provide a
document key, or use a primary/secondary index for N1QL querying.

Change-Id: I457999b29a87f458067d35456651c4fe33df4338
Reviewed-on: http://review.couchbase.org/94033
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

8c71626110-May-2018 Eben M Haber <eben@couchbase.com>

MB-29581 - Problems with query monitoring.

The API for query monitoring options in qwQueryService changed, but
the query monitor controller did not get appropriately updated
everywhe

MB-29581 - Problems with query monitoring.

The API for query monitoring options in qwQueryService changed, but
the query monitor controller did not get appropriately updated
everywhere, leading to inconsistent and occasionally broken behavior.

Change-Id: Iadb6b3a9eaab57c3eefbc1e5fc6a3bb68ecbb971
Reviewed-on: http://review.couchbase.org/93973
Reviewed-by: Eben Haber <eben@couchbase.com>
Tested-by: Eben Haber <eben@couchbase.com>

show more ...

12345678910