Commit Graph

3888 Commits

Author SHA1 Message Date
acsbendi
290f8f9fd5 Fixed host header not included in S3 requests sometimes. 2019-07-26 19:50:24 +02:00
acsbendi
3e1e273380 Fixed collecting policies from groups. 2019-07-24 21:41:33 +02:00
acsbendi
45a380a807 Fixed host not present in headers for S3 requests. 2019-07-24 21:29:00 +02:00
acsbendi
d428acdb7c Separate SignatureDoesNotMatchError for S3. 2019-07-24 21:01:11 +02:00
acsbendi
d471eb69c0 For EC2 requests, AuthFailure should be raised instead of SignatureDoesNotMatch. 2019-07-24 19:47:39 +02:00
acsbendi
e22e8b5a67 set_initial_no_auth_action_count should also set request_count to 0. 2019-07-24 18:58:50 +02:00
acsbendi
15c872cffc Created decorator for setting INITIAL_NO_AUTH_ACTION_COUNT. 2019-07-24 18:15:31 +02:00
acsbendi
bbf003d335 Set correct HTTP codes for some auth-related errors. 2019-07-24 17:21:33 +02:00
acsbendi
3dd2e3a1b8 Moved INITIAL_NO_AUTH_ACTION_COUNT to settings. 2019-07-24 16:30:48 +02:00
acsbendi
95799b99bc Fixed incorrect authentication error handling in S3. 2019-07-16 16:27:50 +02:00
acsbendi
1b8179992e GetUser returns the IAM user who owns the access key in the request. 2019-07-13 15:58:34 +02:00
acsbendi
7db2d0f38c Use abc in a python2-compatible way. 2019-07-13 15:12:21 +02:00
acsbendi
7b096d690f Replaced print with log.debug. 2019-07-13 15:04:41 +02:00
acsbendi
de01adec57 Fixed linting errors. 2019-07-13 14:58:42 +02:00
acsbendi
b0fbd834c0 Merge branch 'spulec-master' 2019-07-13 13:44:11 +02:00
acsbendi
419fcf2ee9 Merge branch 'master' of https://github.com/spulec/moto into spulec-master 2019-07-13 13:43:19 +02:00
Steve Pulec
396cb39676
Merge pull request #2296 from bkovacki/create-rds-with-option-group
Add support for OptionGroupName in create_db_instance
2019-07-11 19:56:41 -05:00
Berislav Kovacki
4fd0b5c710 Add support for OptionGroupName in create_db_instance 2019-07-11 22:43:42 +02:00
acsbendi
9d992c9335 Fixed error on single (non-list) Statements. 2019-07-11 14:22:42 +02:00
acsbendi
59f091bdea Default INITIAL_NO_AUTH_ACTION_COUNT should be infinity. 2019-07-11 13:58:57 +02:00
Steve Pulec
108dc6b049 Prep for 1.3.11 2019-07-10 22:18:24 -05:00
Steve Pulec
ab67c1b26e 1.3.10 2019-07-10 22:04:31 -05:00
acsbendi
bec0c5a273 Fixed S3 actions not handled properly. 2019-07-10 20:42:23 +02:00
Steve Pulec
12aa5dddf7
Merge pull request #2289 from spulec/fix-2275
Fix for UpdateExpression with newline. Closes #2275.
2019-07-09 19:58:32 -05:00
Steve Pulec
6a13d54616
Merge pull request #2266 from garrettheel/feat/dynamodb-expressions
Improve DynamoDB condition expression support
2019-07-09 18:22:55 -05:00
Steve Pulec
53f8997d62 Fix for UpdateExpression with newline. Closes #2275. 2019-07-09 18:21:00 -05:00
acsbendi
947e26ce1b Removed unused exception. 2019-07-09 19:46:04 +02:00
acsbendi
1df4e8da2f Fixed bugs in processing policies belonging to assumed roles. 2019-07-09 19:44:23 +02:00
Garrett Heel
ba95c945f9 remove dead code 2019-07-09 09:20:35 -04:00
Steve Pulec
e77c4e3d09 Add getting setup to contributing. 2019-07-08 20:42:36 -05:00
Steve Pulec
d758952d84
Merge pull request #2287 from bkovacki/add-instance-create-time-to-db-instance
Add InstanceCreateTime to DBInstance
2019-07-08 19:43:07 -05:00
Berislav Kovacki
c51ce76ee9 Add InstanceCreateTime to DBInstance 2019-07-09 02:10:33 +02:00
Steve Pulec
7bb2b9dc8c
Merge pull request #2016 from adriangalera/ses->sns
Enable SES feedback via SNS
2019-07-08 19:00:58 -05:00
Steve Pulec
a9ec1c7ee7
Merge pull request #2082 from markchalloner/mark-alias-target
Fix route53 alias response.
2019-07-08 18:27:22 -05:00
Steve Pulec
841eaf3886
Merge pull request #2286 from acsbendi/assume-role-fix
AssumeRole returns randomly generated credentials.
2019-07-08 18:23:15 -05:00
Steve Pulec
8c61bce1a2
Merge pull request #2276 from aakhan-sep/master
Implement If-Modified-Since in GET Object for S3 Bucket
2019-07-08 18:22:44 -05:00
acsbendi
23957fe940 Implemented finding credentials from already created IAM users and roles. 2019-07-08 19:57:14 +02:00
Steve Pulec
8b2ddb7579
Merge pull request #2156 from william-richard/set-lambda-function-physical-resource-id
Set lambda function physical resource id
2019-07-08 10:32:55 -05:00
Bendegúz Ács
4ccf48e46b
Merge pull request #8 from acsbendi/assume-role-fix
AssumeRole returns randomly generated credentials.
2019-07-08 17:06:08 +02:00
acsbendi
ab0d23a0ba AssumeRole returns randomly generated credentials. 2019-07-08 16:32:25 +02:00
acsbendi
0d03a31bae Merge branch 'spulec-master' 2019-07-08 13:40:27 +02:00
acsbendi
e64d1c1790 Merged upstream master 2019-07-08 13:40:19 +02:00
Steve Pulec
414ff930ed
Merge branch 'master' into mark-alias-target 2019-07-07 23:11:53 -05:00
Steve Pulec
ac33845367
Merge pull request #2070 from bkovacki/add-attributes-parameter-for-sns-create_topic-api
Add attributes parameter support for sns create_topic API
2019-07-07 23:04:40 -05:00
Steve Pulec
d7af2870f8
Merge pull request #2243 from hjarrell/master
Add CreateDate to iam list_groups_for_user.
2019-07-07 23:02:29 -05:00
Steve Pulec
8d06e6e93d
Merge branch 'master' into set-lambda-function-physical-resource-id 2019-07-07 23:00:26 -05:00
Steve Pulec
1cbfa4a4ae
Merge pull request #1886 from jonafato/python-versions
Add Python 3.7 support, remove Python 3.3 support
2019-07-07 22:49:36 -05:00
Steve Pulec
6efd5582d7
Merge pull request #2284 from wndhydrnt/fix-iam-get-role-policy-not-found
Raise exception if a role policy is not found
2019-07-07 21:23:44 -05:00
Steve Pulec
4e6eb25512
Merge pull request #2274 from corydolphin/failing-test
Adds failing test for socket.socketpair()
2019-07-07 21:18:46 -05:00
Steve Pulec
67242946ef
Merge pull request #2283 from myazinn/example_on_scala
Example of using a moto server with Scala
2019-07-07 21:16:54 -05:00