Commit Graph

404 Commits

Author SHA1 Message Date
Claudio Catterina
9b8e24925e
S3: Multiple Transitions in lifecycle configuration (#6439) 2023-06-24 19:30:13 +00:00
Bert Blommers
7c702ee33f
S3: Return CORS headers for GET/PUT requests (#6376) 2023-06-07 22:28:40 +00:00
Viren Nadkarni
7bdea2688b
S3: Cross-account access for buckets (#6333) 2023-05-31 09:59:16 +00:00
Bert Blommers
85a069c0ec
S3 Select: Support nested from-clauses (#6348) 2023-05-30 11:04:20 +00:00
Bert Blommers
0144953273
S3 Select: Parse null-values (#6343) 2023-05-25 16:37:45 +00:00
Bert Blommers
73257241ce
S3: Accept-Ranges headers should have dash (#6326) 2023-05-15 22:45:34 +00:00
Ben Simon Hartung
760fa8fdc0
S3: fix checksum calculation (#6309)
* fix S3 compute checksums

* format

* fix test

* add copying of checksum between objects

* fix unit tests for checksum
2023-05-12 12:00:00 +00:00
Ben Simon Hartung
417561cec6
S3: fix copy in place when requesting checksum (#6308) 2023-05-10 14:59:55 +00:00
Ben Simon Hartung
9d8d166571
fix copy in place for bucket with encryption (#6303) 2023-05-10 10:03:03 +00:00
Ben Simon Hartung
fae7ee76b3
fix S3 PutObjectRetention and PutObjectLegalHold not using versionId (#6295) 2023-05-08 20:41:22 +00:00
vdytyniak-exos
7a4eac06d0
S3: Do not unquote the key two times on multipart upload complete (#6287) 2023-05-08 17:14:20 +00:00
Ben Simon Hartung
2c0636ae67
update CopyObject logic (#6264)
* S3 update CopyObject logic

* add CopyObject tests

* re-add missing type annotation

* add ACL test

* lint/format

* fix typing

* fix test

* fix test test_copy_object_does_not_copy_storage_class
2023-05-01 09:14:31 +00:00
Bert Blommers
2cd773fe95
Revert "Remove tests incompatible with werkzeug 2.3.0 (#6257)" (#6266)
This reverts commit da39d2103c.
2023-04-28 14:38:04 +00:00
Bert Blommers
da39d2103c
Remove tests incompatible with werkzeug 2.3.0 (#6257) 2023-04-26 10:56:08 +00:00
rafcio19
7fad08214d
S3: add a checksum to a copied object if requested so (#6245) 2023-04-22 20:45:00 +00:00
Bert Blommers
a08174405f
S3: get_object() should not return VersionId for non-versioned buckets (#6240) 2023-04-21 10:57:39 +00:00
Bert Blommers
0e6d27bac0
S3: Allow Bucket Creation without specifying Content-Length header (#6190) 2023-04-09 10:05:43 +00:00
Bert Blommers
ba05cc9c81
S3: Allow DeleteMarker as appropriate (#6187) 2023-04-08 10:34:15 +00:00
Bert Blommers
d343981916
S3: head_object() now returns the AcceptRanges header (#6157) 2023-04-01 20:20:29 +00:00
Bert Blommers
ea96013957
S3: get_object() now returns the AcceptRanges header (#6121) 2023-03-24 10:55:56 -01:00
Bert Blommers
64abff588f
S3: head_bucket() now returns the region-header (#6107) 2023-03-23 09:13:51 -01:00
Bert Blommers
681db433fd
S3: select_object_content() (Experimental) (#6103) 2023-03-21 15:55:19 -01:00
Bert Blommers
c4c5cdd3e7
Techdebt: Explicitly add credentials to ThreadedMotoServer tests (#6081) 2023-03-17 12:05:05 -01:00
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