Commit Graph

671 Commits

Author SHA1 Message Date
Klaus Zanders 05b231fef5 Bump ruby to 4.0.2 2026-04-01 11:28:28 +02:00
Judith Roth 1e7ff07e63 Merge pull request #22346 from opf/jr/improve-documentation
Documentation: Fix command for running tests in docker
2026-03-27 11:30:01 +01: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 59514f23bf Add documentation for has_details_table 2026-03-18 09:20:11 +01:00
Andrej 0f3e6bd56e Merge branch 'dev' into merge-release/17.2-20260311143330 2026-03-11 15:35:31 +01:00
as-op 7e7721402c fix spelling and use us-en 2026-03-11 15:03:41 +01:00
as-op c2cdaf6716 reduce image file sizes 2026-03-11 13:56:12 +01:00
Alexander Brandon Coles 5ed6746383 Merge pull request #22251 from opf/fix/72882-out-of-hours-feature-spec-failures
[#72882] Keep out-of-hours reporting and specs stable
2026-03-11 09:54:55 -03:00
Christophe Bliard 3679504e27 Use Bearer token directly for GitHub API requests
I got some 403 errors when using Basic auth with username and token.

Good thing: it makes the GITHUB_USERNAME env variable useless.
2026-03-11 12:10:34 +01:00
Alexander Brandon Coles 474324fb18 Add out-of-hours CI failure reporting 2026-03-10 15:26:38 -03: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
Klaus Zanders 20f78b1cb0 Allow skipping capybara logs and document test running for feature specs 2026-02-13 11:19:35 +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
Klaus Zanders c4d5018a6c Fix link to reactivestates library in README 2026-01-16 11:54:03 +01:00
as-op facdd3385e fix links 2026-01-14 13:37:30 +01:00
Christophe Bliard ad1e1826f7 Update technical docs to refer to stable/17 branch 2025-11-27 08:49:45 +01:00
Alexander Brandon Coles 4e73d6c557 Fix wording (docs, UI): change "expiry" to "expiration" 2025-11-11 20:29:03 +00:00
Oliver Günther 8989e98c29 Fix reference in docs 2025-11-04 16:15:34 +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
OpenProject Actions CI d757fc6c34 Merge branch 'release/16.6' into dev 2025-10-23 10:33:57 +00:00
OpenProject Actions CI 83c3a928f9 Merge branch 'release/16.5' into release/16.6 2025-10-23 10:30:15 +00:00
as-op bbf020c3f9 create 8bit PNGs, reduce color palettes, max width 2000 px 2025-10-23 11:52:29 +02:00
Oliver Günther 4e217544c5 Merge pull request #20593 from opf/feature/primerize-invitation-dialog
[#64879] Primerise user invitation flow
2025-10-23 10:17:33 +02:00
as-op 740c179b3e adjust markdown which confuses Crowdin 2025-10-22 13:53:25 +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
Christophe Bliard 0108374bd3 Update script/github_pr_errors with better rerun instructions
The script now recommends using the commands from
`docs/development/testing/handling-flaky-tests/README.md` to be closer
to CI conditions.

[skip ci]
2025-10-21 16:26:49 +02:00
Oliver Günther 313244915b Remove dynamic form 2025-10-21 10:01:32 +02:00
Christophe Bliard 99dede6019 Add a doc page about handling flaky tests
Co-authored-by: Mir Bhatia <m.bhatia@openproject.com>
2025-10-20 16:56:22 +02:00
Jan Sandbrink c151f26ded Merge pull request #20671 from opf/endpoint
Consistently use the term "endpoint"
2025-10-20 14:53:07 +02:00
Jan Sandbrink 10cc0cc936 Consistently use the term "endpoint"
TIL that both "end point" and "endpoint" are valid,
but one source on the internet tells me that "endpoint"
is more commonly used and (more importantly) our code base
agrees. A case-sensitive search for "endpoint" gives me over
2000 results, over 300 of these are inside "docs/".
2025-10-17 13:21:50 +02:00
Oliver Günther f5ff40f93c Move testing guide into their own chapters 2025-10-17 09:59:36 +02:00
jjabari-op 7c06675923 Documentation/59549 add short documentation around our hotwire and viewcomponent usage (#17250)
* [#59549] Add short documentation around our Hotwire and ViewComponent usage

https://community.openproject.org/work_packages/59549

* added first draft of the requested documentation

* Update docs/development/concepts/hotwire-view-components/README.md

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

* Update docs/development/concepts/hotwire-view-components/README.md

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

* Update docs/development/concepts/hotwire-view-components/README.md

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

* Update docs/development/concepts/hotwire-view-components/README.md

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

* Update docs/development/concepts/hotwire-view-components/README.md

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

* Update docs/development/concepts/hotwire-view-components/README.md

Co-authored-by: Christophe Bliard <c.bliard@openproject.com>

---------

Co-authored-by: Oliver Günther <o.guenther@openproject.com>
Co-authored-by: Christophe Bliard <c.bliard@openproject.com>
2025-10-15 13:07:38 +02:00
Judith Roth de00e470a0 Add instructions for docker MinIO setup to README 2025-10-06 12:04:18 +02:00
Alexander Brandon Coles 718b07cf19 Migrate templates to self-closing tags
Automated conversion with:

    ng generate @angular/core:self-closing-tag
2025-09-16 10:45:40 +01:00
Alexander Brandon Coles cb764ba06a Migrate comments, docs to Control Flow syntax 2025-09-16 10:44:19 +01:00
ulferts 5992398de4 update documentation regarding CLA 2025-09-10 15:11:12 +02:00
Dombi Attila 43f612f1d1 Address CR comments. 2025-08-26 14:41:19 +03:00
Dombi Attila 773ad70f80 Update Project schema api docs to include _attributeGroups 2025-08-20 18:52:52 +03: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 d8ae43948c Merge branch 'dev' into merge-release/16.3-20250813034855 2025-08-13 14:00:02 +01:00
as-op 33d0ad6873 fix spellings 2025-08-12 14:17:41 +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
OpenProject Actions CI 2e37c926fb Merge branch 'release/16.2' into dev 2025-07-29 03:59:49 +00:00
Jens Ulferts 2247a8e142 Merge pull request #19314 from opf/code-maintenance/64596-squash-migrations-up-until-15-0-0
Squash migrations prior to OP v15.0
2025-07-28 11:01:44 +02:00
Jan Sandbrink bd4b09592b Fix registration of auth providers through register_auth_providers
This is the only and official API to register an auth provider.
However, so far it was optional to create a database entry in the
auth_providers table and only OIDC and SAML did that.

On the other hand, we added expectations about auth providers have
a database entry in more and more places of the codebase.

Now making sure that every auth provider is represented in the database.
2025-07-28 09:01:10 +02:00