Commit Graph

458 Commits

Author SHA1 Message Date
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
Oliver Günther 48f66eb457 Update hocuspocus image to openproject/hocuspocus:17.1.0 2026-02-11 10:33:21 +01: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
Oliver Günther 0a050946d3 Update hocuspocus image to openproject/hocuspocus:17.0.3 2026-02-06 11:32:26 +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
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
Bruno Pagno 49470936fb use latest image of hocuspocus on docker dev setup 2025-12-22 09:58:06 +01:00
Bruno Pagno 2c95063054 encrypt oauth token for usage with hocuspocus 2025-11-24 18:48:21 +01:00
Henriette Darge 655756631f [67007] Render the WP full view from rails (#20109)
* Create a FullView::CopyComponent for WorkPackages which is routed from rails

* Remove angular splitCopy route and component as it was overwritten by the angular fullCopy route for quite some time already and nobody complained. So we decided to remove the splitCopy completely

* Create FullView::CreateComponent for WorkPackages which is now routed from rails instead of Angular

* First draft of implementing the FullView route for WorkPackages from rails

* Pass correct tab from the URL to the FullView::ShowComponent

* Do a hard reload to "create" route when we are not routed from Angular

* Adapt routing spec to new WorkPackage routes and to some fine-tuning with the WP routes

* Show correct tab in WP Full view and change URL when clicking a tab entry

* Adapt to new rails based routing

* Fix some routes and redirects

* Make sure, the split screen stil renders correctly

* Remove back button from WP full view

* Fix routing issues

* Start fixing specs

* Attempt to override the browser history to be able to use browser back

* Use helper function to build new WP url string

* Adapt spec that now partially renders backend toasts

* Remove ability to move to fullscreen

Theoretically, we can re-add it by posting to some form endpoint, but
not worth it for the first iteration

* Disable cache-control on angular routed pages, so back links work

* Fix double click to fullscreen

* Adapt navigation and title setting

* Let WP breadcrumb to a hard reload instead of Angular transition

* Redirect when the WP route is incomplete (this is the attempt to re-implement an angular functionality)

* Navigate with Turbo when double clicking a card

* Adapt onboarding tour to new hard reload when switching to WP full view

* Fix some specs

* Fix more tests

* Hide Overview tab on FullView

* Correct check for incomplete routes

* Do a hard refresh when coming from slpit screen to full view

* Fix notification navigation

* Adapt attachment spec as the tab switch cannot be done anymore while dragging

* Fix more tests

* Please rubocop and fix more tests

* Attempt to fix navigation_spec

* Add debian_base for pullpreview

---------

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2025-11-03 09:02:16 +01:00
Bruno Pagno 6adc9c03a9 include a docker-compose.override example for Hocuspocus, for local development 2025-10-29 14:30:17 +01:00
Judith Roth 91cf8595c1 Update docker/dev/hocuspocus/docker-compose.yml
Co-authored-by: Kabiru Mwenja <k.mwenja@openproject.com>
2025-10-29 13:09:52 +01:00
Judith Roth 750059755f [#68071] Document Hocuspocus docker setup for Mac
https://community.openproject.org/work_packages/68071
2025-10-29 10:49:25 +01: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
Bruno Pagno 21b309b69d Merge pull request #20726 from opf/fix/hocuspocus-docker-setup
Update env variables for hocuspocus docker setup
2025-10-24 15:46:18 +02: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
Bruno Pagno e578852ed6 update env variables for hocuspocus docker setup 2025-10-22 13:16:14 +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
Judith Roth f061c3b7c3 Merge pull request #20510 from opf/jr/dev-minio-setup
Add minio to dev setup to ease development of uploads against S3
2025-10-06 13:11:46 +02:00
Judith Roth 3925c767d6 Add minio to dev setup to ease development of uploads against S3
during https://community.openproject.org/wp/67403

What do you want to accomplish?

This should make it easy for people to spin up a "local S3" so they
can develop the API flow for uploading files to S3. Since this flow
is more complex than the upload to a local storage, it should be
easy to try it out locally.
2025-10-02 15:10:14 +02:00
Christophe Bliard 46e230b586 Retry downloads of bim dependencies in docker
Download failed in some CI builds for some reason [1], while it worked
for previous builds [2]. I would assume it's transient download errors.

Adding `--tries 3` to the wget commands to retry the downloads should
fix the issue.

Also replaced `--quiet` with `--no-verbose` to be terser than default
but still get error information when it fails.

[1] https://github.com/opf/openproject-flavours/actions/runs/17911001201 and https://github.com/opf/openproject-flavours/actions/runs/17910946720/job/50922134721
[2] https://github.com/opf/openproject-flavours/actions/runs/17910953231/job/50922155467
2025-09-22 12:04:30 +02:00
Judith Roth 63424f06f7 Add ability to add an docker-compose.override.yml to hocuspocus dev setup 2025-09-15 11:37:25 +02:00
Pavel Balashou 54f099c1be [#65875] Refactor collaborative editing.
- Use published docker image for local dev setup.
- Handle a case when Setting.collaborative_editing_hocuspocus_url is set to invalid URI.
- Remove unneedd CSS.
- Add some tests.
2025-08-29 13:30:49 +02:00
Pavel Balashou 3a05d52000 Merge remote-tracking branch 'origin/dev' into feature/65875-collaborative-real-time-editing-in-documents 2025-08-28 17:41:02 +02:00
Pavel Balashou 16b7835cb0 Adjust collaborative editing.
- Fix initial content loading.
- Enable commenting on documents.
- Enable persistence on hocuspocus server
2025-08-20 15:03:10 +02:00