Commit Graph

431 Commits

Author SHA1 Message Date
Bert Blommers
94100c116c
S3: get_object_attributes() (#6075) 2023-03-16 10:56:20 -01:00
Hans Donner
18ec0c5467
Techdebt: skip tests when docker is not running (#6026) 2023-03-12 15:54:50 -01:00
Viren Nadkarni
2c9c7a7a63
S3: Restored archived objects must be retrievable (#6043) 2023-03-09 21:00:17 -01:00
Bert Blommers
8b058d9177
S3: Improve Cors AllowedOrigin behaviour (#6007) 2023-03-03 21:40:55 -01:00
Bert Blommers
7816b191b8
Core: Reset data when mock stops (#5958) 2023-02-22 10:21:45 -01:00
Bert Blommers
d001f6a226
S3: Fix Signature calculation for requests that contain a querystring (#5949) 2023-02-20 19:48:59 -01:00
Bert Blommers
0b1333c66d
S3: Close more filehandles (#5939) 2023-02-17 23:02:26 -01:00
Bert Blommers
e019473dee
S3: Close file-handles of created known FakeKeys explicitly (#5934) 2023-02-16 09:52:01 -01:00
Bert Blommers
40a3a529f9
Core: Rework model_data to only clear on exit (#5920) 2023-02-12 16:58:30 -01:00
Viren Nadkarni
749a8572ba
IAM: Fix resource list matching (#5908) 2023-02-07 13:24:59 -01:00
Bert Blommers
ad016112fe
S3: Improve bucket policy enforcement (#5883) 2023-01-31 10:33:57 -01:00
Bert Blommers
50da0d0667
S3: Enable bucket logging (#5847) 2023-01-16 22:36:08 -01:00
Bert Blommers
27a2e42d9b
Admin: Update Docs to point to getmoto (#5826) 2023-01-07 10:35:14 -01:00
Viren Nadkarni
77cf4e3143
S3: Return checksum header only if set (#5765) 2022-12-14 10:06:35 -01:00
Bert Blommers
623be47c4d
S3:put_object(): Return ChecksumAlgorithm-attribute if supplied (#5735) 2022-12-06 22:03:28 -01:00
Bert Blommers
740f1f103e
S3: Allow keynames with spaces (#5701) 2022-11-22 22:41:02 -01:00
Bert Blommers
1a8ddc0f2b
Techdebt: Replace string-format with f-strings (for tests dirs) (#5678) 2022-11-17 21:41:08 -01:00
Lukáš Lalinský
fa77d22d72
S3: Fix IfModifiedSince handling in S3 get_object/head_object (#5673) 2022-11-16 20:12:48 -01:00
Brian Pandola
a49222fc15 Fix PytestRemovedIn8Warning Warnings 2022-10-27 19:46:47 -07:00
Bert Blommers
bd465b032b
S3: Ensure we can copy deleted keys (#5589) 2022-10-23 11:23:03 +00:00
Bert Blommers
6f710189ce
S3: Close filehandle of versioned keys (#5587) 2022-10-21 22:14:58 +00:00
Bert Blommers
3e60cdf3eb
Techdebt: Unpin werkzeug (#5569) 2022-10-17 19:06:59 +00:00
Bert Blommers
5f7f3e6e46
S3:list_object_versions(): Fix delimiter to take prefix into account (#5562) 2022-10-14 13:49:33 +00:00
Bert Blommers
67c688b187
S3: Close FileHandles on GC (#5556) 2022-10-12 21:08:01 +00:00
Bert Blommers
cf2ce3324a
S3: close FileHandles on reset (#5545) 2022-10-09 12:22:46 +00:00
Bert Blommers
c462688846
S3 - UploadFile with ChecksumAlgorithm changes body content (#5498) 2022-09-28 09:33:27 +00:00
Bert Blommers
5739db4701
S3:get_object() - Simple BucketPolicy validation (#5476) 2022-09-16 15:59:45 +00:00
Bert Blommers
53efd628c4
S3:head_object() now returns the PartsCount-header (#5438) 2022-08-31 18:34:56 +00:00
Bert Blommers
58a313d294
S3 - Fix a bug when requesting a presigned URL on an object without ACL (#5417) 2022-08-24 21:17:17 +00:00
Cristopher Pinzón
a14469dafe
S3: Support for ownership rule configuration (#5409) 2022-08-24 10:48:13 +00:00
Cristopher Pinzón
126ac1777a
S3: Store and return ServerSideEncryption and KMS Key Id for Multiparts (#5393) 2022-08-23 21:08:37 +00:00
Cristopher Pinzón
7affaf3e52
S3: Checksum headers added to response (#5392) 2022-08-23 19:48:19 +00:00
Bert Blommers
3d913f8f15
MultiAccount support (#5192) 2022-08-13 09:49:43 +00:00
Cristopher Pinzón
20a2218ddc
S3 - avoid encoding of / (#5261) 2022-06-24 22:55:20 +00:00
Bert Blommers
7d8c05ebee
S3 - Return tag-count as string (#5258) 2022-06-23 20:38:22 +00:00
Bert Blommers
adaa7623c5
S3 multiparts - support ACLs (#5255) 2022-06-23 09:56:21 +00:00
Cristopher Pinzón
a44a9df21d
S3 - fix encoding for prefix (#5239) 2022-06-17 10:21:06 +00:00
Bert Blommers
a2c2c06243
Techdebt - Align models-responses integration for all services (#5207) 2022-06-09 17:40:22 +00:00
Daniel Birnstiel
f282cb03f0
Add state transition for restoring objects from S3 glacier (#5202) 2022-06-09 09:41:57 +00:00
Cristopher Pinzón
34a98d2c20
S3 - key_name url encoding for listing (#5181) 2022-06-01 11:03:40 +00:00
Bert Blommers
957b3148e0
S3 - Return custom response when calling DeleteObjects without authentication (#5124) 2022-05-12 13:59:47 +00:00
Bert Blommers
a666d59b58
S3 list_object_versions - ensure the prefix can contain a plus (#5097) 2022-05-05 11:06:31 +00:00
Bert Blommers
d60df32a25
Upgrade flake8 to 4.x (#5066) 2022-04-27 11:58:59 +00:00
Bert Blommers
10bd677cf2
Admin - enable more Pylint rules (#5037) 2022-04-18 20:44:56 +00:00
Bert Blommers
ac6d88518d
S3 - initial Notifications implementation (#5007) 2022-04-06 21:10:32 +00:00
Cristopher Pinzón
bd6b90a6ab
Extract region from auth headers for s3 bucket creation (#4983) 2022-03-31 10:47:29 +00:00
Bert Blommers
eed32a5f72
Pylint - Enable more rules on source and tests-directory (#4929) 2022-03-11 20:28:45 -01:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
142249fbdc S3:CompleteMultipartUpload - error on empty part list 2022-02-24 22:34:59 -01:00
Bert Blommers
8ba4bb63c5 S3 - ListObjectVersions: Limit DeleteMarkers by Prefix 2022-02-24 21:04:34 -01:00
Bert Blommers
f15e451815 S3 - Refactor tests 2022-02-24 20:51:01 -01:00
Amit Shah
e84cc20abe
Fix copying S3 objects, when using MetadataDirective='REPLACE' (#4883) 2022-02-24 13:21:27 -01:00
Bert Blommers
eba0fb8adc
HTTPBin is unavailable quite often - try example.com instead (#4843) 2022-02-08 15:35:37 -01:00
Sam Watson
433a57da68
raise an error on attempt to copy s3 object to itself without changing anything (#4838) 2022-02-08 09:02:09 -01:00
Cristopher Pinzón
500ed1a90b
Addition of bucket name when creating a key object (#4824) 2022-02-06 23:23:39 -01:00
Roman Rader
fc1ef55adc
Missing VersionID for versioned buckets in API (#4796) 2022-01-26 22:24:51 -01:00
Bert Blommers
35d3c72039
S3 - missing features (#4793) 2022-01-25 18:25:39 -01:00
Bert Blommers
6610862a8f
Separate S3Control methods from S3 (#4745) 2022-01-18 19:10:22 -01:00
Bert Blommers
9c8744ff64
Refactor Class-decorator logic to reset per test (#4419) 2022-01-18 16:58:21 -01:00
Bert Blommers
aa70ee254d
Remove deprecated decorators + boto dependency (#4378) 2022-01-18 14:18:57 -01:00
Bert Blommers
d118d592ca
Pylint remaining source code (#4760) 2022-01-14 18:51:49 -01:00
Ingyu Hwang (Evan)
56c3eb6e51
fix(s3/listparts): check parts length (#4724) 2021-12-27 18:23:26 -01:00
interimadd
b4175994e6
S3 - Error when restoring non arhive object (#4670) 2021-12-07 12:00:42 -01:00
Grisha Kostyuk
9ca50c3474
copy ContentType and Metadata from source object (#4666) 2021-12-07 11:14:19 -01:00
Bert Blommers
c6815c1a4b
Pylint - run on source directories (abc only for now) (#4647) 2021-12-01 22:06:58 -01:00
Cristopher Pinzón
1ac9b9949d
Correct status code for a versioned key search in not versioned bucket. (#4639) 2021-11-26 20:05:48 -01:00
Bert Blommers
4be96719ba
S3 - Fix corner cases multi upload (#4624) 2021-11-23 18:47:48 -01:00
FloatingGhost
3f8895a9a3
[s3] Allow KMS SSE parameters in copy_object (#4593) 2021-11-18 19:57:12 -01:00
Bert Blommers
a912fc4cac
Feature: Allow custom endpoints for S3 (#4562) 2021-11-17 20:02:14 -01:00
Jordan Sanders
7664cab828
Set version_id to null without bucket versioning (#4574) 2021-11-15 19:25:34 -01:00
Bert Blommers
60d9667da2
S3 - Fix NoSuchKey-format (#4572) 2021-11-14 16:16:58 -01:00
Bert Blommers
dfe01dad17
S3 - Remove double quotes on ETag after copy (#4561) 2021-11-11 10:51:09 -01:00
Bert Blommers
dfb380d887
S3 - PutObject cant specify ACL and Grant (#4550) 2021-11-09 21:49:37 -01:00
Bert Blommers
0bad68f9f0
S3 - create_multipart_upload - support tags (#4548) 2021-11-09 18:49:29 -01:00
Bert Blommers
eb1d127851
Feature: S3 - enable encryption when copying keys (#4535) 2021-11-06 22:12:01 -01:00
Vincent Barbaresi
33ad777f71
add back OPTIONS key response after implementing CORS in #4497 (#4528) 2021-11-05 12:19:06 -01:00
Bert Blommers
ccd216dfe5
S3 - get_object() should error for Glacier-class (#4523) 2021-11-02 22:02:14 -01:00
Brandon Bodnar
6264fb292c
fix: S3 CopyObjects with embedded percent encoding (#4514) 2021-11-01 21:17:06 -01:00
Vincent Barbaresi
03c170e206
S3: Implement CORS headers in OPTIONS requests (#4497) 2021-10-30 10:02:30 +00:00
Vincent Barbaresi
ecdd395bec
Fix range headers: use response_headers parameters instead of creating a new dict (#4502) 2021-10-30 09:49:42 +00:00
Bert Blommers
e388a25141
S3 - Return default content type (#4439) 2021-10-19 16:46:23 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
135edda994
S3 - get/put/delete replication config (#4421) 2021-10-16 17:26:09 +00:00
Shreesha Addala
c62bd5ca41
Enforce tagging restrictions for S3 object (#4417) 2021-10-15 19:10:28 +00:00
Bert Blommers
d916fd636f
S3:list_object_versions() - Implement Delimiter + KeyMarker (#4413) 2021-10-14 18:13:40 +00:00
Bert Blommers
df1732c737
S3 - list_objects(MaxKeys=0) (#4411) 2021-10-14 09:49:50 +00:00
Bert Blommers
52df393b5a
S3 - Move ACL tests to dedicated file (#4397) 2021-10-12 17:50:36 +00:00
Bert Blommers
773e9a9f79
S3 - Allow for keyname that is just an empty space (#4244) 2021-10-09 10:12:26 +00:00
Bert Blommers
c3503081bc
S3: HeadBucket requests should be authenticated (#4346) 2021-09-25 17:25:27 +00:00
Bert Blommers
6dfb539a97
Rewrite deprecated S3 tests (#3889) 2021-09-21 20:06:42 +00:00
Bert Blommers
c53183db70
S3 - Correct error when creating a bucket that already exists (#4257) 2021-09-01 16:30:01 +01:00
Bert Blommers
dc49232734
S3 - HeadObject should authenticate requests (#4240) 2021-08-29 14:49:05 +01:00
Bert Blommers
532386327d
S3 - Add RequestId to responses (#3836) 2021-08-28 08:32:14 +01:00
Bert Blommers
0317c502f0
S3 ListParts API: use MaxParts parameter (#3658) 2021-08-28 07:38:16 +01:00
Bert Blommers
684cafa2b8
S3 - Allow uploads using a PUT request without content-type (#3699) 2021-08-28 06:10:16 +01:00
Bert Blommers
8d4596a366
Prep Release 2.2.4 (#4205)
* S3 - Refactor logic to models.py, out of Response-class

* Changelog for release 2.2.4
2021-08-21 15:05:40 +01:00
Łukasz
73368863eb
Added handling for V4 signatures in PutObject body (#4201)
Co-authored-by: Łukasz Nowak <lukasz.nowak@idemia.com>
2021-08-19 15:06:43 +01:00
Hasanul Islam
492484be20
Add missing default regiono in s3 client (#4194) 2021-08-18 20:25:33 +01:00
Cristopher Pinzón
1d90946072
Feature S3 Object Lock (#4174) 2021-08-17 06:16:59 +01:00
Bert Blommers
79f0cc9e9e
Tech debt - remove dead DynamoDB code and add RDS tests (#4136) 2021-08-04 17:24:26 +01:00