diff --git a/AUTHORS.rst b/AUTHORS.rst index 96fe0bf..f539e9d 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -7,3 +7,8 @@ Contributors ------------ - Leonardo Pistone (Camptocamp) +- Sébastien Alix (Camptocamp) +- Simone Orsi (Camptocamp) +- Iván Todorovitch (Camptocamp) +- Yannick Vaucher (Camptocamp) +- Alexandre Fayolle (Camptocamp) \ No newline at end of file diff --git a/HISTORY.rst b/HISTORY.rst index 8854f8c..1e537f7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -13,6 +13,8 @@ Unreleased **Improvements** **Build** +* Prevent text from bouncing in maintenance page +* allow connecting to a local database server without password (using ident) 0.11.0 (2023-09-12) diff --git a/README.rst b/README.rst index 40ffe84..7508d11 100644 --- a/README.rst +++ b/README.rst @@ -49,7 +49,7 @@ Options +-------------------+----------+---------------------------+-------------------------------------------------------------------+ | --db-port | -p | MARABUNTA_DB_PORT | Database port (defaults to 5432). | +-------------------+----------+---------------------------+-------------------------------------------------------------------+ - | --db-host | -H | MARABUNTA_DB_HOST | Database port (defaults to localhost). | + | --db-host | -H | MARABUNTA_DB_HOST | Database port (defaults to None). | +-------------------+----------+---------------------------+-------------------------------------------------------------------+ | --mode | | MARABUNTA_MODE | Mode marabunta runs in for different envs. | +-------------------+----------+---------------------------+-------------------------------------------------------------------+ diff --git a/marabunta/config.py b/marabunta/config.py index 1c05576..615af1f 100644 --- a/marabunta/config.py +++ b/marabunta/config.py @@ -118,7 +118,7 @@ def get_args_parser(): parser.add_argument('--db-password', '-w', action=EnvDefault, envvar='MARABUNTA_DB_PASSWORD', - required=True, + required=False, help="Odoo's database password") parser.add_argument('--db-port', '-p', type=int, @@ -126,7 +126,7 @@ def get_args_parser(): help="Odoo's database port") parser.add_argument('--db-host', '-H', default=os.environ.get('MARABUNTA_DB_HOST', - 'localhost'), + None), help="Odoo's database host") parser.add_argument('--mode', action=EnvDefault,