Commit Graph

486 Commits

Author SHA1 Message Date
Klaus Zanders a44222a5e2 Merge pull request #21426 from opf/bundler-4
Update Ruby & Bundler to v4
2026-03-11 10:50:21 +01:00
Kabiru Mwenja 338bb59e6c Update dev hocuspocus compose image version and env (#22019)
* Remove deprecated `ALLOWED_DOMAINS`
* Point to `openproject/hocuspocus:dev-lates` by default
2026-03-10 22:00:14 +03:00
Eric Schubert 358ff40e5c [chore] add xwiki alias to traefik defaults
- starting with xwiki development, this alias belongs to the defaults we
  are defining here
2026-03-05 15:26:20 +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
Pavel Balashou d2781bcea2 Merge pull request #22099 from opf/jira-migration
Basic Jira import wizard for 'work items' / 'issues'
2026-02-25 17:41:19 +01:00
Markus Kahl 523ab3bf17 restore file binary which we need for MIME type detection 2026-02-25 10:36:50 +00:00
Pavel Balashou ea40de726b Remove youtrack. Clean up a bit. 2026-02-24 12:01:22 +01:00
Pavel Balashou 6ef68298c1 Merge branch 'dev' into jira-migration 2026-02-23 16:08:11 +01:00
Judith Roth 3b72cce9ce Adapt tests for new Hocuspocus repo location 2026-02-23 13:59:45 +01:00
Judith Roth dbd810110a [#70175] Add Hocuspocus to CI 2026-02-19 15:24:55 +01:00
Markus Kahl 0789817fe3 Merge remote-tracking branch 'origin/dev' into code-maintenance/71761-include-op-blocknote-hocuspocus-in-openproject-core-repository 2026-02-18 22:47:29 +00: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
Kabiru Mwenja 90a0690f37 Relocate hocuspocus to "extensions" folder 2026-02-12 21:05:39 +03:00
Dombi Attila c7eb130469 Merge branch 'dev' into merge-release/17.1-20260212041910 2026-02-12 10:28:06 +02:00
Kabiru Mwenja b648f59e27 Adapt hocuspocus configs for OpenProject monorepo
Relocate CI workflows from the nested blocknote/hocuspocus/.github/
(which GitHub ignores) to root .github/workflows/ with path filters
so they run independently of core OpenProject CI. Update Docker
workflow tag pattern to hocuspocus-v* to avoid collisions with
OpenProject version tags, and set build context to ./blocknote/hocuspocus.

Also update all references from the old standalone repo
(opf/op-blocknote-hocuspocus) to monorepo paths, including
dependabot, package.json metadata, static_links, README badges/
instructions, docker-compose dev volume mount, and documentation.
2026-02-11 16:17:31 +03:00
Eric Schubert abbaf045c5 [chore] fix api spec validation
- validation script used unmaintained npm package
- switched to actively maintained package from same maintainer
- pipe full output to stdout
- bump node major version in development backend Dockerfile
- fix two api spec errors and two random warnings - boyscout, hell yeah
2026-02-11 14:11:20 +01: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
OpenProject Actions CI 69a38bf0c0 Merge branch 'release/17.1' into dev 2026-02-11 04:20:17 +00:00
Oliver Günther 0d55a543f0 Merge remote-tracking branch 'origin/release/17.0' into release/17.1 2026-02-10 09:43:36 +01:00
Wieland Lindenthal cf8a307a9c Get Hocuspocus real time collaboration server into pullpreview (#20924)
Integrate hocuspocus with pullpreview
2026-02-09 17:40:51 +01:00
Oliver Günther 0a050946d3 Update hocuspocus image to openproject/hocuspocus:17.0.3 2026-02-06 11:32:26 +01:00
Pavel Balashou bbda214b32 Add jira proxy settings.
To avoid "Error creating project, XSRF check failed"
https://support.atlassian.com/jira/kb/creating-project-in-jira-throws-error-creating-project-xsrf-check-failed/
2026-02-04 12:28:34 +01:00
ba1ash 733efe810a Merge branch 'dev' into jira-migration 2026-02-02 12:39:56 +01:00
Eric Schubert 27095f9635 [chore] add fallback to usage of the dev tld 2026-01-30 13:41:29 +01:00
Eric Schubert 1bf2e845d7 [chore] removed .env files from git tracking 2026-01-30 09:40:36 +01:00
Eric Schubert e95129f606 Merge pull request #21788 from opf/chore/fix-ifc-conversion-pipe
[chore] fix ifc conversion pipe
2026-01-28 15:16:23 +01:00
Eric Schubert 14fb41b698 Merge pull request #21763 from opf/chore/enable-webgl-for-xeokit-viewer-tests
[chore] use explicit swiftshader GL for chrome testing
2026-01-28 13:54:14 +01:00
Eric Schubert 82f6fd0c9e [chore] fix ifc conversion pipe
- remove dotnet runtime dependency
- use prebuilt self-contained executable for xeokit-metadata
2026-01-27 16:15:36 +01:00
Jan Sandbrink 6ec8388b86 Merge pull request #21772 from opf/dev-tls-flexibility
Improve flexibility of TLS dev stack
2026-01-27 15:10:07 +01:00
Eric Schubert 6435804192 [chore] use explicit swiftshader GL for chrome testing
Swiftshader is a software based fallback for WebGL context used in
Chrome without GPU access - e.g. in headless browsers for testing, or
containerized selenium browsers, like in our docker dev setup. The
automatic fallback to Swiftshader was disabled in January 2026, causing
any test using a WebGL context to fail.
See https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/swiftshader.md
To fix that, we enabled the unsafe fallback now manually for testing
contexts.
2026-01-27 14:48:12 +01:00
Jan Sandbrink 827f577c85 Allow to change TLD for docker dev stack
Instead of assuming that the TLD is .local, we allow
to overwrite it with different TLDs, so that the local setup
can be adapted to developer needs.
2026-01-27 13:05:19 +01:00
Jan Sandbrink 9b3e465248 Merge pull request #21773 from opf/nextcloud-dev-docs
Update Nextcloud dev docs
2026-01-26 13:36:43 +01:00
Jan Sandbrink 25d5c1cde2 Update Nextcloud dev docs
I finally learned how to change arrays in Nextcloud config,
so lets also reflect that in the instructions...
2026-01-26 13:09:32 +01:00
Jan Sandbrink fc15231737 Allow to use Let's encrypt in docker dev setup
Making the CA configuration a bit more flexible, so that
choosing between Let's encrypt and Step CA is possible.

This only makes sense when not using *.local hostnames.
2026-01-26 09:08:45 +01:00
OpenProject Actions CI dab4b53610 Merge branch 'release/17.0' into dev 2026-01-24 03:52:38 +00:00
Markus Kahl 921721f2dc use slim ruby image as base, add gem build dependencies 2026-01-23 14:18:45 +00:00
ulferts 938874cfa5 use older chrome version from mirror to work around xeokit issues in test 2026-01-22 14:51:51 +01:00
Eric Schubert 84ac8da442 [chore] fix capybara.rb to work with docker setup
- change capybara server host binding mechanism
2026-01-21 10:34:08 +01:00
Eric Schubert dcbb130603 Merge pull request #21718 from opf/chore/fedora-and-arch-dev-support
[chore] added fedora support for docker dev setup
2026-01-20 15:40:55 +01:00
ulferts 150afb6a20 use older chrome version from mirror to work around xeokit issues in test 2026-01-19 17:50:09 +01:00
Eric Schubert 28a8b656a2 [chore] added fedora support for docker dev setup 2026-01-19 16:01:27 +01:00
Andrej f3fcdd6580 Merge branch 'dev' into merge-release/17.0-20260114130218 2026-01-14 14:07:25 +01: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 ac86597607 fix order
it was still working before but this is less confusing
2026-01-14 08:56:46 +00: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