- Dec 24, 2022
-
-
Laurent Peuch authored
-
- Dec 09, 2022
-
-
Laurent Peuch authored
-
- Dec 22, 2022
-
-
Laurent Peuch authored
-
- Sep 28, 2022
-
-
Efflam Lemaillet authored
Refs: #14
-
Efflam Lemaillet authored
Refs: #13
-
Efflam Lemaillet authored
Refs: #12
-
- Jan 03, 2022
-
-
Cube Doctor authored
-
- Aug 18, 2021
-
-
Elouan Martinet authored
-
- Mar 17, 2021
-
-
Elouan Martinet authored
-
Elouan Martinet authored
-
- Feb 23, 2021
-
-
Elouan Martinet authored
-
Elouan Martinet authored
-
Elouan Martinet authored
-
- Jan 25, 2021
-
-
Elouan Martinet authored
Since the unsuffixed key is saved in database, a precommit event fetching an edited attribute doesn't download the new value.
-
Elouan Martinet authored
-
Elouan Martinet authored
-
Elouan Martinet authored
-
Elouan Martinet authored
-
- Jan 11, 2021
-
-
François Ferry authored
-
- Jan 06, 2021
-
-
Elouan Martinet authored
-
- Dec 17, 2020
-
-
Elouan Martinet authored
-
Elouan Martinet authored
-
- Oct 06, 2020
-
-
Elouan Martinet authored
-
Elouan Martinet authored
-
Elouan Martinet authored
-
Elouan Martinet authored
-
Elouan Martinet authored
-
- Jan 29, 2020
-
-
Arthur Lutz authored
Hooks require uploaded files to be accessible and open
-
- May 20, 2020
-
-
Elouan Martinet authored
-
- Aug 29, 2019
-
-
Arthur Lutz authored
-
- Sep 19, 2019
-
-
Arthur Lutz authored
-
- Sep 03, 2018
-
-
Denis Laxalde authored
Instead of doing storage attribution in test setup, we implement a test hook (in test/data/hook.py) as would be done in real application. As a consequence, we change the way s3 requests are mocked (using moto). Namely, we introduce a "_s3_client" class method in S3Storage that is mocked in test setup so that mocking operates in the test hook. In migration tests, instead of instantiating a new storage object, we reuse the one bound to Image's data attribute so as to benefit from the active mock.
-
- Sep 04, 2018
-
-
Denis Laxalde authored
Otherwise, reading the Binary object with .read() (not .getvalue()) returns nothing since the stream is positioned at the end. Accordingly, use .read() method in test.
-
- Jul 10, 2018
-
-
David Douard authored
no need for complicated code for parallel file upload.
-
- Jun 20, 2018
-
-
David Douard authored
-
David Douard authored
S3 object deletion can be disabled via a 's3-auto-delete' config option.
-
David Douard authored
This implementation provides an S3Storage that can be used to store entities attributes in an Amazon S3 storage. It comes with an STKEY rql function to be able to retrieve the S3 object key for the entity attribute (similar to BFSS's FSPATH rql function). S3 connection configurations are attached to the S3Storage instance, like: s3_storage = S3Storage(s3_bucket) storages.set_attribute_storage(repo, 'File', 'data', s3_storage)
-