Commit Graph

92 Commits

Author SHA1 Message Date
OCA-git-bot 871aa6eb29 [UPD] README.rst 2023-09-03 16:37:58 +00:00
OCA-git-bot 4df6c5ab79 server_environment 11.0.2.0.3 2020-10-04 08:38:56 +00:00
Olar Alca [Vauxoo] e049974e01 Update server_environment/serv_config.py
Co-authored-by: Moises Lopez - https://www.vauxoo.com/ <moylop260@vauxoo.com>
2020-10-02 19:08:26 +00:00
OCA-git-bot b0abe958fb server_environment 11.0.2.0.2 2020-04-16 12:29:20 +00:00
OCA-git-bot 70049f8c14 [UPD] README.rst 2020-04-16 12:29:19 +00:00
Simone Orsi c167f546dc fixup! server_environment: running_env default to `test` (fix #44) 2020-04-15 19:10:47 +02:00
Simone Orsi c3f2b6f5c0 server_environment: running_env default to `test` (fix #44) 2020-04-15 19:10:44 +02:00
OCA-git-bot 896d0d9b01 server_environment 11.0.2.0.1 2020-03-09 09:51:42 +00:00
Denis Roussel feeb44db1e [FIX] server_environment: Change import for Serialized field 2020-03-09 10:12:26 +01:00
OCA-git-bot ef0d6a7bd3 [UPD] README.rst 2019-10-10 20:36:00 +00:00
OCA-git-bot 0288100b9c Merge PR #19 into 11.0
Signed-off-by gurneyalex
2019-10-10 20:13:07 +00:00
Nikos Tsirintanis 2eb1cafd9c [FIX] removed static folders, added preloadable key in manifest in all models 2019-05-02 09:55:07 +02:00
OCA-git-bot e4ade4157d [ADD] icon.png 2019-04-03 03:21:14 +00:00
Stéphane Bidoul (ACSONE) 52338f3ef6
Add missing _descriptions 2018-11-15 14:10:53 +01:00
Stéphane Bidoul (ACSONE) eb26713b80
[IMP] clarify contributors lists 2018-11-15 14:08:18 +01:00
Stéphane Bidoul (ACSONE) 4f25dc6cc2
[IMP] copyright headers
Use GPL licenses everywhere, to match original code.
2018-11-15 14:06:59 +01:00
Thomas Binsfeld 434f576465
[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
2018-11-15 14:06:49 +01:00
Stéphane Bidoul (ACSONE) c0dce03bf5
[FIX] server_environment: fix spelling error 2018-11-15 14:06:37 +01:00
Stéphane Bidoul (ACSONE) 89556d91ee
[IMP] server_environment: readme fragments 2018-11-15 14:06:26 +01:00
Guewen Baconnier fa1110698e Fix iteration on records 2018-07-27 11:45:08 +02:00
Guewen Baconnier 3eeae22838 Use SavepointCase instead of TransactionCase
It means less records to create for each test
2018-07-27 11:39:09 +02:00
Guewen Baconnier a6ae304e49 Add tests and support of _inherits 2018-07-25 17:23:46 +02:00
Guewen Baconnier 04e54e0997 fixup! Fixes for review feedbacks 2018-07-25 13:04:24 +02:00
Guewen Baconnier 05885049d2 fixup! Infer configparser getter from field type 2018-07-25 13:04:09 +02:00
Guewen Baconnier f55e7e0561 fixup! Update documentation of server_environment, bump 2018-07-24 13:43:49 +02:00
Guewen Baconnier c472ca8504 Fixes for review feedbacks 2018-07-24 13:43:03 +02:00
Guewen Baconnier 303e5e637f Infer configparser getter from field type 2018-07-24 13:39:22 +02:00
Guewen Baconnier ea30313c43 Add tests for the server env mixin 2018-07-24 10:06:05 +02:00
Guewen Baconnier d3fe970be8 Reinforce server_environment base tests 2018-07-24 10:06:05 +02:00
Guewen Baconnier edbefe2162 Add SERVER_ENV_CONFIG_SECRET alongside SERVER_ENV_CONFIG
Allows to isolate the secrets in your deployment
2018-07-24 10:06:05 +02:00
Guewen Baconnier c83da6071c Update documentation of server_environment, bump 2018-07-24 10:06:05 +02:00
Guewen Baconnier 9b0bdba495 Allow integration with keychain
By adding options to change the compute and inverse methods for default
fields
2018-07-24 10:06:05 +02:00
Guewen Baconnier d9ad47f40d Make server_environment_files optional 2018-07-24 10:06:05 +02:00
Guewen Baconnier 9ee47dc5d2 Allow to edit all fields on creation 2018-07-24 09:56:20 +02:00
Guewen Baconnier 9ae51f3c68 Use global section name as first part of the section 2018-07-24 09:56:20 +02:00
Guewen Baconnier 6b44590605 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.
2018-07-24 09:56:20 +02:00
Guewen Baconnier 60375bbf65 Add global section 2018-07-24 09:56:18 +02:00
Guewen Baconnier 64c3e29b73 Use a dictionary to configure the fields 2018-07-24 09:50:06 +02:00
Guewen Baconnier 8d43652dbd Fix a few small issues in mixin 2018-07-24 09:49:27 +02:00
Guewen Baconnier 04bbfce412 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.
2018-07-24 09:31:47 +02:00
Guewen Baconnier ff91cc4a0f 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).
2018-07-24 09:31:47 +02:00
Guewen Baconnier 59fab426e1 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.
2018-07-24 09:31:47 +02:00
Maxime Chambreuil 5cdc84821a
Merge pull request #12 from guewen/add-config-from-env
Add SERVER_ENV_CONFIG to configure vars from env. variable
2018-07-23 08:37:18 -05:00
Guewen Baconnier 9e98c79a31 Improve documentation regarding variables 2018-07-23 12:48:19 +02:00
Guewen Baconnier 3b074b1061 Add SERVER_ENV_CONFIG_SECRET alongside SERVER_ENV_CONFIG
Allows to isolate the secrets in your deployment
2018-07-23 11:13:26 +02:00
Guewen Baconnier 8a075db418 Add SERVER_ENV_CONFIG to configure vars from env. variable 2018-07-19 09:17:06 +02:00
Stéphane Bidoul (ACSONE) 2e5a563637
remove obsolete .pot files [ci skip] 2018-06-15 23:41:34 +02:00
Thomas Binsfeld 7cedac6dfb [REF] Server Environment: remove dependency on server_environement_files
From https://github.com/OCA/server-env/issues/10
2018-06-04 16:15:24 +02:00
Stéphane Bidoul (ACSONE) 9fd1e0296f
server_environment: bump version
To trigger rebuild following change in setup.py
2018-03-30 20:15:59 +02:00
OCA Transbot f89ccb5cd5 OCA Transbot updated translations from Transifex 2018-01-03 12:00:23 +01:00