Commit Graph

363 Commits

Author SHA1 Message Date
Steve Pulec
60cd79c6e2 S3 Mock should return an HTTP 409 if trying to create a bucket that
already exists. Closes #94.
2014-03-16 21:25:54 -04:00
Gilles Dartiguelongue
49ecfad6b1 Implement HEAD method due to changes in boto 2.25, closes: #91 2014-02-10 12:18:12 +01:00
Steve Pulec
403250e919 Fix S3 URL Regex to allow slashes in key names. 2014-02-06 20:47:56 -05:00
Konstantinos Koukopoulos
3846c46990 replace literal ints with constants 2013-11-15 11:53:39 +02:00
Konstantinos Koukopoulos
bdf5a9e26b convert to bytes for python 2.6 2013-11-14 17:47:03 +02:00
Konstantinos Koukopoulos
3628e40f3c Merge remote-tracking branch 'spulec/master'
Conflicts:
	moto/s3/responses.py
2013-11-14 17:17:35 +02:00
Jeff Gregory
df3155c869 when getting a key (HEAD request) return key.value instead of empty string. This is will mirror boto's method. 2013-11-08 15:36:39 -05:00
Brock Pytlik
5a475881d2 support bucket names in url paths in s3bucket_path 2013-11-08 15:36:38 -05:00
Mike Attili
d9862aaa65 Correct size check on multipart uploads. All parts except last must be > 5MB 2013-11-07 17:09:53 -05:00
Jeff Gregory
c75a233f6c when getting a key (HEAD request) return key.value instead of empty string. This is will mirror boto's method. 2013-10-25 14:36:49 -07:00
Steve Pulec
d8ca75deaa Merge pull request #48 from spulec/py26
Now supporting Python 2.6 as long as we're using the very latest HTTPretty
2013-10-03 17:43:37 -07:00
Steve Pulec
3bddbb4af3 Test out py26 with new HTTPretty 2013-10-03 20:34:13 -04:00
Konstantinos Koukopoulos
b1d59c7e17 support cancelling of multipart upload 2013-09-30 18:36:25 +03:00
Konstantinos Koukopoulos
e49006c723 remove pdb 2013-09-30 16:36:51 +03:00
Konstantinos Koukopoulos
8f47355493 remove plus from id (for real this time) 2013-09-30 14:50:23 +03:00
Konstantinos Koukopoulos
4539012db6 throw proper error if multipart upload is too small 2013-09-30 14:35:24 +03:00
Konstantinos Koukopoulos
aead9bb0d5 Complete MultiPart Operation does specify a body 2013-09-30 14:34:56 +03:00
Konstantinos Koukopoulos
3630b3c21a remove plus sign from id because it doesn't get parsed correctly in query string 2013-09-30 12:10:35 +03:00
Konstantinos Koukopoulos
04789a59fa don't forget to send the etag in the headers when uploading a part 2013-09-30 12:10:05 +03:00
Konstantinos Koukopoulos
9746e72e1d implement list parts 2013-09-30 12:09:35 +03:00
Konstantinos Koukopoulos
24ff30f9fc multipart_id doesn't exist, it's upload_id 2013-09-30 11:51:18 +03:00
Konstantinos Koukopoulos
0b45622dcb render part upload response correctly 2013-09-30 11:50:41 +03:00
Konstantinos Koukopoulos
f25caa872d Merge branch 'master' of github.com:spulec/moto
Conflicts:
	moto/s3/models.py
	moto/s3/responses.py
2013-09-30 11:02:25 +03:00
Ryan Permeh
e951a7f2d7 push fixed value 2013-09-27 11:00:40 -07:00
Ryan Permeh
a5ecf26f5a updated to fix split issue with paths with slashes 2013-09-27 10:47:32 -07:00
Sylvain Fraïssé
0fd4a5a6f8 Updates a test to show the ltrip use problem 2013-09-24 00:00:52 +02:00
Sylvain Fraïssé
596b435e57 Fix the 'www.' strip changing the lstrip method by the replace 2013-09-23 23:34:33 +02:00
Steve Pulec
b8957e0c6e Stop using deprecated md5, switch to hashlib. Closes #36 2013-07-08 12:46:36 -04:00
Steve Pulec
212d9c7abe core sts endpoints completed 2013-05-24 17:22:34 -04:00
Steve Pulec
3bc975188f more s3 tests for posting 2013-05-17 19:41:39 -04:00
Dan Berglund
7de4399b93 Added tests and made current tests pass 2013-05-17 11:43:09 +02:00
Dan Berglund
d8e9301c54 Added metadata to HEAD-response, boto uses this when only metadata is fetched 2013-05-17 09:59:05 +02:00
Dan Berglund
3880be5ea9 Added support for metadata on files, and support for POST:ing files to S3 2013-05-17 09:59:04 +02:00
Steve Pulec
4c8244b755 Clean up code for listing s3 keys. Fix #14. 2013-05-07 00:03:05 -04:00
Steve Pulec
caf73557cd Fix issue with large S3 values. Closes #11. 2013-05-06 23:33:59 -04:00
Steve Pulec
4345077173 coverage back at 100% 2013-05-03 20:14:33 -04:00
Steve Pulec
47bd4c49a3 attempting to move to upstream httpretty 2013-05-03 19:33:13 -04:00
Steve Pulec
be26daaff4 Fix S3 bucket list objects order and delimiters. Closes #14. 2013-04-13 19:23:32 -04:00
Steve Pulec
98d7a50790 Unquote s3 key names. Closes #13. 2013-04-13 19:00:37 -04:00
Steve Pulec
d96769a91c Fix for buckets with periods in them. Closes #15. 2013-04-13 17:28:00 -04:00
Steve Pulec
b7c46ae7bf fix S3 last_modified. Closes #8 2013-03-29 17:45:33 -04:00
Lucian Branescu Mihaila
5854219a4c Upload part and complete upload. Somehow, boto doesn't like output I send it, even though it's copy-pasted from its own logs. 2013-03-26 15:50:18 +00:00
Lucian Branescu Mihaila
f557487e06 Beginning of multipart upload support. 2013-03-26 14:52:33 +00:00
Steve Pulec
e64c73efed Allow writing empty body to s3 key if content-length is zero. Better fix for #6. 2013-03-26 10:11:16 -04:00
Steve Pulec
756955b61e Temporary fix to allow for writing empty strings to s3 keys. Closes #6. 2013-03-26 09:02:04 -04:00
Steve Pulec
e55f26a07a S3 should allow dashes in bucket names. Closes #5. 2013-03-23 09:57:20 -04:00
Steve Pulec
cd518d060e move to httpretty fork instead of bundling it. 2013-03-17 18:13:21 -04:00
Steve Pulec
2d98a9caef some more tests to bump coverage 2013-03-11 00:12:22 -04:00
Steve Pulec
a728b2581a Adding server mode 2013-03-05 08:14:43 -05:00
Steve Pulec
b0d89bb7b7 fix s3 key list and missing key response 2013-02-27 01:12:11 -05:00
Steve Pulec
91b61c7be5 another s3 http fix 2013-02-26 15:15:20 -05:00
Steve Pulec
3542f4ec30 make s3 handle http 2013-02-26 15:12:38 -05:00
Steve Pulec
d32059f301 pep8 2013-02-26 00:31:01 -05:00
Steve Pulec
757c45c659 replace pdbs with NotImplemented 2013-02-25 23:21:49 -05:00
Steve Pulec
89364ed864 Adding sqs queue creation 2013-02-23 22:26:46 -05:00
Steve Pulec
4fa9cac7d6 add s3 copy_key 2013-02-19 23:29:46 -05:00
Steve Pulec
3a9c757e46 add instance stop/start 2013-02-18 21:56:22 -05:00
Steve Pulec
4283cca63c clean up urls. start to clean up responses 2013-02-18 21:22:03 -05:00
Steve Pulec
ba360daa0f add get_all_buckets 2013-02-18 17:31:15 -05:00
Steve Pulec
28a46a5a3a add more s3 functions 2013-02-18 17:17:19 -05:00
Steve Pulec
f8633cbab7 rename backends 2013-02-18 16:31:42 -05:00
Steve Pulec
d1bb638ec7 remove .pyc 2013-02-18 16:28:08 -05:00
Steve Pulec
77d6df6531 basic ec2 and s3 working 2013-02-18 16:09:40 -05:00