[jira] [Commented] (COUCHDB-431) Support cross domain XMLHttpRequest (XHR) calls by implementing Access Control spec

2011-08-26 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091659#comment-13091659 ] Benoit Chesneau commented on COUCHDB-431: - Thanks for the review. Answers follow

Re: git commit: davisp - GIT OK

2011-08-26 Thread Dustin Sallings
On Aug 25, 2011, at 1:55 PM, Paul Davis wrote: Oh right. Not entirely certain how fixable that's going to be. On Thu, Aug 25, 2011 at 3:49 PM, Jan Lehnardt j...@apache.org wrote: On Aug 24, 2011, at 06:04 , Paul Davis wrote: What commit-hash thing? Where the commit hashes in current

Re: git commit: davisp - GIT OK

2011-08-26 Thread Paul Davis
On Fri, Aug 26, 2011 at 3:13 AM, Dustin Sallings dus...@spy.net wrote: On Aug 25, 2011, at 1:55 PM, Paul Davis wrote: Oh right. Not entirely certain how fixable that's going to be. On Thu, Aug 25, 2011 at 3:49 PM, Jan Lehnardt j...@apache.org wrote: On Aug 24, 2011, at 06:04 , Paul Davis

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Prudhvi (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091701#comment-13091701 ] Prudhvi commented on COUCHDB-834: - Hi Mathias Meyer, As you said, However, it does

[jira] [Updated] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread JIRA
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Kögl updated COUCHDB-994: Attachment: 2011-08-26-couchdb.log I again has a compaction crash, this time with a current 1.1.x

[jira] [Commented] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread Alex Markham (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091780#comment-13091780 ] Alex Markham commented on COUCHDB-994: -- I am currently out of the office and will be

[jira] [Updated] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson updated COUCHDB-994: -- Comment: was deleted (was: I am currently out of the office and will be back on Friday 2nd

[jira] [Updated] (COUCHDB-431) Support cross domain XMLHttpRequest (XHR) calls by implementing Access Control spec

2011-08-26 Thread Benoit Chesneau (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benoit Chesneau updated COUCHDB-431: Attachment: 0001-cors-support.-should-fix-COUCHDB-431.patch improved patch wich take in

[jira] [Created] (COUCHDB-1261) Add KML and KMZ as default mime types

2011-08-26 Thread Aaron Reichman (JIRA)
Add KML and KMZ as default mime types - Key: COUCHDB-1261 URL: https://issues.apache.org/jira/browse/COUCHDB-1261 Project: CouchDB Issue Type: Improvement Reporter: Aaron Reichman

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091890#comment-13091890 ] Paul Joseph Davis commented on COUCHDB-834: --- startkey_docid and endkey_docid

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Prudhvi (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091981#comment-13091981 ] Prudhvi commented on COUCHDB-834: - Hi Paul, Is this a valid bug or we are using the

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Randall Leeds (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091986#comment-13091986 ] Randall Leeds commented on COUCHDB-834: --- It sounds like the real ticket issue is

[jira] [Commented] (COUCHDB-431) Support cross domain XMLHttpRequest (XHR) calls by implementing Access Control spec

2011-08-26 Thread Randall Leeds (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13091990#comment-13091990 ] Randall Leeds commented on COUCHDB-431: --- I haven't checked the test suite but the

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092003#comment-13092003 ] Paul Joseph Davis commented on COUCHDB-834: --- @Prudhvi No its not a bug. You

[jira] [Resolved] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Joseph Davis resolved COUCHDB-834. --- Resolution: Not A Problem startkey_docid/endkey_docid don't work without an exact

[jira] [Updated] (COUCHDB-911) Repeating a doc._id in a _bulk_docs request results in erroneous Document conflict error

2011-08-26 Thread Bob Dionne (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Dionne updated COUCHDB-911: --- Attachment: (was: jira-911-patch.diff) Repeating a doc._id in a _bulk_docs request results in

[jira] [Updated] (COUCHDB-911) Repeating a doc._id in a _bulk_docs request results in erroneous Document conflict error

2011-08-26 Thread Bob Dionne (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Dionne updated COUCHDB-911: --- Attachment: jira-911-patch2.diff Here's a somewhat cleaner version Repeating a doc._id in a

[jira] [Commented] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread Robert Newson (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092053#comment-13092053 ] Robert Newson commented on COUCHDB-994: --- +1 to Adam's patch, lgtm. Crash after

[jira] [Commented] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092056#comment-13092056 ] Paul Joseph Davis commented on COUCHDB-994: --- Did you consider adding an fsync

[jira] [Commented] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread Adam Kocoloski (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092058#comment-13092058 ] Adam Kocoloski commented on COUCHDB-994: @davisp Probably not a bad idea, though

[jira] [Commented] (COUCHDB-994) Crash after compacting large views

2011-08-26 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092061#comment-13092061 ] Paul Joseph Davis commented on COUCHDB-994: --- @Adam Fair point. I'll open one

[jira] [Created] (COUCHDB-1262) View files are never fsynced

2011-08-26 Thread Paul Joseph Davis (JIRA)
View files are never fsynced Key: COUCHDB-1262 URL: https://issues.apache.org/jira/browse/COUCHDB-1262 Project: CouchDB Issue Type: Bug Components: JavaScript View Server Reporter: Paul

[jira] [Commented] (COUCHDB-1262) View files are never fsynced

2011-08-26 Thread Adam Kocoloski (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092065#comment-13092065 ] Adam Kocoloski commented on COUCHDB-1262: - +1000 (order-of-magnitude number of

[jira] [Commented] (COUCHDB-1262) View files are never fsynced

2011-08-26 Thread Adam Kocoloski (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092068#comment-13092068 ] Adam Kocoloski commented on COUCHDB-1262: - Seriously, though, I'd probably omit

Re: The _security object should be versioned

2011-08-26 Thread Chris Anderson
On Thu, Aug 25, 2011 at 8:55 PM, Jason Smith j...@iriscouch.com wrote: On Fri, Aug 26, 2011 at 8:59 AM, Paul Davis paul.joseph.da...@gmail.com wrote: I wouldn't focus on the _local docs suggestion too much. I proposed a _local doc to keep couch simple and self-similar; and at the time I

Re: The _security object should be versioned

2011-08-26 Thread Randall Leeds
On Aug 26, 2011 2:56 PM, Chris Anderson jch...@apache.org wrote: On Thu, Aug 25, 2011 at 8:55 PM, Jason Smith j...@iriscouch.com wrote: On Fri, Aug 26, 2011 at 8:59 AM, Paul Davis paul.joseph.da...@gmail.com wrote: I wouldn't focus on the _local docs suggestion too much. I proposed a

Re: The _security object should be versioned

2011-08-26 Thread Paul Davis
On Fri, Aug 26, 2011 at 5:58 PM, Randall Leeds randall.le...@gmail.com wrote: On Aug 26, 2011 2:56 PM, Chris Anderson jch...@apache.org wrote: On Thu, Aug 25, 2011 at 8:55 PM, Jason Smith j...@iriscouch.com wrote: On Fri, Aug 26, 2011 at 8:59 AM, Paul Davis paul.joseph.da...@gmail.com wrote:

Re: git commit: davisp - GIT OK

2011-08-26 Thread Dustin Sallings
On Aug 26, 2011, at 1:32 AM, Paul Davis wrote: Basic story is that I translated the git.apache.org mirror script to Python and made some tweaks (that shouldn't affect hashes) but the hashes are apparently different. Original mirroring script is at [1] and my Python version is at [2]. Feel

Re: git commit: davisp - GIT OK

2011-08-26 Thread Paul Davis
The mirror: http://git.apache.org/couchdb.git The writable repo: http://git-wip-us.apache.org/repos/asf/couchdb.git I haven't looked into this at all yet myself. I'll be working on this tomorrow and Sunday though so if you have questions I'll be around. Thanks, Paul On Fri, Aug 26,

Re: The _security object should be versioned

2011-08-26 Thread Randall Leeds
On Aug 26, 2011 4:31 PM, Paul Davis paul.joseph.da...@gmail.com wrote: On Fri, Aug 26, 2011 at 5:58 PM, Randall Leeds randall.le...@gmail.com wrote: On Aug 26, 2011 2:56 PM, Chris Anderson jch...@apache.org wrote: On Thu, Aug 25, 2011 at 8:55 PM, Jason Smith j...@iriscouch.com wrote: On

Re: The _security object should be versioned

2011-08-26 Thread Paul Davis
On Fri, Aug 26, 2011 at 9:09 PM, Randall Leeds randall.le...@gmail.com wrote: On Aug 26, 2011 4:31 PM, Paul Davis paul.joseph.da...@gmail.com wrote: On Fri, Aug 26, 2011 at 5:58 PM, Randall Leeds randall.le...@gmail.com wrote: On Aug 26, 2011 2:56 PM, Chris Anderson jch...@apache.org wrote:

Re: The _security object should be versioned

2011-08-26 Thread Jason Smith
On Sat, Aug 27, 2011 at 9:09 AM, Randall Leeds randall.le...@gmail.com wrote: The issue here is that adding a revision tree most likely means a requirement that the HTTP API changes to use MVCC tokens. _local docs already do. They just don't support ?new_edits, or

Re: The _security object should be versioned

2011-08-26 Thread Filipe David Manana
On Fri, Aug 26, 2011 at 8:01 PM, Jason Smith j...@iriscouch.com wrote: 1. Does this require updating the replicator to update _local docs correctly? Yes 2. Only admins can change _security. But anybody with read access can change _local/*. Does couch special-case _local/security? My

Re: The _security object should be versioned

2011-08-26 Thread Jason Smith
On Sat, Aug 27, 2011 at 10:17 AM, Filipe David Manana fdman...@apache.org wrote: On Fri, Aug 26, 2011 at 8:01 PM, Jason Smith j...@iriscouch.com wrote: 1. Does this require updating the replicator to update _local docs correctly? Yes 2. Only admins can change _security. But anybody with read

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Prudhvi (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092196#comment-13092196 ] Prudhvi commented on COUCHDB-834: - @paul thank you for the explanation, my view emits [

Re: The _security object should be versioned

2011-08-26 Thread Paul Davis
On Fri, Aug 26, 2011 at 10:01 PM, Jason Smith j...@iriscouch.com wrote: On Sat, Aug 27, 2011 at 9:09 AM, Randall Leeds randall.le...@gmail.com wrote: The issue here is that adding a revision tree most likely means a requirement that the HTTP API changes to use MVCC tokens. _local docs

Re: The _security object should be versioned

2011-08-26 Thread Paul Davis
On Fri, Aug 26, 2011 at 10:17 PM, Filipe David Manana fdman...@apache.org wrote: On Fri, Aug 26, 2011 at 8:01 PM, Jason Smith j...@iriscouch.com wrote: 1. Does this require updating the replicator to update _local docs correctly? Yes 2. Only admins can change _security. But anybody with read

Re: The _security object should be versioned

2011-08-26 Thread Paul Davis
On Fri, Aug 26, 2011 at 10:46 PM, Jason Smith j...@iriscouch.com wrote: On Sat, Aug 27, 2011 at 10:17 AM, Filipe David Manana fdman...@apache.org wrote: On Fri, Aug 26, 2011 at 8:01 PM, Jason Smith j...@iriscouch.com wrote: 1. Does this require updating the replicator to update _local docs

Re: The _security object should be versioned

2011-08-26 Thread Filipe David Manana
On Fri, Aug 26, 2011 at 8:46 PM, Jason Smith j...@iriscouch.com wrote: Does it sound simple and satisfies people's needs? AFAIK, nobody wants security to ever replicate. Some people want to manually sync them as an application feature. Ok, catching this thread late, my understanding was that

[jira] [Commented] (COUCHDB-834) startkey_docid/endkey_docid don't work without an exact startkey/endkey match

2011-08-26 Thread Paul Joseph Davis (JIRA)
[ https://issues.apache.org/jira/browse/COUCHDB-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13092203#comment-13092203 ] Paul Joseph Davis commented on COUCHDB-834: --- @Prudhvi First, stop thinking

Re: The _security object should be versioned

2011-08-26 Thread Filipe David Manana
On Fri, Aug 26, 2011 at 10:36 PM, Paul Davis paul.joseph.da...@gmail.com wrote: Imagine you have a phone with a CouchDB. And your friend says, Just replicate this photo album. But he's inserted a _security doc that gives him permission to touch your private data. If someone said the obvious