Alexandre Fayolle
4acfcd22a2
Remove the bin_size return
...
When we return a bin_size (such as 28672), the web client does not
accept it as as bin size and try to use it as value for the b64 src of
the image. Though, returning the image as b64 in all cases does seem to
be supported.
This comes from 9ca3f87614 by Guewen
Baconnier
2022-04-29 10:07:43 +02:00
Vincent Renaville and GitHub
6f9d5a2e5e
fix: rename module to avoid confusion ( #363 )
2022-04-08 14:55:10 +02:00
Vincent Renaville and GitHub
de37e27368
feat: add delivery more plateform independant ( #362 )
2022-04-08 14:27:56 +02:00
Vincent Renaville and GitHub
f99d03dd0e
fix: change _dispatch function signature ( #355 )
2022-03-16 14:22:55 +01:00
Vincent Renaville and GitHub
61aadafabf
fix: add missing function get_running_env ( #354 )
2022-03-15 13:41:32 +01:00
Vincent Renaville and GitHub
61a7d392ff
9 azure backport ( #353 )
...
* fix: backport fix + backport modules to azure
2022-03-15 10:27:02 +01:00
Yannick Vaucher and GitHub
92bf8210ef
Merge pull request #299 from camptocamp/9.0-bp-cloud-abstract
...
[9.0] Backport of cloud abstraction
2021-11-15 17:22:19 +01:00
Florent Xicluna and Yannick Vaucher
eb06321284
Align readme with PR #244
2021-11-15 16:11:37 +01:00
Patrick Tombez and Yannick Vaucher
1349eb06e0
[13.0][FIX] cloud_platform: Fix Redis checks
2021-11-15 16:11:37 +01:00
Alexandre Fayolle and Yannick Vaucher
3ea80ea7d4
[FIX] cloud_platform_ovh uses swift
2021-11-15 16:11:37 +01:00
Patrick Tombez and Yannick Vaucher
cd4fec96ee
[13.0][IMP] Make cloud_platform fully abstract + update related modules ( #244 )
2021-11-15 16:11:37 +01:00
Yannick Vaucher
8a4e636d94
Travis build only on master branches
...
Avoid duplicate build on branches created for pull requests
2021-11-15 12:37:01 +01:00
Yannick Vaucher and GitHub
da05c26f87
Merge pull request #303 from camptocamp/9.0-bp-redis-url
...
[9.0][IMP] session_redis: allow configuring Redis URL instead of host & port.
2021-11-15 10:17:33 +01:00
Miku Laitinen and Yannick Vaucher
557a91d111
[IMP] session_redis: allow configuring Redis URL instead of host & port.
...
Back-porting from [13] branch
2021-11-11 19:54:58 +01:00
Yannick Vaucher and GitHub
57bbf92c17
Merge pull request #286 from nilshamerlinck/9.0-backport-attachment_azure
...
[MIG] attachment_azure: Backport from 10.0 to 9.0
2021-11-11 18:40:06 +01:00
Nils Hamerlinck
4519f4e515
[MIG] attachment_azure: Backport from 10.0 to 9.0
2021-11-09 20:28:31 +07:00
Nils Hamerlinck
d0db524425
[MIG] attachment_azure: Backport from 11.0 to 10.0
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
b7b15b1572
[MIG] attachment_azure: Backport from 12.0 to 11.0
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
9aa54025b0
[12.0][IMP] attachment_azure: don't get blob content if we only need its size
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
e5a6ed4e67
[MIG] attachment_azure: Backport from 13.0 to 12.0
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
ead50c44f1
[13.0][FIX] attachment_azure: in 13.0, _file_read() is expected to return base64 encoded data
2021-11-09 19:04:21 +07:00
Patrick Tombez and Nils Hamerlinck
94609a0ddc
[MIG] attachment_azure: Backport from 14.0 to 13.0
2021-11-09 19:04:21 +07:00
Patrick Tombez and Nils Hamerlinck
470c4b40d5
[14.0][IMP] attachment_azure: Allow storage name override
2021-11-09 19:04:21 +07:00
Vincent Renaville and Nils Hamerlinck
81f7aeca08
[IMP] Add identity ( #238 )
...
* [IMP] can use ad identity to access storage
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
824668f4c5
[FIX] attachment_azure: clean dbname to fit with container naming rules
2021-11-09 19:04:21 +07:00
Nils Hamerlinck
89f7a2a707
[FIX] attachment_azure: higher level of permissions needed to create container and upload blobs when using the SAS token
2021-11-09 19:04:21 +07:00
Hiren Pattani and Nils Hamerlinck
6f56f791cb
[ADD] attachment_azure
2021-11-09 19:04:21 +07:00
Guewen Baconnier and GitHub
3cc4e93375
Merge pull request #137 from camptocamp/9-fixes
...
cloud_platform: fix default config
2020-06-22 07:38:37 +02:00
Patrick Tombez and GitHub
e368c8c5a1
Merge pull request #172 from p-tombez/9.0-s3_boto3
...
[9.0] attachment_s3: Migrate to boto3
2020-04-07 12:24:48 +02:00
Akim Juillerat and Patrick Tombez
aacffc0434
attachment_s3: Migrate to boto3
2020-03-10 11:39:43 +01:00
Akim Juillerat and GitHub
cd33d12527
Merge pull request #167 from grindtildeath/9.0-fix_auth_to_keystone_v3
...
[9.0] attachment_swift: Fix authentication to Keystone v3
2020-03-09 13:33:28 +01:00
Akim Juillerat
e68423bc54
Fix authentication to Keystone v3
...
- Use newer version from python lib.
- Define project_domain_id + user_domain_id in auth
2020-03-09 13:10:23 +01:00
Akim Juillerat and GitHub
99a4e59d35
Merge pull request #150 from grindtildeath/9.0_dev_attachments
...
[9.0] Require AWS_BUCKETNAME for prod, integration and labs environments only
2020-03-05 10:01:12 +01:00
Patrick Tombez and GitHub
2c23459778
Merge pull request #155 from p-tombez/9.0-keystoneauth_v3
...
[9.0] Use keystoneauth v3 for Swift attachments
2020-03-04 11:21:31 +01:00
Mussie Sirak and Patrick Tombez
d319b42fce
Use keystoneauth v3 for Swift attachments
2020-03-04 11:09:55 +01:00
Akim Juillerat
c657507a4b
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 16:02:11 +01:00
Simone Orsi
4e0d582cd0
cloud_platform: fix default config
...
`_config_by_server_env` should always retutn a `PlatformConfig` instance
2020-02-04 13:40:58 +01:00
Patrick Tombez and GitHub
d214e82a46
Merge pull request #132 from p-tombez/9.0-anon_redis_session
...
[9.0] Add anonymous redis session expiration configuration
2020-01-31 11:15:33 +01:00
Patrick Tombez
5a07cc4f60
Add anonymous redis session expiration configuration
2020-01-29 16:42:39 +01:00
Guewen Baconnier and GitHub
477480df42
Merge pull request #103 from camptocamp/revert-98-9.0-monitoring_check_db_connection
...
Revert "[9.0] [IMP] monitoring_status: check the db is reachable"
2019-11-18 13:50:38 +01:00
Guewen Baconnier and GitHub
e1a516615c
Revert "[9.0] [IMP] monitoring_status: check the db is reachable"
2019-10-29 17:31:01 +01:00
Simone Orsi and GitHub
51527cd253
Merge pull request #98 from gurneyalex/9.0-monitoring_check_db_connection
...
[9.0] [IMP] monitoring_status: check the db is reachable
2019-10-28 08:09:35 +01:00
Alexandre Fayolle
1a56848a46
[IMP] monitoring_status: check the db is reachable
...
make a real SQL query on GET /monitoring/status and return a 503
if the query failed.
2019-10-25 14:52:58 +02:00
Simone Orsi and GitHub
57e03f1a6c
Merge pull request #76 from guewen/9.0-monitoring_status-ignore-http
...
[9.0] Ignore HTTP version in monitoring_status filter
2019-08-09 11:56:03 +02:00
Simone Orsi and Guewen Baconnier
1b10458d98
Ignore HTTP version in monitoring_status filter
2019-08-09 11:44:24 +02:00
Guewen Baconnier and Simone Orsi
cca0ba6bd8
[9.0] Filter /monitoring/status werkzeug logs ( #68 )
...
* Filter /monitoring/status werkzeug logs
With healtchecks, they constitute 95% of our logs. Let's stop wasting
resources and shut them up.
2019-07-19 15:34:23 +02:00
Timon Tschanz and GitHub
8332929cb4
Merge pull request #64 from tschanzt/fix_inverse_datas
...
Fix inverse datas for swift storage
2019-06-18 17:09:13 +02:00
Timon Tschanz
f5fdc3a7cf
Fix inverse datas for swift storage
2019-05-31 18:03:47 +02:00
Guewen Baconnier and GitHub
92ca087101
Merge pull request #55 from guewen/swift-auth-session
...
attachment_swift: share a session for all connections
2019-05-07 15:29:16 +02:00
Guewen Baconnier
3e20f1563f
Pin PyYAML version because 5.x does not work with Odoo
...
It would raise ConstructorError: could not determine a constructor for the tag '!record'
2019-05-02 16:45:59 +02:00