eric-weaver
abf3078c28
implement s3 object tagging
2017-07-15 22:36:12 -04:00
Kate Heddleston
a21413f4ea
NoSuchKey error in S3 is actually '404'
...
Fixes #571 and #953
2017-05-22 19:08:12 -07:00
georgepsarakis
9a861a367d
Enable DeleteMarker support for versioned buckets
...
- Add object version deletion
- Add DeleteMarker in versioned key store as latest version
- GetObject returns NoSuchKey for objects with DeleteMarker as latest
version
- Enable IsLatest in response when listing object versions
2017-05-14 19:56:25 +03:00
Steve Pulec
2adc5f2ace
Prefix should not be required for S3 lifecycle config. Closes #930 .
2017-05-10 22:45:01 -04:00
Hugo Picado
0945765537
Fixing metadata key on s3 operation response
...
ETag metadata key is being returned as "Etag" instead of "ETag". This leads to issues in some AWS SDKs using MotoServer. This change fixes the issue by updating the key to the correct format.
This closes #920
2017-04-27 13:57:18 +01:00
Dmytro Milinevskyy
6e61ee4caa
s3: handle WebsiteRedirectLocation
...
spulec/moto#821
2017-04-14 13:32:52 +02:00
Steve Pulec
6d422d1f37
Add BaseModel to all models.
2017-03-11 23:41:12 -05:00
Steve Pulec
3b4ef2cf15
Merge in master.
2017-03-05 09:58:39 -05:00
Matt Chamberlin
0393c384ad
fix etag metadata field name in key response dict (etag --> ETag) ( #855 )
2017-03-04 23:17:18 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Steve Pulec
136f6d67fb
Add S3 ACL for aws-exec-read. Closes #740 .
2016-11-23 19:42:36 -06:00
Declan Shanaghy
1441087e5c
Add S3 parsing for CloudFormation
2016-08-15 10:57:40 -07:00
Steve Pulec
bd7327fca2
Fix issues around S3 deletion. Closes #606 .
2016-05-08 17:14:35 -04:00
Steve Pulec
79addb8926
Add S3 functionality to copy range. Closes #526 .
2016-05-05 22:52:12 -04:00
Steve Pulec
b932343fec
Break out MissingKey as separate exception. Closes #571 .
2016-05-01 17:04:09 -04:00
George Leslie-Waksman
0ed7d1bb71
Add support for src_version_id to bucket copy_key op.
2016-04-27 17:08:44 -07:00
Steve Pulec
c38731ecbb
Add ACL support for S3 buckets.
2015-11-11 20:26:29 -05:00
Steve Pulec
18d63a6cfe
Add basics of S# website configuration. Closes #442 .
2015-11-04 18:55:41 -05:00
Mike Kaplinskiy
131d44f0ad
Add S3 ACL supprt.
2015-10-07 00:14:37 -07:00
Steve Pulec
323f720cb5
Fix S3 bucket policy delete. Closes #396 .
2015-08-07 22:43:24 -04:00
Simon-Pierre Gingras
dc0557205d
S3: Bucket policy
2015-07-23 17:33:52 -04:00
Steve Pulec
91fffbb83b
Add basics for S3 bucket lifecycles.
2015-06-02 23:11:23 -04:00
Steve Pulec
07dd6e554e
[S3]Only add multipart part_id to partlist if it is not already in there. Closes #324 .
2015-03-05 19:32:02 -05:00
Konstantinos Koukopoulos
2dd174b577
use request body in complete upload, improve exception handling
2015-02-10 16:56:56 +02:00
Konstantinos Koukopoulos
7250186c26
support multipart uploads when parts are uploaded out of order
2015-02-10 16:45:31 +02:00
Konstantinos Koukopoulos
1460a5a3c7
refactor S3 exceptions to inherit from RESTError
2015-02-10 15:33:18 +02:00
Jeff Balogh
c7bf6ffc91
Folder results should include the delimiter.
2015-01-29 09:20:40 -08:00
Steve Pulec
4ab3b318eb
Add S3 location response. Closes #279 .
2014-12-10 20:44:00 -05:00
Steve Pulec
3a82f089a2
Cleanup metadata setting and add fix for multipart uploads. Closes #274 .
2014-12-07 12:43:14 -05:00
Steve Pulec
1a015d0e39
Cleanup some incorrect date formats.
2014-11-29 23:34:40 -05:00
Joseph Lawson
20a69255c3
tweak Fn::GetAtt to return resource_json if resource is not implemented. DRY
...
This is better than failing out with a misleading Boto 400 error which should only happen when get_cfn_attribute is called but fails.
2014-10-21 14:51:26 -04:00
Joseph Lawson
1d9ffafaa5
create CloudFormation outputs and enable 'Fn::GetAtt' to work.
2014-10-21 12:45:03 -04:00
Cory Lorenz
5320b39912
Make S3 Model Timestamps Consistent By Using UTC
...
UTC seems to be default timezone for AWS, and the time strings are reporting as GMT, yet the date time is the local time zone.
2014-09-12 15:37:22 -07:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Steve Pulec
5e35348c0d
Cleanup S3 model methods to better deal with missing buckets.
2014-07-08 21:20:29 -04:00
Richard Eames
4cc45c3ac5
Implementation of bucket.list_versions
2014-06-27 16:21:32 -06:00
Richard Eames
e972000bb4
Keep track of previous versions of keys
2014-06-27 15:37:51 -06:00
Richard Eames
5409d99ca2
Added basic implementation of key/bucket versioning
2014-06-27 11:34:00 -06:00
Konstantinos Koukopoulos
d4602b9cae
support listing all multipart uploads
2014-04-02 19:09:48 +03:00
Konstantinos Koukopoulos
9954612035
add format field numbers for python 2.6 support
2014-04-02 16:34:29 +03:00
Konstantinos Koukopoulos
84ec801a52
refactor etag calculation to support a correct multipart key etag
2014-04-02 14:40:04 +03:00
Steve Pulec
1767d17018
Cleanup S3 a bit and add more coverage
2014-03-30 11:50:36 -04:00
Konstantinos Koukopoulos
11938dae7a
fix restore header formatting
2014-03-27 10:00:50 +02:00
Konstantinos Koukopoulos
8ada1d7829
support restore operation on s3 keys
2014-03-26 19:15:08 +02:00
Konstantinos Koukopoulos
c9d5dffa24
support reduced redundancy storage
2014-03-26 17:52:31 +02:00
Konstantinos Koukopoulos
1f49148a64
when copying keys create new objects using deepcopy
2014-03-26 17:41:07 +02:00
Konstantinos Koukopoulos
2ba64e1322
support replacing key metadata when copying
2014-03-26 16:02:14 +02:00
Konstantinos Koukopoulos
c68a1d3e9d
support x-amz-copy-source in multipart uploads
2014-03-21 17:33:51 +02:00
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
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
Mike Attili
d9862aaa65
Correct size check on multipart uploads. All parts except last must be > 5MB
2013-11-07 17:09:53 -05: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
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
9746e72e1d
implement list parts
2013-09-30 12:09:35 +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
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
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
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
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
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
d32059f301
pep8
2013-02-26 00:31:01 -05:00
Steve Pulec
4fa9cac7d6
add s3 copy_key
2013-02-19 23:29:46 -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
77d6df6531
basic ec2 and s3 working
2013-02-18 16:09:40 -05:00