Miku Laitinen and Yannick Vaucher
c2d40b84e1
[IMP] session_redis: allow configuring Redis URL instead of host & port.
...
Back-porting from [13] branch
2021-11-11 19:54:22 +01:00
Yannick Vaucher and GitHub
52570f9cb4
Merge pull request #267 from nilshamerlinck/11.0-backport-attachment_azure
...
[MIG] attachment_azure: Backport from 12.0 to 11.0
2021-11-01 19:51:13 +01:00
Nils Hamerlinck
848ff5d0bf
[MIG] attachment_azure: Backport from 12.0 to 11.0
2021-09-07 11:05:16 +07:00
Nils Hamerlinck
079951dbd9
[12.0][IMP] attachment_azure: don't get blob content if we only need its size
2021-09-07 11:02:26 +07:00
Nils Hamerlinck
f39a896367
[MIG] attachment_azure: Backport from 13.0 to 12.0
2021-09-07 11:02:26 +07:00
Nils Hamerlinck
7ed5cc8d58
[13.0][FIX] attachment_azure: in 13.0, _file_read() is expected to return base64 encoded data
2021-09-07 11:02:26 +07:00
Patrick Tombez and Nils Hamerlinck
2ae22ffdf0
[MIG] attachment_azure: Backport from 14.0 to 13.0
2021-09-07 11:02:26 +07:00
Patrick Tombez and Nils Hamerlinck
2515c4bfdc
[14.0][IMP] attachment_azure: Allow storage name override
2021-09-07 11:02:26 +07:00
Vincent Renaville and Nils Hamerlinck
66e910b48a
[IMP] Add identity ( #238 )
...
* [IMP] can use ad identity to access storage
2021-09-07 11:02:26 +07:00
Nils Hamerlinck
11cb863c8a
[FIX] attachment_azure: clean dbname to fit with container naming rules
2021-09-07 11:02:26 +07:00
Nils Hamerlinck
4c0495b39c
[FIX] attachment_azure: higher level of permissions needed to create container and upload blobs when using the SAS token
2021-09-07 11:02:26 +07:00
Hiren Pattani and Nils Hamerlinck
62645b74aa
[ADD] attachment_azure
2021-09-07 11:02:26 +07:00
Yannick Vaucher and GitHub
7f0e4b6ad0
Merge pull request #231 from yvaucher/11.0-bp-fix-bucket-name
...
[11.0] [FIX] Bucket name formatting
2021-05-31 09:50:26 +02:00
Miku Laitinen and Yannick Vaucher
fc8fa0186b
[FIX] Bucket name formatting
2021-05-31 09:46:05 +02:00
Yannick Vaucher and GitHub
9751c513e7
Merge pull request #228 from yvaucher/11.0-bp-multi-tenancy
...
[11.0] [BP] attachment_s3: multi-tenancy use db name in bucket
2021-05-28 12:35:02 +02:00
Yannick Vaucher
1b50f0a16f
attachment_s3: multi-tenancy use db name in bucket
...
Adds the possibility to insert `{db}` placeholder in the bucket name
that will be replaced by the database name to form a unique bucket
name per database.
2021-05-27 18:23:23 +02:00
Guewen Baconnier and GitHub
b14af352cd
Merge pull request #192 from acsone/11.0-188-port
...
[11.0][PORT] 188 from 10.0
2020-06-22 13:36:27 +02:00
Stéphane Bidoul
87f45d28cd
Log uid
2020-06-22 08:41:30 +02:00
Stéphane Bidoul
faae3e421b
Log request uuid
2020-06-22 08:41:30 +02:00
Guewen Baconnier and GitHub
b4a16d6586
Merge pull request #139 from camptocamp/11-fixes
...
cloud_platform: fix default config
2020-06-22 07:39:09 +02:00
Guewen Baconnier
f5efee36fd
Ignore .eggs/ in gitignore
2020-06-22 07:20:35 +02:00
Laurent Mignon (ACSONE) and Guewen Baconnier
cde3b5c7e2
[FIX] logging_json: define dependency override
2020-06-22 07:20:15 +02:00
Guewen Baconnier and GitHub
e0d799ab6d
Merge pull request #179 from guewen/11.0-fix-server-env
...
[11.0] Fix build after changes in server_environment
2020-05-11 09:39:09 +02:00
Guewen Baconnier and GitHub
7d8bdf62b6
Merge pull request #177 from ap-wtioit/11.0-fix_session_redis
...
11.0 session redis preserve sessions
2020-05-11 09:38:57 +02:00
Guewen Baconnier
3b178e0409
Fix build after changes in server_environment
...
Now the default env is "test", and we don't need the directory
at all.
See https://github.com/OCA/server-env/pull/44
2020-05-11 07:50:17 +02:00
Andreas Perhab
5983397e68
[FIX] session_redis: fix flake8 errors
2020-05-04 09:11:14 +02:00
Patrick Tombez and GitHub
6667353f59
Merge pull request #170 from p-tombez/11.0-s3_boto3
...
[11.0] attachment_s3: Migrate to boto3
2020-04-07 12:25:11 +02:00
Andreas Perhab
469daae435
[IMP] session_redis: add option to copy sessions from filesystem when starting
2020-04-07 12:19:41 +02:00
Andreas Perhab
7c700c7b76
[FIX] session_redis: add required option 'post_load' for server wide addon
2020-04-07 11:26:33 +02:00
Akim Juillerat and Patrick Tombez
85d274a10e
attachment_s3: Migrate to boto3
2020-03-10 10:21:30 +01:00
Akim Juillerat and GitHub
2b6045e33b
Merge pull request #164 from grindtildeath/11.0-fix_auth_to_keystone_v3
...
[11.0] attachment_swift: Fix auth to keystone v3
2020-03-09 13:32:41 +01:00
Akim Juillerat
df6c2aec0b
Fix authentication to Keystone v3
...
- Use newer version from python lib.
- Define project_domain_id + user_domain_id in auth
2020-03-09 09:40:31 +01:00
Akim Juillerat and GitHub
52416faee5
Merge pull request #148 from grindtildeath/11.0_dev_attachments
...
[11.0] Require AWS_BUCKETNAME for prod, integration and labs environments only
2020-03-05 09:59:43 +01:00
Patrick Tombez and GitHub
7aac003f04
Merge pull request #153 from p-tombez/11.0-keystoneauth_v3
...
[11.0] Use keystoneauth v3 for Swift attachments
2020-03-04 11:04:35 +01:00
Mussie Sirak and Patrick Tombez
87b33817ee
Use keystoneauth v3 for Swift attachments
2020-03-04 10:25:35 +01:00
Akim Juillerat
d931ecbcea
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 15:57:05 +01:00
Simone Orsi
02a460fef2
cloud_platform: fix default config
...
`_config_by_server_env` should always retutn a `PlatformConfig` instance
2020-02-04 13:40:16 +01:00
Patrick Tombez and GitHub
00f95aa59c
Merge pull request #134 from p-tombez/11.0-anon_redis_session
...
[11.0] Add anonymous redis session expiration configuration
2020-01-31 11:15:07 +01:00
Patrick Tombez
0470e54d1d
Add anonymous redis session expiration configuration
2020-01-29 16:32:51 +01:00
Nicolas Bessi (nbessi) and GitHub
9c4d3ca5ba
Merge pull request #127 from guewen/11.0-store-less-files-in-db
...
Store .less files in database
2020-01-15 08:00:04 +01:00
Guewen Baconnier
9c4e9392ef
Store .less files in database
...
When users customize .less files using the 'web_editor', the controller
creates a new ir.attachment for the customized file [0].
The attachment will be stored in S3 by default, which is unfortunate
since it will slow down the generation of the assets. Force storage
in the database for .less files.
Note: beware when porting this to upper versions, check the code of
web_editor, because it changed (notably less files are now scss).
[0] https://github.com/odoo/odoo/blob/11.0/addons/web_editor/controllers/main.py#L370
2020-01-14 16:59:23 +01:00
Guewen Baconnier and GitHub
0e235d2365
Merge pull request #54 from guewen/add-force-storage-special-fields
...
[11.0] Add method to force storage of special attachments to DB
2019-12-12 15:54:01 +01:00
Yannick Vaucher and GitHub
7e126f76a9
Merge pull request #119 from leemannd/11_remove_useless_logs
...
[11.0] Add description to model
2019-12-10 10:59:28 +01:00
Denis Leemann
5cb6be3257
[11.0] Add description to model
...
This removes the useless warning at startup
2019-12-09 16:28:43 +01:00
Guewen Baconnier and GitHub
536678cf40
Merge pull request #112 from guewen/11.0-add-support-running-env-labs
...
[11.0] Add support of 'labs' RUNNING_ENV in cloud_platform
2019-11-29 15:52:15 +01:00
Guewen Baconnier and GitHub
f99883eb0c
Merge pull request #104 from camptocamp/revert-99-11.0-monitoring_check_db_connection
...
Revert "[11.0] [IMP] monitoring_status: check the db is reachable"
2019-11-18 13:50:36 +01:00
Guewen Baconnier
b1f40cfe26
Add an advice in error message
2019-11-18 13:48:07 +01:00
Guewen Baconnier
e172ce490a
Add support of 'labs' RUNNING_ENV in cloud_platform
...
The labs env can be anything starting by 'labs', such as
'labs-logistics', 'labs-finance', ...
* At install, s3/swift is set as default storage
* However, unlike prod/integration, the storage is not forced to be an
object storage
* Redis is required
* When the storage is set on s3/swift, then the bucket name is mandatory
(otherwise, there is no place where to create the files...)
The redis prefix regex match is relaxed: anything starting by a project
name, then '-odoo-', then any combination of letters, digits, and dashes
is accepted (so a prefix my-project9-odoo-labs-web3 is valid).
2019-11-18 13:48:01 +01:00
Guewen Baconnier and GitHub
c2d85f3014
Revert "[11.0] [IMP] monitoring_status: check the db is reachable"
2019-10-29 17:31:40 +01:00
Simone Orsi and GitHub
484a8654f7
Merge pull request #99 from gurneyalex/11.0-monitoring_check_db_connection
...
[11.0] [IMP] monitoring_status: check the db is reachable
2019-10-28 08:11:52 +01:00