Compare commits

...

10 Commits

Author SHA1 Message Date
Simon L. c675b74efc Update traefik config on reverse-proxy.md to fix mix content blocking with euro office (#8297) 2026-06-10 15:49:27 +02:00
Tecneo 1029ff139e Update reverse-proxy.md
Signed-off-by: Tecneo <42748615+t3cneo@users.noreply.github.com>
2026-06-10 15:07:52 +02:00
Tecneo 37e934657a Update reverse-proxy.md
Signed-off-by: Tecneo <42748615+t3cneo@users.noreply.github.com>
2026-06-10 14:51:45 +02: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 13 additions and 3 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
@@ -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); }
}
+4
View File
@@ -898,6 +898,8 @@ The examples below define the dynamic configuration in YAML files. If you rather
hostsProxyHeaders:
- "X-Forwarded-Host"
referrerPolicy: "same-origin"
customRequestHeaders:
X-Forwarded-Proto: "https"
https-redirect:
redirectscheme:
@@ -993,6 +995,8 @@ The examples below define the dynamic configuration in YAML files. If you rather
hostsProxyHeaders:
- "X-Forwarded-Host"
referrerPolicy: "same-origin"
customRequestHeaders:
X-Forwarded-Proto: "https"
https-redirect:
redirectscheme: