Commit Graph

45 Commits

Author SHA1 Message Date
Klaus Zanders 05b231fef5 Bump ruby to 4.0.2 2026-04-01 11:28:28 +02:00
Judith Roth 2b154a52c9 Documentation: Fix command for running tests in docker
This is the command the backend-test container itself promotes in its
logs. The output of the replaced command is not usable:

```
docker compose run --rm backend-test bundle exec rspec spec/models/project_spec.rb
[+]  8/8t 8/88
 ✔ Network openproject-no-tls_testing             Created                                                                                                                                                                                 0.0s
 ✔ Container openproject-no-tls-db-test-1         Started                                                                                                                                                                                 0.2s
 ✔ Container openproject-no-tls-cuprite-chrome-1  Started                                                                                                                                                                                 0.2s
 ✔ Container openproject-no-tls-chrome-1          Started                                                                                                                                                                                 0.2s
 ✔ Container openproject-no-tls-hocuspocus-test-1 Started                                                                                                                                                                                 0.3s
 ✔ Container openproject-no-tls-frontend-test-1   Started                                                                                                                                                                                 0.3s
 ✔ Container openproject-no-tls-firefox-1         Started                                                                                                                                                                                 0.2s
 ✔ Container selenium-hub                         Started                                                                                                                                                                                 0.3s
Container openproject-no-tls-frontend-test-1 Waiting
Container openproject-no-tls-frontend-test-1 Healthy
Container openproject-no-tls-backend-test-run-8cf0273581eb Creating
Container openproject-no-tls-backend-test-run-8cf0273581eb Created
Waiting for the Grid...
In a future version of Bundler, running `bundle` without argument will no longer run `bundle install`.
Instead, the `cli_help` command will be displayed. Please use `bundle install` explicitly for scripts like CI/CD.
You can use the future behavior now with `bundle config set default_cli_command cli_help --global`,
or you can continue to use the current behavior with `bundle config set default_cli_command install --global`.
This message will be removed after a default_cli_command value is set.

Bundle complete! 222 Gemfile dependencies, 494 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
13 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
```

With `bin/compose` the output looks like this:

```
bin/compose exec rspec spec/models/project_spec.rb
DEPRECATION WARNING: Setting action_controller.escape_json_responses = true is deprecated and will have no effect in Rails 8.2. Set it to `false`, or remove the config. (called from block (2 levels) in <top (required)> at /home/dev/openproject/config/initializers/doorkeeper.rb:241)

Randomized with seed 18555

Project
  when the wiki module is enabled
    creates a wiki menu item named like the default start page
    creates a wiki
  #active?
    if active
      is true
    if not active
      is false
  #parent_allowed?
    for a project
      is truthy
    for a program
...
```
2026-03-27 11:28:06 +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 c5716008b9 Update Bundler to v4 2026-02-18 15:43:22 +01:00
Eric Schubert a141788ede [chore] mention .env usage in readme 2026-01-30 13:47:05 +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
Eric Schubert 28a8b656a2 [chore] added fedora support for docker dev setup 2026-01-19 16:01:27 +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 7b1e5251dc Bump ruby to 2.4.7
https://community.openproject.org/work_packages/68511
2025-10-22 09:32:05 +02:00
Oliver Günther f5ff40f93c Move testing guide into their own chapters 2025-10-17 09:59:36 +02:00
Judith Roth de00e470a0 Add instructions for docker MinIO setup to README 2025-10-06 12:04:18 +02:00
Yauheni Suhakou e55134dda1 Update Docker TLS setup instructions and troubleshooting (#19872)
* Update Docker TLS setup instructions and troubleshooting

Expanded and clarified the steps for configuring Docker services with traefik labels for local TLS development. Added example configurations, emphasized the need to update both backend and frontend services, and included troubleshooting advice for blank pages due to frontend asset issues.

---------

Co-authored-by: Jan Sandbrink <j.sandbrink@openproject.com>
Co-authored-by: Pavel Balashou <ba1ashpash@gmail.com>
2025-08-13 16:22:21 +02:00
Alexander Brandon Coles 028d177bf8 Make docker dev env README.md a bit more foolproof
[ci skip]
2025-07-30 18:03:11 +01:00
Alexander Brandon Coles 26f6baa5e8 Fix typo in docker dev env README.md
[ci skip]
2025-07-24 11:19:06 +01: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
OpenProject Actions CI 83b08e585a Merge branch 'release/16.2' into dev 2025-07-08 03:48:34 +00:00
as-op 85ffb7a239 markdown linting 2025-07-07 13:06:23 +02:00
Yauheni Suhakou 45aceb7faf Docker documentation update (#19330)
Added `Migrating Your Local Database Between Docker Versions` section describing how to persist PG data.
2025-07-04 17:10:07 +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
OpenProject Actions CI 5437bf6e23 Merge branch 'release/16.0' into dev 2025-05-22 12:49:41 +00:00
as-op 9283eafd5e fix markdown lint issues 2025-05-22 14:44:48 +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
Felix Wolfsteller af598d35a8 point to docs/ rather than to doc/
There are `doc/` directories, but except for `frontend/doc`, they do not
contain relevant human readable information.
2025-04-21 20:45:46 +02:00
Klaus Zanders fa8bb7b98b Update ruby to 3.4.2 2025-02-17 09:58:44 +01:00
Markus Kahl 273389c84e update bundler in docker build to fix issue with uninstalled gems 2025-02-10 12:57:21 +01:00
ulferts f8bf0bdf17 bump ruby to 3.4.1 2025-01-23 19:28:50 +01:00
as-op 50e6fe6458 docs markdown linting, spellcheck 2025-01-02 13:07:11 +01:00
Bruno Pagno de589680a1 adjust the text for more eloquent explanation 2024-11-22 16:43:42 +01:00
Bruno Pagno 218812e421 add note about overriding connection on backend-test 2024-11-22 15:12:02 +01:00
Oliver Günther b1e83771fa Add documentation for OIDC (#17131)
* Add documentation for OIDC

* Replace previous settings-based documentation

* Fix link

* Change FAQ

* added screenshot, minor wording changed

* text formatting changes

* Address todos

---------

Co-authored-by: Maya Berdygylyjova <MayaBerd@users.noreply.github.com>
2024-11-08 11:17:50 +01:00
Ivan Kuchin 7d2f684a2e mention possibility of port overriding instead of merging in compose file 2024-09-30 15:38:20 +02:00
Tobias Dillmann c57d025b55 Readme: better wording 2024-09-06 14:43:29 +02:00
Tobias Dillmann 80aeca78df Readme: fix typo 2024-09-06 08:49:02 +02:00
Tobias Dillmann 2b20dddf29 macOS dev guide: add Shell profile instructions 2024-09-06 08:46:25 +02:00
Tobias Dillmann e0862db5e3 Use macOS in headline 2024-09-05 13:00:26 +02:00
Mir Bhatia 5fa15b1622 Incorporate suggestions 2024-09-05 12:20:23 +02:00
Tobias Dillmann 8fbd88c9f4 README: Mac OS X -> macOS
Unfortunately, we cannot update the headline, too. This would break
links.
2024-09-05 08:52:52 +02:00
Tobias Dillmann 14b1352f7f Readme: imagemagick and java installation
This will be required for OpenProject to fully work.

The hints to install these is there, but in other places of the docs.
I think it makes sense to add them here. Doesn't hurt to install
everything at once.
2024-09-05 08:51:34 +02:00
Tobias Dillmann 663b0ecfb9 Readme: database connection instructions
gssencmode: disabled is required, or else Ruby will crash :(
2024-09-05 08:50:23 +02:00
Mir Bhatia 2f91859313 Update README.md 2024-09-04 13:09:14 +02:00
as-op c6c2fb0888 remove manual redirect pages (will be handled by site builder); sort dev setup docs; remove repeated content 2024-08-29 11:34:01 +02:00