[GitHub] couchdb-fauxton pull request: Data importer

2015-09-14 Thread robertkowalski
Github user robertkowalski commented on a diff in the pull request:

https://github.com/apache/couchdb-fauxton/pull/495#discussion_r39382801
  
--- Diff: app/addons/dataimporter/components.react.jsx ---
@@ -0,0 +1,796 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may 
not
+// use this file except in compliance with the License. You may obtain a 
copy of
+// the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations 
under
+// the License.
+
+define([
+  'api',
+  'react',
+  'addons/dataimporter/stores',
+  'addons/dataimporter/actions',
+  'addons/components/react-components.react',
+  'helpers'
+], function (FauxtonAPI, React, Stores, Actions, Components, Helpers) {
+
+  var dataImporterStore = Stores.dataImporterStore;
+
+  var DataImporterController = React.createClass({
+getStoreState: function () {
+  return {
+isDataCurrentlyLoading: dataImporterStore.isDataCurrentlyLoading(),
+hasDataLoaded: dataImporterStore.hasDataLoaded(),
+isBigFile: dataImporterStore.isThisABigFile(),
+rowShown: dataImporterStore.getRowsShown(),
+rowsTotal: dataImporterStore.getTotalRows(),
+data: dataImporterStore.getTheData(),
+meta: dataImporterStore.getTheMetadata(),
+getPreviewView: dataImporterStore.getPreviewView(),
+getSmallPreviewOfData: dataImporterStore.getSmallPreviewOfData(),
+getHeaderConfig: dataImporterStore.getConfigSetting('header'),
+getDelimiterChosen: 
dataImporterStore.getConfigSetting('delimiter'),
+getAllDBs: dataImporterStore.getAllDBs(),
+getFileSize: dataImporterStore.getFileSize(),
+getTimeSinceLoad: dataImporterStore.getTimeSinceLoad,
+getMaxSize: dataImporterStore.getMaxSize(),
+showErrorScreen: dataImporterStore.showErrorScreen(),
+errorMsg: dataImporterStore.getErrorMsg(),
+isLoadingInDBInProgress: dataImporterStore.dbPopulationInProgress()
+  };
+},
+
+getInitialState: function () {
+  return this.getStoreState();
+},
+
+componentDidMount: function () {
+  dataImporterStore.on('change', this.onChange, this);
+},
+
+componentWillUnmount: function () {
+  dataImporterStore.off('change', this.onChange, this);
+},
+
+onChange: function () {
+  this.setState(this.getStoreState());
+},
+
+render: function () {
+  if (this.state.showErrorScreen) {
+return ;
+  }
+
+  if (this.state.hasDataLoaded) {
+return (
+  
+);
+  }
+
+  return (
+
+  );
+}
+  });
+
+  var DataImporterDropZone = React.createClass({
+getInitialState: function () {
+  return {
+draggingOver: false,
+loading: this.props.isLoading,
+showLimitInfo: false,
+fileSize: this.props.getFileSize,
+timeSinceLoad: this.props.getTimeSinceLoad,
+fileTooBig: false
+  };
+},
+
+dragOver: function (e) {
+  e.preventDefault();
+  this.setState({ draggingOver: true });
+},
+
+endDragOver: function (e) {
+  e.preventDefault();
+  e.stopPropagation();
+  this.setState({draggingOver: false});
+},
+
+drop: function (e) {
+  e.preventDefault();
+  var file = e.nativeEvent.dataTransfer.files[0];
+  this.checkSize(file);
+},
+
+filechosen: function (e) {
+  e.preventDefault();
+  var file = e.nativeEvent.target.files[0];
+  this.checkSize(file);
+},
+
+checkSize: function (file) {
+  if (file.size > this.props.maxSize) {
+this.setState({ 
+  fileTooBig: true,
+  fileSize: file.size, 
+  draggingOver: false 
+});
+  } else {
+Actions.loadFile(file);
+this.setState({ 
+  loading: true,
+  fileSize: file.size, 
+  draggingOver: false 
+});
+Actions.dataIsCurrentlyLoading();
+  }
+},
+
+uploadButton: function () {
+  return (
+
+  
+
+  
+  Choose File
+  

[GitHub] couchdb-fauxton pull request: Add papaparse.js library

2015-09-14 Thread robertkowalski
Github user robertkowalski commented on the pull request:

https://github.com/apache/couchdb-fauxton/pull/522#issuecomment-140069363
  
+1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


couchdb-docker git commit: 1.6: expose config dir as a volume again

2015-09-14 Thread klaemo
Repository: couchdb-docker
Updated Branches:
  refs/heads/master e5e33bb6c -> 6374bd653


1.6: expose config dir as a volume again

fixes #34


Project: http://git-wip-us.apache.org/repos/asf/couchdb-docker/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-docker/commit/6374bd65
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-docker/tree/6374bd65
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-docker/diff/6374bd65

Branch: refs/heads/master
Commit: 6374bd653b0bcabbc69e1a1988c19b16e1ce5e62
Parents: e5e33bb
Author: klaemo 
Authored: Mon Sep 14 12:36:42 2015 +0200
Committer: klaemo 
Committed: Mon Sep 14 12:37:00 2015 +0200

--
 1.6.1/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/couchdb-docker/blob/6374bd65/1.6.1/Dockerfile
--
diff --git a/1.6.1/Dockerfile b/1.6.1/Dockerfile
index 0036f2a..e556d76 100644
--- a/1.6.1/Dockerfile
+++ b/1.6.1/Dockerfile
@@ -65,7 +65,7 @@ COPY ./docker-entrypoint.sh /entrypoint.sh
 RUN chmod +x /entrypoint.sh
 
 # Define mountable directories.
-VOLUME ["/usr/local/var/log/couchdb", "/usr/local/var/lib/couchdb"]
+VOLUME ["/usr/local/var/log/couchdb", "/usr/local/var/lib/couchdb", 
"/usr/local/etc/couchdb"]
 
 EXPOSE 5984
 WORKDIR /var/lib/couchdb



[GitHub] couchdb-fauxton pull request: Data importer

2015-09-14 Thread robertkowalski
Github user robertkowalski commented on a diff in the pull request:

https://github.com/apache/couchdb-fauxton/pull/495#discussion_r39383090
  
--- Diff: app/addons/dataimporter/tests/componentsSpec.react.jsx ---
@@ -0,0 +1,114 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may 
not
+// use this file except in compliance with the License. You may obtain a 
copy of
+// the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations 
under
+// the License.
+define([
+  'api',
+  'addons/dataimporter/components.react',
+  'addons/dataimporter/stores',
+  'addons/dataimporter/actions',
+  'testUtils',
+  'react'
+], function (FauxtonAPI, Components, Stores, Actions, utils, React) {
+  FauxtonAPI.router = new FauxtonAPI.Router([]);
+
+  var assert = utils.assert;
+  var TestUtils = React.addons.TestUtils;
+  var restore = utils.restore;
+  var maxSize = 15000;
+
+  describe('Data Importer -- Components', function () {
+var spy, start_container, preview_container, El, dataImportStore, 
importer, previewScreen;
+
+beforeEach(function () {
+  start_container = document.createElement('div');
+  preview_container = document.createElement('div');
--- End diff --

snake_case?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-couch-replicator pull request: Include originating databas...

2015-09-14 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/couchdb-couch-replicator/pull/16


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-couch-replicator pull request: Include originating databas...

2015-09-14 Thread kxepal
Github user kxepal commented on the pull request:


https://github.com/apache/couchdb-couch-replicator/pull/16#issuecomment-140052820
  
+1 Nice feature!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-fauxton pull request: Data importer

2015-09-14 Thread robertkowalski
Github user robertkowalski commented on a diff in the pull request:

https://github.com/apache/couchdb-fauxton/pull/495#discussion_r39382921
  
--- Diff: app/addons/dataimporter/components.react.jsx ---
@@ -0,0 +1,796 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may 
not
+// use this file except in compliance with the License. You may obtain a 
copy of
+// the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations 
under
+// the License.
+
+define([
+  'api',
+  'react',
+  'addons/dataimporter/stores',
+  'addons/dataimporter/actions',
+  'addons/components/react-components.react',
+  'helpers'
+], function (FauxtonAPI, React, Stores, Actions, Components, Helpers) {
+
+  var dataImporterStore = Stores.dataImporterStore;
+
+  var DataImporterController = React.createClass({
+getStoreState: function () {
+  return {
+isDataCurrentlyLoading: dataImporterStore.isDataCurrentlyLoading(),
+hasDataLoaded: dataImporterStore.hasDataLoaded(),
+isBigFile: dataImporterStore.isThisABigFile(),
+rowShown: dataImporterStore.getRowsShown(),
+rowsTotal: dataImporterStore.getTotalRows(),
+data: dataImporterStore.getTheData(),
+meta: dataImporterStore.getTheMetadata(),
+getPreviewView: dataImporterStore.getPreviewView(),
+getSmallPreviewOfData: dataImporterStore.getSmallPreviewOfData(),
+getHeaderConfig: dataImporterStore.getConfigSetting('header'),
+getDelimiterChosen: 
dataImporterStore.getConfigSetting('delimiter'),
+getAllDBs: dataImporterStore.getAllDBs(),
+getFileSize: dataImporterStore.getFileSize(),
+getTimeSinceLoad: dataImporterStore.getTimeSinceLoad,
+getMaxSize: dataImporterStore.getMaxSize(),
+showErrorScreen: dataImporterStore.showErrorScreen(),
+errorMsg: dataImporterStore.getErrorMsg(),
+isLoadingInDBInProgress: dataImporterStore.dbPopulationInProgress()
+  };
+},
+
+getInitialState: function () {
+  return this.getStoreState();
+},
+
+componentDidMount: function () {
+  dataImporterStore.on('change', this.onChange, this);
+},
+
+componentWillUnmount: function () {
+  dataImporterStore.off('change', this.onChange, this);
+},
+
+onChange: function () {
+  this.setState(this.getStoreState());
+},
+
+render: function () {
+  if (this.state.showErrorScreen) {
+return ;
+  }
+
+  if (this.state.hasDataLoaded) {
+return (
+  
+);
+  }
+
+  return (
+
+  );
+}
+  });
+
+  var DataImporterDropZone = React.createClass({
+getInitialState: function () {
+  return {
+draggingOver: false,
+loading: this.props.isLoading,
+showLimitInfo: false,
+fileSize: this.props.getFileSize,
+timeSinceLoad: this.props.getTimeSinceLoad,
+fileTooBig: false
+  };
+},
+
+dragOver: function (e) {
+  e.preventDefault();
+  this.setState({ draggingOver: true });
+},
+
+endDragOver: function (e) {
+  e.preventDefault();
+  e.stopPropagation();
+  this.setState({draggingOver: false});
+},
+
+drop: function (e) {
+  e.preventDefault();
+  var file = e.nativeEvent.dataTransfer.files[0];
+  this.checkSize(file);
+},
+
+filechosen: function (e) {
+  e.preventDefault();
+  var file = e.nativeEvent.target.files[0];
+  this.checkSize(file);
+},
+
+checkSize: function (file) {
+  if (file.size > this.props.maxSize) {
+this.setState({ 
+  fileTooBig: true,
+  fileSize: file.size, 
+  draggingOver: false 
+});
+  } else {
+Actions.loadFile(file);
+this.setState({ 
+  loading: true,
+  fileSize: file.size, 
+  draggingOver: false 
+});
+Actions.dataIsCurrentlyLoading();
+  }
+},
+
+uploadButton: function () {
+  return (
+
+  
+
+  
+  Choose File
+  

[GitHub] couchdb-fauxton pull request: Data importer

2015-09-14 Thread robertkowalski
Github user robertkowalski commented on the pull request:

https://github.com/apache/couchdb-fauxton/pull/495#issuecomment-140043355
  
can you format the code, especially for the components? the look quite 
different compared to the ones we have right now


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (COUCHDB-2812) Final Mock UIs

2015-09-14 Thread Nishani (JIRA)
Nishani  created COUCHDB-2812:
-

 Summary: Final Mock UIs
 Key: COUCHDB-2812
 URL: https://issues.apache.org/jira/browse/COUCHDB-2812
 Project: CouchDB
  Issue Type: Sub-task
  Security Level: public (Regular issues)
Reporter: Nishani 


The finalized Mockups of the Couchdb Dashboard



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (COUCHDB-2813) Implement the Dashboard Pages

2015-09-14 Thread Nishani (JIRA)
Nishani  created COUCHDB-2813:
-

 Summary: Implement the Dashboard Pages
 Key: COUCHDB-2813
 URL: https://issues.apache.org/jira/browse/COUCHDB-2813
 Project: CouchDB
  Issue Type: Sub-task
  Security Level: public (Regular issues)
Reporter: Nishani 


Updating the Fauxton UI as the Mockups.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] couchdb-fauxton pull request: Specifying correct params for before...

2015-09-14 Thread benkeen
GitHub user benkeen opened a pull request:

https://github.com/apache/couchdb-fauxton/pull/523

Specifying correct params for before/afterEach

The NW docs say the done() callback is the second param, not first.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/benkeen/couchdb-fauxton nightwatch-helper-fix

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/couchdb-fauxton/pull/523.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #523


commit c427db4d946867d46d4d9997e42e9eb4a1aa6f02
Author: Ben Keen 
Date:   2015-09-14T15:01:53Z

Specifying correct params for before/afterEach

The NW docs say the done() callback is the second param, not first.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-chttpd pull request: Implement /db/_bulk_get endpoint

2015-09-14 Thread willholley
Github user willholley commented on the pull request:

https://github.com/apache/couchdb-chttpd/pull/33#issuecomment-140141043
  
to elaborate, PouchDB is adding query parameters (revs=true, 
attachments=true) to the request body instead of the query string.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-chttpd pull request: Implement /db/_bulk_get endpoint

2015-09-14 Thread willholley
Github user willholley commented on the pull request:

https://github.com/apache/couchdb-chttpd/pull/33#issuecomment-140140779
  
ah - ignore the above. PouchDB is wrong here (if we're basing this on 
rcouch). The CouchDB implementation works as expected through the clustered 
interface.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-documentation pull request: Fix bashism in Makefile

2015-09-14 Thread kxepal
Github user kxepal commented on the pull request:


https://github.com/apache/couchdb-documentation/pull/30#issuecomment-140208285
  
@benkeen that's lack of python sphinx: you don't have it installed, so 
build fails on docs. However, they shouldn't and cannot block Fauxton as they 
builds the last and even broken docs are not a problem for Fauxton.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-documentation pull request: Fix bashism in Makefile

2015-09-14 Thread benkeen
Github user benkeen commented on the pull request:


https://github.com/apache/couchdb-documentation/pull/30#issuecomment-140207450
  
Could this be causing a couchdb installation failure? 

- Fresh clone of couchdb
- run `./configure`
- run `make`. Result:

```
*** Make sure that sphinx-build is installed and on your path
make[1]: *** [sphinx-build] Error 1
make: *** [src/docs/build] Error
```

Same error for the next `sudo make install` step. Running ./dev/run seems 
to work fine, but Fauxton won't load up at all - all requests to the server 
just timeout. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-fauxton pull request: Data importer

2015-09-14 Thread michellephung
Github user michellephung commented on a diff in the pull request:

https://github.com/apache/couchdb-fauxton/pull/495#discussion_r39450846
  
--- Diff: app/addons/dataimporter/components.react.jsx ---
@@ -0,0 +1,793 @@
+// Licensed under the Apache License, Version 2.0 (the "License"); you may 
not
+// use this file except in compliance with the License. You may obtain a 
copy of
+// the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT
+// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+// License for the specific language governing permissions and limitations 
under
+// the License.
+
+define([
+  'api',
+  'react',
+  'addons/dataimporter/stores',
+  'addons/dataimporter/actions',
+  'addons/components/react-components.react',
+  'helpers'
+], function (FauxtonAPI, React, Stores, Actions, Components, Helpers) {
+
+  var dataImporterStore = Stores.dataImporterStore;
+
+  var DataImporterController = React.createClass({
+getStoreState: function () {
+  return {
+isDataCurrentlyLoading: dataImporterStore.isDataCurrentlyLoading(),
+hasDataLoaded: dataImporterStore.hasDataLoaded(),
+isBigFile: dataImporterStore.isThisABigFile(),
+rowShown: dataImporterStore.getRowsShown(),
+rowsTotal: dataImporterStore.getTotalRows(),
+data: dataImporterStore.getTheData(),
+meta: dataImporterStore.getTheMetadata(),
+getPreviewView: dataImporterStore.getPreviewView(),
+getSmallPreviewOfData: dataImporterStore.getSmallPreviewOfData(),
+getHeaderConfig: dataImporterStore.getConfigSetting('header'),
+getDelimiterChosen: 
dataImporterStore.getConfigSetting('delimiter'),
+getAllDBs: dataImporterStore.getAllDBs(),
+getFileSize: dataImporterStore.getFileSize(),
+getTimeSinceLoad: dataImporterStore.getTimeSinceLoad,
+getMaxSize: dataImporterStore.getMaxSize(),
+showErrorScreen: dataImporterStore.showErrorScreen(),
+errorMsg: dataImporterStore.getErrorMsg(),
+isloadingInDBInProgress: 
dataImporterStore.getIsloadingInDBInProgress()
+  };
+},
+
+getInitialState: function () {
+  return this.getStoreState();
+},
+
+componentDidMount: function () {
+  dataImporterStore.on('change', this.onChange, this);
+},
+
+componentWillUnmount: function () {
+  dataImporterStore.off('change', this.onChange, this);
+},
+
+onChange: function () {
+  this.setState(this.getStoreState());
+},
+
+render: function () {
+  if (this.state.showErrorScreen) {
+return ;
+  }
+
+  if (this.state.hasDataLoaded) {
+return (
+  
+);
+  }
+
+  return (
+
+  );
+}
+  });
+
+  var DataImporterDropZone = React.createClass({
+getInitialState: function () {
+  return {
+draggingOver: false,
+loading: this.props.isLoading,
+showLimitInfo: false,
+fileSize: this.props.getFileSize,
+timeSinceLoad: this.props.getTimeSinceLoad,
+fileTooBig: false
+  };
+},
+
+dragOver: function (e) {
+  e.preventDefault();
+  this.setState({ draggingOver: true });
+},
+
+endDragover: function (e) {
+  e.preventDefault();
+  e.stopPropagation();
+  this.setState({draggingOver: false});
+},
+
+drop: function (e) {
+  e.preventDefault();
+  var file = e.nativeEvent.dataTransfer.files[0];
+  this.checkSize(file);
+},
+
+filechosen: function (e) {
+  e.preventDefault();
+  var file = e.nativeEvent.target.files[0];
+  this.checkSize(file);
+},
+
+checkSize: function (file) {
+  this.setState({ fileSize: file.size });
+  this.setState({ draggingOver: false });
+
+  if (file.size > this.props.maxSize) {
+this.setState({ fileTooBig: true });
+  } else {
+Actions.loadFile(file);
+this.setState({ loading: true });
+Actions.dataIsCurrentlyLoading();
+  }
+},
+
+uploadButton: function () {
+  return (
+
+  
+
+  
+  Choose File
+  
+
+  
+
+  );
+},
+
+

[GitHub] couchdb-documentation pull request: Fix bashism in Makefile

2015-09-14 Thread kxepal
Github user kxepal commented on the pull request:


https://github.com/apache/couchdb-documentation/pull/30#issuecomment-140207796
  
@micah ping


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] couchdb-documentation pull request: Fix bashism in Makefile

2015-09-14 Thread benkeen
Github user benkeen commented on the pull request:


https://github.com/apache/couchdb-documentation/pull/30#issuecomment-140209475
  
I see, thanks @kxepal.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (COUCHDB-2806) Cannot search for correctly for numbers when using text

2015-09-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14744607#comment-14744607
 ] 

ASF subversion and git services commented on COUCHDB-2806:
--

Commit f92403294b30cf54fbf9577e26cf243c5634cb73 in couchdb-mango's branch 
refs/heads/2806-numeric-string-field from [~tonysun83]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=f924032 ]

Also append quotes for specific numeric string field

We appended quotes for numeric_strings for $text. However, we did not
do this for specific fields. Note that we don't escape the field value
when it's a numeric string because that provides an incorrect string
value for clouseau.

COUCHDB-2806


> Cannot search for correctly for numbers when using text
> ---
>
> Key: COUCHDB-2806
> URL: https://issues.apache.org/jira/browse/COUCHDB-2806
> Project: CouchDB
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: Mango
>Reporter: Tony Sun
>Assignee: Tony Sun
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (COUCHDB-2806) Cannot search for correctly for numbers when using text

2015-09-14 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/COUCHDB-2806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14744609#comment-14744609
 ] 

ASF subversion and git services commented on COUCHDB-2806:
--

Commit f92403294b30cf54fbf9577e26cf243c5634cb73 in couchdb-mango's branch 
refs/heads/master from [~tonysun83]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-mango.git;h=f924032 ]

Also append quotes for specific numeric string field

We appended quotes for numeric_strings for $text. However, we did not
do this for specific fields. Note that we don't escape the field value
when it's a numeric string because that provides an incorrect string
value for clouseau.

COUCHDB-2806


> Cannot search for correctly for numbers when using text
> ---
>
> Key: COUCHDB-2806
> URL: https://issues.apache.org/jira/browse/COUCHDB-2806
> Project: CouchDB
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: Mango
>Reporter: Tony Sun
>Assignee: Tony Sun
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] couchdb-chttpd pull request: Implement /db/_bulk_get endpoint

2015-09-14 Thread kxepal
Github user kxepal commented on the pull request:

https://github.com/apache/couchdb-chttpd/pull/33#issuecomment-140161373
  
@willholley Actually, we all here should use 
http://developer.couchbase.com/mobile/develop/references/sync-gateway/rest-api/database/post-bulk-get/index.html
 as the base to maintain compatibility - that's the whole point of /_bulk_get 
for now. The only exception is JSON response which not covered by Couchbase 
spec where we can act more or less freely.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (COUCHDB-2814) Atomically Create and Assign Permissions to a Database

2015-09-14 Thread Jordan Counts (JIRA)
Jordan Counts created COUCHDB-2814:
--

 Summary: Atomically Create and Assign Permissions to a Database
 Key: COUCHDB-2814
 URL: https://issues.apache.org/jira/browse/COUCHDB-2814
 Project: CouchDB
  Issue Type: Improvement
  Security Level: public (Regular issues)
  Components: HTTP Interface
Reporter: Jordan Counts


It would be nice to be able to create a database with permissions rather than 
having to first create and then update the security document.

Presumably this could be done with a PUT to /db that includes a 'security' item 
in the request body.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] couchdb-chttpd pull request: Implement /db/_bulk_get endpoint

2015-09-14 Thread willholley
Github user willholley commented on the pull request:

https://github.com/apache/couchdb-chttpd/pull/33#issuecomment-140180282
  
I have a PouchDB PR with all tests now passing against this implementation. 
I imagine there are some optimisations that could be done in terms of 
minimising individual requests to cluster nodes but as a first cut this looks 
good.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---