Bert Blommers
a7f3b367b4
Introduce mock_aws() ( #7194 )
2024-01-27 19:38:09 +00:00
tungol
55c589072f
Admin: sorting imports with ruff ( #7075 )
2023-11-30 14:55:51 -01:00
kbalk
29b66fe10c
Techdebt: Replace sure with regular assertions in S3 ( #6603 )
2023-08-07 16:48:48 +00:00
Bert Blommers
7c702ee33f
S3: Return CORS headers for GET/PUT requests ( #6376 )
2023-06-07 22:28:40 +00:00
Bert Blommers
73257241ce
S3: Accept-Ranges headers should have dash ( #6326 )
2023-05-15 22:45:34 +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
Bert Blommers
0e6d27bac0
S3: Allow Bucket Creation without specifying Content-Length header ( #6190 )
2023-04-09 10:05:43 +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
8b058d9177
S3: Improve Cors AllowedOrigin behaviour ( #6007 )
2023-03-03 21:40:55 -01:00
Bert Blommers
27a2e42d9b
Admin: Update Docs to point to getmoto ( #5826 )
2023-01-07 10:35:14 -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
Bert Blommers
a2c2c06243
Techdebt - Align models-responses integration for all services ( #5207 )
2022-06-09 17:40:22 +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
eed32a5f72
Pylint - Enable more rules on source and tests-directory ( #4929 )
2022-03-11 20:28:45 -01:00
Bert Blommers
c6815c1a4b
Pylint - run on source directories (abc only for now) ( #4647 )
2021-12-01 22:06:58 -01:00
Bert Blommers
a912fc4cac
Feature: Allow custom endpoints for S3 ( #4562 )
2021-11-17 20:02:14 -01:00
Vincent Barbaresi
33ad777f71
add back OPTIONS key response after implementing CORS in #4497 ( #4528 )
2021-11-05 12:19:06 -01:00
Vincent Barbaresi
03c170e206
S3: Implement CORS headers in OPTIONS requests ( #4497 )
2021-10-30 10:02:30 +00:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules ( #4432 )
2021-10-18 19:44:29 +00:00
Bert Blommers
79f0cc9e9e
Tech debt - remove dead DynamoDB code and add RDS tests ( #4136 )
2021-08-04 17:24:26 +01:00
Bert Blommers
7693d77333
Remove Py2 support ( #3915 )
2021-07-26 07:40:39 +01:00
Codeglitches
9f9716ee01
Check S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable ( #3796 )
...
* Check S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable
* move S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable to settings
2021-03-26 16:51:19 +00:00
wynnw
891118a7c7
#3667 : Update the s3 post functionality to better support success_action_redirect ( #3668 )
...
* Update the s3 post functionality to better support success_action_redirect
- Add the bucket/key values to the redirect url like s3 does, which
supports code that relies on the key value being there on the
redirect.
- Add support for replacing ${filename} in the key value with the actual
filename from the form upload.
See Issue #3667
* Update s3 tests for changed success_action_redirect behavior
- Adds a new test called test_s3_server_post_to_bucket_redirect that
tests both the ${filename} replacement and the key/value addition to the
redirect query args
- Updated the test_creating_presigned_post checks to handle the
key/value additions to the redirect url.
* Fix test updates to work with python2.7
- remove f-string usage
- fix urllib.parse imports to use six
Co-authored-by: Wynn Wilkes <wynn@leading2lean.com>
2021-02-10 09:06:03 +00:00
Leo Sutic
cc0bd5213f
Enable CORS from everywhere using flask-cors. ( #3316 )
...
Co-authored-by: Leo Sutic <leo.sutic@matterport.com>
2020-09-19 10:07:17 +01:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Mike Grima
921b5a3227
Fixing broken tests #2126
...
- KMS
- S3
- CloudFormation (Thanks kgutwin!)
2019-03-28 10:09:03 -07:00
Jack Danger
802279d7c4
Authenticating to S3 in tests
2017-09-16 12:49:07 -07:00
Waldemar Hummer
24d1562d2f
allow non-ascii characters in request URLs
2017-08-05 21:03:50 +10:00
Steve Pulec
ff4649eebd
Merge pull request #924 from JackDanger/require-content-length-header
...
Require content-length header
2017-05-10 22:02:21 -04:00
Jack Danger Canty
a2fd72d2f8
Require content-length header
...
fixes #908
2017-05-01 12:13:12 -07: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
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
John Lynn
19d12d3bc3
Add failing test for bucket versioning
2015-02-22 22:22:32 +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
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
Steve Pulec
8b278eb05d
Clean up querystring logic.
2013-12-29 21:50:25 -05:00
Steve Pulec
59fe1abfdf
Cleanup flake8
2013-08-03 17:21:25 -04:00
Steve Pulec
3bc975188f
more s3 tests for posting
2013-05-17 19:41:39 -04:00
Steve Pulec
a728b2581a
Adding server mode
2013-03-05 08:14:43 -05:00