Commit Graph
15 Commits
Author SHA1 Message Date
Akim JuilleratandGitHub 20a8493a63 Merge pull request #165 from grindtildeath/12.0-fix_auth_to_keystone_v3
[12.0] attachment_swift: Fix authentication to Keystone v3
2020-03-09 13:32:56 +01:00
Akim Juillerat 4a7ac33d9f Fix authentication to Keystone v3
- Use newer version from python lib.
 - Define project_domain_id + user_domain_id in auth
2020-03-09 12:07:59 +01:00
Akim JuilleratandGitHub cca48fb020 Merge pull request #141 from grindtildeath/12.0_dev_s3_attachments
[12.0] Require AWS_BUCKETNAME for prod and integration environments only
2020-02-26 14:40:13 +01:00
Akim Juillerat 928faced58 Require AWS_BUCKETNAME for prod, integration and labs environments only
AWS_BUCKETNAME is only needed in order to write on the bucket, but
read-only access should be allowed for other environments.

Fixes bug introduced by 6c3b610610
2020-02-25 17:19:48 +01:00
Akim JuilleratandGitHub 665976930b Merge pull request #58 from guewen/12.0-swift-auth-session
[12.0] attachment_swift: share a session for all connections
2019-05-20 15:44:47 +02:00
Akim JuilleratandGitHub 9df4251b3c Merge pull request #50 from grindtildeath/12.0_hostname_scheme
[12.0] Add https scheme if not present in AWS_HOST env var
2019-04-03 15:53:44 +02:00
Akim Juillerat 58d526d8cf Add https scheme if not present in AWS_HOST env var
With boto (odoo < 12.0) we use an hostname as AWS_HOST.
However with boto3, the connection must be initialized using an
URL containing a scheme (e.g https://)
This commit ensures we can use a simple hostname for odoo >= v12.0
without the need of specifying the scheme in the env var.
2019-04-03 14:48:53 +02:00
Akim Juillerat 959702b2d3 fixup! fixup! [12.0] Add base_fileurl_field 2019-04-02 14:07:30 +02:00
Akim Juillerat dd776de71b Make pylint happy 2019-03-14 15:16:54 +01:00
Akim Juillerat fa522a29e7 Update .travis.yml 2019-03-13 20:07:21 +01:00
Akim Juillerat 979e76c353 fixup! [12.0] Add base_fileurl_field 2019-03-13 20:04:41 +01:00
Akim Juillerat d83aca68e6 [12.0] Add base_fileurl_field 2019-03-13 19:18:07 +01:00
Akim Juillerat 626c157964 [IMP]: Allow to use context Key as storage key 2019-03-11 15:39:53 +01:00
Akim Juillerat 498aae2f53 [IMP]: Allow to pass storage as a context key 2019-03-11 15:39:53 +01:00
Akim Juillerat c61cf6c4e5 attachment_s3: Migrate to boto3 2019-03-11 15:39:53 +01:00