31 Commits

Author SHA1 Message Date
Garret Alfert
e5dfbff82d Test that files get deleted from Riak CS 2013-10-10 14:57:10 +02:00
Garret Alfert
c10fd893c6 Store binary objects in Riak CS 2013-10-07 15:19:46 +02:00
Garret Alfert
629ff399ff Don't try to deserialize an object to check if it already exists (fixes #29) 2013-09-13 19:10:32 +02:00
95f24beef7 Use count instead of action
In order to be able to combine multiple log entries (and of different
types) into one, we now set the object count instead of an action verb
when logging an operation.
2013-04-30 20:48:28 +02:00
eaa3dbfe83 Use opslog instead of counters
Account for eventual consistency by storing log items for
create/update/delete operations instead of using counter keys. We can
then map/reduce over the log items in order to extract category sizes
and object counts. Furthermore, we can combine single items from time to
time in order to keep things fast and tidy.
2013-04-29 22:11:41 +02:00
c78be51e8f Fix merge conflict 2013-04-29 18:38:40 +02:00
1be4020991 Use config_file, include backend module depending on config (closes #8) 2013-04-25 23:11:25 +02:00
a35fef3727 Don't change usage counter on DELETE to non-existing resource 2013-04-23 15:58:34 +02:00
08661ea148 Combine category usage counters in a single JSON object 2013-04-23 15:34:40 +02:00
27e5dfc1b5 Add per-category object counter 2013-04-22 17:11:30 +02:00
1a9be076fa Add user id index to usage size keys 2013-04-21 17:48:21 +02:00
88c78bc18b Remove debugging output 2013-04-20 14:48:47 +02:00
e94928c2ed Log object sizes to a per-user-and-category counter (closes #22) 2013-04-20 14:45:02 +02:00
e2095a34a6 Detect binary data even when content-type doesn't contain 'charset=binary' 2012-11-04 19:29:54 +01:00
44d276a387 Set indexes for binary objects 2012-11-03 15:17:40 +01:00
5384e3d355 Delete the actual binary objects with the data objects 2012-11-03 15:05:04 +01:00
fa6235cd1f Add spec for binary data 2012-11-02 13:07:59 +01:00
b8138a29f1 Use millisecond resolution for timestamps (refs #17) 2012-10-24 05:39:37 +02:00
95adfff6ab Just respond with an empty body on PUT requests 2012-10-22 12:59:07 +02:00
88f61bf7fa Fix handling of keys containing colons (fixes #13) 2012-10-20 11:36:01 +02:00
acf2003487 Handle invalid JSON on PUT requests 2012-10-06 18:44:21 +02:00
d4d02e3e77 Fix handling of content-types that also contain the encoding 2012-09-30 21:57:58 +02:00
8af6016d99 Purge all buckets before every test 2012-09-26 11:10:02 +02:00
01017a9d9c Clean up the specs some more 2012-09-15 00:47:49 +02:00
5b78f23406 Don't leave any data behind after testing 2012-09-15 00:39:53 +02:00
50601b5b71 Cleanup the code a little 2012-09-14 17:20:57 +02:00
15fdd7742f Fix custom content types to support arbitrary types (fixes #5) 2012-09-14 17:13:25 +02:00
956f6fd3b3 Add support for custom content types 2012-06-10 16:16:34 +02:00
9d9fad77a0 Set index headers for user id in Riak 2012-04-23 14:33:14 +02:00
1d81e06d41 Set charset explicitly in Riak objects' content type 2012-03-17 14:49:31 +01:00
9d124ce48a Move Riak-specific specs to their own file 2012-03-05 22:43:26 +01:00