diff --git a/abra.sh b/abra.sh index 9d4ec7e..ae0a8c5 100644 --- a/abra.sh +++ b/abra.sh @@ -207,18 +207,18 @@ for name, details in applications.items(): ## This function is for renaming apps - usage: rename "old name" "new name" rename() { - /manage.py shell -c """ - old_name = '$1' - new_name = '$2' if '$2' else old_name +/manage.py shell -c """ +old_name = '$1' +new_name = '$2' if '$2' else old_name - app = Application.objects.filter(name=old_name).first() - if app: - app.name = new_name - app.save() - print(f'Renamed application from {old_name} to {new_name}') - else: - print(f'No application found with name: {old_name}') - """ > /dev/null 2>&1 +app = Application.objects.filter(name=old_name).first() +if app: + app.name = new_name + app.save() + print(f'Renamed application from {old_name} to {new_name}') +else: + print(f'No application found with name: {old_name}') +""" 2>&1 | quieten } diff --git a/compose.yml b/compose.yml index 7fd57ca..c3eed20 100644 --- a/compose.yml +++ b/compose.yml @@ -71,7 +71,7 @@ services: - "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect,${STACK_NAME}-frameOptions,${STACK_NAME}-redirect" - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.customFrameOptionsValue=SAMEORIGIN" - "traefik.http.middlewares.${STACK_NAME}-frameOptions.headers.contentSecurityPolicy=frame-ancestors ${X_FRAME_OPTIONS_ALLOW_FROM}" - - "coop-cloud.${STACK_NAME}.version=8.0.0+2025.8.1" + - "coop-cloud.${STACK_NAME}.version=9.0.0+2025.8.1" - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.regex=^https://(${REDIRECTS})/(.*)" - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.replacement=https://${DOMAIN}/$${2}" - "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.permanent=true" diff --git a/release/next b/release/9.0.0+2025.8.1 similarity index 100% rename from release/next rename to release/9.0.0+2025.8.1