SSL on Windows

2014-12-04 Thread max
enSSL on an Ubuntu VM, online self signed certificate generator, cygwin for Windows but I am always facing the same error. Any hit would welcome, thanks in advance ! Max

Re: SSL on Windows

2014-12-04 Thread max
certificate when I create it from IIS, does anyone know how to do that ? Thank you again ! 2014-12-04 18:02 GMT+01:00 Paul Okstad : > Max, I brought up this same issue in this email list a few weeks back (I > will forward you the thread). What I found was that the SSL package used by > CouchDB

Re: SSL on Windows

2014-12-05 Thread max
d/archive/2010/04/16/setting-up-ssl-made-easy.aspx > >. > Disclaimer: I haven't tried this myself, but it should work fine. > > Nick > > On 4 December 2014 at 17:19, max wrote: > > > Thank you for your quick response. > > It seems my questions was not real

Re: Replication not reaching 100% and consuming lots of CPU on destination node

2015-02-25 Thread max
Hi, have you tried to turn off all your validate_doc_update ? I faced the same probleme than you and it was just the validation function preventing replicated documents to be written. Le 25 févr. 2015 10:01, "Roger Sindreu" a écrit : > Hi Riyad, all > > Thanks for the response. I am still having

missinh_stub prevent Bulk update to finish

2015-04-20 Thread max
ge missing_stub in this same way(HttpStatus preconditionfailed and bulk process stopped)? Thanks in advance for any answers. Max.

Basic user cannot acces _users view

2015-07-27 Thread max
Hello, As written in the documentation when a user without "Roles" tries to access a view from a design document in _users db he gets: "only admin Only admins can access design document actions for system databases" I need every users to acces others user objects but without credentials part. To

Re: Basic user cannot acces _users view

2015-07-28 Thread max
User’s Public Information might be helpful for you: > > > http://docs.couchdb.org/en/latest/intro/security.html#users-public-information > > -- > Paul Okstad > http://pokstad.com <http://pokstad.com/> > > > > > On Jul 27, 2015, at 5:49 AM, max wrote: > &

Fetch data in HTML after Authentication _session

2015-10-01 Thread max
hen I enter my login/password after tried to fetch image it's working. Maybe it is not a couchDB issue, maybe in CORS cookie is just not sent in the GET request resulted from I'm using CouchDB 1.4. Thanks for any answers. Max

Re: CouchDB + HTTPS + CORS

2015-10-01 Thread max
nfig.html#remove> *methods*GET, POST, PUT, DELETE x <http://cloudbatiscript.scriptandgo.com/_utils/config.html#remove> *origins** Hop it'll help you. Max. 2015-09-16 12:22 GMT+02:00 Conor Mac Aoidh : > Hi Foucauld, > > Thanks for the useful link. > > However, I&#

Good way to fetch multiple documents

2016-09-09 Thread max
Hi, I'm looking for the best or at least a good way to fetch multiple documents because my databases are getting larger and larger. Thus, I'm trying to limit user waiting time, but in a multiple user environment. Each document got an "ancestorId" property to group it by type. When a user fetchs d

Re: Good way to fetch multiple documents

2016-09-15 Thread max
No one ? 2016-09-09 17:48 GMT+02:00 max : > Hi, > > I'm looking for the best or at least a good way to fetch multiple > documents because my databases are getting larger and larger. Thus, I'm > trying to limit user waiting time, but in a multiple user environment.

Re: Good way to fetch multiple documents

2016-09-15 Thread max
t; the time you're saving the document, save it as a field of the document, > then emit it in the view: [type0, seq] > On 15 Sep 2016 6:58 am, "max" wrote: > > > No one ? > > > > > > > > 2016-09-09 17:48 GMT+02:00 max : > > > > >

2.0 _users Views

2016-10-05 Thread max
en I try to get this view with auth, couchdb answer is "only admin are..." but couchdb should ask me for credential since "require_valide_user" is true. Is this normal ? Thanks for couchdb 2.0 it's awesome. Max. PS: let me know if there is a way to use view with the publi

Re: 2.0 _users Views

2016-10-05 Thread max
Correction: I have also noticed that when I try to get this view **without** auth, couchdb answer is "only admin are..." but couchdb should ask me for credentials since "require_valid_user" is true. Is this normal ? 2016-10-05 10:00 GMT+02:00 max : > Hi, > > I'

Re: 2.0 _users Views

2016-10-05 Thread max
Once I started to put public fields in configuration file, "doc" field was not null anymore. 2016-10-05 10:44 GMT+02:00 max : > Correction: > > I have also noticed that when I try to get this view **without** auth, > couchdb answer is "only admin are...&quo

Re: 2.0 _users Views

2016-10-05 Thread max
quot;default_handler":"{couch_httpd_db, handle_request}", "enable_cors":"true", "port":"5986", "secure_rewrites":"true", "socket_options":"[{recbuf, 262144}, {sndbuf, 262144}]",

_users upload attachment

2016-10-05 Thread max
I cannot add attachment to a document inside _users database. Here is the answer I got: {"error":"unknown_error","reason":"function_clause","ref":1841055428} I've tried in fauxton and from a REST client. Using CouchDB 2.0 Windows version. Thanks. Max.

Re: _users upload attachment

2016-10-06 Thread max
ttps://issues.apache.org/ > jira/browse/COUCHDB please? > > > > I have already found and solved the bug. > > > > B. > > > >> On 5 Oct 2016, at 17:42, max wrote: > >> > >> I cannot add attachment to a document inside _users database. > &g

Re: CouchDB: 2.0 & 1.6.1 database compatibility

2016-10-07 Thread max
Hi, Install 2.0 version on another server or just make it listen on different port than 1.6 then replicate your data ;) 2016-10-07 9:49 GMT+02:00 Bogdan Andu : > Hello, > > I configured a single-node CouchDB 2.0 instance and > I copied in data directory 1.6.1 couch databases. > > But the databas

Re: 2.0 _users Views

2016-10-07 Thread max
Hi, The require_valid_user bug seems related to https://issues.apache.org/ jira/browse/COUCHDB-3100 But I'd like to know if the answer I get from the view of _users is normal (with and without public fields) ? Thanks. 2016-10-05 16:12 GMT+02:00 max : > Sorry for double post but now

Re: CouchDB: 2.0 & 1.6.1 database compatibility

2016-10-07 Thread max
I cannot answer all your question but I know that the size of a database after a replication is always smaller. This is due to previous documents revisions remaining in source db but not send to target during replication. Max 2016-10-07 11:29 GMT+02:00 Bogdan Andu : > I see the data managem

Re: 2.0 _users Views

2016-10-18 Thread max
6. Thanks. Max. 2016-10-07 11:23 GMT+02:00 max : > Hi, > > The require_valid_user bug seems related to https://issues.apache.org/j > ira/browse/COUCHDB-3100 > But I'd like to know if the answer I get from the view of _users is normal > (with and without public fields) ? > &

Re: 2.0 _users Views

2016-10-18 Thread max
set require_valid_user=true under the [chttpd] > section first. To be clear, you want this; > > [chttpd] > require_valid_user=true > > [couch_httpd_user] > require_valid_user=true > > This covers port 5984 and 5986 respectively. > > B. > > > On 18 Oct 2016, at 08

httpd reverse-proxy reply 502 bad gateway

2016-12-12 Thread max
SSLv2 SSLCertificateFile /etc/httpd/certs/servtest.crt SSLCertificateKeyFile /etc/httpd/certs/servtest.key SSLCertificateChainFile /etc/httpd/certs/DigiCertCA.crt Max

Re: httpd reverse-proxy reply 502 bad gateway

2016-12-12 Thread max
() x.x.x.x being my public IP. 2016-12-12 14:16 GMT+01:00 max : > Hi, > > I'm facing a 502 bad gateway error from my httpd proxy. > My use case is pretty simple, just PUT an image as attachment twice. Then > the second request is facing a revision conflict but I get the 502 error >

Re: httpd reverse-proxy reply 502 bad gateway

2016-12-12 Thread max
ed this > works with CouchDB. > > -Joan > > - Original Message - > > From: "max" > > To: user@couchdb.apache.org > > Sent: Monday, December 12, 2016 8:33:53 AM > > Subject: Re: httpd reverse-proxy reply 502 bad gateway > > > > Sorry f

_users overwritte _design/_auth

2017-01-13 Thread max
is _design/_auth document. I've read in doc this design doc cannot be modified but I couldn't find another way to achieve this. Is there a way to prevent CouchDB to do that ? Or another way to do what I'm trying to do ? I'm using CouchDB 1.4. Thanks. Max.

Re: _users overwritte _design/_auth

2017-01-13 Thread max
Hi, Thank you for your answer ! I'll give it a try but I was expecting a native issue. Let's see if someone else have already faced this problem. I'd be suprised if it was not supported. Max. Le 13 janv. 2017 5:51 PM, "Martin Broerse" a écrit : > Hi Max, &

Re: _users upload attachment

2017-01-17 Thread max
Hi, I'd like to know if there is a way to fix this issue in CouchDB 2.0 ? I'd like to upgrade but I need this issue to be fixed since my users got some attachments... Thanks, Max 2016-10-06 9:26 GMT+02:00 max : > https://issues.apache.org/jira/browse/COUCHDB-3182 > > 2016

Re: _users upload attachment

2017-01-26 Thread max
Hi, Sorry for double mail but I've notre got any answer. Any hints ? Thanks :) Le 17 janv. 2017 6:30 PM, "max" a écrit : > Hi, > > I'd like to know if there is a way to fix this issue in CouchDB 2.0 ? I'd > like to upgrade but I need this issue to be fixed

Re: _users upload attachment

2017-01-30 Thread max
an overwrite from the tar.gz release or will I have to pull it from git again ? Last question, do you have an idea of the next official patch date ? Some months ? Weeks ? Best, Max 2017-01-27 4:54 GMT+01:00 Joan Touzet : > Hi Max, > > As you can see, the linked issue > > https://is

Ubuntu 16.04 Couchdb 1.6.1 fresj install

2017-02-13 Thread max
ot;. The service "sudo systemctl restart couchdb" is not able to start couchdb and when I try it the couch.uri is deleted and so one... How to fix this properly ? I know I could rewrite port 80 to 5984 using apache2 or nginx but I want to figure out what is going on and I'd like to make it work. Thanks for any hints. Max.

Re: Ubuntu 16.04 Couchdb 1.6.1 fresj install

2017-02-15 Thread max
Ballance > wrote: > > > Not sure if this will answer your specific question, but I found this > gist > > very useful for setting up my Ubuntu 16.04 CouchDB server: > > > > https://gist.github.com/SinanGabel/eac83a2f9d0ac64e2c9d4bd936be9313 > > > > On Mon,

Re: Get a deleted doc back: v 2.0.0

2017-02-21 Thread max
;_revisions" property and you should be able to get any available revision. Regards, Max. 2017-02-20 12:18 GMT+01:00 John Le Brasseur : > Hi. > Just to be absolutely sure. > I added "_deleted:true" into a document in fauxton. > Fine. > Using the command line I used

CouchDB 1.6.1 SSL on Windows server 2012

2017-03-15 Thread max
for Windows which would allow me to configure SSL quickly please let me know. Thanks for any hints. Max.

Re: CouchDB 1.6.1 SSL on Windows server 2012

2017-03-20 Thread max
Hi, Thank you for your answer. I finally used Nginx for Windows. I'll have to do it again in fews days so I'll post any debug information I'll find with your steps. Thanks, Max. 2017-03-18 12:12 GMT+01:00 Dave Cottlehuber : > On Wed, 15 Mar 2017, at 16:30, max wrote: > >

Re: Document conflict : Nginx anwsering empty html with 409 status

2017-03-29 Thread max
Hi, I could not fix this issue. Am I the only one facing it ? Thanks. Max. 2017-03-21 14:33 GMT+01:00 max : > Hi, > > I'm using nginx as reverse proxy as documented in documentation. When a > conflict happens during document update I do get this json : > > {&qu

Re: CouchDB 2.0 package for ubuntu

2017-04-21 Thread max
Hi, Will this package include patchs ? Maybe a 2.0.1 package ? Best, Max 2017-04-21 14:47 GMT+02:00 Jan Lehnardt : > > > On 21 Apr 2017, at 14:36, Stefan du Fresne > wrote: > > > > On that note, is the brew package for MacOS being currently worked on? > > Not t

User with _users admin Permissions cannot delete document

2017-09-22 Thread max
e other users, to do that user have to be a super CouchDB Admin. Is this the expected behavior? I got "Only admins may delete other user docs" whereas he is admin. This is my _users database permissions: {"error":"unauthorized","reason":"Authentication required.","admins":{"names":["user1"],"roles":["manager"]}} Regards, Max.

Re: User with _users admin Permissions cannot delete document

2017-09-23 Thread max
ignore the permissions matrix in the _users database and instead wrap > CouchDB in your own permissions management. > > Stefan > > On 22 Sep 2017, at 17:36, max wrote: > > > > Hi, > > > > I'm trying CouchDB 2.1 and facing an (strange?) issue. I have give

Re: User with _users admin Permissions cannot delete document

2017-09-23 Thread max
; Really the only thing you can do is write a security layer yourself, > either by wrapping CouchDB and converting those calls (after checking your > own security) to be done by an admin user, or provide a separate API etc. > > Stefan > > On 23 Sep 2017, at 13:40, max wrote

Re: User with _users admin Permissions cannot delete document

2017-09-25 Thread max
ouchDB admin user do the _users edits. > > Of course you can build your own system on top, but I wouldn’t recommend > that. > > Best > Jan > -- > > > On 23. Sep 2017, at 15:17, max wrote: > > > > Thank you for your answers I'll try with simple web servi

Re: User with _users admin Permissions cannot delete document

2017-09-29 Thread max
DB user system. All > you need to > >> do is have a CouchDB admin user do the _users edits. > >> > >> Of course you can build your own system on top, but I wouldn’t > recommend that. > >> > >> Best > >> Jan > >> -- >

CouchDB 2.1 backup and restore

2017-10-23 Thread max
load-balancing does it? What is the purpose to split a single database into 3 servers whereas the client part will only speak with one server through 1 IP? Maybe CPU saving and scalability? Thanks for any hints :) Max

Re: CouchDB 2.1 backup and restore

2017-11-02 Thread max
Hi, Little up for my backup&restore question "how to backup a specific database at T time to be able to rollback ONLY this database at T + N (without modifying others databases)?" Thanks :) 2017-10-23 21:55 GMT+02:00 max : > Hi, > > I'm upgrading from CouchDB 1.6 an

Re: CouchDB 2.1 backup and restore

2017-11-03 Thread max
About backup & restore do you know where I can find documentation? Last question, what are the 2 releases you're talking about? :D Your explanation was really clear, thank you ! Max. Le 3 nov. 2017 6:49 PM, "Joan Touzet" a écrit : Hi Max, With 2 releases being worked right no

Reverse proxy for a sub directory

2018-03-12 Thread max
ror (zero length URI). Do you know a better Nginx configuration? Thanks, Max

Re: Reverse proxy for a sub directory

2018-03-12 Thread max
is was exactly my configuration when I did not need sub directories but now I do. 2018-03-12 11:34 GMT+01:00 Sinan Gabel : > Hi Max, > > Sorry for not being able to answer your actual question, I still want to > draw your attention to the need for further nginx location needs (i.e. >

Re: Reverse proxy for a sub directory

2018-03-12 Thread max
ess which one clients will use (browser, Android, iOS, .NET etc). As long as CouchDB can have ' + ' in attachment name I have to correctly configure my reverse proxy to allow it... Max 2018-03-12 13:22 GMT+01:00 Renato : > Hi Max, > > I use couch (2.1) in a sub dir via nginx as a

Which filesystem are you using?

2018-05-24 Thread max
), I know CouchDB is tail-append but some of .couch database are close 100 GB and then was wondering about my next filesystem to store those .couch files. Which one is better faster stronger? Which one cannot (should not) be used? I was thinking about zfs, xfs, btrfs... Any advice? Thanks. Max.

Re: Which filesystem are you using?

2018-05-24 Thread max
mend against btrfs due to certain data loss scenarios > in RAID 5 setups, which is a common approach for database servers. > > - Original Message - > From: "max" > To: user@couchdb.apache.org > Sent: Thursday, May 24, 2018 12:07:09 PM > Subject: Which filesystem a

Re: Which filesystem are you using?

2018-05-24 Thread max
rgument that ZFS on Linux > doesn't > > taint the kernel. But that's a discussion for a different forum... :) > > > > > > -Joan > > > > - Original Message - > > > > From: "max" > > To: user@couchdb.apache.org, "Joan Touze

Nginx as reverse proxy (111: Connection refused)

2018-10-29 Thread max
tp://[::1]:5984/database1/Object_VKGSJ-kxWEakirO1VDlA9w";, host: "127.0.0.1:80" I'm using nginx as reverse-proxy with this simple configuration (documented at https://cwiki.apache.org/confluence/display/COUCHDB/Nginx+as+a+proxy): #max body size (attachment upload) : disable ch

Re: Nginx as reverse proxy (111: Connection refused)

2018-10-29 Thread max
nginx.conf > > , it has http {...} and more parameters set: > > In that file ensure that the user set, also has access to the file with the > couchdb location parameters. > > > > On Mon, 29 Oct 2018 at 11:44, max wrote: > > > Hi, > > > > I noticed stran

Re: json date representations

2011-07-05 Thread Max Ogden
ISO8601 is the preferred format because it sorts lexicographically, which makes it super easy to sort views by date. The JSON.stringify method in json2.js automatically converts javascript date objects to ISO8601 and Ecmascript > 1.4 (iirc) natively supports parsing ISO8601 tl;dr always use ISO860

Re: few doubts

2011-07-05 Thread Max Ogden
Jason Smith (github/iriscouch) wrote a utility called the CouchDB Heater cause it keeps your views warm. If you ask nicely he will probably put the source code on the internets On Tue, Jul 5, 2011 at 9:04 PM, Patrick Barnes wrote: > Why not create and publish an equivalent javascript version the

Re: Bug with Date.parse

2011-07-06 Thread Max Ogden
I would recommend using ISO8601/RFC3339 if you want to play nice with javascript... back in the jchris days couchrest used to use it by default. require 'time' Time.now.iso8601 On Wed, Jul 6, 2011 at 2:24 PM, kowsik wrote: > Tracking down an issue with our production couch's and wanted to run >

Re: Iterating all documents

2011-07-06 Thread Max Ogden
Also for bulk editing docs check out (doesn't do them in batch though) http://github.com/maxogden/removalist On Wed, Jul 6, 2011 at 4:45 PM, Randall Leeds wrote: > On Wed, Jul 6, 2011 at 16:41, Matthias Eck > wrote: > > Hello, > > > > I need to add a new field to all documents in my database. >

Re: Bug with Date.parse

2011-07-07 Thread Max Ogden
Dirkjan, meet Jason Smith Jason, I am going to go ahead and interpret that as a compliment On Wed, Jul 6, 2011 at 11:17 PM, Dirkjan Ochtman wrote: > On Thu, Jul 7, 2011 at 02:06, Jason Smith wrote: > > Hosea 4:6-9 > > > > 6. My people are destroyed for lack of knowledge: because thou hast > >

Re: Iterating all documents

2011-07-07 Thread Max Ogden
you should reconsider the haircut On Thu, Jul 7, 2011 at 12:25 AM, Dan Sheedy wrote: > im heading off. might be late dinner. I'm getting my haircut. should be > home > 8ish. > > On Thu, Jul 7, 2011 at 10:53 AM, Patrick Barnes wrote: > > > Alternatively, how about you page through _all_docs? > >

Re: Bug with Date.parse

2011-07-07 Thread Max Ogden
Hi Dirkjan - I was attempting to tip you off to the humorous tone that you were failing to detect. You will find that this particular public mailing list is both thorough and full of flavor. On Thu, Jul 7, 2011 at 12:31 AM, Dirkjan Ochtman wrote: > On Thu, Jul 7, 2011 at 09:08, Max Ogden wr

Re: global rewriter

2011-07-08 Thread Max Ogden
Hi Jonathan, In case you are looking for some example code, here is an example repository containing a couchapp (app.js) that references 2 other couchapps (the other two .js files) via the rewrites defined in app.js. On Fri, Jul 8, 2011 at 10:01 AM, Jonathan Geddes wrote: > Doing a bit more rese

Re: no 'writers' section in _security killing me

2011-07-10 Thread Max Ogden
I'd recommend reading http://blog.couchbase.com/whats-new-in-couchdb-1-0-part-4-securityn-stufffor an overview of the couch security model On Sun, Jul 10, 2011 at 11:30 PM, Marcello Nuccio wrote: > 2011/7/11 Jonathan Geddes : > >> Fortunately, users with write access are not admins. They may not

Re: Run Local Button - Improving End User Experience

2011-07-11 Thread Max Ogden
rowser that way. This stuff is months and months from being usable but I thought i'd chime in on how i'm approaching the problem. I also think that the chrome extension could be improved upon to more generically be the kind of 'Download + run local' button that you are tal

Re: no 'writers' section in _security killing me

2011-07-11 Thread Max Ogden
i just wrote an html5 drag and drop uploader for couch, feel free to use it for your dropbox clone :) http://open211.org/#upload On Mon, Jul 11, 2011 at 1:39 PM, Jonathan Geddes wrote: > One more possible solution: Could I use the rewriter to make sure that that > only POST and PUT go through to

Re: Building substantial "pure" 2 tier CouchApps - feasible?

2011-07-11 Thread Max Ogden
You can do a lot with the _changes feed: https://github.com/iriscouch/follow or https://github.com/mikeal/dbemitter(especially https://github.com/mikeal/dbemitter/tree/master/tests) On Mon, Jul 11, 2011 at 6:18 PM, Marcello Nuccio wrote: > I am building a pure couchapp to: > - insert the orders

Re: Run Local Button - Improving End User Experience

2011-07-11 Thread Max Ogden
Mozilla open web apps would be a great 'movement' to partner with as well. They're thinking a lot about these problems lately. On Mon, Jul 11, 2011 at 3:15 PM, Ryan Ramage wrote: > > > > > > I also think that the chrome extension could be improved upon to more > > generically be the kind of 'Dow

Re: Resources for learning to use jquery.couch.js

2011-07-12 Thread Max Ogden
documentation http://daleharvey.github.com/jquery.couch.js-docs/symbols/index.html couch cheatsheet http://jpmens.net/2010/04/20/the-antepenultimate-couchdb-reference-card/ screencast http://vimeo.com/26147136 (not specifically about jquery.couch.js) and if you feel like digging through source code

Re: Resources for learning to use jquery.couch.js

2011-07-12 Thread Max Ogden
It sounds like you need to learn more about couchapps in general, not just jquery.couch.js. A great tutorial on one particular way to make couchapps is here: http://kansojs.org On Tue, Jul 12, 2011 at 2:00 PM, Luis M. Gonzalez wrote: > Thank you Max! > > I am aware of these resources

Re: Run Local Button - Improving End User Experience

2011-07-14 Thread Max Ogden
gt; And if anyone wants to follow along, you can here: > > https://github.com/ryanramage/couchapp-takeout > > > > > > > > > > > > On Mon, Jul 11, 2011 at 7:51 PM, Max Ogden wrote: > > > >> Mozilla open web apps would be a great 'm

Re: Data.js 0.4.0 released — A declarative interface to CouchDB

2011-07-15 Thread Max Ogden
http://twitter.com/#!/ryah/status/91710984472887296 On Thu, Jul 14, 2011 at 11:31 PM, Sam Kearns wrote: > I just started expirmenting with node.js this last week and I had no > trouble at all installing on Windows. In fact there isn't even any > installation. I downloaded node-0.4.9-i686-pc-cygw

Re: update from 1.02 to 1.1.0 > Error: "userCtx is null"

2011-07-15 Thread Max Ogden
Alexander - I believe your error is caused because jquery.couch.js is not compatible with newer jQuery because $.httpData seems to have been deprecated. I ran into a similar issue earlier today and fixed it here (see jquery.couch.js): https://github.com/maxogden/monocles/commit/d27e58722a75a76ac578

Re: Pagination in couchdb

2011-07-21 Thread Max Ogden
sign/recline/_rewrite) cheers, max On Thu, Jul 21, 2011 at 12:54 AM, Monica Razdan wrote: > Hello, > > I'm a newbie to couchdb v1.1.0. I have been struggling with implementation > of pagination in couchdb. I have been through the guide and wiki pages to > understand the

Re: Guys with deep knowledge about CouchDB Replication, I'd need your help :)

2011-07-28 Thread Max Ogden
beginnings of an html5 couch: https://github.com/mikeal/pouchdb it would be great to get @mikeal and @tilgovi to chime in on this thread as they were writing the replicator for that On Thu, Jul 28, 2011 at 11:48 AM, Michael Aufreiter wrote: > I'm currently working on a complete data-persistence

Re: Requesting data from inside of shows

2011-07-29 Thread Max Ogden
CouchDB can't make requests to other domains from a show function. You will have to put an application layer such as node.js, python flask or ruby sinatra on top of Couch or do the request in client side javascript to achieve what you are seeking. Max On Fri, Jul 29, 2011 at 1:09 PM, Mi

Re: Requesting data from inside of shows

2011-07-29 Thread Max Ogden
nal API. > > Is there a reason for the no external request rule? Security, technology or > has it just not been a priority? > > Thanks for the response, > > Michael > > > On Fri, Jul 29, 2011 at 1:25 PM, Max Ogden wrote: > > > CouchDB can't make requests

Re: Unexpected token on jsonp request

2011-07-29 Thread Max Ogden
in your configuration pane from futon make sure that allow_jsonp is set to true here is an example NON jsonp response, e.g. http://couch/database/123: {"pizza":"cats"} here is the same resource with jsonp enabled, e.g. http://couch/database/123?callback=taco: taco({"pizza":"cats"}) as you can

Re: Requesting data from inside of shows

2011-07-29 Thread Max Ogden
I am not at liberty to judge the goodness or badness of botnets On Fri, Jul 29, 2011 at 9:06 PM, Mark Hahn wrote: > > potential botnets > > Are you telling me that there was a design consideration to keep couch from > being used in a bad way? > > > On Fri, Jul 29, 201

Re: to CouchApp or not to CouchApp

2011-08-01 Thread Max Ogden
happs i've built lately to help you get a feel for the stuff possible: http://open211.org http://monocl.es http://open211.org:5984/social_services/_design/removalist/_rewrite cheers! max On Mon, Aug 1, 2011 at 2:10 PM, Gregor Martynus wrote: > I had some discussions on the CouchConf las

Re: to CouchApp or not to CouchApp

2011-08-01 Thread Max Ogden
for the record I am a gigantic fan of open data and love the fact that anyone can get anything in my couch with one http request. if anyone paid for any services on maxogden.com I would lock them down using couch's security model and tools like https://github.com/iriscouch/audit_couchdb On Mon, Au

Re: [announce] csv2couchdb 0.1 couchapp release

2011-08-02 Thread Max Ogden
Nice work medhi! using your code as reference last night I implemented similar functionality in Recline (demo here http://max.ic.ht/sandbox/_design/recline/_rewrite, code here https://github.com/maxogden/recline) max On Tue, Aug 2, 2011 at 4:12 PM, Wordit wrote: > Cool, Thanks for this. I

Re: [announce] csv2couchdb 0.1 couchapp release

2011-08-02 Thread Max Ogden
Yep, replicating the app should work. For help replicating couchapps you can use this Chrome extension that I wrote https://chrome.google.com/webstore/detail/clbdmcdmjlpgedncppkbkepbilnhgddh?hc=search&hcp=mainor adapt the curl instructions at the bottom of this readme: https://github.com/maxogden/

Re: to CouchApp or not to CouchApp

2011-08-02 Thread Max Ogden
t api. for audit-couchdb usage see https://github.com/iriscouch/audit_couchdb/blob/master/cli.js#L13. you have to pass the url in as a command line argument max On Tue, Aug 2, 2011 at 7:50 PM, Gregor Martynus wrote: > Chang, > > I think vhost are not meant to hide urls because of security

New mailing list and IRC archive search tool: http://archive.couchdb.org

2011-08-02 Thread Max Ogden
code: https://github.com/maxogden/couchmail Max

Re: New mailing list and IRC archive search tool: http://archive.couchdb.org

2011-08-02 Thread Max Ogden
> http://blitz.io > @pcapr > > On Tue, Aug 2, 2011 at 6:39 PM, Max Ogden wrote: > > Also thanks to Jan for setting up the subdomain. I made a search tool > that > > has the last ~250,000 messages from the IRC channel (about 1 year) and > the > > entire mailin

Re: Q on vhosts

2011-08-04 Thread Max Ogden
that will also work. Here is a screencast on vhosts http://vimeo.com/20773112. In the video it shows exactly how to do what you are asking. You might also find some answers in the CouchDB Archive: http://archive.couchdb.org Max On Thu, Aug 4, 2011 at 7:10 PM, Walter wrote: > This works great:

Bulk update performance with validation functions

2011-08-11 Thread Max Ogden
}; is it possible to write these functions in erlang? max

Re: Alternatives to python couchapp

2011-08-24 Thread Max Ogden
check out: proof of concept: https://github.com/daleharvey/inception and http://reupholster.iriscouch.com/reupholster/_design/app/index.html On Wed, Aug 24, 2011 at 6:22 PM, Wordit wrote: > Are there any simpler or web-based alternatives to using the Python > Couchapp? (apart from node.js or any

Re: Alternatives to python couchapp

2011-08-24 Thread Max Ogden
you can use the python couchapp tool to install it. it has some basic functions, but it's just a proof of concept. you should fork it and add features! On Wed, Aug 24, 2011 at 6:46 PM, Wordit wrote: > Thanks Max, > > Inception sounds interesting. Is it usable? Are ther

Re: "Only admin can delete documents on this database" - but no validation function

2011-09-08 Thread Max Ogden
I'm guessing you installed Recline into that database recently https://github.com/maxogden/recline/blob/master/app.js#L120 validate_doc_updates are database-wide :) On Thu, Sep 8, 2011 at 8:34 AM, Alexander Gabriel wrote: > Yes, that has been the same for the past months > > vom Handy gesendet

Re: Even more fine-grained ETag support when querying views?

2011-09-13 Thread Max Ogden
At this time I would like to suggest that when someone writes a Merkle tree in Erlang that they call it Erkel. On Tue, Sep 13, 2011 at 1:46 AM, Robert Newson wrote: > My joke about bloom filters was apparently misunderstood but the > notion above, which sounds a lot like a Merkle tree, seems luc

Re: CouchDB Crash report db_not_found when attempting to replicate databases

2011-09-13 Thread Max Ogden
ibe the 'fingerprint' of your documents a bit. How many documents are in the failing databases? are the documents large or small? do they have many attachments? how large is your _changes feed? Cheers, Max On Tue, Sep 13, 2011 at 11:22 AM, Chris Stockton wrote: > Hello, > > We

Re: CouchDB Crash report db_not_found when attempting to replicate databases

2011-09-13 Thread Max Ogden
nitoring output yet. there also isnt support for continuous replication or alternatively you could write custom node.js code for finer-grained behavior. cheers, max On Tue, Sep 13, 2011 at 12:19 PM, Chris Stockton wrote: > Hello, > > On Tue, Sep 13, 2011 at 11:44 AM, Max Ogden wrote: &g

Re: CouchDB Crash report db_not_found when attempting to replicate databases

2011-09-28 Thread Max Ogden
http://twitter.com/#!/maxogden/status/113702093512122368 On Wed, Sep 28, 2011 at 9:37 PM, Filipe David Manana wrote: > Mikeal, or someone else, can you provide the url of that npm database? > I would like to do some replication tests with it and report back here. > > thanks > > On Sat, Sep 17, 20

Re: Differing responses for retrieving a deleted document through GET and POST

2011-10-07 Thread Max Ogden
hello, _all_docs is a "bulk" api which means that it is built to treat its responses with plurality. this means that the HTTP status code refers not to the documents but rather the "container" array that you get back. you requested all the docs matching some arbitrary set of ids and couch respond

Re: Working example for OAuth with Facebook and/or Google?

2011-10-07 Thread Max Ogden
OAuth and then provisions couch users: https://github.com/maxogden/datacouch/tree/master/processors/auth Cheers, Max On Fri, Oct 7, 2011 at 7:42 AM, Stephan Wissel wrote: > Hi there, > > still new with CouchDB, so pardon my n00b question. > > I want to create a public CouchApp where us

Re: Update the document without current version

2011-10-13 Thread Max Ogden
ck the new revision so you don't have to fetch it separately. In your case you seem to be somehow replacing documents without first knowing about them, which seems weird to me. Can you shed some more light on what application level features depend on the force_update/delete_conflicts API? Max On Th

Re: Error when uploading json data file

2011-10-17 Thread Max Ogden
Your data has to be formatted like this: {"docs": [{"hello": "world"}, {"hello": "world"}, {"hello": "world"}]} Also if you set log_level to debug in your couch settings then you may get a more helpful error message On Mon, Oct 17, 2011 at 7:38 PM, Pulkit Singhal wrote: > I see the following lo

Re: _replicator vs. replicate

2011-10-25 Thread Max Ogden
MIkeal's is easy to test: npm install replicate && replicate sourceurl destinationurl it's probably slower than the current stable release, but more reliable. the new replicator in trunk is apparently the most optimal solution, but it's not released in a stable version yet On Tue, Oct 25, 2011 at

Re: Is there a way to update / delete a document given only its id

2011-10-27 Thread Max Ogden
a lightweight way to retrieve version information is via HEAD requests On Thu, Oct 27, 2011 at 2:31 PM, YIXIAO SHEN wrote: > Hi, > > I'm using jcouchdb to access CouchDB from java, I need to update and delete > some documents but the only thing I know is the document id. Is there an > easy way t

  1   2   >