Michael Penkov
45d99aef69
fix list comprehension
2020-04-29 13:03:03 +09:00
Mike Grima
dd22e7855a
Fixed a regression with CloudWatch
2020-04-27 12:56:17 -07:00
Bert Blommers
b5a894dd89
Merge pull request #2919 from antoinewdg-mt/fix-s3-delete-objects-with-versioning
...
Handle VersionId in S3:delete_objects
2020-04-27 15:38:06 +01:00
Antoine Wendlinger
41abd4344b
Use xmltodict for parsing
2020-04-27 11:42:27 +02:00
Steve Pulec
efbb9c54a5
Merge pull request #2909 from oliparcol/bug/2759
...
S3 - Allow keys to start with leading slashes
2020-04-25 18:46:25 -05:00
Steve Pulec
b24b7cb858
Merge branch 'master' into feature/extend_generic_tagger_to_s3
2020-04-25 18:40:50 -05:00
Steve Pulec
f4338876ff
Merge pull request #2834 from bblommers/feature/cloudwatch-integrated-metrics
...
Cloudwatch - Add default metrics for other services
2020-04-25 18:35:17 -05:00
Olivier Parent Colombel
d852f7dd06
Fixing lint errors.
2020-04-25 17:49:50 +02:00
Olivier Parent Colombel
637e0188a2
Allow S3 keys to start with leading slashes.
2020-04-25 17:49:50 +02:00
Antoine Wendlinger
9ed6e52d0a
Handle VersionId in S3:delete_objects
...
VersionId is not read in delete_objects requests, and the behavior
differs from its singular counterpart delete_object.
This fixes the issue.
2020-04-23 19:01:58 +02:00
Daniel Wallace
50a147592d
Make all CallbackResponse requests into a Werkzeug Request
...
The "request" object in CallbackResponse is the PreparedRequest send by
whatever client is used to contact the mocked moto service. This can end
up with unparsed bodies, as we added for processing presigned post
requests in #2155 . This will make sure that all of the requests comming
in from mocked functions also get processed by werkzeug as if it was
running a live server.
2020-04-22 09:08:30 -05:00
Daniel Wallace
80b27a6b93
blacken
2020-04-21 21:43:32 -05:00
Daniel Wallace
4b0ba73204
use werkzeug
...
hooray, thanks pallets discord!
2020-04-21 20:13:53 -05:00
Daniel Wallace
49b056563a
process multipart form
2020-04-21 19:52:10 -05:00
Daniel Wallace
b3f6e5ab2f
add test
2020-04-21 18:07:50 -05:00
Daniel Wallace
156ba56fdc
set default status for s3 posts
...
and add support for success_action_redirect.
2020-04-21 18:06:43 -05:00
David Holroyd
a845de1142
PutObject and DeleteObject should produce no XML
...
S3 itself produces an empty body, with any response metadata in HTTP
headers only.
2020-04-06 21:01:43 +01:00
David Holroyd
16db824d8a
Fix response XML structure
2020-04-06 00:19:19 +01:00
Bert Blommers
8dbfd43c5c
Use TaggingService for S3 - Cleanup
2020-04-01 15:35:25 +01:00
Bert Blommers
f7ad4cbc09
Use TaggingService for S3 Objects
2020-03-31 12:04:04 +01:00
Bert Blommers
6dd6686afc
Use TaggingService for S3 Buckets
2020-03-31 11:10:38 +01:00
Mike Grima
0c191ac33b
Raise errors on tagging buckets with aws:*
...
Cannot tag S3 buckets with reserved tag key space `aws:`
2020-03-30 17:27:06 -07:00
Bert Blommers
c3865532f9
#2711 - Register default S3 metrics in CloudWatch
2020-03-23 15:53:39 +00:00
Steve Pulec
94f85902bc
Merge pull request #2821 from bblommers/feature/2255
...
CloudFormation - Add Support for FN:Transform and AWS:Include
2020-03-19 19:40:46 -05:00
Steve Pulec
c13aadf75b
Merge pull request #2816 from bblommers/bugfix/2789
...
S3 - Bugfix - Remove possibilty for concurrent access to file content
2020-03-19 19:37:14 -05:00
Bert Blommers
cbf0397953
#2255 - CF - Implement FN::Transform and AWS::Include
2020-03-18 13:02:07 +00:00
Bert Blommers
5e4736e233
Remove unnecessary print-statements
2020-03-17 09:19:57 +00:00
Bert Blommers
e2434cbf6f
Remove unnecessary lock
2020-03-17 09:19:02 +00:00
Bert Blommers
d8423b5de0
Optimize content length for large files
2020-03-17 09:16:12 +00:00
Asher Foa
374b623e1d
Fix some 'DeprecationWarning: invalid escape sequence' warnings and use str.format for string interpolation.
...
I am seeing a lot of deperecation warnings when I use moto for my tests (running under pytest), so I figured I'll clean up some of them.
2020-03-12 13:50:59 -07:00
Bert Blommers
3802767817
S3 - Add test case to showcase bug when downloading large files
2020-03-12 12:25:31 +00:00
Steve Pulec
6b6a059350
Merge pull request #2132 from Projectplace/tagging-directive
...
Support x-amz-tagging-directive in s3 copy_object
2020-02-17 20:00:30 -06:00
Steve Pulec
a1ffb47ae4
Merge pull request #2751 from mikegrima/s3control
...
Implemented S3 Account-level public access block.
2020-02-17 19:53:15 -06:00
Mike Grima
11b7be0e85
Implemented S3 Account-level public access block.
...
- Also added AWS Config listing and fetching support
- Also fixed Lambda test breakage
2020-02-17 15:41:27 -08:00
Daniel Wallace
01f3b60c09
Allow ports in k8s service urls for s3 mock
...
If there is a port in the host for the request, then this if statement
is not tripped.
2020-02-17 17:38:53 -06:00
Bert Blommers
f74f08581a
S3 - Add IllegalLocationConstraint validation when creating buckets
2020-02-02 10:36:51 +00:00
Steve Pulec
19bf8bf762
Change S3 S3_ALL_BUCKETS response to return bucket creation_date in iso format.
2020-01-22 20:43:45 -06:00
Steve Pulec
d73a548bb0
Remove duplicate StorageClass in S3_MULTIPART_LIST_RESPONSE.
2020-01-22 19:45:27 -06:00
Waldemar Hummer
bcc4a74869
avoid rendering "None" as S3 Prefix value
2019-12-21 12:08:13 +01:00
Fabio Dias
743dd46399
black linting
2019-12-16 21:25:20 -05:00
Fabio Dias
fd9ac4b9a5
ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override
2019-12-16 21:05:29 -05:00
Fabio Dias
fb9ebe5a47
linting fixes
2019-12-16 19:56:11 -05:00
Fabio Dias
b83a750630
Added references to moto.iam.models.ACCOUNT_ID instead of hardcoded id
2019-12-16 19:56:11 -05:00
Mike Grima
84ccdbd1cd
Implemented S3 Public Access Block
2019-12-12 17:45:31 -08:00
Niklas Janlert
b51d5ad65f
Support x-amz-tagging-directive in s3 copy_object
2019-11-23 00:38:26 +01:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Mike Grima
503bc333ca
Small fix for S3-AWS Config compatibility
...
- Small bug in tags with AWS Config
- Aggregated results lack "tags" in the result set
- Buckets also add a supplementary configuration of
"BucketTaggingConfiguration"
2019-10-29 14:35:13 -07:00
Mike Grima
e9dc0c9a3a
Fixed bugs in AWS Config Querying
...
- Fixed some log bugs in the Config querying APIs
- Fixed an issue with S3 ACLs when described from Config (it's actually
a double-wrapped JSON)
2019-10-23 22:32:45 -07:00
Mike Grima
57dc6522f2
Merge pull request #2505 from mikegrima/configFix
...
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:53:18 -07:00
Mike Grima
9273db7e61
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:01:39 -07:00