Signal Handing

2016-01-26 Thread Matthew Buckett
s it isn't running). However because of running in interactive mode I can send the process a SIGSTOP and it appears to exit gracefully (exit code 0). Is this a sensible or acceptable thing todo and am I likely to hit problems with it? Thanks. -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Re: Gatling tests.

2016-01-30 Thread Matthew Buckett
the Internet. > If people are interested, I will put something up on Github. > > Guillaume. > -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Leap year bug?

2016-02-29 Thread Matthew Buckett
_error","reason":"if_clause"} The last part of the couch code is: rfc1123_date(UniversalTime) -> {{,MM,DD},{Hour,Min,Sec}} = UniversalTime, DayNumber = calendar:day_of_the_week({,MM,DD}), Anyone else seeing this today, this is with Erlang R16B03 (erts-5.10.4) and CouchDB 1.6.1? -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Re: Leap year bug?

2016-03-01 Thread Matthew Buckett
On 29 February 2016 at 21:23, Adam Kocoloski wrote: > I suspect it’s still a bug in master as well. Do you mind filing a JIRA? Done: https://issues.apache.org/jira/browse/COUCHDB-2956 -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Reporting against a CouchDB database

2016-03-04 Thread Matthew Buckett
just batch replication? - Should we just export all the data and import it into a general reporting tool? Thanks. -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Re: Reporting against a CouchDB database

2016-03-07 Thread Matthew Buckett
re the reasons for doing the reporting in postgres rather than in couchdb? -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Public endpoint when couch_httpd_auth.require_valid_user=true

2016-03-10 Thread Matthew Buckett
Are there any URLs that requested when couch_httpd_auth.require_valid_user=true that don't generate an HTTP 401 error? I'm looking to just check that CouchDB is available and responding. -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Reporting on joined data

2016-04-19 Thread Matthew Buckett
I'm looking at trying to report on some data held in CouchDB, I have 2 types of object stored, users and activities. An example user id: { "_id": "37453929...", userId: "1234", type: "user", name: "John Smith", department: "english" } There will be multiple users and there is a small se

Re: Reporting on joined data

2016-04-19 Thread Matthew Buckett
time you come > across a new '1_dept' value, you have a new hash key, as long as you get > '2_act' values, keep summing up (as the input to the list is the - ordered > - view result, you're good). Finally, just emit the stringified hashtable > as result o

Improve documentation shipped with CouchDB?

2016-04-20 Thread Matthew Buckett
Today I was trying to find out what version of JavaScript I could use with CouchDB 1.6.1 and in the end I downloaded the source and seeing that it required SpiderMonkey 1.8.5 to build, and looking on Mozilla's page saw it supports ECMAScript Edition 5 (I was hoping for 6). https://developer.mozill

Re: to start programmatically

2016-07-07 Thread Matthew Buckett
ues.apache.org/jira/browse/GORA-437 > [2] https://github.com/cguzel/gora-couchdb > -- Matthew Buckett, VLE Developer, IT Services, University of Oxford

Re: CouchDB 2.0.0 chttpd and configurable authentication_handlers

2016-10-15 Thread Matthew Buckett
d be really happy if you made any progress in this direction. If I can be some help in testing let me know. Thanks. -- Matthew Buckett VLE Developer WebLearn, Academic IT IT Services, University of Oxford 13 Banbury Road, OX2 6NN Tel: 01865 283349

Re: Best practise for authentication of users

2016-12-05 Thread Matthew Buckett
that with our local single sign on solution using OAuth 2. As you suggest this allowed us to not have anything serverside apart from CouchDB. If you're storing credentials directly in CouchDB then there's https://github.com/etrepum/couchperuser which creates the DB when a new user is