Skip to content

Commit

Permalink
Merge b49a626 into 4a2a842
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Sep 2, 2016
2 parents 4a2a842 + b49a626 commit 1771d22
Show file tree
Hide file tree
Showing 57 changed files with 902 additions and 1,397 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ install:
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
- travis_install_nightly
- pip install cmislib
- pip install git+https://github.com/lmignon/python-cmislib.git@6.0.dev#egg=cmislib

script:
- travis_run_tests
Expand Down
74 changes: 74 additions & 0 deletions cmis/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==============
CMIS Connector
==============

This module is the base for Odoo modules implementing different integration
scenario with a CMIS server.
It allows you to configure a CMIS backend in Odoo.

Installation
============

To be compliant with the latest version of CMIS (1.1), the connector use
the latest version of the python cmislib library not yet released at this
stage. The lib can be installed with:

pip install svn+https://svn.apache.org/repos/asf/chemistry/cmislib/trunk#egg=cmislib

Configuration
=============

Create a new CMIS backend with the host, login and password.

Usage
=====

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/104/9.0

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/connector-cmis/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
connector-cmis/issues/new?body=module:%20
cmis%0Aversion:%20
9.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

Contributors
------------

* El Hadji Dem <elhadji.dem@savoirfairelinux.com>
* Maxime Chambreuil <maxime.chambreuil@savoirfairelinux.com>
* Laurent Mignon <laurent.mignon@acsone.eu>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.
35 changes: 12 additions & 23 deletions cmis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

# © 2014-2015 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
import logging
import httplib2
import functools
from . import (
cmis_backend,
backend,
cmis_binding,
models,
)

logger = logging.getLogger(__name__)

logger.warning('Disable SSL Certificate Validation by python code')
httplib2.Http = functools.partial(
httplib2.Http, disable_ssl_certificate_validation=True)
47 changes: 6 additions & 41 deletions cmis/__openerp__.py
Original file line number Diff line number Diff line change
@@ -1,50 +1,14 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# © 2014-2015 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
'name': 'CMIS',
'version': '7.0.1.1.0',
'version': '9.0.1.0.0',
'category': 'Connector',
'summary': 'Connect OpenERP with a CMIS server',
'description': """
CMIS Connector
==============
This module is the base for OpenERP modules implementing different integration
scenario with a CMIS server.
It allows you to configure a CMIS backend in OpenERP.
Configuration
=============
Create a new CMIS backend with the host, login and password.
Contributors
------------
* El Hadji Dem (elhadji.dem@savoirfairelinux.com)
* Maxime Chambreuil (maxime.chambreuil@savoirfairelinux.com)
""",
'author': "Savoir-faire Linux, Odoo Community Association (OCA)",
'website': 'www.savoirfairelinux.com',
'website': 'https://odoo-community.org/',
'license': 'AGPL-3',
'depends': [
'connector',
Expand All @@ -55,7 +19,8 @@
'data': [
'views/cmis_backend_view.xml',
'views/cmis_menu.xml',
'security/ir.model.access.csv',
],
'installable': False,
'installable': True,
'auto_install': False,
}
22 changes: 2 additions & 20 deletions cmis/backend.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# This module copyright (C) 2014 Savoir-faire Linux
# (<http://www.savoirfairelinux.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# © 2014-2015 Savoir-faire Linux (<http://www.savoirfairelinux.com>).
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

import openerp.addons.connector.backend as backend

Expand Down
182 changes: 0 additions & 182 deletions cmis/cmis_backend.py

This file was deleted.

0 comments on commit 1771d22

Please sign in to comment.