jcoux
2c970780e9
Travis: exclude new branch from build
2019-11-08 15:39:20 +01:00
jcoux
e694823f70
Merge commit 'refs/pull/79/head' of github.com:camptocamp/odoo-cloud-platform into merge-branch-1151-135_update_project_and_submodules-4b5c59d2
2019-11-08 15:39:20 +01:00
Simone Orsi and GitHub
eb91ecf352
Merge pull request #100 from gurneyalex/12.0-monitoring_check_db_connection
...
[12.0] [IMP] monitoring_status: check the db is reachable
2019-10-28 08:13:11 +01:00
Alexandre Fayolle
f83e502d72
[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 16:25:31 +02:00
CharlineDumontet and GitHub
9655641f22
Merge pull request #80 from Tonow-c2c/change_re_check_prod
...
cloud_platform: support client name w/ number
2019-09-09 09:25:55 +02:00
Tonow-c2c
6b87b1c604
cloud_platform: support client name w/ number
2019-09-08 15:48:23 +02:00
sebalix
493e49ba00
attachment_s3: remove old migration script
2019-08-09 16:05:06 +02:00
Guewen Baconnier and sebalix
19126ee4f0
Update base_attachment_object_storage/models/ir_attachment.py
2019-08-09 15:47:40 +02:00
Guewen Baconnier and sebalix
2f8fcedd88
Add method to force storage of special attachments to DB
...
Some attachments (e.g. image_small, image_medium) are stored in DB
instead of the object storage for faster access.
In some situations, we may have pushed all these files on the Object
Storage (migration from a filesystem to object storage) and want to
bring back these attachments from the object storage to the database.
This method is not called anywhere but can be called by RPC or scripts.
2019-08-09 15:47:40 +02:00
Guewen Baconnier and GitHub
84e00f5f14
Merge pull request #73 from camptocamp/simahawk-patch-1
...
monitoring_status filter: ignore HTTP version
2019-08-09 09:54:33 +02:00
Simone Orsi and GitHub
0686ae7ec4
Update main.py
2019-08-02 09:14:16 +02:00
Simone Orsi and GitHub
764a77ff60
Update main.py
2019-08-02 08:30:49 +02:00
Simone Orsi and GitHub
9cf63f60a5
Merge pull request #72 from simahawk/12-imp
...
cloud_platform: support client name w/ multiple `-`
2019-07-30 15:52:43 +02:00
Simone Orsi
50cb368704
cloud_platform: support client name w/ multiple -
2019-07-30 14:20:12 +02:00
Simone Orsi and GitHub
379141112c
Merge pull request #65 from guewen/filter-monitoring-status-log
...
[12.0] Filter /monitoring/status werkzeug logs
2019-07-12 11:58:09 +02:00
Guewen Baconnier
ad3a962931
Filter /monitoring/status werkzeug logs
...
With healtchecks, they constitute 95% of our logs. Let's stop wasting
resources and shut them up.
2019-07-12 10:07:20 +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
Guewen Baconnier
580eff0062
Override dependencies with different name and pin versions
...
The name of the libs and python packages are different, Odoo expects
the inner python package in the manifest, but setuptools cannot find the
libs in pypi, overrides them with the libs names.
2019-05-09 10:10:58 +02:00
Guewen Baconnier
d032e518ba
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-09 10:10:58 +02:00
Guewen Baconnier
c6456a58f7
attachment_swift: share a session for all connections
...
OVH's Swift applies a rate limit on the authentication.
attachment_swift authenticates again each time it has to read/write an
attachment. When running upgrades on upgrades of files or installing a
new DB, at some point, we get rejected with HTTP 429.
This commit introduces a shared storage for Swift Session. All
connections will reuses the same authentication token created the first
time a connection needs a Session.
Note: needs python-swiftclient>=3.7.0 to have
https://github.com/openstack/python-swiftclient/commit/1971ef880ff225379d4a91f00f89f323a1605eeb
2019-05-09 10:10:58 +02:00
Guewen Baconnier
339876236e
Add missing variable in documentation example
2019-05-07 15:51:36 +02:00
Yannick Vaucher and GitHub
486f15095f
Merge pull request #53 from p-tombez/12.0-fix_s3_name_check
...
Fix S3 bucket name check to allow numbers
2019-05-01 16:24:28 +02:00
Patrick Tombez
dc0029cfda
Fix S3 bucket name check to allow numbers
2019-04-24 12:08:42 +02:00
Simone Orsi and GitHub
affe86d5aa
Merge pull request #51 from yvaucher/fix-aws-host-empty
...
Fix use of aws where hostname is not required
2019-04-17 15:24:37 +02:00
Yannick Vaucher
8ccddefd06
Fix use of aws where hostname is not required
...
This fixes an error with endpoint computed as https://None while
we want to let boto compute the AWS endpoint
2019-04-17 14:51:46 +02:00
Yannick Vaucher and GitHub
c3310cbd9f
Merge pull request #45 from Numigi/12.0-monitoring_log_requests_dispatch_classmethod
...
12.0: monitorin_log_request: _dispatch is a classmethod
2019-04-16 15:10:11 +02:00
Jordi Riera
060975fdfb
monitorin_log_request: _dispatch is a classmethod
2019-04-15 17:55:03 -04:00
Yannick Vaucher and GitHub
b05413f020
Merge pull request #49 from grindtildeath/12.0_add_base_fileurl_field
...
[12.0] Add base_fileurl_field
2019-04-08 17:04:53 +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
Yannick Vaucher and Akim Juillerat
2d8d1f808b
Update base_fileurl_field/fields.py
...
Co-Authored-By: grindtildeath <akim.juillerat@camptocamp.com >
2019-03-13 19:18:07 +01:00
Akim Juillerat
d83aca68e6
[12.0] Add base_fileurl_field
2019-03-13 19:18:07 +01:00
Yannick Vaucher and GitHub
a7207cc3e7
Merge pull request #48 from grindtildeath/12.0_improvements
...
12.0 attachment_s3 improvements
2019-03-12 09:09:04 +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
Guewen Baconnier and GitHub
8b9e7b1ffe
Merge pull request #41 from jcoux/fix_check_stack_name
...
Fix the check stack name for project with digit at first character
2018-12-03 10:56:46 +01:00
Guewen Baconnier
a9c2f64fca
Add setuptools files
2018-12-03 10:09:33 +01:00
Guewen Baconnier
67bf8b8286
Edit readme
2018-12-03 10:09:23 +01:00
jcoux
44fd22c3d4
Fix the check stack name for project with digit at first character
2018-11-23 16:08:25 +01:00
jcoux and GitHub
c9323733ae
Merge pull request #38 from jcoux/142_migrate_to_12.0
...
Migration to 12.0
2018-11-23 15:15:48 +01:00
jcoux
5c43e3547e
fixup! Migration to 12.0
2018-11-23 09:31:46 +01:00
jcoux
7eac1013eb
Migration to 12.0
2018-10-24 12:44:45 +02:00
jcoux
73293a1390
Set all modules to uninstallable
2018-10-24 11:53:27 +02:00
Guewen Baconnier
96f4e75311
base_attachment_object_storage: bump 1.1.0
2018-06-13 17:25:21 +02:00
Guewen Baconnier and GitHub
19dcbff646
Merge pull request #35 from guewen/11.0-force-storage-at-upgrade
...
11.0 Fix attachments stored in FS instead of object storage
2018-06-13 17:24:50 +02:00