913883be3a
Fix slow database stuff in testing by setting PRAGMA synchronous=OFF. Default is still FULL for production use, though
Jim Paris2012-03-22 22:06:08 +00:00
5b2d52b8bc
Big rework of how errors are handled and propagated to the HTTP response. Now everything (status code, message, possibly tracebacks) are passed to the client as JSON, so the client can display correct errors. Nice!
Jim Paris2012-03-22 00:14:13 +00:00
ace199ffa8
Working client-side pycurl code to send a streaming chunked PUT. Working server-side cherrypy code to receive a streaming chunked PUT.
Jim Paris2012-03-12 20:09:17 +00:00
6812a28131
Make stream_list return number of rows. Update layouts to include expected number of rows per day -- this is used (as strongly suggested by the PyTables docs) to form a rough estimate of the number of rows in a table during CreateTable.
Jim Paris2012-01-30 20:25:11 +00:00
3b9d84d689
Adjust how layouts are managed: now we pass strings representing the layouts, rather than direct dict objects. This allows us to go backwards and match the description of tables in the database with the layouts defined within nilmdb.layout.
Jim Paris2012-01-28 00:36:23 +00:00
b5e3b22558
Fixups, and add serializer to NilmDB access from CherryPy
Jim Paris2012-01-27 19:17:09 +00:00
9f4d88cc8f
Added serialization wrapper. This will let us wrap the NilmDB object and ensure that all function calls happen from within the context of a single thread.
Jim Paris2012-01-27 01:27:21 +00:00
acdea5f00b
Integrated CherryPy server into tree Added testing framework for cherrypy server. Added tests for basic server functionality.
Jim Paris2012-01-26 00:13:44 +00:00