From 3652086ba8d20b7ee40ae485f9d924742efc8534 Mon Sep 17 00:00:00 2001
From: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 25 Mar 2023 18:05:46 +0000
Subject: [PATCH 1/7] GitHub bot : graphs updated
---
.github/starsevol.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/starsevol.svg b/.github/starsevol.svg
index b09afacc8..b7572b29c 100644
--- a/.github/starsevol.svg
+++ b/.github/starsevol.svg
@@ -1,4 +1,4 @@
\ No newline at end of file
+ }AprilJulyOctober2022AprilJulyOctober2023 100200300400500600alexbelgium/hassio-addonsStar HistoryDateGitHub Stars
\ No newline at end of file
From 4671ee1c725a4f06f9f12cc68c97a03423691943 Mon Sep 17 00:00:00 2001
From: Alexandre <44178713+alexbelgium@users.noreply.github.com>
Date: Sat, 25 Mar 2023 21:33:07 +0100
Subject: [PATCH 2/7] Allow IMPORT_DIR_ALLOWLIST
https://github.com/alexbelgium/hassio-addons/issues/770
---
fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh b/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh
index ee14aee51..e28654515 100755
--- a/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh
+++ b/fireflyiii_data_importer/rootfs/etc/cont-init.d/99-run.sh
@@ -14,6 +14,9 @@ if [ "$(ls -A "$CONFIGSOURCE/configurations")" ]; then
export JSON_CONFIGURATION_DIR
fi
+# Allow config dir
+export IMPORT_DIR_ALLOWLIST="$CONFIGSOURCE"
+
################
# CRON OPTIONS #
################
From 7aa69da16f2df34e580f66fd7bc350f4a9c99739 Mon Sep 17 00:00:00 2001
From: Alexandre <44178713+alexbelgium@users.noreply.github.com>
Date: Sat, 25 Mar 2023 21:33:20 +0100
Subject: [PATCH 3/7] Update CHANGELOG.md
---
fireflyiii_data_importer/CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/fireflyiii_data_importer/CHANGELOG.md b/fireflyiii_data_importer/CHANGELOG.md
index 1b9f661f2..1b6272628 100644
--- a/fireflyiii_data_importer/CHANGELOG.md
+++ b/fireflyiii_data_importer/CHANGELOG.md
@@ -1,3 +1,4 @@
+- Allow IMPORT_DIR_ALLOWLIST
## version-1.2.2 (24-03-2023)
- Update to latest version from fireflyiii/data-importer
From 407dc9eb7bc37f1d7224045bafdb07587710efc4 Mon Sep 17 00:00:00 2001
From: Alexandre <44178713+alexbelgium@users.noreply.github.com>
Date: Sat, 25 Mar 2023 21:33:40 +0100
Subject: [PATCH 4/7] Update config.json
---
fireflyiii_data_importer/config.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fireflyiii_data_importer/config.json b/fireflyiii_data_importer/config.json
index 11ab727a7..f88ac6dc0 100644
--- a/fireflyiii_data_importer/config.json
+++ b/fireflyiii_data_importer/config.json
@@ -40,6 +40,6 @@
},
"slug": "fireflyiii_data_importer",
"url": "https://github.com/alexbelgium/hassio-addons",
- "version": "version-1.2.2",
+ "version": "version-1.2.2-2",
"webui": "[PROTO:ssl]://[HOST]:[PORT:8080]"
}
From e9894b57f271c21d1422e8fa4df2ccdcd22a8407 Mon Sep 17 00:00:00 2001
From: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 25 Mar 2023 20:34:18 +0000
Subject: [PATCH 5/7] GitHub bot : changelog
---
fireflyiii_data_importer/CHANGELOG.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fireflyiii_data_importer/CHANGELOG.md b/fireflyiii_data_importer/CHANGELOG.md
index 1b6272628..5d57e2fd5 100644
--- a/fireflyiii_data_importer/CHANGELOG.md
+++ b/fireflyiii_data_importer/CHANGELOG.md
@@ -1,3 +1,5 @@
+### version-1.2.2-2 (25-03-2023)
+- Minor bugs fixed
- Allow IMPORT_DIR_ALLOWLIST
## version-1.2.2 (24-03-2023)
From df4d09beb0901b182c0eca843e54290a72fb71d5 Mon Sep 17 00:00:00 2001
From: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sun, 26 Mar 2023 00:12:48 +0000
Subject: [PATCH 6/7] Github bot : script beautyshied
---
nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh | 8 ++++----
nextcloud/rootfs/etc/cont-init.d/30-ssl.sh | 2 +-
qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh
index 414bcaf26..129ec397a 100755
--- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh
+++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh
@@ -56,12 +56,12 @@ elif [[ $($LAUNCHER -V 2>&1) == *"Nextcloud"* ]]; then
bashio::log.green "--------------------------------------"
bashio::log.green "Nextcloud $CURRENTVERSION is installed"
bashio::log.green "--------------------------------------"
-# Is there an error
+ # Is there an error
elif [[ $($LAUNCHER -V 2>&1) == *"Composer autoloader not found"* ]]; then
bashio::log.red "--------------------------------------------------------"
bashio::log.red "Issue in installation detected, Nextcloud will reinstall"
bashio::log.red "--------------------------------------------------------"
- touch /reinstall
+ touch /reinstall
else
bashio::log.red "------------------------------------------------------------------"
bashio::log.red "Unknown error detected, please create issue in github or reinstall"
@@ -109,13 +109,13 @@ if [ -f /reinstall ]; then
mkdir -p /app
if [ -f /app/nextcloud.tar.bz2 ]; then rm /app/nextcloud.tar.bz2; fi
curl -o /app/nextcloud.tar.bz2 -L "https://download.nextcloud.com/server/releases/nextcloud-${CURRENTVERSION}.tar.bz2" --progress-bar || \
- (bashio::log.fatal "Your version doesn't exist... Please restore backup or fully uninstall addon" && exit 1)
+ (bashio::log.fatal "Your version doesn't exist... Please restore backup or fully uninstall addon" && exit 1)
fi
# Reinstall
bashio::log.green "... reinstall ongoing, please wait"
if [ -f /data/config/www/nextcloud/index.php ]; then rm /data/config/www/nextcloud/index.php; fi && \
- /./etc/s6-overlay/s6-rc.d/init-nextcloud-config/run
+ /./etc/s6-overlay/s6-rc.d/init-nextcloud-config/run
fi
bashio::log.green "... done"
diff --git a/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh b/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh
index e74e302bf..e261b011b 100755
--- a/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh
+++ b/nextcloud/rootfs/etc/cont-init.d/30-ssl.sh
@@ -16,6 +16,6 @@ if bashio::config.true 'use_own_certs'; then
[[ -f /data/config/keys/cert.crt ]] && rm /data/config/keys/cert.crt
cp /ssl/"$CERTFILE" /data/config/keys/cert.crt
cp /ssl/"$KEYFILE" /data/config/keys/cert.key
- echo "... done"
+ echo "... done"
fi
diff --git a/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh b/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh
index 9c258f668..c8260d71d 100755
--- a/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh
+++ b/qbittorrent/rootfs/etc/openvpn/up-qbittorrent.sh
@@ -5,4 +5,4 @@ WEBUI_PORT=${WEBUI_PORT:-8080}
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${WEBUI_PORT}" \
- s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
+ s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
From 07d597297619141900579838e0d503b342cfbc86 Mon Sep 17 00:00:00 2001
From: Alexandre <44178713+alexbelgium@users.noreply.github.com>
Date: Sun, 26 Mar 2023 08:20:25 +0200
Subject: [PATCH 7/7] Update helper_stats_graphs.yaml
---
.github/workflows/helper_stats_graphs.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/helper_stats_graphs.yaml b/.github/workflows/helper_stats_graphs.yaml
index 07d63c79a..6406737da 100644
--- a/.github/workflows/helper_stats_graphs.yaml
+++ b/.github/workflows/helper_stats_graphs.yaml
@@ -241,7 +241,7 @@ jobs:
wget -S -O .github/stars2.svg https://git-lister.onrender.com/api/stars/alexbelgium/hassio-addons || \
wget -S -O .github/stars2.svg https://git-lister.onrender.com/api/stars/alexbelgium/hassio-addons?limit=31 || true
# Get stars evolution
- wget -S -O .github/starsevol.svg https://api.star-history.com/svg?repos=alexbelgium/hassio-addons&type=Date
+ wget -S -O .github/starsevol.svg "https://api.star-history.com/svg?repos=alexbelgium/hassio-addons&type=Date"
- name: Commit if needed
uses: EndBug/add-and-commit@v9
with: