Akim Juillerat and Guewen Baconnier
11c90c5a17
[FIX] attachment_s3: Close fileobjects after usage
2020-06-22 07:46:16 +02:00
Akim Juillerat and Guewen Baconnier
c89bfc83e0
[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-06-22 07:46:05 +02:00
Akim Juillerat and GitHub
323158763b
Merge pull request #166 from grindtildeath/13.0-fix_auth_to_keystone_v3
...
[13.0] attachment_swift: Fix authentication to Keystone v3
2020-03-09 13:33:09 +01:00
Akim Juillerat
7bd76d3cd0
Fix authentication to Keystone v3
...
- Use newer version from python lib.
- Define project_domain_id + user_domain_id in auth
2020-03-09 13:01:43 +01:00
Akim Juillerat and GitHub
3470cd4667
Merge pull request #147 from grindtildeath/13.0_dev_attachments
...
[13.0]Require AWS_BUCKETNAME for prod, integration and labs environments only
2020-03-05 10:13:34 +01:00
Akim Juillerat
a372cabeb6
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-03-05 09:56:09 +01:00
Akim Juillerat and GitHub
99bf5ffef1
Merge pull request #151 from yvaucher/13.0-aws-bucketname-unstructured
...
[13.0] Add AWS_BUCKETNAME_UNSTRUCTURED to by-pass check
2020-03-05 09:53:36 +01:00
Akim Juillerat
a7e364f93b
[MIG] base_attachment_object_storage: Migration to 13.0
2019-10-08 17:10:36 +02:00
Akim Juillerat and GitHub
529ae1052f
Merge pull request #95 from grindtildeath/13.0_fix_travis_version
...
Fix travis.yml VERSION
2019-10-08 16:43:38 +02:00
Akim Juillerat
f65cb0ab19
Fix travis.yml VERSION
2019-10-08 16:10:10 +02:00
Akim Juillerat and GitHub
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 Juillerat and GitHub
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