Skip to content

Commit 588d483

Browse files
committed
Merge branch 'release/15.2' into dev
2 parents 22ebe62 + 206e5f6 commit 588d483

File tree

10 files changed

+36
-33
lines changed

10 files changed

+36
-33
lines changed

docs/api/apiv3/tags/basic_objects.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ description: |-
6666
* It *must not* include HTML or other kind of markup
6767
* Error messages form complete sentences including punctuation
6868
69-
##### Example
69+
#### Example
7070
7171
```json
7272
{
@@ -214,7 +214,7 @@ description: |-
214214
215215
If the *Formattable* is marked as **read only**, the `raw` attribute also becomes **read only**.
216216
217-
##### Example
217+
### Example
218218
219219
```json
220220
{
@@ -248,7 +248,7 @@ description: |-
248248
Colors are represented in RGB using hexadecimal notation as specified in [CSS Color Module Level 3](https://www.w3.org/TR/css3-color/).
249249
That is a `#` followed by either three or six hexadecimal digits.
250250
251-
##### Example
251+
### Example
252252
253253
```
254254
red: #ff0000 or #f00
@@ -270,7 +270,7 @@ description: |-
270270
| algorithm | The algorithm used to compute the digest | String | md5 |
271271
| hash | The calculated digest in hexadecimal notation | String | 64c26a8403cd796ea4cf913cda2ee4a9 |
272272
273-
##### Example
273+
### Example
274274
275275
```json
276276
{

docs/api/apiv3/tags/schemas.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ description: |-
2222
2323
The `_dependencies` property contains the list of dependencies that exist between the value selected for one of the properties of the described resource and the resource's structure. Depending on the value, additional properties might exist or properties might have other values allowed to be assigned. See [SchemaDependency](https://www.openproject.org/docs/api/endpoints/schemas/#schema-dependencies) for more information.
2424
25-
# Field schema
25+
## Field schema
2626
27-
## Linked Properties
27+
### Linked Properties
2828
2929
| Property | Description | Conditions |
3030
| :--------------: | -------------------------------------------------------------- | --------------------------------------------- |
@@ -39,7 +39,7 @@ description: |-
3939
4040
Only one of the links (`allowedValues`, `allowedValuesSchemas`) will exist for any given property.
4141
42-
## Local Properties
42+
### Local Properties
4343
4444
| Property | Description | Type | Default |
4545
|:-----------------:| ---------------------------------------------------------------------------------- | ------------ | ------- |
@@ -72,7 +72,7 @@ description: |-
7272
property set to `_links`. This means that the `user` property will be found under the path
7373
`_links.user` of the json payload of the work package resource.
7474
75-
# Schema Dependencies
75+
## Schema Dependencies
7676
7777
A `SchemaDependency` describes the dependencies between a value chosen for a resource's property
7878
and the resource's structure. By that, additional properties or changes in a property are
@@ -89,11 +89,11 @@ description: |-
8989
9090
SchemaDependencies are always embedded inside a Schema's `_dependencies` attribute. As such, they are not independently existing resources. Consequently, they do not have a `self` reference.
9191
92-
## Linked Properties
92+
### Linked Properties
9393
9494
A SchemaDependency does not have any links.
9595
96-
## Local Properties
96+
### Local Properties
9797
9898
| Property | Description | Type |
9999
| :-----------------: | ---------------------------------------------------------------------------------- | ---------------- |

docs/development/development-environment/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ keywords: development setup
1515
| [MacOS](macos) | Develop setup on MacOS |
1616

1717

18-
### Start Coding
18+
## Start Coding
1919

2020
Please have a look at [our development guidelines](../code-review-guidelines/) for tips and guides on how to start
2121
coding. We have advice on how to get your changes back into the OpenProject core as smooth as possible.
2222
Also, take a look at the `doc` directory in our sources, especially
2323
the [how to run tests](../running-tests) documentation (we like to have automated tests for every new developed feature).
2424

25-
### Troubleshooting
25+
## Troubleshooting
2626

2727
The OpenProject logfile can be found in `log/development.log`.
2828

2929
If an error occurs, it should be logged there (as well as in the output to STDOUT/STDERR of the rails server process).
3030

31-
### Questions, Comments, and Feedback
31+
## Questions, Comments, and Feedback
3232

3333
If you have any further questions, comments, feedback, or an idea to enhance this guide, please tell us at the
3434
appropriate [forum](https://community.openproject.org/projects/openproject/boards/9).

docs/glossary/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ The quick context menu in OpenProject opens when you open a [work package table]
360360

361361
## Relations
362362

363-
In OpenProject, you can set work packages in relation to each other. Some relation types simply create a visible link between the two work packages. Others have an additional effect, e.g. force one work package to be finished before the other one starts (Predecessor). The simpliest way to add a relation between two existing work packages is to click the +Relation button on the Relations tab of one of the work packages. [Read more about work package relations and hierarchies in our user guide](../user-guide/work-packages/work-package-relations-hierarchies/).
363+
In OpenProject, you can set work packages in relation to each other. Some relation types simply create a visible link between the two work packages. Others have an additional effect, e.g. force one work package to be finished before the other one starts (Predecessor). The simplest way to add a relation between two existing work packages is to click the +Relation button on the Relations tab of one of the work packages. [Read more about work package relations and hierarchies in our user guide](../user-guide/work-packages/work-package-relations-hierarchies/).
364364

365365
## Repository
366366

@@ -492,4 +492,4 @@ WYSIWYG stands for 'What you see is what you get'. A WYSIWYG editor is a content
492492

493493
### Zen mode
494494

495-
In OpenProject, Zen mode allows users to focus on a certain page, as all other menu items and elements are hidden, and the page is displayed in full screen. OpenProject offers zen mode for other modules like work packages, boards, Gantt charts, calendars, and project lists.
495+
In OpenProject, Zen mode allows users to focus on a certain page, as all other menu items and elements are hidden, and the page is displayed in full screen. OpenProject offers zen mode for other modules like work packages, boards, Gantt charts, calendars, and project lists.

docs/release-notes/13-4-2/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ Release date: 2024-05-22
1313
We released [OpenProject 13.4.2](https://community.openproject.org/versions/2058).
1414
The release contains several bug fixes and we recommend updating to the newest version.
1515

16-
### Fixes a stored XSS vulnerability in the cost report functionality (CVE-2024-135224)
16+
## Fixes a stored XSS vulnerability in the cost report functionality (CVE-2024-135224)
17+
1718
OpenProject Cost Report functionality uses improper sanitization of user input. This can lead to Stored XSS via the header values of the report table. This attack requires the permissions "Edit work packages" as well as "Add attachments".
1819

1920
For more information, [please see our security advisory](https://github.com/opf/openproject/security/advisories/GHSA-h26c-j8wg-frjc).
2021

21-
<!--more-->
22-
2322
## Bug fixes and changes
2423

2524
<!-- Warning: Anything within the below lines will be automatically removed by the release script -->

docs/release-notes/14-0-2/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Release date: 2024-05-22
1313
We released [OpenProject 14.0.2](https://community.openproject.org/versions/2057).
1414
The release contains several bug fixes and we recommend updating to the newest version.
1515

16-
### Fixes a stored XSS vulnerability in the cost report functionality (CVE-2024-135224)
16+
## Fixes a stored XSS vulnerability in the cost report functionality (CVE-2024-135224)
17+
1718
OpenProject Cost Report functionality uses improper sanitization of user input. This can lead to Stored XSS via the header values of the report table. This attack requires the permissions "Edit work packages" as well as "Add attachments".
1819

1920
For more information, [please see our security advisory](https://github.com/opf/openproject/security/advisories/GHSA-h26c-j8wg-frjc).

docs/release-notes/14-1-0/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ We released [OpenProject 14.1.0](https://community.openproject.org/versions/2030
1515
## Important updates and breaking changes
1616

1717
### Fixes a stored XSS vulnerability in the cost report functionality (CVE-2024-135224)
18+
1819
OpenProject Cost Report functionality uses improper sanitization of user input. This can lead to Stored XSS via the header values of the report table. This attack requires the permissions "Edit work packages" as well as "Add attachments".
1920

2021
For more information, [please see our security advisory](https://github.com/opf/openproject/security/advisories/GHSA-h26c-j8wg-frjc).
@@ -175,7 +176,7 @@ Apart from the features mentioned above, there have been a lot of other changes,
175176
<!-- END AUTOMATED SECTION -->
176177
<!-- Warning: Anything above this line will be automatically removed by the release script -->
177178

178-
#### Contributions
179+
## Contributions
179180

180181
A very special thank you goes to our sponsors for features and improvements of this release:
181182

docs/system-admin-guide/authentication/openid-providers/README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ keywords: OpenID providers
1010
> [!IMPORTANT]
1111
> OpenID Connect providers is an Enterprise add-on. If you do not see the button you will have to activate the Enterprise edition first.
1212
13-
| Topic | Content |
14-
| ------------------------------------------------------------ | ------------------------------------------------------------ |
15-
| Login with [Google Workspace](#google) | How to use Google Workspace as an SSO provider for OpenProject? |
16-
| [Microsoft Entra ID](#microsoft-entra) (previously Azure) | How to use Microsoft Azure Active Directory as an SSO provider for OpenProject? |
17-
| [Custom OpenID Connect Providers](#custom-openid-connect-provider) | Configuration of additional OpenID Connect providers. |
18-
| [Troubleshooting](#troubleshooting) | Common complications when using OpenID as SSO. |
13+
| Topic | Content |
14+
|--------------------------------------------------------------------|---------------------------------------------------------------------------------|
15+
| Login with [Google Workspace](#google) | How to use Google Workspace as an SSO provider for OpenProject? |
16+
| [Microsoft Entra ID](#microsoft-entra) (previously Azure) | How to use Microsoft Azure Active Directory as an SSO provider for OpenProject? |
17+
| [Custom OpenID Connect Providers](#custom-openid-connect-provider) | Configuration of additional OpenID Connect providers. |
18+
| [Troubleshooting](#troubleshooting) | Common complications when using OpenID as SSO. |
1919

2020
To activate and configure OpenID providers in OpenProject, navigate to *Administration* -> *Authentication* and choose -> *OpenID providers*.
2121

@@ -77,7 +77,6 @@ You can create different kinds of providers with a different set of properties.
7777
After pressing **CREATE** you will see a following pop-up window.
7878

7979
> [!TIP]
80-
>
8180
> Make sure to note your **Client ID** and **Client Secret**.
8281
8382
![OAuth client created](g5-oauth-client-created.png)
@@ -100,7 +99,9 @@ Press **Finish setup** to save the client and complete. If you go back to the in
10099

101100
## Microsoft Entra
102101

103-
### Step 1: Register an App in Azure Active Directory
102+
### Step-by-step
103+
104+
#### Step 1: Register an App in Azure Active Directory
104105

105106
If your organization currently has an Azure Active Directory to manage users, and you want to use that to log in to OpenProject, you will need to register a new *App*.
106107

@@ -149,7 +150,7 @@ The steps are as follows:
149150

150151
9. A secret should have been generated and will be displayed on the page.
151152

152-
> [!IMPORTANT]
153+
> [!IMPORTANT]
153154
> Make sure to save it because it will only be displayed once.
154155
155156
![Azure Active Directory Add Secret](08-add-secret.png)
@@ -188,6 +189,8 @@ To start creating a custom provider, please follow these steps:
188189
- **Click** the green *+ OpenID Connect provider* button
189190
- **Choose** the *Option* **Custom**
190191

192+
### Step-by-step
193+
191194
#### Step 1: Display name
192195

193196
- Set a **Display Name**, this is the name of the login button shown to users. Let's assume we're trying to connect *Keycloak* with OpenProject for this example. We will type in Keycloak as that's the label of the button to be shown to users trying to authenticate.

docs/system-admin-guide/authentication/recaptcha/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sidebar_navigation:
33
title: reCAPTCHA
44
priority: 600
55
description: configure reCAPTCHA for OpenProject.
6-
keywords: reCAPTCHA
6+
keywords: reCAPTCHA, turnstile
77
---
88
# reCAPTCHA configuration
99

@@ -21,8 +21,7 @@ You can configure the following options:
2121

2222
![reCAPTCHA authentication settings in OpenProject administration](openproject_system_admin_guide_recaptcha.png)
2323

24-
25-
# Cloudflare Turnstile configuration
24+
## Cloudflare Turnstile configuration
2625

2726
To use Cloudflare Turnstile with OpenProject, you need to configure the reCAPTCHA settings in the Cloudflare dashboard. Please see the following link for more details on Cloudflare Turnstile and how to configure it: [https://developers.cloudflare.com/turnstile/](https://developers.cloudflare.com/turnstile/).
2827

modules/reporting/spec/workers/cost_query/pdf/timesheet_generator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def expected_entry_row(t_entry, with_times_column)
125125
def expected_entry_columns(t_entry, with_times_column)
126126
time_column = generator.format_spent_on_time(t_entry)
127127
[
128-
t_entry.work_package.subject,
128+
t_entry.work_package&.subject || "",
129129
with_times_column && time_column.present? ? time_column : nil,
130130
generator.format_hours(t_entry.hours),
131131
t_entry.activity.name,

0 commit comments

Comments
 (0)