Commit Graph
28 Commits
Author SHA1 Message Date
Akim Juillerat b3e9049dfd Merge commit 'refs/pull/121/head' of github.com:camptocamp/odoo-cloud-platform into merge-branch-2543-bssmb-362-fix_set_acl_with_prod_dump_in_dev-dd4cd51b 2020-05-28 15:59:25 +02:00
Akim Juillerat 27457c90f1 Merge commit 'refs/pull/122/head' of github.com:camptocamp/odoo-cloud-platform into merge-branch-2543-bssmb-362-fix_set_acl_with_prod_dump_in_dev-dd4cd51b 2020-05-28 15:59:24 +02:00
Akim Juillerat f9e98fba7f Merge commit 'refs/pull/174/head' of github.com:camptocamp/odoo-cloud-platform into merge-branch-2543-bssmb-362-fix_set_acl_with_prod_dump_in_dev-dd4cd51b 2020-05-28 15:59:21 +02:00
Akim Juillerat f51efc87f3 fixup! fixup! fixup! attachment_s3: Add set ACL function 2020-05-28 15:58:21 +02:00
Akim Juillerat 123947100b [FIX] attachment_s3: Close fileobjects after usage 2020-03-18 13:22:02 +01:00
Akim Juillerat bd3be08203 [IMP] attachment_s3: Consider bin_size context key
When bin_size context key is set, read operations on attachments
are supposed to return the size of the attachment and not its content
2020-03-18 12:51:48 +01:00
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 Juillerat 985fa50158 Support minio.io for DEV without error 2020-02-11 17:34:42 +01:00
Akim Juillerat 4d04588125 fixup! fixup! attachment_s3: Add set ACL function 2020-01-31 12:42:30 +01:00
Akim Juillerat 6de4ced0f5 fixup! attachment_s3: Add set ACL function 2020-01-29 12:45:39 +01:00
1ad9a198a2 Update attachment_s3/models/ir_attachment.py
Co-Authored-By: Patrick Tombez <35060345+p-tombez@users.noreply.github.com>
2019-12-16 13:39:17 +01:00
Akim Juillerat 609a039481 fixup! base_fileurl_field: add acl_public_read slot 2019-12-16 11:06:07 +01:00
Akim Juillerat 8f902ed7ea attachment_s3: Add set ACL function 2019-12-12 14:43:51 +01:00
Akim Juillerat 727b4dd9b1 base_fileurl_field: add acl_public_read slot 2019-12-12 14:40:57 +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