Skip to content

Commit

Permalink
Merge branch 'main' into enh/5451/exclude-previews
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Diels <[email protected]>
  • Loading branch information
timdiels committed Nov 11, 2024
2 parents 6d77989 + 9b3b153 commit 2f1aed0
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 35 deletions.
4 changes: 2 additions & 2 deletions Containers/apache/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ logfile_backups=10
loglevel=error

[program:apache]
# stdout_logfile=/dev/stdout
# stdout_logfile_maxbytes=0
# Stdout logging is disabled as otherwise the logs are spammed
stdout_logfile=NONE
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apachectl -DFOREGROUND
Expand Down
4 changes: 3 additions & 1 deletion Containers/borgbackup/backupscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ if [ -n "$BORG_REMOTE_REPO" ] && ! [ -f "$BORGBACKUP_KEY" ]; then
ssh-keygen -f "$BORGBACKUP_KEY" -N ""
echo "You should configure the remote to accept this public key"
fi
echo "Your public ssh key for borgbackup is: $(cat "$BORGBACKUP_KEY.pub")"
if [ -n "$BORG_REMOTE_REPO" ] && [ -f "$BORGBACKUP_KEY.pub" ]; then
echo "Your public ssh key for borgbackup is: $(cat "$BORGBACKUP_KEY.pub")"
fi

# Do the backup
if [ "$BORG_MODE" = backup ]; then
Expand Down
2 changes: 1 addition & 1 deletion Containers/clamav/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:latest
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.3/alpine/Dockerfile
FROM clamav/clamav:1.4.1-11
FROM clamav/clamav:1.4.1-12

COPY clamav.conf /clamav.conf
COPY --chmod=775 start.script /start.script
Expand Down
2 changes: 1 addition & 1 deletion Containers/docker-socket-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM haproxy:3.0.5-alpine
FROM haproxy:3.0.6-alpine

# hadolint ignore=DL3002
USER root
Expand Down
14 changes: 6 additions & 8 deletions Containers/mastercontainer/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ loglevel=error
user=root

[program:php-fpm]
# stdout_logfile=/dev/stdout
# stdout_logfile_maxbytes=0
# Stdout logging is disabled as otherwise the logs are spammed
stdout_logfile=NONE
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=php-fpm
user=root

[program:apache]
# stdout_logfile=/dev/stdout
# stdout_logfile_maxbytes=0
# Stdout logging is disabled as otherwise the logs are spammed
stdout_logfile=NONE
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=httpd -DFOREGROUND
Expand Down Expand Up @@ -58,9 +58,7 @@ user=root

[program:domain-validator]
# Logging is disabled as otherwise all attempts will be logged which spams the logs
# stdout_logfile=/dev/stdout
# stdout_logfile_maxbytes=0
# stderr_logfile=/dev/stderr
# stderr_logfile_maxbytes=0
stdout_logfile=NONE
stderr_logfile=NONE
command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php
user=www-data
2 changes: 1 addition & 1 deletion Containers/nextcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV SOURCE_LOCATION=/usr/src/nextcloud
ENV REDIS_DB_INDEX=0

# AIO settings start # Do not remove or change this line!
ENV NEXTCLOUD_VERSION=29.0.9
ENV NEXTCLOUD_VERSION=30.0.2
ENV AIO_TOKEN=123456
ENV AIO_URL=localhost
# AIO settings end # Do not remove or change this line!
Expand Down
2 changes: 1 addition & 1 deletion Containers/nextcloud/notify-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mapfile -t NC_USERS <<< "$NC_USERS"
for user in "${NC_USERS[@]}"
do
echo "Posting '$SUBJECT' to: $user"
"${COMMAND[@]}" notification:generate "$user" "$NC_DOMAIN: $SUBJECT" -l "$MESSAGE"
"${COMMAND[@]}" notification:generate "$user" "$NC_DOMAIN: $SUBJECT" -l "$MESSAGE" --object-type='update' --object-id="$SUBJECT"
done

echo "Done!"
Expand Down
2 changes: 1 addition & 1 deletion Containers/nextcloud/notify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ done
for admin in "${NC_ADMIN_USER[@]}"
do
echo "Posting '$SUBJECT' to: $admin"
"${COMMAND[@]}" notification:generate "$admin" "$NC_DOMAIN: $SUBJECT" -l "$MESSAGE"
"${COMMAND[@]}" notification:generate "$admin" "$NC_DOMAIN: $SUBJECT" -l "$MESSAGE" --object-type='update' --object-id="$SUBJECT"
done

echo "Done!"
Expand Down
4 changes: 2 additions & 2 deletions app/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<name>Nextcloud All-in-One</name>
<summary>Provides a login link for admins.</summary>
<description>Add a link to the admin settings that gives access to the Nextcloud All-in-One admin interface</description>
<version>0.6.0</version>
<version>0.7.0</version>
<licence>agpl</licence>
<author>Azul</author>
<namespace>AllInOne</namespace>
<default_enable/>
<category>monitoring</category>
<bugs>https://github.com/nextcloud/all-in-one/issues</bugs>
<dependencies>
<nextcloud min-version="28" max-version="29"/>
<nextcloud min-version="29" max-version="30"/>
</dependencies>

<settings>
Expand Down
26 changes: 13 additions & 13 deletions php/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions php/templates/containers.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<div class="container">
<main>
<h1>Nextcloud AIO v9.9.0</h1>
<h1>Nextcloud AIO v10.0.0</h1>

{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>
Expand All @@ -33,7 +33,7 @@
{% set isBackupOrRestoreRunning = false %}
{% set isApacheStarting = false %}
{# Setting newMajorVersion to '' will hide corresponding options/elements, can be set to an integer like 26 in order to show corresponding elements. If set, also increase installLatestMajor in https://github.com/nextcloud/all-in-one/blob/main/php/src/Controller/DockerController.php #}
{% set newMajorVersion = 30 %}
{% set newMajorVersion = '' %}

{% if is_backup_container_running == true %}
{% if borg_backup_mode == 'backup' or borg_backup_mode == 'restore' %}
Expand Down Expand Up @@ -490,8 +490,10 @@
<h3>Reset backup location</h3>
<p>
If the configured backup host location <strong>{{ borg_backup_host_location }}</strong>
{% if borg_remote_repo %}or the remote repo <strong>{{ borg_remote_repo }}</strong> is wrong{% endif %},
you can reset it by clicking on the button below.
{% if borg_remote_repo %}
or the remote repo <strong>{{ borg_remote_repo }}</strong>
{% endif %}
is wrong, you can reset it by clicking on the button below.
</p>
<form method="POST" action="/api/configuration" class="xhr">
<input type="hidden" name="delete_borg_backup_location_vars" value="yes"/>
Expand Down

0 comments on commit 2f1aed0

Please sign in to comment.