History log of /5.5.2/query-ui/ (Results 1 - 25 of 455)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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 ...

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 ...

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

Tweak the code that checks for multiple queries, ignore comments.

There was a request to ignore comments so that a user could have paste
multiple N1QL queries into the workbench, and unc

Tweak the code that checks for multiple queries, ignore comments.

There was a request to ignore comments so that a user could have paste
multiple N1QL queries into the workbench, and uncomment them
one-at-a-time. This change strips out the comments before looking for
multiple queries.

Change-Id: I82124d12f041837279a9f3ba6c22181de753b3c3
Reviewed-on: http://review.couchbase.org/94535
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 ...

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

MB-29730 - Show error message when doc made > 1MB

With the new doc editor, we needed to show an error message if the
user changes the document to make it too large to save. (right now th

MB-29730 - Show error message when doc made > 1MB

With the new doc editor, we needed to show an error message if the
user changes the document to make it too large to save. (right now the
server can't accept uploads > 1MB).

Change-Id: I7521f97ac508947a8e9118c7f64bd5db296b53a3
Reviewed-on: http://review.couchbase.org/94429
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 ...

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

MB-29624 - problem with copy results as tab-separated.

The process of creating tab-separated data requires an array of
objects which get flattened into a table. If we don't have an array

MB-29624 - problem with copy results as tab-separated.

The process of creating tab-separated data requires an array of
objects which get flattened into a table. If we don't have an array of
objects, as with an empty result, or the result of an EXPLAIN query,
it was not able to create tab-separated values, and thus the clipboard
was unchanged.

Now an error message is shown if tab-separated data cannot be created.

Change-Id: Ie61f9d2d1796234e23f9d3e4f7341c45090a01c3
Reviewed-on: http://review.couchbase.org/94313
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 ...

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

MB-29572 - query result processing very slow on large data sets.

On exceptionally large datasets containing numbers too long to
represent in javascript (such as 'select * from `travel-sa

MB-29572 - query result processing very slow on large data sets.

On exceptionally large datasets containing numbers too long to
represent in javascript (such as 'select * from `travel-sample`')
using the js_beautify() call on the client to format the JSON can take
a long time - over a minute. Changed back to having formatting occur
on the server, which is much faster.

Also, the fix_long_number service was taking unneccesarily
long. Removed the count of long numbers, since we only need to know if
there is one.

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

show more ...

456b25f808-May-2018 Rob Ashcom <rob.ashcom@gmail.com>

position tooltip automatically if necessary

- fixes smaller-screen-width dillema of tooltip disappearing

Change-Id: Ia1beb7d3c3555d4b938d4b9644957869f172cd76
Reviewed-on: http:/

position tooltip automatically if necessary

- fixes smaller-screen-width dillema of tooltip disappearing

Change-Id: Ia1beb7d3c3555d4b938d4b9644957869f172cd76
Reviewed-on: http://review.couchbase.org/93898
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

dfdb677104-May-2018 Rob Ashcom <rob.ashcom@gmail.com>

metadata tooltip height control

- changes position to “top-right” and adds tooltip-class=“tooltip-maxheight”

Change-Id: I784aae2e16450e99f7a6f0019ef64409043cdb26
Reviewed-on: ht

metadata tooltip height control

- changes position to “top-right” and adds tooltip-class=“tooltip-maxheight”

Change-Id: I784aae2e16450e99f7a6f0019ef64409043cdb26
Reviewed-on: http://review.couchbase.org/93774
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

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

Restore "classic editor" button to new doc editor.

Also fix a duplicate style in the CSS, and make the history
dialog resizable.

Change-Id: I37e6b966ee44182f68324198da3404cb9cbf

Restore "classic editor" button to new doc editor.

Also fix a duplicate style in the CSS, and make the history
dialog resizable.

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

show more ...

63ba947d27-Apr-2018 Eben M Haber <eben@couchbase.com>

MB-29372 - Null documents not show in new Doc Editor

Now show the document with the message "Empty Document".

Change-Id: Ib74b817cefb148e3b8971679ad1abab7da2c4225
Reviewed-on: h

MB-29372 - Null documents not show in new Doc Editor

Now show the document with the message "Empty Document".

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

show more ...

b56b4efe26-Apr-2018 Rob Ashcom <rob.ashcom@gmail.com>

remove toggle control CSS

- moved to cbui-components.css

Change-Id: Ifdc0511406b9955822bc0ea33fa9fcf8c432ae46
Reviewed-on: http://review.couchbase.org/93434
Tested-by: Rob A

remove toggle control CSS

- moved to cbui-components.css

Change-Id: Ifdc0511406b9955822bc0ea33fa9fcf8c432ae46
Reviewed-on: http://review.couchbase.org/93434
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

914bc93526-Apr-2018 Rob Ashcom <rob.ashcom@gmail.com>

MB-29294 [disabled] style for toggle control

Change-Id: I2fbd90aaec5ba13262f8a594fe2a8f9f9a829aa9
Reviewed-on: http://review.couchbase.org/93363
Tested-by: Rob Ashcom <rob.ashcom@gma

MB-29294 [disabled] style for toggle control

Change-Id: I2fbd90aaec5ba13262f8a594fe2a8f9f9a829aa9
Reviewed-on: http://review.couchbase.org/93363
Tested-by: Rob Ashcom <rob.ashcom@gmail.com>
Reviewed-by: Eben Haber <eben@couchbase.com>

show more ...

6972fd1e25-Apr-2018 Rob Ashcom <rob.ashcom@gmail.com>

link doc ID to editor

- linked the text directly to the editor
- removed the meta-data tooltip
- retained the triangle warning icon (needs testing)
- renamed the metdata link (in

link doc ID to editor

- linked the text directly to the editor
- removed the meta-data tooltip
- retained the triangle warning icon (needs testing)
- renamed the metdata link (in the editor)
- repositioned the metadata tooltip (in the editor)

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

show more ...

12345678910>>...19