231 Commits

Author SHA1 Message Date
Garret Alfert
cd2c0865e8 Save directory metadata in redis (WIP) 2016-01-20 15:53:22 -05:00
Garret Alfert
990ea9cf28 Save object metadata in redis 2016-01-20 15:33:35 -05:00
Garret Alfert
77bd54b009 Move old specs into riak subdir 2016-01-20 15:32:44 -05:00
Greg Karékinian
1a8ba680ab Travis CI: Update Ruby to 2.2.4 and switch to Trusty infrastructure 2016-01-20 18:36:44 +00:00
Greg Karékinian
bf3919e721 Update redis gem to 3.2.2 2016-01-20 18:15:09 +00:00
Greg Karékinian
1dde722d6f Merge pull request #71 from 5apps/fix_uploads_to_root
Fix uploads to root directory
2015-11-19 17:24:50 +01:00
Greg Karékinian
a026d18e02 Fix uploads to root directory
The `url_for_key` method returned a double slash because `directory` is
an empty string when uploading to the root directory

Refs #70
2015-11-16 16:52:54 +01:00
Greg Karékinian
e7de604c03 Merge pull request #69 from 5apps/set_token_in_sentry_exception
Send token to Sentry for debugging purposes
2015-09-30 16:21:50 +02:00
Greg Karékinian
ad687839b0 Send token to Sentry for debugging purposes 2015-09-30 16:04:43 +02:00
Greg Karékinian
6f3b688b84 Reload token when it was read from file more than 1 hour ago 2015-09-28 17:15:03 +02:00
Greg Karékinian
2c936c6e43 Update sentry-raven gem 2015-09-07 10:41:29 +02:00
Greg Karékinian
1f978109a3 Update rack gem 2015-09-07 10:40:08 +02:00
Greg Karékinian
c9e54cdc36 Run specs on Travis with Ruby 2.2 2015-09-03 16:31:52 +02:00
Greg Karékinian
2fdb4a617c Merge pull request #65 from 5apps/handle_invalid_utf8_in_path
Handle invalid UTF8 in path
2015-07-03 17:40:24 +02:00
Greg Karékinian
898f59ba83 Handle invalid UTF8 in path
... by not using ActiveSupport's broken `String#blank?` anymore
2015-07-01 17:26:43 +02:00
Greg Karékinian
267c8288ba Merge pull request #64 from 5apps/fix_root_etag
Fix ETag generation for container's root
2015-06-30 15:13:17 +02:00
Greg Karékinian
e07b763e22 Fix a regression with ETag and If-None-Match 2015-06-30 15:05:11 +02:00
Greg Karékinian
8c30bdcce5 Really fix the directory listing for a user's root 2015-06-30 14:59:07 +02:00
Greg Karékinian
87741d002a Generate an ETag for a container's root 2015-06-30 14:06:40 +02:00
Greg Karékinian
0e450c5e5c Fix root directory listing
It was flattened by accident

Refs #62
2015-06-29 21:21:58 +02:00
Greg Karékinian
671d3d5fd5 Merge pull request #63 from 5apps/fix_root_listing
Fix listing of a user's root directory
2015-06-29 19:11:05 +02:00
Greg Karékinian
1cf99377dc Fix listing of a user's root directory
Refs #62
2015-06-29 18:27:00 +02:00
Greg Karékinian
d01aafa5e9 Update activesupport, json, minitest, multijson, sinatra-contrib, tilt 2015-06-16 19:45:01 +01:00
Greg Karékinian
ea1e06423f Update rack to 1.6.2 2015-06-16 19:26:04 +01:00
Greg Karékinian
b6fd594196 Merge pull request #60 from 5apps/update_dependencies
Update dependencies
2015-05-29 18:58:44 +02:00
Greg Karékinian
0edd1b4062 Remove airbrake from dependencies in the gemspec 2015-05-29 18:29:25 +02:00
Greg Karékinian
5a6c7228a5 Update formatador 2015-05-27 16:44:16 +02:00
Greg Karékinian
c16f6e67b3 Update redis 2015-05-27 16:35:19 +02:00
Greg Karékinian
862fecea6b Update activesupport 2015-05-27 16:34:02 +02:00
Greg Karékinian
b3be6640d2 Update minitest and purdytest 2015-05-27 16:32:50 +02:00
Greg Karékinian
7941b50c94 Update sentry-raven 2015-05-27 16:27:54 +02:00
Greg Karékinian
d6a4657dcf Update m and rake 2015-05-27 16:26:57 +02:00
Greg Karékinian
f3b69196bb Update sinatra & sinatra-contrib 2015-05-27 16:24:48 +02:00
Greg Karékinian
42d6f89603 Update rainbows 2015-05-27 16:23:43 +02:00
Greg Karékinian
b74115a474 Use new column data storage for mime-types 2015-05-27 16:22:24 +02:00
Greg Karékinian
d6f13a94ed Update rest-client 2015-05-27 16:21:16 +02:00
Greg Karékinian
f5adc5f31d Escape directory and key for the URI in Swift provider 2015-05-04 22:38:25 +02:00
Greg Karékinian
0893c544d5 Don't send 404 to Sentry 2015-05-04 15:50:40 +02:00
Greg Karékinian
c29e681a40 Merge pull request #59 from 5apps/swift
Add Swift provider
2015-04-29 20:28:30 +02:00
Greg Karékinian
3b326d6dbf Add Sentry for exception tracking 2015-04-29 20:13:04 +02:00
Greg Karékinian
35c04f85e4 Add a Swift remoteStorage provider 2015-04-29 20:13:04 +02:00
e18646839b Update gitignore 2015-04-01 15:55:43 +01:00
Greg Karékinian
540d9e32d2 Merge branch 'expose_content_length_header' 2015-03-14 16:14:11 +01:00
Greg Karékinian
bbb1bc0af0 Merge branch 'fix_empty_file_response' 2015-03-14 15:48:15 +01:00
Greg Karékinian
c851ab92ac Merge branch 'fix_content_length_header' 2015-03-14 15:47:55 +01:00
Greg Karékinian
30a21db1ad Expose Content-Length header
Refs #50
2015-03-13 11:43:35 +01:00
Greg Karékinian
0f1f445e7f Always cast the Content-Length header into a string
Fixes a crash in Rainbows, when a header is set to a Fixnum/Integer.

Refs #53
2015-03-13 11:22:05 +01:00
Greg Karékinian
3851a88c81 Add a describe block for the public file with content
Also add a comment about why it's hard to check for nil because of Rack.
2015-03-13 10:42:48 +01:00
Greg Karékinian
a15635ce38 Fix a bug when a document has an empty body
Add check on content length for an empty file
2015-03-12 21:51:37 +01:00
247559e563 Add test for GET on empty object (refs #48) 2015-03-03 10:15:53 -04:00