Commit Graph

22 Commits

Author SHA1 Message Date
OCA-git-bot 41d195575f server_environment 13.0.3.1.0 2021-12-02 14:36:40 +00:00
Alexandre Fayolle 4afa18b2e8 15.0 server_environment is Production/Stable
server_environment is a dependency of other modules which are in this status
and now that we are checking this, we need to declare the maturity
explicitly
2021-12-02 13:31:50 +01:00
OCA-git-bot 7a07aa2d49 server_environment 13.0.3.0.0 2021-08-18 08:38:09 +00:00
Ivàn Todorovich 5990658ad3 [UPD] Change LICENSE to LGPL 2021-07-08 09:55:02 -03:00
OCA-git-bot 314d16d37c server_environment 13.0.2.3.3 2021-06-03 10:05:37 +00:00
OCA-git-bot cd3ff8a3ed server_environment 13.0.2.3.2 2021-01-18 08:26:33 +00:00
OCA-git-bot 665142e965 server_environment 13.0.2.3.1 2020-10-04 08:41:16 +00:00
OCA-git-bot 06eade64b4 server_environment 13.0.2.3.0 2020-07-23 09:11:19 +00:00
Simone Orsi 17d260519b
Fix server_environment version
The PR https://github.com/OCA/server-env/pull/45 has been merged manually and a new version was not bumped.
2020-07-03 12:24:53 +02:00
OCA-git-bot 51631c87b8 server_environment 13.0.2.2.0 2020-01-16 14:53:28 +00:00
OCA-git-bot c6929e20ae server_environment 13.0.2.1.0 2019-12-20 14:01:54 +00:00
OCA-git-bot e3ebbef50e server_environment 13.0.2.0.1 2019-12-16 15:48:18 +00:00
Stéphane Bidoul (ACSONE) c030a42103 pre-commit, black, isort 2019-12-16 13:10:27 +01:00
Akim Juillerat 38d85a0611 [MIG] server_environment: Migration to 13.0 2019-10-11 09:33:10 +02:00
Stéphane Bidoul (ACSONE) 7fbf939535 [MIG] server_environment from 11 to 12 2019-10-11 09:33:10 +02:00
Thomas Binsfeld 4d0a144d2c [REF] Server Environment: restrict access to server config to allowed users
New security group restricting access to server config
Admin is part of the group by default
2019-10-11 09:33:10 +02:00
Guewen Baconnier 621630911a Add SERVER_ENV_CONFIG to configure vars from env. variable
Add SERVER_ENV_CONFIG_SECRET alongside SERVER_ENV_CONFIG

Allows to isolate the secrets in your deployment

Improve documentation regarding variables

Add a server environment mixin

To automatically convert fields into fields reading values from the
environment. Until now, every module reimplements the same computed
field.

Read default values from database when no config is provided

Automatically add <field_name>_env_default for every field transformed
to a "computed from env" field, so a default value can be set. It will
be used when the configuration is not set in a configuration file
(when the key is absent, not empty).

Allow to edit default values for env-computed fields

When they don't have any key in the environment configuration files.
In the UI, when a field is set in a configuration file, the field is
readonly, if not the field is editable. Which means you can selectively
choose which fields depend on the environment and which can use a
"default" value stored in database.

Fix a few small issues in mixin

Use a dictionary to configure the fields

Add global section

Disable prefetch on env-computed fields

As in the inverse field that write the value into the <field>_env_default
we have to browse the record, the prefetch has the effect of calling
compute on the env-computed field which resets the value to it's
previous state before we have the occasion to store it.

Use global section name as first part of the section

Allow to edit all fields on creation

Make server_environment_files optional

Allow integration with keychain

By adding options to change the compute and inverse methods for default
fields

Update documentation of server_environment, bump

Add SERVER_ENV_CONFIG_SECRET alongside SERVER_ENV_CONFIG

Allows to isolate the secrets in your deployment

Reinforce server_environment base tests

Add tests for the server env mixin

Infer configparser getter from field type

Fixes for review feedbacks

Add tests and support of _inherits

Use SavepointCase instead of TransactionCase

It means less records to create for each test

Fix iteration on records
2019-10-11 09:33:11 +02:00
Thomas Binsfeld d6780098e2 [REF] Server Environment: remove dependency on server_environement_files
From https://github.com/OCA/server-env/issues/10
2019-10-11 09:33:10 +02:00
Stéphane Bidoul (ACSONE) f899fb2ace server_environment: bump version
To trigger rebuild following change in setup.py
2019-10-11 09:33:10 +02:00
Thierry Ducrest 9dd8f73f65 [MIG] server_environment: Migration to 11.0 2019-10-11 09:33:10 +02:00
Adrien Peiffer (ACSONE) 0429bfd3ed Migration of server_environment to 10.0 2019-10-11 09:33:10 +02:00
Pedro M. Baeza d394adc776 [MIG] Rename manifest files 2019-10-11 09:33:10 +02:00