From fc330ffd28b9fad99be9ac132084906b918dc421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:24:36 +0200 Subject: [PATCH 1/3] Update dot_env --- conf/dot_env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/dot_env b/conf/dot_env index ef812a3..3a00444 100644 --- a/conf/dot_env +++ b/conf/dot_env @@ -17,7 +17,7 @@ SECRET_KEY=__SECRETKEY__ # --------------------------------------------------------------- # your default timezone See https://timezonedb.com/time-zones for a list of timezones -TIMEZONE=__TIMEZONE__ +TZ=__TIMEZONE__ # add only a database password if you want to run with the default postgres, otherwise change settings accordingly DB_ENGINE=django.db.backends.postgresql @@ -97,7 +97,7 @@ DEFAULT_FROM_EMAIL=tandoor@__DOMAIN__ # allow authentication via reverse proxy (e.g. authelia), leave off if you dont know what you are doing # see docs for more information https://vabene1111.github.io/recipes/features/authentication/ # when unset: 0 (false) -REVERSE_PROXY_AUTH=0 +REMOTE_USER_AUTH=0 # Default settings for spaces, apply per space and can be changed in the admin view # SPACE_DEFAULT_MAX_RECIPES=0 # 0=unlimited recipes From a9023af7bc5768be8cfa87001e26dcbe39f90e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:25:03 +0200 Subject: [PATCH 2/3] Update _common.sh --- scripts/_common.sh | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 5008fb6..3462cc2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -38,26 +38,3 @@ _tandoor_build_frontend() { #================================================= # FUTURE OFFICIAL HELPERS #================================================= -_mopidy_install() { - python3 -m venv --upgrade "$install_dir/venv" - chown -R "$app" "$install_dir" - - venvpy="$install_dir/venv/bin/python3" - - ynh_exec_as "$app" "$venvpy" -m pip install --upgrade --no-cache-dir pip - - ynh_exec_as "$app" "$venvpy" -m pip install PyGObject - - # install essential packages - ynh_exec_as "$app" "$venvpy" -m pip install --no-cache-dir \ - Mopidy=="$(ynh_app_upstream_version)" \ - Mopidy-local==3.2.1 \ - Mopidy-MusicBox-Webclient==3.1.0 \ - Mopidy-YouTube==3.7 \ - Mopidy-YTMusic==0.3.8 \ - Mopidy-RadioNet==0.2.2 \ - Mopidy-Podcast==3.0.1 \ - Mopidy-Podcast-iTunes==3.0.1 \ - Mopidy-SoundCloud==3.0.2 \ - Mopidy-MPD==3.3.0 -} From 377ac775bbc9cf5144d6cd1fb8218b7aa9bd21d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 22 Jul 2024 09:25:27 +0200 Subject: [PATCH 3/3] fix --- scripts/_common.sh | 1 - scripts/remove | 2 -- 2 files changed, 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 3462cc2..02ac495 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -28,7 +28,6 @@ _tandoor_build_frontend() { ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn install ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" yarn build popd - } #================================================= diff --git a/scripts/remove b/scripts/remove index 217c978..3459f23 100755 --- a/scripts/remove +++ b/scripts/remove @@ -28,8 +28,6 @@ ynh_remove_nginx_config # Remove the app-specific logrotate config ynh_remove_logrotate -# Remove the log files - #================================================= # END OF SCRIPT #=================================================