Re: The JavaScript Test Suite

2015-10-17 Thread Sebastian Rothbucher
Hi all, got a little further at https://github.com/janl/couchdb/pull/3/files This is it so far: # for i in test/javascript/tests/a* test/javascript/tests/b* test/javascript/tests/change*; dev/run -n 1 -q --with-admin-party-please test/javascript/run $i; done test/javascript/tests/all_docs.js

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-17 Thread Johs Ensby
Thanks for your efforts, ermouth I have been playing with it using the community AMI you put up adn it works just great. It is a big step forward for couchapps since it is not possible to use username, or role from userCtx in rewrite rules you can use the users IP address to firewall your

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-17 Thread Harald Kisch
Johs, thank you for testing the amazing features unlocked by ermouth. Now it would be great to monk this up to the release of CouchDB 2.0. This new feature sets are a great cntribution for the community and all couchappers. I am very excited about the outcome of ermouth's work. He saw it, figured

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-17 Thread Jan Lehnardt
Not to rain on your parade, but 2.0 is in feature freeze, this will have to wait for 2.1., but there is no reason that can’t happen shortly after 2.0 :) Good work everyone! Best Jan -- > On 17 Oct 2015, at 21:20, Harald Kisch wrote: > > Johs, thank you for testing the

Re: [PROPOSAL] Allow rewrites to be JS function

2015-10-17 Thread Johs Ensby
Andy, I will make my first use case for function in _rewrite a high level one: to create a standalone server that is an all-in-one DB server, application server, api server and web server. I have played with the build of CouchDB 2 with rewrite function implemented that ermouth put up on the