Commit Graph

  • c10fd893c6 Store binary objects in Riak CS Garret Alfert 2013-10-07 15:19:46 +02:00
  • e2d69af020 Add Fog gem Garret Alfert 2013-09-20 20:57:00 +02:00
  • 173632ad81 Update riak-client to 1.4.1 Garret Alfert 2013-09-19 16:59:34 +02:00
  • 6770a8cfb1 Move Rack::CommonLogger into it's own file Garret Alfert 2013-08-08 17:12:16 +02:00
  • 53256ecc00 Use class instead of module Garret Alfert 2013-08-08 17:07:49 +02:00
  • 75915556cb Simplify definition of entry points Garret Alfert 2013-08-08 16:17:50 +02:00
  • 21d06a4970 Enable http_url_encoding in Travis Riak config Garret Alfert 2013-08-14 04:54:55 +02:00
  • 629ff399ff Don't try to deserialize an object to check if it already exists (fixes #29) Garret Alfert 2013-09-13 19:10:32 +02:00
  • 1a2933bf48 Allow to put app in maintenance mode (closes #27) Garret Alfert 2013-07-25 18:46:51 +02:00
  • 82554e0356 Fix DateTime to timestamp conversion Garret Alfert 2013-07-17 12:05:18 +02:00
  • 037987845a Merge pull request #25 from 5apps/http_url_encoding_fix galfert 2013-07-17 02:31:28 -07:00
  • cd8d51d8b7 Disable Rack logging completely Garret Alfert 2013-07-16 17:13:19 +02:00
  • 6d757ef552 Update Sinatra Garret Alfert 2013-07-16 16:40:04 +02:00
  • c6059153f8 Fix encoding in directory listings Garret Alfert 2013-07-11 13:44:40 +02:00
  • fa7c7ad020 Test for special characters in a directory name Garret Alfert 2013-06-14 19:15:10 +02:00
  • 73336ed5bc Fix for using Riak with http_url_encoding config enabled Garret Alfert 2013-06-14 18:49:26 +02:00
  • 95f24beef7 Use count instead of action basti 2013-04-30 20:48:28 +02:00
  • 61478d8c8c Remove obsolete variable from example config basti 2013-04-30 20:47:48 +02:00
  • 80d540577d Fix config for test environment Garret Alfert 2013-04-30 12:10:53 +02:00
  • db1272b6fe Set RACK_ENV before requiring files in spec_helper.rb Garret Alfert 2013-04-30 12:10:16 +02:00
  • eaa3dbfe83 Use opslog instead of counters basti 2013-04-29 22:11:41 +02:00
  • c78be51e8f Fix merge conflict basti 2013-04-29 18:38:40 +02:00
  • 1be4020991 Use config_file, include backend module depending on config (closes #8) basti 2013-04-25 23:11:15 +02:00
  • a35fef3727 Don't change usage counter on DELETE to non-existing resource basti 2013-04-23 15:58:34 +02:00
  • 08661ea148 Combine category usage counters in a single JSON object basti 2013-04-23 15:34:40 +02:00
  • 27e5dfc1b5 Add per-category object counter basti 2013-04-22 17:11:30 +02:00
  • 1a9be076fa Add user id index to usage size keys basti 2013-04-21 17:48:21 +02:00
  • 45d44bbf26 Add pid dir to gitignore basti 2013-04-20 15:02:01 +02:00
  • 0efd0cc2e3 Add new bucket config to example yml basti 2013-04-20 14:52:26 +02:00
  • 88c78bc18b Remove debugging output basti 2013-04-20 14:48:47 +02:00
  • e94928c2ed Log object sizes to a per-user-and-category counter (closes #22) basti 2013-04-20 02:17:55 +02:00
  • 0c586b3193 Update Rack Garret Alfert 2013-02-08 13:49:41 +01:00
  • e2095a34a6 Detect binary data even when content-type doesn't contain 'charset=binary' galfert 2012-11-04 19:29:54 +01:00
  • 44d276a387 Set indexes for binary objects galfert 2012-11-03 15:17:40 +01:00
  • 5384e3d355 Delete the actual binary objects with the data objects galfert 2012-11-03 15:05:04 +01:00
  • 2c9979f544 Use millisecond resolution for timestamps of updated directory objects on DELETE requests galfert 2012-11-03 15:00:59 +01:00
  • 483523b091 Allow binary content (fixes #18) galfert 2012-11-02 13:17:49 +01:00
  • fa6235cd1f Add spec for binary data galfert 2012-11-02 13:07:59 +01:00
  • 39355ff0f2 Don't allow directory listings of the public directory without proper permissions (refs #19) galfert 2012-10-29 12:38:10 +01:00
  • 6541b97997 Rearrange permissions_spec.rb galfert 2012-10-29 10:09:53 +01:00
  • 4a723f26fb Let Travis always post to webhook after every build galfert 2012-10-25 15:56:41 +02:00
  • 84c1f419be Make bucket names configurable by environment (refs #16) galfert 2012-10-25 11:07:14 +02:00
  • d1acfe88e8 Timestamps for sub-directories also have milliseconds resolution (refs #17) galfert 2012-10-24 06:09:28 +02:00
  • b8138a29f1 Use millisecond resolution for timestamps (refs #17) galfert 2012-10-23 18:09:55 +02:00
  • 9c93c83ceb Specs to make sure timestamps in directory listings are always integer galfert 2012-10-24 04:42:38 +02:00
  • bf00b2a352 Escape entries in directory listings galfert 2012-10-22 14:32:46 +02:00
  • 3821d4a055 Use integegers for timestamps of sub-directories in directory listings galfert 2012-10-22 13:54:10 +02:00
  • 95adfff6ab Just respond with an empty body on PUT requests galfert 2012-10-22 12:59:07 +02:00
  • 544400b138 Escape the directory name when saving it as an index (fixes #15) galfert 2012-10-22 12:19:48 +02:00
  • ba979dfe04 Spec helper for writing the last response to a file galfert 2012-10-22 12:18:31 +02:00
  • 34f6254117 Merge pull request #14 from 5apps/bugfixing galfert 2012-10-21 10:36:34 -07:00
  • 10bd0a700e Update README.md basti 2012-10-21 17:03:44 +02:00
  • 88f61bf7fa Fix handling of keys containing colons (fixes #13) galfert 2012-10-20 11:36:01 +02:00
  • 2882bca483 Fix user filtering for directory listings galfert 2012-10-20 11:32:34 +02:00
  • 39039148df Update Riak client basti 2012-10-15 19:30:17 +01:00
  • 18e01597af Dry up some code galfert 2012-10-07 20:01:06 +02:00
  • e7c2415348 Explicitly load directory object instead of reloading in spec galfert 2012-10-07 19:15:12 +02:00
  • c542350185 Update timestamp of parent directories on DELETE requests (fixes #10) galfert 2012-10-07 19:02:25 +02:00
  • 8b2bd53d49 Delete all directory objects for empty directories galfert 2012-10-07 18:39:41 +02:00
  • 6f975c6c45 Update timestamps for all parent directories on PUT requests (fixes #11) galfert 2012-10-07 14:54:50 +02:00
  • 84b9e0561a Set Cache-Control header (closes #9) galfert 2012-10-07 14:20:38 +02:00
  • daf1e4b4ac Add staging environment galfert 2012-10-06 22:01:12 +02:00
  • acf2003487 Handle invalid JSON on PUT requests galfert 2012-10-06 18:44:21 +02:00
  • 84e69376fd Add unicorn for staging, production envs basti 2012-10-06 16:05:21 +02:00
  • 4e88cd480c Explicitly load directory object again in spec galfert 2012-10-02 16:50:22 +02:00
  • abdf6f08e0 Try to fix failing spec on Travis galfert 2012-10-01 18:31:47 +02:00
  • d4151b64df Save timestamps for directory objects as actual data to keep them consistent with the data objects galfert 2012-10-01 17:43:56 +02:00
  • c0078e66e1 Rename category -> directory galfert 2012-10-01 14:03:14 +02:00
  • a21bdab0fa Add support for the root directory galfert 2012-10-01 03:02:47 +02:00
  • d4d02e3e77 Fix handling of content-types that also contain the encoding galfert 2012-09-30 21:57:58 +02:00
  • d88ad2eb20 Disable Rack-Protection galfert 2012-09-30 21:50:14 +02:00
  • 8aead37dba Spec for OPTIONS requests on sub-directories galfert 2012-09-30 21:49:59 +02:00
  • e815cbaaff Allow OPTIONS requests for directory listings galfert 2012-09-28 14:46:42 +02:00
  • 7cbccb16b9 Change method name and make it private galfert 2012-09-28 13:26:33 +02:00
  • 36b20aa6a9 Unescape directory names galfert 2012-09-26 20:15:37 +02:00
  • 24ef893cd2 Add 'm' gem for running a single test by giving the line number galfert 2012-09-26 20:05:03 +02:00
  • 9250bb7790 Create directory objects for parent directories that don't contain any files themselves galfert 2012-09-26 19:58:43 +02:00
  • 4d01144bf4 Add spec helper that waits for the next second to begin (instead of sleeping for a whole second) galfert 2012-09-26 19:47:22 +02:00
  • 52b32fb396 Fix specs galfert 2012-09-26 11:34:43 +02:00
  • 9d2727b867 Use only the directory name instead of full path in directory listings galfert 2012-09-26 11:34:31 +02:00
  • 8af6016d99 Purge all buckets before every test galfert 2012-09-26 11:02:52 +02:00
  • ebe499211a Support directory listings galfert 2012-09-26 11:02:12 +02:00
  • 5155d36de4 Update riak-client gem galfert 2012-09-26 01:03:29 +02:00
  • 9e81c4828d All data under /public is always readable galfert 2012-09-25 17:34:40 +02:00
  • af28ec44c8 Set Last-Modified header galfert 2012-09-25 14:02:08 +02:00
  • 1cd01b8277 Specs for global permissions galfert 2012-09-25 13:07:25 +02:00
  • 3d573b51ac Support for new read/write permission system galfert 2012-09-20 18:29:31 +02:00
  • 01017a9d9c Clean up the specs some more galfert 2012-09-15 00:44:55 +02:00
  • 5b78f23406 Don't leave any data behind after testing galfert 2012-09-15 00:39:53 +02:00
  • 8c5993068b Add notification webhook for Travis galfert 2012-09-14 17:45:41 +02:00
  • 557223e0f9 Tell Travis that we need Riak galfert 2012-09-14 17:29:58 +02:00
  • 50601b5b71 Cleanup the code a little galfert 2012-09-14 17:20:57 +02:00
  • 15fdd7742f Fix custom content types to support arbitrary types (fixes #5) galfert 2012-09-14 16:23:42 +02:00
  • 956f6fd3b3 Add support for custom content types basti 2012-06-10 16:16:34 +02:00
  • 9d9fad77a0 Set index headers for user id in Riak basti 2012-04-23 14:33:14 +02:00
  • cbbf909e7f Memoization, duh basti 2012-04-22 20:37:10 +02:00
  • 40cd218a5f Add contributor info to readme, remove license part as it can be found in its own file galfert 2012-04-09 16:37:23 +02:00
  • dba3938119 Add license info galfert 2012-04-08 23:26:40 +02:00
  • 1d81e06d41 Set charset explicitly in Riak objects' content type basti 2012-03-17 14:49:31 +01:00
  • 202508ca95 Remove obsolete resources basti 2012-03-17 13:40:39 +01:00