352 Commits

Author SHA1 Message Date
Garret Alfert
4e7c8f68bb Add missing arguments to method call 2016-01-28 17:48:20 +01:00
Garret Alfert
d973771192 Remove some duplication 2016-01-26 20:33:43 +01:00
Garret Alfert
0745354b8a Retrieve directory listing from Redis via Lua 2016-01-26 20:32:29 +01:00
Garret Alfert
737be34e73 Configure the source of dir listing (redis or swift) 2016-01-26 20:21:45 +01:00
Garret Alfert
15196ca4b9 Check IF_NONE_MATCH header for directory listings 2016-01-23 14:29:37 -05:00
Garret Alfert
bec9f7a6cc Set ETag header for directory listings 2016-01-23 14:29:18 -05:00
Garret Alfert
c676c1a6a8 Add metadata entry for root directory 2016-01-23 14:28:14 -05:00
Garret Alfert
599865cf3f Generate directory listing from Redis metadata 2016-01-23 13:26:38 -05:00
Garret Alfert
dfc8a59096 Fix redis keys and content for nested directories 2016-01-23 13:20:42 -05:00
Garret Alfert
f73c286ce9 Purge all keys from redis before every test run 2016-01-23 12:34:08 -05:00
Greg Karékinian
7d5bd3a624 Fix .travis.yml file 2016-01-22 23:01:33 +00:00
Greg Karékinian
9fe03498ea Force legacy Blue Box build for now on Travis 2016-01-22 23:00:13 +00:00
Garret Alfert
25c170021e Delete metadata from Redis when deleting objects 2016-01-22 16:04:28 -05:00
Garret Alfert
02e5d0b5ab Fix relative path in riak specs 2016-01-22 14:49:57 -05:00
Garret Alfert
972378e67f Don't care for order of array when comparing 2016-01-22 14:46:41 -05:00
Garret Alfert
189d04af25 Save list of directory items in redis 2016-01-20 17:27:00 -05:00
Greg Karékinian
d1651799cf Revert "Add riak service to Travis CI"
This reverts commit d0dd4af3d942df347067cfaf0661beaadb402324.
2016-01-20 21:40:28 +00:00
Greg Karékinian
d8ba27cb63 Back to precise builds on Travis 2016-01-20 21:00:42 +00:00
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
d0dd4af3d9 Add riak service to Travis CI 2016-01-20 20:21:25 +00:00
Greg Karékinian
b520e591c7 Manually install bundler in Travis build 2016-01-20 19:02:52 +00:00
Greg Karékinian
aa0caac3c4 Add bundler caching to Travis build 2016-01-20 18:57:34 +00: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