Commit Graph

231 Commits

Author SHA1 Message Date
galfert 74a2c21c85 Merge pull request #38 from 5apps/rs_spec_02
Support for remoteStorage -02 spec
2014-12-09 17:31:19 +01:00
Greg Karékinian d4f5ee8b70 Run tests on Travis using latest Ruby 2.1 2014-11-07 17:22:51 +01:00
Garret Alfert 67ebeb47d8 Use new hook-juggler URL in Travis config
Heroku changed their routing using a new domain.
2014-10-21 16:06:36 +02:00
Greg Karékinian 316957bb21 Merge pull request #45 from 5apps/update_sinatra_and_backports
Update Sinatra to 1.4.5

Sinatra 1.4.4 and 1.4.5 have memory improvements (fixed leaks and less allocated objects per request)

Also update backports package, its current version is causing issues on
Ruby 2.1.3
2014-09-24 14:10:56 +02:00
Greg Karékinian 2f5ca36a70 Run specs on Travis on Ruby 2.1.3 as well as 1.9.3
Also use bundler to run the specs
2014-09-24 13:33:50 +02:00
Greg Karékinian 8f0106b190 Update Sinatra to 1.4.5
Also update backports package, its current version is causing issues on
Ruby 2.1.3
2014-09-24 13:24:44 +02:00
Garret Alfert 8e355ba532 Respond with 409 on naming collisions between documents and folders 2014-09-23 17:59:28 +02:00
Garret Alfert 1603d3d2ff Merge branch 'master' into rs_spec_02
Conflicts:
	lib/remote_storage/riak.rb
	spec/directories_spec.rb
2014-09-23 17:58:21 +02:00
basti 7cbef2dee0 Update gitignore 2014-08-05 12:20:44 +02:00
Greg Karékinian 580fda5ce5 Merge pull request #41 from 5apps/security_updates
Update activesupport, i18n and nokogiri gems
2014-05-09 13:18:37 +02:00
Greg Karékinian 6fbb8cdcf4 Update activesupport, i18n and nokogiri gems
The old activesupport gem depended on i18n 0.6.1
2014-05-09 12:00:58 +02:00
Greg Karékinian 75bcc517f4 Update rainbows to 4.6.1 2014-03-19 10:25:02 +03:00
galfert fc0783b224 Merge pull request #40 from 5apps/fix_colon_bug
Don't choke on colons in directory names (fixes #39)
2014-02-24 21:00:48 +01:00
galfert b118464b98 Merge pull request #37 from gregkare/rubygems_https
Switch RubyGems source to https
2014-02-24 20:48:59 +01:00
Garret Alfert a6707dd40d Add spec for unescaped special characters 2014-02-24 20:44:23 +01:00
Garret Alfert 9e6cc6178d Don't choke on colons in directory names (fixes #39) 2014-02-24 17:43:43 +01:00
Garret Alfert ed4152095b Code formatting 2014-01-09 23:58:20 +01:00
Garret Alfert 270ac1442e If-None-Match header may contain multiple revisions 2014-01-09 23:51:05 +01:00
Garret Alfert 38e69f1423 Last-Modified header is not needed anymore 2014-01-09 21:00:13 +01:00
Garret Alfert 8073eec851 HEAD requests for directory listings 2014-01-09 20:03:34 +01:00
Garret Alfert f8b1ad730a HEAD requests for documents 2014-01-09 19:26:36 +01:00
Garret Alfert 6d86fa516a Set Content-Length header for documents on GET 2014-01-08 23:27:07 +01:00
Garret Alfert 75e52f3e9a New directory listing format 2014-01-08 21:41:01 +01:00
Garret Alfert fd8b2059b2 Value for 'Expires' header needs to be a string 2013-12-09 01:57:26 +01:00
Garret Alfert 4ae4865de5 Set response code for newly created objects to 201 2013-12-08 23:22:36 +01:00
Garret Alfert 5ddde402a8 Set 'Expires' header to 0 for all responses 2013-12-08 22:59:03 +01:00
Garret Alfert a559f55a6d Change response code for successful DELETE requests from 204 to 200 2013-12-08 22:45:03 +01:00
Garret Alfert 96438bac8d Remove ETag header from DELETE requests 2013-12-08 22:42:01 +01:00
Garret Alfert ba3f5db598 Change response code for unauthorized access from 403 to 401 2013-12-08 22:38:36 +01:00
Greg Karékinian e657fa4d56 Switch RubyGems source to https 2013-11-24 17:10:07 +01:00
galfert 3dd79e28d3 Merge pull request #36 from 5apps/opslog_fix
Don't create opslog with count of 1 when updating existing binary file
2013-11-19 10:47:01 -08:00
Garret Alfert 17068f33df Don't write any opslog when count and size didn't change (same file) 2013-11-19 19:35:04 +01:00
Garret Alfert 2f95aab874 Don't increase opslog count when overwriting existing binary file 2013-11-19 19:23:13 +01:00
galfert c536802895 Merge pull request #35 from 5apps/etag_in_304_response
Send ETag header with 304 response as well
2013-11-16 05:12:52 -08:00
Garret Alfert 088cd2677c Send ETag header with 304 response as well 2013-11-16 13:54:30 +01:00
galfert af270bc27c Merge pull request #33 from 5apps/square_bracket_fix
Use patched riak-ruby-client (closes #32)
2013-11-06 14:07:57 -08:00
Garret Alfert 3937862358 Use patched riak-ruby-client (closes #32)
The patched version escapes square brackets in the
key and bucket names correctly.
2013-11-06 21:56:23 +01:00
Garret Alfert 08a7cddcfe Tell Travis to wait a little longer for riak to start 2013-11-01 14:40:39 +01:00
Garret Alfert 48dc081ba5 Tell travis to only test master and stable branch 2013-11-01 14:01:02 +01:00
Garret Alfert 75b5fda0e9 Remove unicorn gem dependency 2013-11-01 13:06:06 +01:00
galfert 165a30bcca Merge pull request #31 from 5apps/rs_spec_01
remoteStorage spec 01
2013-10-27 15:32:33 -07:00
Garret Alfert 256b3c426e Use ETags as version in directory listings 2013-10-27 22:29:17 +01:00
Garret Alfert 39dac0a5ed Remove some duplication 2013-10-27 22:29:17 +01:00
Garret Alfert a470b37c2c Allow to expose ETag header via CORS 2013-10-27 22:29:06 +01:00
Garret Alfert 2a2cc0a3ec Allow If-Match and If-None-Match headers via CORS 2013-10-27 22:28:43 +01:00
Garret Alfert b907f02f37 Specs for ETag headers for binary files 2013-10-27 22:28:05 +01:00
Garret Alfert 5215cdc5e0 Spec for updating ETags of all parent directories on delete 2013-10-27 22:27:19 +01:00
Garret Alfert 3b5f99ee0d Refactor 2013-10-27 22:26:50 +01:00
Garret Alfert f7eac9b411 Specs for If-None-Match on GET requests 2013-10-26 05:10:11 +02:00
Garret Alfert f61eef717e Don't overwrite existing data when If-None-Match is "*" (refs #26) 2013-10-26 05:09:37 +02:00