-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by rvalyi
- Loading branch information
Showing
19 changed files
with
1,101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
================================== | ||
Server Environment Data Encryption | ||
================================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Alpha | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--env-lightgray.png?logo=github | ||
:target: https://github.com/OCA/server-env/tree/14.0/server_environment_data_encryption | ||
:alt: OCA/server-env | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/server-env-14-0/server-env-14-0-server_environment_data_encryption | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/254/14.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module changes a little the behavior of server_environment modules. | ||
When Odoo does not find the value of the field in the configuration file, | ||
it will fallback on a Odoo encrypted field instead. | ||
Also it allows you | ||
to configure the environment dependent fields for all your environments | ||
from the production server. | ||
|
||
.. IMPORTANT:: | ||
This is an alpha version, the data model and design can change at any time without warning. | ||
Only for development or testing purpose, do not use in production. | ||
`More details on development status <https://odoo-community.org/page/development-status>`_ | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Configuration | ||
============= | ||
|
||
In order to use this module properly, each environment should have their own encryption key | ||
and the production environment should have the keys of all environments. | ||
|
||
Example : | ||
Development environment :: | ||
|
||
[options] | ||
running_env=dev | ||
encryption_key_dev=XXX | ||
|
||
Pre-production environment :: | ||
|
||
[options] | ||
running_env=preprod | ||
encryption_key_preprod=YYY | ||
|
||
Production environment :: | ||
|
||
[options] | ||
running_env=prod | ||
encryption_key_dev=XXX | ||
encryption_key_preprod=YYY | ||
encryption_key_prod=ZZZ | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-env/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/server-env/issues/new?body=module:%20server_environment_data_encryption%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* Akretion | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Florian da Costa <florian.dacosta@akretion.com> | ||
* Sébastien Beau <sebastien.beau@akretion.com> | ||
* Benoît Guillot <benoit.guillot@akretion.com> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
This module is part of the `OCA/server-env <https://github.com/OCA/server-env/tree/14.0/server_environment_data_encryption>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Server Environment Data Encryption", | ||
"version": "16.0.1.0.0", | ||
"development_status": "Alpha", | ||
"category": "Tools", | ||
"website": "https://github.com/OCA/server-env", | ||
"author": "Akretion, Odoo Community Association (OCA)", | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"depends": ["server_environment", "data_encryption"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * server_environment_data_encryption | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: Automatically generated\n" | ||
"Language-Team: none\n" | ||
"Language: ca\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: nplurals=2; plural=n != 1;\n" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "Define values for " | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model.fields,field_description:server_environment_data_encryption.field_server_env_mixin__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model.fields,field_description:server_environment_data_encryption.field_server_env_mixin__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model.fields,field_description:server_environment_data_encryption.field_server_env_mixin____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model,name:server_environment_data_encryption.model_server_env_mixin | ||
msgid "Mixin to add server environment in existing models" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "Modify values for {} environment" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "The encryption key for current environement is not defined" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "" | ||
"you need to define the running_env entry in your odoo configuration file" | ||
msgstr "" |
59 changes: 59 additions & 0 deletions
59
server_environment_data_encryption/i18n/server_environment_data_encryption.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * server_environment_data_encryption | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 14.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "Define values for " | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model.fields,field_description:server_environment_data_encryption.field_server_env_mixin__display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model.fields,field_description:server_environment_data_encryption.field_server_env_mixin__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model.fields,field_description:server_environment_data_encryption.field_server_env_mixin____last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: model:ir.model,name:server_environment_data_encryption.model_server_env_mixin | ||
msgid "Mixin to add server environment in existing models" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "Modify values for {} environment" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "The encryption key for current environement is not defined" | ||
msgstr "" | ||
|
||
#. module: server_environment_data_encryption | ||
#: code:addons/server_environment_data_encryption/models/server_env_mixin.py:0 | ||
#, python-format | ||
msgid "" | ||
"you need to define the running_env entry in your odoo configuration file" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import server_env_mixin |
Oops, something went wrong.