Garret Alfert
|
28b6a7f22d
|
Merge branch 'master' into feature/update_to_recent_rs_spec
# Conflicts:
# spec/swift/app_spec.rb
|
2016-06-02 22:21:16 +02:00 |
|
|
a9e4b93cdc
|
Merge pull request #83 from 5apps/feature/message_body_contents
Send message body contents for 401, 404, 409 and 412 responses
|
2016-06-02 22:04:44 +02:00 |
|
Garret Alfert
|
a349db5243
|
Spec for directory listing of non-existing directories
|
2016-06-02 18:57:40 +02:00 |
|
Garret Alfert
|
576e4a9afb
|
Specs for response headers on GET requests
|
2016-06-02 18:57:37 +02:00 |
|
Garret Alfert
|
16e51038b1
|
Send ETag of deleted item in header
|
2016-06-02 18:56:45 +02:00 |
|
Garret Alfert
|
23f0908f38
|
No need for Expires header anymore
|
2016-06-02 18:54:49 +02:00 |
|
Garret Alfert
|
ed8061b594
|
Use content type "application/ld+json" for directory listings
|
2016-06-02 18:54:47 +02:00 |
|
Garret Alfert
|
c897959029
|
Send "Precondition Failed" message body with 412 responses
|
2016-06-02 18:49:44 +02:00 |
|
Garret Alfert
|
cc91b5c4cd
|
Send "Not Found" message body with 404 responses (refs #42)
|
2016-06-02 13:19:06 +02:00 |
|
Garret Alfert
|
83d8f29a04
|
Send "Conflict" message body with 409 responses (closes #409)
|
2016-06-02 13:18:59 +02:00 |
|
Garret Alfert
|
9a9a9c79e5
|
Send "Unauthorized" message body with 401 responses (refs #42)
|
2016-06-02 13:18:51 +02:00 |
|
|
7aaf3f80f7
|
Merge pull request #79 from 5apps/feature/migrate_root_metadata
Migration for adding metadata for root dir to Redis
|
2016-03-07 14:23:58 +01:00 |
|
Garret Alfert
|
781687d8a1
|
Migration for adding metadata for root dir to Redis
|
2016-03-07 14:14:07 +01:00 |
|
Greg Karékinian
|
1f19db0644
|
Merge pull request #78 from 5apps/bugfix/api_suite_regression_fixes_2
More fixes
|
2016-03-04 22:57:25 +01:00 |
|
Garret Alfert
|
df87deaf0b
|
Don't fail when order of array is different
|
2016-03-04 22:48:50 +01:00 |
|
Garret Alfert
|
648f86e0f3
|
Fix typo in specs
|
2016-03-04 22:40:04 +01:00 |
|
Garret Alfert
|
1d39445ba9
|
Fix deleting metadata for empty subdirectories
|
2016-03-04 22:17:33 +01:00 |
|
Garret Alfert
|
5378826c6a
|
Also use content checksum for ETag calculation
Timestamp is not enough, as it might be the same
for two consequent PUTs.
|
2016-03-04 22:17:25 +01:00 |
|
Greg Karékinian
|
8bcb8bf337
|
Merge pull request #77 from 5apps/bugfix/api_suite_regression_fixes
[WIP] API-test-suite regression fixes
|
2016-03-04 21:00:01 +01:00 |
|
Garret Alfert
|
3590b7dedc
|
Determine correct metadata key for objects in root dir
|
2016-03-04 20:47:41 +01:00 |
|
Garret Alfert
|
1c0bd18915
|
Delete obsolete method
|
2016-03-04 20:34:48 +01:00 |
|
Garret Alfert
|
43ff83d26b
|
Don't allow PUTS with Content-Range header
|
2016-03-04 19:33:00 +01:00 |
|
Garret Alfert
|
fd3293025d
|
ETags are quoted, doh
|
2016-03-04 19:32:36 +01:00 |
|
|
7e2fbe1de9
|
Merge pull request #74 from 5apps/features/retire_swift_dir_objects
Don't use or create any directory objects in Swift
|
2016-03-04 10:10:39 -05:00 |
|
Garret Alfert
|
d08bc45489
|
Don't use or create any directory objects in Swift
|
2016-03-04 15:33:28 +01:00 |
|
Garret Alfert
|
14a522f09f
|
Load bundled environment to access all libraries
|
2016-03-03 00:39:35 +01:00 |
|
|
d8fc27c8dd
|
Merge pull request #73 from 5apps/features/redis_migration
Migration script for copying metadata to Redis
|
2016-03-02 23:47:42 +01:00 |
|
Garret Alfert
|
9b7b224f79
|
Use more explicit key name for items
|
2016-03-02 18:06:42 +01:00 |
|
Garret Alfert
|
c2fd9bc6d0
|
Change Redis metadata key prefix to rs:m
|
2016-03-02 18:04:38 +01:00 |
|
Garret Alfert
|
88f2dceb27
|
Use single letters for Redis metadata keys
Saves 16 characters per document object and 10
characters per directory object
|
2016-03-02 15:00:33 +01:00 |
|
Garret Alfert
|
650da91a1d
|
Shorten Redis metadata keys
Use rsm:<username>:<dir>:i instead of
rs_meta:<username>:<dir>:items
|
2016-03-02 14:43:28 +01:00 |
|
Garret Alfert
|
067f4a1553
|
Use shorter Redis key for dir backend config
rsc:db:username instead of rs_config:dir_backend:username
|
2016-03-02 14:33:48 +01:00 |
|
Garret Alfert
|
ff25b40385
|
Save last modified timestamp for objects as well
|
2016-03-02 14:05:53 +01:00 |
|
Garret Alfert
|
19f6fcd068
|
Use actual Last-Modified time we get from Swift
|
2016-03-02 14:00:59 +01:00 |
|
Garret Alfert
|
d18de83893
|
Strip trailing whitespace from Swift token
|
2016-03-02 13:59:44 +01:00 |
|
Garret Alfert
|
f1f450cc72
|
Don't add double trailing slash to container URL
The directory name already contains a trailing slash.
|
2016-03-01 22:57:54 +01:00 |
|
Greg Karékinian
|
7107c77a3f
|
Turn Redis parameters into symbols
|
2016-03-01 15:06:23 +01:00 |
|
Greg Karékinian
|
e7a35636fd
|
Turn Redis parameters into symbols
|
2016-03-01 15:02:56 +01:00 |
|
Garret Alfert
|
41074e35b3
|
Log usernames for failed migration to separate file
This way they can be easily retried later on.
|
2016-02-29 15:35:37 +01:00 |
|
Greg Karékinian
|
b396a6dfd1
|
Update Ruby gems
|
2016-02-26 13:47:34 +01:00 |
|
Garret Alfert
|
33731f793a
|
Set dry_run via environment variable
Can be enabled via `DRYRUN=true`
|
2016-02-24 19:07:26 +01:00 |
|
Garret Alfert
|
3b391246ed
|
Use proper logger for migration script
|
2016-02-24 19:07:15 +01:00 |
|
Garret Alfert
|
570e3dcdb5
|
Set directory backend type during migration
|
2016-02-24 19:06:48 +01:00 |
|
Garret Alfert
|
54176b6928
|
Use data directly from Swift for metadata migration
|
2016-02-22 16:22:38 +01:00 |
|
Garret Alfert
|
5370df9c75
|
Basic migration script using actual RS dir listings
|
2016-02-15 15:15:01 +01:00 |
|
Greg Karékinian
|
0e10f3b6ff
|
Change the way to load the Redis config to allow clusters
|
2016-02-02 22:20:38 +00:00 |
|
Garret Alfert
|
c730333143
|
Don't try to do put or delete requests to root dir in order to update etag
|
2016-02-02 18:07:12 +01:00 |
|
|
902917d3ad
|
Merge pull request #72 from 5apps/redis_metadata_storage
Redis metadata storage
|
2016-02-02 14:35:49 +01:00 |
|
Garret Alfert
|
d7a71d039f
|
Comment out the Riak settings from example config
|
2016-02-02 01:04:49 +01:00 |
|
Garret Alfert
|
2516e9090e
|
Make Travis only run Swift specs for now
|
2016-02-02 00:57:53 +01:00 |
|