From 7ee96fb11811345b829c692e82378d4c8889c254 Mon Sep 17 00:00:00 2001 From: shimon Date: Sun, 26 Nov 2023 10:36:52 +0200 Subject: [PATCH] sync against 1.4x --- Dockerfile | 3 ++- bin/calc-users-stats | 3 +++ bin/clear-card-cache | 3 +++ bin/patch-delete-project-collections | 3 +++ bin/patch-delete-schedule-updated-at-attribute | 3 +++ 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 bin/calc-users-stats create mode 100644 bin/clear-card-cache create mode 100644 bin/patch-delete-project-collections create mode 100644 bin/patch-delete-schedule-updated-at-attribute diff --git a/Dockerfile b/Dockerfile index 535635f28..2ec9fd409 100755 --- a/Dockerfile +++ b/Dockerfile @@ -106,7 +106,8 @@ RUN chmod +x /usr/local/bin/hamster && \ chmod +x /usr/local/bin/clear-card-cache && \ chmod +x /usr/local/bin/calc-users-stats && \ chmod +x /usr/local/bin/calc-tier-stats && \ - chmod +x /usr/local/bin/get-migration-stats + chmod +x /usr/local/bin/get-migration-stats && \ + chmod +x /usr/local/bin/create-inf-metric # Letsencrypt Permissions RUN mkdir -p /etc/letsencrypt/live/ && chmod -Rf 755 /etc/letsencrypt/live/ diff --git a/bin/calc-users-stats b/bin/calc-users-stats new file mode 100644 index 000000000..60472ed7a --- /dev/null +++ b/bin/calc-users-stats @@ -0,0 +1,3 @@ +#!/bin/sh + +php /usr/src/code/app/cli.php calc-users-stats $@ \ No newline at end of file diff --git a/bin/clear-card-cache b/bin/clear-card-cache new file mode 100644 index 000000000..b39bc1365 --- /dev/null +++ b/bin/clear-card-cache @@ -0,0 +1,3 @@ +#!/bin/sh + +php /usr/src/code/app/cli.php clear-card-cache $@ \ No newline at end of file diff --git a/bin/patch-delete-project-collections b/bin/patch-delete-project-collections new file mode 100644 index 000000000..8bf0736cf --- /dev/null +++ b/bin/patch-delete-project-collections @@ -0,0 +1,3 @@ +#!/bin/sh + +php /usr/src/code/app/cli.php patch-delete-project-collections $@ \ No newline at end of file diff --git a/bin/patch-delete-schedule-updated-at-attribute b/bin/patch-delete-schedule-updated-at-attribute new file mode 100644 index 000000000..3e28289cb --- /dev/null +++ b/bin/patch-delete-schedule-updated-at-attribute @@ -0,0 +1,3 @@ +#!/bin/sh + +php /usr/src/code/app/cli.php patch-delete-schedule-updated-at-attribute $@ \ No newline at end of file