143 Commits

Author SHA1 Message Date
Alexander Brandon Coles 8127d71d6a Merge pull request #23588 from opf/code-maintenance/angular-22
[OP-19470] Upgrade Angular to v22
2026-06-10 14:01:14 +01:00
Oliver Günther 62c45fc4a9 Update hocuspocus image to openproject/hocuspocus:17.5.0 2026-06-10 07:53:03 +02:00
Oliver Günther c30644bfa9 Revert "Update hocuspocus image to openproject/hocuspocus:17.4.1"
This reverts commit b01a19634b.
2026-06-08 10:34:16 +02:00
Oliver Günther b01a19634b Update hocuspocus image to openproject/hocuspocus:17.4.1 2026-06-08 10:04:31 +02:00
Alexander Brandon Coles ead911e214 Bump Node to 22.22.3, npm to ^10.9.8
Bumps supported Node engines to `^22.22.3 || ^24.15.0`.

Updates to Node 22.22.3 for development, production, GitHub workflows
and in documentation.
2026-06-07 21:01:52 +01:00
Oliver Günther 4875f75a6a Update hocuspocus image to openproject/hocuspocus:17.4.0 2026-05-13 08:46:28 +02:00
Oliver Günther 6b6da0ca76 Merge remote-tracking branch 'origin/release/17.3' into release/17.4 2026-05-13 07:51:33 +02:00
Oliver Günther 6e0adc1f36 Update hocuspocus image to openproject/hocuspocus:17.3.2 2026-05-13 07:19:15 +02:00
Klaus Zanders 787c0905bc Merge branch 'dev' into merge-release/17.3-20260421043240 2026-04-21 09:57:10 +02:00
Oliver Günther 6d88727683 Update hocuspocus image to openproject/hocuspocus:17.3.1 2026-04-20 13:08:29 +02:00
Klaus Zanders 80fbd5806d Merge branch 'dev' into merge-release/17.3-20260416043324 2026-04-16 13:45:35 +02:00
Oliver Günther 614a69c497 Update hocuspocus image to openproject/hocuspocus:17.3.0 2026-04-15 07:47:18 +02:00
Klaus Zanders 05b231fef5 Bump ruby to 4.0.2 2026-04-01 11:28:28 +02:00
Oliver Günther e5c012d8f8 Merge remote-tracking branch 'origin/release/17.2' into release/17.3 2026-03-31 08:53:31 +02:00
Oliver Günther 939b87b1e5 Update hocuspocus image to openproject/hocuspocus:17.2.3 2026-03-31 08:52:24 +02:00
Klaus Zanders cda493946c Merge branch 'dev' into merge-release/17.2-20260318041917 2026-03-18 08:30:59 +01:00
Oliver Günther 3b91c63fb2 Update hocuspocus image to openproject/hocuspocus:17.2.2 2026-03-17 16:01:52 +01:00
Klaus Zanders c8db8cc5f4 Merge branch 'dev' into merge-release/17.2-20260316141915 2026-03-16 15:20:14 +01:00
Oliver Günther a7497c8c44 Remove other remnant of the debian base arg 2026-03-16 12:01:54 +01:00
Andrej 15baa3520d Merge branch 'dev' into merge-release/17.2-20260316105331 2026-03-16 11:54:11 +01:00
Oliver Günther 957595d29f Update hocuspocus image to openproject/hocuspocus:17.2.1 2026-03-16 11:11:54 +01:00
Andrej 0f3e6bd56e Merge branch 'dev' into merge-release/17.2-20260311143330 2026-03-11 15:35:31 +01:00
Markus Kahl 0d683176d3 Update hocuspocus image to openproject/hocuspocus:17.2.0 2026-03-11 10:20:03 +00:00
Klaus Zanders a44222a5e2 Merge pull request #21426 from opf/bundler-4
Update Ruby & Bundler to v4
2026-03-11 10:50:21 +01:00
Klaus Zanders c8a96dd4e3 Merge branch 'release/17.2' into merge-release/17.1-20260226135931 2026-02-26 15:01:18 +01:00
Klaus Zanders 2fd23edf02 Update hocuspocus image to openproject/hocuspocus:17.1.2 2026-02-26 14:55:46 +01:00
Klaus Zanders 1f98f39e22 Update Ruby to 4.0.1 2026-02-18 15:43:25 +01:00
Klaus Zanders 4e9698f5cd Update Ruby to 4.0.0 2026-02-18 15:43:24 +01:00
Klaus Zanders a3257f3e59 Merge branch 'dev' into merge-release/17.1-20260218130400 2026-02-18 14:13:12 +01:00
Oliver Günther 5ab816850c Update hocuspocus image to openproject/hocuspocus:17.1.1 2026-02-18 13:41:17 +01:00
Dombi Attila c7eb130469 Merge branch 'dev' into merge-release/17.1-20260212041910 2026-02-12 10:28:06 +02:00
Cyril Rohr d482f1f708 Fix docker bloat (#21948)
* Refactor Docker build/runtime stages for slimmer images

Split runtime and build dependencies into separate stages and build the app in a dedicated stage before runtime copy.

Add a slim prune stage that removes non-runtime source trees, source maps, duplicate enterprise source videos, module test/doc folders, and extra vendored gem artifacts.

This ensures bytes are removed before the final slim copy, so layer size actually decreases while keeping runtime behavior intact.

* Add target-specific Docker image validation in CI

Introduce script/ci/docker_validate_image.sh with validations for slim, slim-bim, and all-in-one images.

Checks include runtime binary presence/absence, plugin asset/module integrity, slim pruning expectations, BIM tooling, and all-in-one API startup/embedded services.

Update docker workflow to run the validator for every matrix target before push.

* fix

* Generate YAML-safe auto Hocuspocus secret

All-in-one startup auto-generates OPENPROJECT_COLLABORATIVE__EDITING__HOCUSPOCUS__SECRET in the entrypoint.

Environment overrides are parsed through YAML, so leading punctuation in the previous charset (e.g. %) could trigger Psych parsing errors and abort boot.

Restrict generated secret characters to alphanumeric to keep parsing stable while preserving high entropy.

* Fix all-in-one hocuspocus runtime and validation

* Fix all-in-one memcached startup handover
2026-02-11 10:40:54 +01:00
Oliver Günther 48f66eb457 Update hocuspocus image to openproject/hocuspocus:17.1.0 2026-02-11 10:33:21 +01:00
Oliver Günther 0a050946d3 Update hocuspocus image to openproject/hocuspocus:17.0.3 2026-02-06 11:32:26 +01:00
Markus Kahl 921721f2dc use slim ruby image as base, add gem build dependencies 2026-01-23 14:18:45 +00:00
Kabiru Mwenja 4d32e32a38 Bump hocuspocus release to include arm64/v8 build platforms
See: https://github.com/opf/op-blocknote-hocuspocus/pull/31

https://community.openproject.org/wp/705107
2026-01-14 11:44:31 +01:00
Markus Kahl cf6a7e3e64 only auto config hocuspocus for aio/supervisord, allow setting via UI by unsetting url env var from auto to empty 2026-01-14 08:35:55 +00:00
Markus Kahl 31570854fd pin hocuspocus to specific sha to be bumped on update 2026-01-14 06:03:17 +00:00
Markus Kahl 1cfa4f8a36 include and configure hocuspocus in AIO docker container 2026-01-13 17:37:59 +00:00
Oliver Günther 7d28f6ebdc Merge remote-tracking branch 'origin/release/16.6' into dev 2025-10-27 11:05:55 +01:00
Oliver Günther 6bf4c0b67c Bump node to 22.21.0
Addresses CVE-2025-23166
2025-10-27 11:01:44 +01:00
Oliver Günther 533ee53d47 Revert docker workflow for 16.6
We only want it in 17.0
2025-10-23 16:34:36 +02:00
Oliver Günther 8cca715000 Rename to slim-bim 2025-10-23 07:55:12 +02:00
Oliver Günther ab282bfb85 Update docker/prod/Dockerfile
Co-authored-by: Markus Kahl <machisuji@gmail.com>
2025-10-23 07:55:12 +02:00
Oliver Günther 5acadee17a Add separate target for bim 2025-10-23 07:55:11 +02:00
Oliver Günther 39c42a35ef Allow configuration of base image 2025-10-23 07:55:10 +02:00
Oliver Günther cc57c2d741 Add SBOM attestation build args to the dockerfile (#20687)
Add SBOM attestation to the dockerfile
2025-10-22 10:06:09 +02:00
Oliver Günther 7b1e5251dc Bump ruby to 2.4.7
https://community.openproject.org/work_packages/68511
2025-10-22 09:32:05 +02:00
Klaus Zanders e6fa10a649 Update Ruby & bundler 2025-07-18 15:37:31 +02:00
Oliver Günther 2b494e0049 Still allow running older PGVERSION while users are migrating 2025-06-20 08:15:42 +02:00