Commit Graph

121 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
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
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 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
Eric Schubert 28a8b656a2 [chore] added fedora support for docker dev setup 2026-01-19 16:01:27 +01: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
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 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 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 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
Pavel Balashou dc63efdffd [#65875] Enable collaborative editing. 2025-08-20 09:49:38 +02:00
Pavel Balashou e18a58ce12 Correct labels array indentation. 2025-08-12 17:24:25 +02:00
Jan Sandbrink e9d2d10712 Fix running the docker TLS stack
The latest upgrades to our frontend stack prohibited access through the
openproject.local hostname and also caused trouble with the previous setup
where the frontend stack would proxy requests to the backend.

Thus the default setup was now changed so that both frontend and backend
are exposed to the browser via different hostnames. The main service to start
will be the backend, which will redirect requests to certain assets to the frontend
service (this was already integrated into the rails routes previously).
2025-07-22 09:23:07 +02:00
Klaus Zanders e6fa10a649 Update Ruby & bundler 2025-07-18 15:37:31 +02:00
Pavel Balashou e78b12a51e [#62107] Fix specs. Add openjdk to backend image.
- Add openjdk to backend image.
  It is required to sping up test LDAP server in specs.
  https://github.com/NUARIG/ladle
2025-06-30 17:50:39 +02:00
3115fcfc-2c0b-4076-927f-ae6531c76061 2ba568aa2e Change for Docker PostgreSQL to Version 17 and OpenProject to Version 16 2025-06-20 08:15:41 +02:00
Yauheni Suhakou 25db0e6eee Docker file update for development and macOS documentation update (#19135)
Update Docker with the new PostgreSQL 17.
Update Docker documentation for macOS with an Apple Silicon section.
2025-06-12 15:56:06 +02:00
Klaus Zanders eb31b3205b Merge pull request #18940 from opf/ruby-3.4.4
Update Ruby to version 3.4.4 and Bundler to 2.6.9
2025-05-23 10:48:52 +02:00
Jan Sandbrink 4b8d3a3490 Upgrade development Keycloak to 26.2
This version adds official support for token exchange, so
we can drop usage of preview features.
2025-05-21 09:22:58 +02:00
Jan Sandbrink 8f813ff137 Build a minimalistic Keycloak theme
This is intended to be used on community.openproject.org
and it doesn't (yet) seem to be enough to warrant being moved to
its own repository, though at some point we might want to think about
moving the entire keycloak docker deployment out.
2025-05-20 10:12:31 +02:00
Klaus Zanders 918bc1e8e9 Update Ruby to version 3.4.4 and Bundler to 2.6.9 2025-05-19 10:47:58 +02:00
Oliver Günther fdea795a77 Bump Node.js and NPM (#18814)
* Bump nodejs to 22.15

* Update frontend docker
2025-05-05 15:30:22 +02:00
Jan Sandbrink 394f675dbb Ignore overrides for nextcloud compose as well
Similar to other docker compose environments, we also
allow to provide a local docker-compose.override.yml, so
that local changes (like the ones suggested in the compose file)
can be applied without impacting the git state.
2025-04-29 10:05:59 +02:00
Alexander 19570b5b7b Fix npm version 2025-03-07 13:40:24 +01:00
Klaus Zanders fa8bb7b98b Update ruby to 3.4.2 2025-02-17 09:58:44 +01:00
Eric Schubert b324f52d84 Merge branch 'dev' into implementation/60151-allow-to-perform-nc-authentication-using-stored-access-tokens 2025-02-13 10:45:55 +01:00
Jan Sandbrink b2ee9db2c4 Merge pull request #17805 from opf/keycloak-setup-doc
Add some docs for keycloak dev setup
2025-02-11 08:33:19 +01:00
Dombi Attila 173879125a Let bundler take the version from the Gemfile.lock 2025-02-10 15:21:48 +02:00
Markus Kahl 273389c84e update bundler in docker build to fix issue with uninstalled gems 2025-02-10 12:57:21 +01:00
Eric Schubert 52a670c487 [#60151] enable nextcloud storages with sso strategy
- https://community.openproject.org/work_packages/60151
- add decision logic, which strategy to use for nextcloud storages
- add sso user token logic with token exchange
2025-02-07 13:17:03 +01:00
Jan Sandbrink 4720c9fbf5 Add some docs for keycloak dev setup
Those are mostly tips and best practices for the
setup that we are currently using, so that it's not
spread through word of mouth, but we have a single source
of truth where we document it.
2025-02-06 08:46:52 +01:00
Jan Sandbrink 5b585a8ee3 Bump Keycloak to latest version
The version we've been using was outdated by 5 major releases.
2025-02-04 08:43:03 +01:00
Jan Sandbrink 035ed9a98e Make Keycloak remember things
The default configuration for keycloak didn't attach
any kind of volume to its database, so after

    docker compose down

everything was gone. I learned this today.
2025-01-29 11:46:34 +01:00
ulferts f8bf0bdf17 bump ruby to 3.4.1 2025-01-23 19:28:50 +01:00
Jan Sandbrink 9bfdd3b060 Merge pull request #17425 from opf/keycloak-setup
Make keycloak setup more consistent
2024-12-13 14:29:19 +01:00
Jan Sandbrink 8a9678bd44 Add docker-compose.yml for nextcloud development
This is similar to what we already have for Keycloak and GitLab
in providing a minimal docker-compose file for integration work.
2024-12-10 16:51:46 +01:00