Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] dev from opf:dev #520

Merged
merged 9 commits into from
Mar 31, 2025
Merged

[pull] dev from opf:dev #520

merged 9 commits into from
Mar 31, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 31, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

cbliard and others added 9 commits March 28, 2025 11:07
https://community.openproject.org/wp/62580

The contract class being used was always `WorkPackages::CreateContract`.
It needs to be `WorkPackages::UpdateContract` when the user edits fields
so that the correct permissions are checked.
We found some failing tests due to frozen string literals.
In one case it made sense to explicitly mark the starting string
as non-frozen, because we repeatedly add content to it.
As a side-find, replacing usage of "vanilla" rand
with SecureRandom.rand, to ensure that the token is
generated from a properly randomized source and making
sure that all intended characters (0-9) are used, not forgetting
about the nine.
Frozen string compatibility & mobile OTP fixes
…et-of-permissions-sees-error-when-updating-wp-progress

[62580] Fix read-only error displayed when editing progress values
@pull pull bot added the ⤵️ pull label Mar 31, 2025
@pull pull bot merged commit 90ff2b8 into kp-forks:dev Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants