Garret Alfert
cd8d51d8b7
Disable Rack logging completely
2013-07-16 17:13:19 +02:00
Garret Alfert
6d757ef552
Update Sinatra
2013-07-16 16:40:04 +02:00
Garret Alfert
c6059153f8
Fix encoding in directory listings
2013-07-11 13:44:40 +02:00
Garret Alfert
fa7c7ad020
Test for special characters in a directory name
2013-06-14 19:20:51 +02:00
Garret Alfert
73336ed5bc
Fix for using Riak with http_url_encoding config enabled
2013-06-14 18:49:26 +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
Garret Alfert
80d540577d
Fix config for test environment
2013-04-30 12:10:53 +02:00
Garret Alfert
db1272b6fe
Set RACK_ENV before requiring files in spec_helper.rb
...
This is because liquor_cabinet.rb is using the
environment to read the appropriate configuration
settings.
2013-04-30 12:10:16 +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
Garret Alfert
0c586b3193
Update Rack
2013-02-08 13:49:41 +01:00
galfert
e2095a34a6
Detect binary data even when content-type doesn't contain 'charset=binary'
2012-11-04 19:29:54 +01:00
galfert
44d276a387
Set indexes for binary objects
2012-11-03 15:17:40 +01:00
galfert
5384e3d355
Delete the actual binary objects with the data objects
2012-11-03 15:05:04 +01:00
galfert
2c9979f544
Use millisecond resolution for timestamps of updated directory objects on DELETE requests
2012-11-03 15:00:59 +01:00
galfert
483523b091
Allow binary content ( fixes #18 )
2012-11-02 13:48:42 +01:00
galfert
fa6235cd1f
Add spec for binary data
2012-11-02 13:07:59 +01:00
galfert
39355ff0f2
Don't allow directory listings of the public directory without proper permissions (refs #19 )
2012-10-29 14:46:11 +01:00
galfert
6541b97997
Rearrange permissions_spec.rb
2012-10-29 10:09:53 +01:00
galfert
4a723f26fb
Let Travis always post to webhook after every build
2012-10-25 15:56:41 +02:00
galfert
84c1f419be
Make bucket names configurable by environment (refs #16 )
2012-10-25 11:29:34 +02:00
galfert
d1acfe88e8
Timestamps for sub-directories also have milliseconds resolution (refs #17 )
2012-10-24 06:09:28 +02:00
galfert
b8138a29f1
Use millisecond resolution for timestamps (refs #17 )
2012-10-24 05:39:37 +02:00
galfert
9c93c83ceb
Specs to make sure timestamps in directory listings are always integer
2012-10-24 04:45:37 +02:00
galfert
bf00b2a352
Escape entries in directory listings
2012-10-22 14:32:46 +02:00
galfert
3821d4a055
Use integegers for timestamps of sub-directories in directory listings
2012-10-22 13:54:10 +02:00
galfert
95adfff6ab
Just respond with an empty body on PUT requests
2012-10-22 12:59:07 +02:00
galfert
544400b138
Escape the directory name when saving it as an index ( fixes #15 )
2012-10-22 12:19:48 +02:00
galfert
ba979dfe04
Spec helper for writing the last response to a file
2012-10-22 12:18:31 +02:00
galfert
34f6254117
Merge pull request #14 from 5apps/bugfixing
...
Bugfixing
2012-10-21 10:36:34 -07:00
basti
10bd0a700e
Update README.md
2012-10-21 17:03:44 +02:00
galfert
88f61bf7fa
Fix handling of keys containing colons ( fixes #13 )
2012-10-20 11:36:01 +02:00
galfert
2882bca483
Fix user filtering for directory listings
2012-10-20 11:32:34 +02:00
basti
39039148df
Update Riak client
2012-10-15 19:30:17 +01:00
galfert
18e01597af
Dry up some code
2012-10-07 20:01:06 +02:00
galfert
e7c2415348
Explicitly load directory object instead of reloading in spec
2012-10-07 19:15:12 +02:00
galfert
c542350185
Update timestamp of parent directories on DELETE requests ( fixes #10 )
2012-10-07 19:03:08 +02:00
galfert
8b2bd53d49
Delete all directory objects for empty directories
2012-10-07 18:39:41 +02:00
galfert
6f975c6c45
Update timestamps for all parent directories on PUT requests ( fixes #11 )
2012-10-07 14:54:50 +02:00
galfert
84b9e0561a
Set Cache-Control header ( closes #9 )
2012-10-07 14:20:38 +02:00