Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16][MIG] Migration of server_environment_data_encryption #124

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1a8a7f0
Add module server_environment_data_encryption
florian-dacosta Apr 12, 2019
201f639
[REF] Adapt method name after change is depency
florian-dacosta Oct 4, 2019
d51bebf
[FIX] Make sure the generated view is always the same and the order o…
florian-dacosta Oct 4, 2019
24e7f6d
fixup! Add module server_environment_data_encryption
florian-dacosta Oct 23, 2019
1cfef5d
[UPD] Update server_environment_data_encryption.pot
oca-travis Mar 28, 2020
c1f5daa
[UPD] README.rst
OCA-git-bot Mar 28, 2020
e15218c
[ADD] icon.png
OCA-git-bot Mar 28, 2020
b8dd717
[MIG] server_environment_data_encryption: migration to 13.0 (pre-commit)
ThomasBinsfeld Oct 5, 2020
a687e84
[MIG] server_environment_data_encryption to 13.0
ThomasBinsfeld Oct 5, 2020
f76b6a5
[IMP] server_environment_data_encryption, data_encryption: black, iso…
mourad-ehm Oct 12, 2020
97f8069
[MIG] server_environment_data_encryption, data_encryption: Migration …
mourad-ehm Oct 12, 2020
c9388a5
[UPD] Update server_environment_data_encryption.pot
oca-travis Mar 5, 2021
9051f5f
[UPD] README.rst
OCA-git-bot Mar 5, 2021
75d98bf
[FIX] s_env_data_encryption: fix access right issues when using actions
sebalix Jan 31, 2022
0e23a40
server_environment_data_encryption 14.0.1.0.1
OCA-git-bot Feb 2, 2022
d102cf2
Added translation using Weblate (Catalan)
extrememicro Feb 16, 2022
5f15b02
[IMP] update dotfiles [ci skip]
OCA-git-bot Mar 31, 2022
581eaf4
s_environment_data_encryption: no error when config is missing
florian-dacosta May 10, 2022
5d75822
[UPD] Update server_environment_data_encryption.pot
May 10, 2022
d8a4435
server_environment_data_encryption 14.0.1.0.2
OCA-git-bot May 10, 2022
bcfc6b8
Update translation files
oca-transbot May 10, 2022
ff4aa12
[IMP] server_environment_data_encryption: black, isort, prettier
florian-dacosta Oct 9, 2022
826754d
[16][MIG] Migration of server_environment_data_encryption
florian-dacosta Oct 9, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions server_environment_data_encryption/README.rst
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.
1 change: 1 addition & 0 deletions server_environment_data_encryption/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
12 changes: 12 additions & 0 deletions server_environment_data_encryption/__manifest__.py
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"],
}
60 changes: 60 additions & 0 deletions server_environment_data_encryption/i18n/ca.po
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 ""
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 ""
1 change: 1 addition & 0 deletions server_environment_data_encryption/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import server_env_mixin
Loading