Skip to content

Commit b943d56

Browse files
authored
Merge branch 'dev' into feature/71380-inplace-edit-for-project-attributes-on-project-overview-page
2 parents ee83264 + 2333c13 commit b943d56

File tree

250 files changed

+5332
-881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+5332
-881
lines changed

.github/workflows/docker.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,30 +137,25 @@ jobs:
137137
- platform: linux/amd64
138138
digest: amd64-slim
139139
bim_support: false
140-
debian_base: trixie
141140
target: slim
142141
runner: runner=4cpu-linux-x64
143142
- platform: linux/amd64
144143
digest: amd64-bim
145144
bim_support: true
146-
debian_base: bookworm
147145
target: slim-bim
148146
runner: runner=4cpu-linux-x64
149147
- platform: linux/arm64/v8
150148
digest: arm64-slim
151-
debian_base: trixie
152149
bim_support: false
153150
target: slim
154151
runner: runner=4cpu-linux-arm64
155152
- platform: linux/amd64
156153
digest: amd64-aio
157-
debian_base: bookworm
158154
bim_support: true
159155
target: all-in-one
160156
runner: runner=4cpu-linux-x64
161157
- platform: linux/arm64/v8
162158
digest: arm64-aio
163-
debian_base: trixie
164159
bim_support: false
165160
target: all-in-one
166161
runner: runner=4cpu-linux-arm64
@@ -222,7 +217,7 @@ jobs:
222217
with:
223218
path: |
224219
vendor/bundle
225-
key: ${{ matrix.platform }}-${{ matrix.debian_base }}-vendor-bundle-${{ github.ref }}
220+
key: ${{ matrix.platform }}-trixie-vendor-bundle-${{ github.ref }}
226221
- name: Include vendor/bundle in this build (so we can use it from the cache above)
227222
run: |
228223
sed -i 's/vendor\/bundle//g' .dockerignore
@@ -234,15 +229,14 @@ jobs:
234229
platforms: ${{ matrix.platform }}
235230
target: ${{ matrix.target }}
236231
build-args: |
237-
DEBIAN_BASE=${{ matrix.debian_base }}
238232
BIM_SUPPORT=${{ matrix.bim_support }}
239233
BUILDKIT_PROGRESS=plain
240234
pull: true
241235
load: true
242236
tags: ${{ steps.meta.outputs.tags }}
243237
labels: ${{ steps.meta.outputs.labels }}
244-
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
245-
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
238+
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
239+
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
246240
- name: Extract vendor/bundle from container
247241
run: |
248242
docker create --name bundle ${{ steps.build.outputs.imageid }}
@@ -279,12 +273,11 @@ jobs:
279273
platforms: ${{ matrix.platform }}
280274
target: ${{ matrix.target }}
281275
build-args: |
282-
DEBIAN_BASE=${{ matrix.debian_base }}
283276
BIM_SUPPORT=${{ matrix.bim_support }}
284277
labels: ${{ steps.meta.outputs.labels }}
285278
outputs: type=image,name=${{ needs.setup.outputs.registry_image }},push-by-digest=true,name-canonical=true,push=true
286-
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
287-
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},manifests_prefix=cache/${{ github.repository }}/${{ matrix.debian_base }},region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
279+
cache-from: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }}
280+
cache-to: type=s3,blobs_prefix=cache/${{ github.repository }}/trixie,manifests_prefix=cache/${{ github.repository }}/trixie,region=${{ env.RUNS_ON_AWS_REGION }},bucket=${{ env.RUNS_ON_S3_BUCKET_CACHE }},mode=max
288281
- name: Export digest
289282
run: |
290283
mkdir -p /tmp/digests

.github/workflows/hocuspocus-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
113113
- name: Generate GHA token
114114
id: generate-gha-token
115-
uses: actions/create-github-app-token@v2
115+
uses: actions/create-github-app-token@v3
116116
with:
117117
app-id: ${{ vars.DEPLOY_APP_ID }}
118118
private-key: ${{ secrets.DEPLOY_APP_PRIVATE_KEY }}

.github/workflows/packager.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: Package
22
on:
33
push:
4+
tags:
5+
- v*
46
branches:
57
- packaging/*
68
- release/*
7-
- stable/*
89
workflow_dispatch:
910
schedule:
1011
- cron: '0 3 * * *' # Daily at 03:00
@@ -42,6 +43,12 @@ jobs:
4243
run: |
4344
VERSION=$(ruby -r ./lib/open_project/version.rb -e "puts OpenProject::VERSION")
4445
echo "version=$VERSION" >> $GITHUB_OUTPUT
46+
if [[ "${{ github.ref_type }}" == "tag" ]]; then
47+
MAJOR=$(ruby -r ./lib/open_project/version.rb -e "puts OpenProject::VERSION::MAJOR")
48+
echo "channel=stable/${MAJOR}" >> $GITHUB_OUTPUT
49+
else
50+
echo "channel=${{ github.ref_name }}" >> $GITHUB_OUTPUT
51+
fi
4552
- name: Package
4653
uses: pkgr/action/package@main
4754
id: package
@@ -58,5 +65,5 @@ jobs:
5865
target: ${{ matrix.target }}
5966
token: ${{ secrets.PACKAGER_PUBLISH_TOKEN }}
6067
repository: opf/openproject
61-
channel: ${{ github.ref_name }}
68+
channel: ${{ steps.setup.outputs.channel }}
6269
file: ${{ steps.package.outputs.package_path }}

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ gem "sys-filesystem", "~> 1.5.0", require: false
124124
gem "bcrypt", "~> 3.1.6"
125125

126126
gem "multi_json", "~> 1.19.0"
127-
gem "oj", "~> 3.16.12"
127+
gem "oj", "~> 3.16.16"
128128

129129
gem "daemons"
130130
gem "good_job", "~> 4.13.3" # update should be done manually in sync with saas-openproject version.
@@ -208,7 +208,7 @@ gem "aws-sdk-core", "~> 3.241"
208208
# File upload via fog + screenshots on travis
209209
gem "aws-sdk-s3", "~> 1.213"
210210

211-
gem "openproject-token", "~> 8.8.0"
211+
gem "openproject-token", "~> 8.8.2"
212212

213213
gem "plaintext", "~> 0.3.7"
214214

@@ -274,7 +274,7 @@ group :test do
274274
gem "rack_session_access"
275275
gem "rspec", "~> 3.13.2"
276276
# also add to development group, so 'spec' rake task gets loaded
277-
gem "rspec-rails", "~> 8.0.3", group: :development
277+
gem "rspec-rails", "~> 8.0.4", group: :development
278278

279279
# Retry failures within the same environment
280280
gem "retriable", "~> 3.2.1"

Gemfile.lock

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ PATH
213213
specs:
214214
openproject-webhooks (1.0.0)
215215

216+
PATH
217+
remote: modules/wikis
218+
specs:
219+
openproject-wikis (1.0.0)
220+
216221
PATH
217222
remote: modules/xls_export
218223
specs:
@@ -573,7 +578,7 @@ GEM
573578
faraday (>= 1, < 3)
574579
faraday-net_http (3.4.2)
575580
net-http (~> 0.5)
576-
fastimage (2.4.0)
581+
fastimage (2.4.1)
577582
ferrum (0.17.1)
578583
addressable (~> 2.5)
579584
base64 (~> 0.2)
@@ -767,7 +772,7 @@ GEM
767772
addressable (~> 2.8)
768773
childprocess (~> 5.0)
769774
logger (~> 1.6)
770-
lefthook (2.1.3)
775+
lefthook (2.1.4)
771776
letter_opener (1.10.0)
772777
launchy (>= 2.2, < 4)
773778
letter_opener_web (3.0.0)
@@ -868,7 +873,7 @@ GEM
868873
racc (~> 1.4)
869874
nokogiri (1.19.1-x86_64-linux-musl)
870875
racc (~> 1.4)
871-
oj (3.16.15)
876+
oj (3.16.16)
872877
bigdecimal (>= 3.0)
873878
ostruct (>= 0.2)
874879
okcomputer (1.19.1)
@@ -900,7 +905,7 @@ GEM
900905
activesupport (>= 7.2.0)
901906
openproject-octicons (>= 19.30.1)
902907
view_component (>= 3.1, < 5.0)
903-
openproject-token (8.8.0)
908+
openproject-token (8.8.2)
904909
activemodel
905910
openssl (4.0.1)
906911
openssl-signature_algorithm (1.3.0)
@@ -1083,7 +1088,7 @@ GEM
10831088
ostruct (0.6.3)
10841089
ox (2.14.23)
10851090
bigdecimal (>= 3.0)
1086-
pagy (43.3.1)
1091+
pagy (43.3.3)
10871092
json
10881093
uri
10891094
yaml
@@ -1310,14 +1315,14 @@ GEM
13101315
rspec-mocks (3.13.8)
13111316
diff-lcs (>= 1.2.0, < 2.0)
13121317
rspec-support (~> 3.13.0)
1313-
rspec-rails (8.0.3)
1318+
rspec-rails (8.0.4)
13141319
actionpack (>= 7.2)
13151320
activesupport (>= 7.2)
13161321
railties (>= 7.2)
1317-
rspec-core (~> 3.13)
1318-
rspec-expectations (~> 3.13)
1319-
rspec-mocks (~> 3.13)
1320-
rspec-support (~> 3.13)
1322+
rspec-core (>= 3.13.0, < 5.0.0)
1323+
rspec-expectations (>= 3.13.0, < 5.0.0)
1324+
rspec-mocks (>= 3.13.0, < 5.0.0)
1325+
rspec-support (>= 3.13.0, < 5.0.0)
13211326
rspec-retry (0.6.2)
13221327
rspec-core (> 3.3)
13231328
rspec-support (3.13.7)
@@ -1656,7 +1661,7 @@ DEPENDENCIES
16561661
my_page!
16571662
net-ldap (~> 0.20.0)
16581663
nokogiri (~> 1.19.1)
1659-
oj (~> 3.16.12)
1664+
oj (~> 3.16.16)
16601665
okcomputer (~> 1.19.1)
16611666
omniauth!
16621667
omniauth-openid-connect!
@@ -1684,9 +1689,10 @@ DEPENDENCIES
16841689
openproject-reporting!
16851690
openproject-storages!
16861691
openproject-team_planner!
1687-
openproject-token (~> 8.8.0)
1692+
openproject-token (~> 8.8.2)
16881693
openproject-two_factor_authentication!
16891694
openproject-webhooks!
1695+
openproject-wikis!
16901696
openproject-xls_export!
16911697
opentelemetry-exporter-otlp (~> 0.31.0)
16921698
opentelemetry-instrumentation-all (~> 0.90.0)
@@ -1726,7 +1732,7 @@ DEPENDENCIES
17261732
roar (~> 1.2.0)
17271733
rouge (~> 4.7.0)
17281734
rspec (~> 3.13.2)
1729-
rspec-rails (~> 8.0.3)
1735+
rspec-rails (~> 8.0.4)
17301736
rspec-retry (~> 0.6.1)
17311737
rspec-wait
17321738
rubocop
@@ -1915,7 +1921,7 @@ CHECKSUMS
19151921
faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c
19161922
faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad
19171923
faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c
1918-
fastimage (2.4.0) sha256=5fce375e27d3bdbb46c18dbca6ba9af29d3304801ae1eb995771c4796c5ac7e8
1924+
fastimage (2.4.1) sha256=c64bebd46b6fd8943ab70c1e6e85ff728f970f2e48f92ecd249b6bc3a540ad20
19191925
ferrum (0.17.1) sha256=51d591120fc593e5a13b5d9d6474389f5145bb92a91e36eab147b5d096c8cbe7
19201926
ffi (1.17.3-aarch64-linux-gnu) sha256=28ad573df26560f0aedd8a90c3371279a0b2bd0b4e834b16a2baa10bd7a97068
19211927
ffi (1.17.3-aarch64-linux-musl) sha256=020b33b76775b1abacc3b7d86b287cef3251f66d747092deec592c7f5df764b2
@@ -1990,7 +1996,7 @@ CHECKSUMS
19901996
ladle (1.0.1) sha256=e8586964108c798d48bf57d2a65bd5602e8e5223a176b6602a0fb36c0bda90dc
19911997
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
19921998
launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
1993-
lefthook (2.1.3) sha256=399eae9411d5a65fbeff38230a685073fefac6ef9ae18165a81f5f7ffa2df7a7
1999+
lefthook (2.1.4) sha256=b3c5bba86911e85b239fea3861ba8c74740fc084ba9ac79dba3fe79267572d6a
19942000
letter_opener (1.10.0) sha256=2ff33f2e3b5c3c26d1959be54b395c086ca6d44826e8bf41a14ff96fdf1bdbb2
19952001
letter_opener_web (3.0.0) sha256=3f391efe0e8b9b24becfab5537dfb17a5cf5eb532038f947daab58cb4b749860
19962002
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
@@ -2034,7 +2040,7 @@ CHECKSUMS
20342040
nokogiri (1.19.1-x86_64-darwin) sha256=7093896778cc03efb74b85f915a775862730e887f2e58d6921e3fa3d981e68bf
20352041
nokogiri (1.19.1-x86_64-linux-gnu) sha256=1a4902842a186b4f901078e692d12257678e6133858d0566152fe29cdb98456a
20362042
nokogiri (1.19.1-x86_64-linux-musl) sha256=4267f38ad4fc7e52a2e7ee28ed494e8f9d8eb4f4b3320901d55981c7b995fc23
2037-
oj (3.16.15) sha256=4d3324cac3e8fef54c0fa250b2af26a16dadd9f9788a1d6b1b2098b793a1b2cd
2043+
oj (3.16.16) sha256=3635b36128991796434f55da8decc0de236a323535adcb36fc04e6d0253c013d
20382044
okcomputer (1.19.1) sha256=7df770e768434816d228407f0786563827cbf34cb379933578829720cb4f1e77
20392045
omniauth (1.9.2)
20402046
omniauth-openid-connect (0.5.0)
@@ -2065,9 +2071,10 @@ CHECKSUMS
20652071
openproject-reporting (1.0.0)
20662072
openproject-storages (1.0.0)
20672073
openproject-team_planner (1.0.0)
2068-
openproject-token (8.8.0) sha256=832a493e05dcce806134faf63ae8011cc5a48422fbed9ebb552f8028912954d4
2074+
openproject-token (8.8.2) sha256=081cbff7269d92a82fa1d63e9e09c87b70d47d7aefadcbb80d1e7368bc2cf096
20692075
openproject-two_factor_authentication (1.0.0)
20702076
openproject-webhooks (1.0.0)
2077+
openproject-wikis (1.0.0)
20712078
openproject-xls_export (1.0.0)
20722079
openssl (4.0.1) sha256=e27974136b7b02894a1bce46c5397ee889afafe704a839446b54dc81cb9c5f7d
20732080
openssl-signature_algorithm (1.3.0) sha256=a3b40b5e8276162d4a6e50c7c97cdaf1446f9b2c3946a6fa2c14628e0c957e80
@@ -2131,7 +2138,7 @@ CHECKSUMS
21312138
ostruct (0.6.3) sha256=95a2ed4a4bd1d190784e666b47b2d3f078e4a9efda2fccf18f84ddc6538ed912
21322139
overviews (1.0.0)
21332140
ox (2.14.23) sha256=4a9aedb4d6c78c5ebac1d7287dc7cc6808e14a8831d7adb727438f6a1b461b66
2134-
pagy (43.3.1) sha256=78e6c3e5125463b817cbe48eb5ed7b552af062c7db90bef4810d1f442ec61744
2141+
pagy (43.3.3) sha256=26b822c32ac5452f733736aa0e56bfd45d7fd02358c7d91c7d31bae61164e758
21352142
paper_trail (17.0.0) sha256=1c2842061d3874ca7015908e821e2aa14f9b982af2acb2a7974713bf79021c85
21362143
parallel (1.27.0) sha256=4ac151e1806b755fb4e2dc2332cbf0e54f2e24ba821ff2d3dcf86bf6dc4ae130
21372144
parallel_tests (4.10.1) sha256=df05458c691462b210f7a41fc2651d4e4e8a881e8190e6d1e122c92c07735d70
@@ -2215,7 +2222,7 @@ CHECKSUMS
22152222
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
22162223
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
22172224
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
2218-
rspec-rails (8.0.3) sha256=b0a440e7a10700317d898a014852e26660867298c4076dbc3baa99c768b79dc1
2225+
rspec-rails (8.0.4) sha256=06235692fc0892683d3d34977e081db867434b3a24ae0dd0c6f3516bad4e22df
22192226
rspec-retry (0.6.2) sha256=6101ba23a38809811ae3484acde4ab481c54d846ac66d5037ccb40131a60d858
22202227
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
22212228
rspec-wait (1.0.2) sha256=865f921239325d3d26fc10ded4bdd485d8b58bcaaad1a28dd85ed15266b5a912

Gemfile.modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ group :opf_plugins do
4040
gem 'openproject-gantt', path: 'modules/gantt'
4141
gem 'openproject-calendar', path: 'modules/calendar'
4242
gem 'openproject-storages', path: 'modules/storages'
43+
gem 'openproject-wikis', path: 'modules/wikis'
4344
gem 'openproject-documents', path: 'modules/documents'
4445

4546
gem 'openproject-bim', path: 'modules/bim'
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<%#
2+
-- copyright
3+
OpenProject is an open source project management software.
4+
Copyright (C) the OpenProject GmbH
5+
6+
This program is free software; you can redistribute it and/or
7+
modify it under the terms of the GNU General Public License version 3.
8+
9+
OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
10+
Copyright (C) 2006-2013 Jean-Philippe Lang
11+
Copyright (C) 2010-2013 the ChiliProject Team
12+
13+
This program is free software; you can redistribute it and/or
14+
modify it under the terms of the GNU General Public License
15+
as published by the Free Software Foundation; either version 2
16+
of the License, or (at your option) any later version.
17+
18+
This program is distributed in the hope that it will be useful,
19+
but WITHOUT ANY WARRANTY; without even the implied warranty of
20+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21+
GNU General Public License for more details.
22+
23+
You should have received a copy of the GNU General Public License
24+
along with this program; if not, write to the Free Software
25+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26+
27+
See COPYRIGHT and LICENSE files for more details.
28+
29+
++#
30+
%>
31+
32+
<%=
33+
render(
34+
Primer::OpenProject::DangerDialog.new(
35+
id: "change-identifiers-dialog",
36+
title: I18n.t("admin.settings.work_packages_identifier.dialog.title"),
37+
confirm_button_text: I18n.t("admin.settings.work_packages_identifier.dialog.confirm_button"),
38+
cancel_button_text: I18n.t("button_close"),
39+
size: :large,
40+
form_arguments: {
41+
action: admin_settings_work_packages_identifier_path,
42+
method: :patch
43+
}
44+
)
45+
) do |dialog|
46+
dialog.with_confirmation_message do |message|
47+
message.with_heading(tag: :h2) do
48+
I18n.t("admin.settings.work_packages_identifier.dialog.heading")
49+
end
50+
51+
message.with_description_content(
52+
I18n.t("admin.settings.work_packages_identifier.dialog.description")
53+
)
54+
end
55+
56+
dialog.with_confirmation_check_box_content(
57+
I18n.t("admin.settings.work_packages_identifier.dialog.checkbox_label")
58+
)
59+
60+
dialog.with_additional_details(display: :none) do
61+
hidden_field_tag("settings[work_packages_identifier]", Setting::WorkPackageIdentifier::ALPHANUMERIC)
62+
end
63+
end
64+
%>

0 commit comments

Comments
 (0)