Compare commits

...

8 Commits

Author SHA1 Message Date
szaimen dfb05d0d74 watchtower-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-10 13:52:40 +00:00
Simon L. e4e401a783 build(deps): bump astral-sh/setup-uv from 8.1.0 to 8.2.0 in /.github/workflows (#8296) 2026-06-10 14:51:33 +02:00
dependabot[bot] dd8bd1d883 build(deps): bump astral-sh/setup-uv in /.github/workflows
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/08807647e7069bb48b6ef5acd8ec9567f424441b...fac544c07dec837d0ccb6301d7b5580bf5edae39)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: 8.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-10 12:29:52 +00:00
Simon L. 7bf9c913b8 fix(nextcloud): register EuroOffice preview provider (#8288) 2026-06-10 13:57:29 +02:00
Simon L. 0accbe8256 feat: enable EuroOffice by default for new installs (#8289) 2026-06-10 13:57:07 +02:00
James Manuel 40ce65b6e0 feat: enable EuroOffice by default for new installs
Flips isEuroofficeEnabled default to true and isCollaboraEnabled
default to false in ConfigurationManager.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
2026-06-10 13:05:40 +02:00
James Manuel c3c6281443 fix(nextcloud): register EuroOffice preview provider
Adds OCA\Eurooffice\Preview to enabledPreviewProviders at index 24
(one above AIO's highest seeded index of 23). The check is idempotent
so re-running entrypoint.sh is safe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
2026-06-10 12:52:22 +02:00
James Manuel 2db926cd21 fix(nextcloud): register EuroOffice preview provider
Adds OCA\Eurooffice\Preview to enabledPreviewProviders at index 50
to avoid colliding with AIO's seeded indices (1-7, 23). The check
is idempotent so re-running entrypoint.sh is safe.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
2026-06-10 12:48:29 +02:00
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
line-length: warning
- name: Install the latest version of uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
- name: Check GitHub actions
run: uvx zizmor --min-severity medium .github/workflows/*.yml
+6
View File
@@ -908,6 +908,12 @@ if [ "$EUROOFFICE_ENABLED" = 'yes' ]; then
fi
php /var/www/html/occ config:app:set eurooffice DocumentServerUrl --value="https://$EUROOFFICE_HOST"
# Register EuroOffice preview provider in the explicit allowlist.
# Use a high fixed index (50) to avoid colliding with AIO's seeded indices (1-7, 23).
if ! php /var/www/html/occ config:system:get enabledPreviewProviders | grep -q "Eurooffice"; then
php /var/www/html/occ config:system:set enabledPreviewProviders 24 --value="OCA\Eurooffice\Preview"
fi
fi
else
# Remove EuroOffice app if disabled and removal is requested
+2 -2
View File
@@ -1,13 +1,13 @@
# syntax=docker/dockerfile:latest
FROM golang:1.26.4-alpine3.23 AS go
ENV WATCHTOWER_COMMIT_HASH=9d0048403a7242943084bede951f6f966f7691ba
ENV WATCHTOWER_COMMIT_HASH=ed2fada4e714f27cf67b31ccb4d9cddacfe06d6a
RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \
build-base; \
go install github.com/nicholas-fedor/watchtower@$WATCHTOWER_COMMIT_HASH # v1.17.2
go install github.com/nicholas-fedor/watchtower@$WATCHTOWER_COMMIT_HASH # v1.18.0
FROM alpine:3.23.4
+2 -2
View File
@@ -100,13 +100,13 @@ class ConfigurationManager
}
public bool $isEuroofficeEnabled {
get => $this->get('isEuroofficeEnabled', false);
get => $this->get('isEuroofficeEnabled', true);
set { $this->set('isEuroofficeEnabled', $value); }
}
public bool $isCollaboraEnabled {
// Type-cast because old configs could have 1/0 for this key.
get => (bool) $this->get('isCollaboraEnabled', true);
get => (bool) $this->get('isCollaboraEnabled', false);
set { $this->set('isCollaboraEnabled', $value); }
}