Commit Graph
41 Commits
Author SHA1 Message Date
basti e18646839b Update gitignore 2015-04-01 15:55:43 +01:00
basti 247559e563 Add test for GET on empty object (refs #48) 2015-03-03 10:15:53 -04:00
basti 7cbef2dee0 Update gitignore 2014-08-05 12:20:44 +02:00
basti 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
basti 61478d8c8c Remove obsolete variable from example config 2013-04-30 20:47:48 +02:00
basti 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
basti c78be51e8f Fix merge conflict 2013-04-29 18:38:40 +02:00
basti 1be4020991 Use config_file, include backend module depending on config (closes #8) 2013-04-25 23:11:25 +02:00
basti a35fef3727 Don't change usage counter on DELETE to non-existing resource 2013-04-23 15:58:34 +02:00
basti 08661ea148 Combine category usage counters in a single JSON object 2013-04-23 15:34:40 +02:00
basti 27e5dfc1b5 Add per-category object counter 2013-04-22 17:11:30 +02:00
basti 1a9be076fa Add user id index to usage size keys 2013-04-21 17:48:21 +02:00
basti 45d44bbf26 Add pid dir to gitignore 2013-04-20 15:02:01 +02:00
basti 0efd0cc2e3 Add new bucket config to example yml 2013-04-20 14:52:26 +02:00
basti 88c78bc18b Remove debugging output 2013-04-20 14:48:47 +02:00
basti e94928c2ed Log object sizes to a per-user-and-category counter (closes #22) 2013-04-20 14:45:02 +02:00
basti 10bd0a700e Update README.md 2012-10-21 17:03:44 +02:00
basti 39039148df Update Riak client 2012-10-15 19:30:17 +01:00
basti 84e69376fd Add unicorn for staging, production envs 2012-10-06 16:05:21 +02:00
basti 956f6fd3b3 Add support for custom content types 2012-06-10 16:16:34 +02:00
basti 9d9fad77a0 Set index headers for user id in Riak 2012-04-23 14:33:14 +02:00
basti cbbf909e7f Memoization, duh 2012-04-22 20:37:10 +02:00
basti 1d81e06d41 Set charset explicitly in Riak objects' content type 2012-03-17 14:49:31 +01:00
basti 202508ca95 Remove obsolete resources 2012-03-17 13:40:39 +01:00
basti 9d124ce48a Move Riak-specific specs to their own file 2012-03-05 22:43:26 +01:00
basti 906ab23a89 Disable logging in production 2012-03-03 17:06:11 +01:00
basti a22948ecba Update deps 2012-03-02 17:08:20 +01:00
basti 0c7721a710 Enable logging in production 2012-03-01 23:09:22 +01:00
basti 967c9e34da Set access-control header to request origin header if set 2012-02-29 19:04:01 +01:00
basti 24c5442c78 Don't authorize OPTIONS requests, allow Origin request header 2012-02-29 18:44:49 +01:00
basti 46c230d0d7 Add OPTIONS resource, allow Content-Type header 2012-02-29 18:30:47 +01:00
basti 30cd0536b2 Allow all headers with CORS 2012-02-29 18:18:01 +01:00
basti e338e93f5b Add CORS headers 2012-02-29 15:17:49 +01:00
basti d0e78e9fe4 Fix filename 2012-02-29 14:08:27 +01:00
basti 64698b8503 Make config settable from outside the app 2012-02-29 14:08:03 +01:00
basti 064b8dc06a Add Travis badge to README 2012-02-28 01:39:43 +01:00
basti ad12f4d504 Use hidden file for travis.yml 2012-02-28 01:37:14 +01:00
basti e726abcbbd Update travis.yml 2012-02-28 01:34:21 +01:00
basti b2b2980cf0 Prepare for Travis CI 2012-02-28 01:28:58 +01:00
basti b14a715c2d Remove debug resource 2012-02-27 21:11:52 +01:00
basti 0d15277178 Initial commit 2012-02-27 16:32:12 +01:00