Questions tagged [couchapp]

CouchApps are JavaScript and HTML5 applications served directly from CouchDB.

CouchApps are JavaScript and HTML5 applications served directly from CouchDB.

224 questions
0
votes
1 answer

How To Set A Standalone Attachment Content Type

I've been able to create a standalone attachment, but the content_type ends up as multipart/form-data. What I am I doing wrong? The code is followed by the response from the post and then the request; you can see in the request that the content type…
Brad Rhoads
  • 1,828
  • 3
  • 29
  • 52
0
votes
1 answer

_changes for a view

I have a couchapp. Client-side, I'm displaying the 10 first results of a hot view: GET /_design/superapp/_view/hot?skip=0&limit=10 -- How to listen for the _changes of the first 10 results of that view? I tried with: GET…
abernier
  • 27,030
  • 20
  • 83
  • 114
0
votes
1 answer

CouchDB reduce function gives unexpected results

I am developing a couchapp. I have documents that contains a field called tags, and I am trying to retrieve the unique tags among all the docs. My map/reduce function is as follows: map.js function(doc){ if(doc.tags){ …
swaroopsm
  • 1,389
  • 4
  • 18
  • 34
0
votes
1 answer

Restrict anonymous deletion of document in couchdb

I am having a CouchDB and any anonymous user without even being signed in can delete the document. How do I tackle this such that only the document created by a particular user can delete it. I am using CouchApp
swaroopsm
  • 1,389
  • 4
  • 18
  • 34
0
votes
1 answer

Equal Precedence View Collation CouchDB?

According to the view collation documentation for CouchDB( http://wiki.apache.org/couchdb/View_collation), member order does matter for collation. I was wondering if there is a way to disable this attribute such that collation order does not matter?…
AnthonyS
  • 2,429
  • 2
  • 24
  • 17
0
votes
1 answer

Unable to push couchapp with node.couchapp.js

I'm trying to push a simple couchapp on windows, but I'm dooing sth. wrong. First I'm installing couchapp using npm: D:\test>npm -g install couchapp D:\test>npm install couchapp I know that there are two diffrent couchapps, but I'm shurely using…
Ingemar
  • 1,638
  • 2
  • 12
  • 15
0
votes
1 answer

How do I configure a Apache proxy for my Couchapp?

I want to realize a proxy through a Apache Webserver 2.2.14 on Ubuntu 10.04.1. for a Couchapp on Couchdb 1.0.1 and I'm not experienced with that. The proxy should also redirect to another couchdb-database and some other pathes in Apaches www-path.…
itsdun
  • 23
  • 4
0
votes
1 answer

CouchDB river for ElasticSearch: filter and receive full document?

I'm trying to use a CouchDB design filter with my ElasticSearch CouchDB river. It seems when we set a filter, the url used by ElasticSearch is: http://couchdb.com/_changes?feed=continuous&include_docs=true&heartbeat=10000&filter=stample/users The…
Sebastien Lorber
  • 89,644
  • 67
  • 288
  • 419
0
votes
1 answer

Couchbase Mobile (ios) replicated data size too large

I am working on a mobile game that uses Couchbase mobile on the client and Iris Couch to store data on the cloud. In order for the app to work off line each user has a database on the server which is replicated on the device. Everything looks …
thmr
  • 33
  • 1
  • 6
0
votes
0 answers

Cookie problems on Android tablets

I've been having a heck of a time with cookies. I have an Android application built with Android-Couchbase-Callback. It's a CouchApp, basically a JavaScript + CouchDB app running as an Android app. On laptops and dekstops it works fantastically. My…
fet
  • 614
  • 5
  • 12
-1
votes
1 answer

Error in pouchDB when replicating db

I am updating my PouchDB with remote data from CouchDB (couchappy.com). Each time I do it from an empty PouchDB, I get following error: ReferenceError {result: Object, stack: (...), message: "writeCheckpoint completed with error"} message:…
tup
  • 139
  • 1
  • 8
-1
votes
1 answer

nodejs couchapp does not link css file

I have made a couchdb design document which works perfectly on the following url http://localhost:5984/db/_design/app/index.html Now the problem is i am trying to fetch the page contents and display it from node js but only the html page is…
Keshav Nair
  • 423
  • 1
  • 14
  • 24
-1
votes
1 answer

vhosts configuration not working on couchDb

I am facing a curious problem. I have a couchApp hosted on Iris couch. I purchased a domain name from godaddy and set my CNAME (WWW) to my database address on iris couch.When I type my domain name in the browser I get a couch db…
Akshat Jiwan Sharma
  • 15,430
  • 13
  • 50
  • 60
-2
votes
1 answer

I need to customize the open source couch app in couchdb that is index.html for my project requirement. Kindly help me in this

I'm working on couchdb due to my project requirement to have crash analytics. Using Acra and Acralyser to implement this concept. I need to customize the Acralyzer ie couchapp based on my Scope. Kindly help me how to customize the web application in…
saranya
  • 228
  • 2
  • 11
1 2 3
14
15