Skip to content

Commit 2a6fd1b

Browse files
Release OpenProject 10.6.0
2 parents 749df5f + 2ed42fd commit 2a6fd1b

File tree

778 files changed

+10298
-5677
lines changed

Some content is hidden

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

778 files changed

+10298
-5677
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ ij_ruby_spaces_around_other_operators = true
474474
ij_ruby_spaces_around_range_operators = false
475475
ij_ruby_spaces_around_relational_operators = true
476476
ij_ruby_spaces_within_array_initializer_braces = true
477-
ij_ruby_spaces_within_braces = false
477+
ij_ruby_spaces_within_braces = true
478478

479479
[{version-autocompleter.component.ts,*.ats,*.ts}]
480480
ij_continuation_indent_size = 2

.github/workflows/pullpreview.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: PullPreview
2+
on:
3+
push:
4+
pull_request:
5+
types: [labeled, unlabeled, closed]
6+
7+
jobs:
8+
deploy:
9+
name: Deploy
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 30
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Generate .env.pullpreview file
15+
run: |
16+
echo "OP_ADMIN_USER_SEEDER_FORCE_PASSWORD_CHANGE=off" >> .env.pullpreview
17+
echo "OPENPROJECT_SHOW__SETTING__MISMATCH__WARNING=false" >> .env.pullpreview
18+
- name: Boot as BIM edition
19+
if: contains(github.ref, 'bim/') || contains(github.head_ref, 'bim/')
20+
run: |
21+
echo "OPENPROJECT_EDITION=bim" >> .env.pullpreview
22+
- uses: pullpreview/action@master
23+
with:
24+
admins: crohr,HDinger,machisuji,oliverguenther,ulferts,wielinde
25+
always_on: dev
26+
compose_files: docker-compose.pullpreview.yml
27+
instance_type: medium_2_0
28+
env:
29+
AWS_ACCESS_KEY_ID: "${{ secrets.AWS_ACCESS_KEY_ID }}"
30+
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
31+
AWS_REGION: eu-central-1

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ gem 'actionpack-xml_parser', '~> 2.0.0'
3434
gem 'activemodel-serializers-xml', '~> 1.0.1'
3535
gem 'activerecord-import', '~> 1.0.2'
3636
gem 'activerecord-session_store', '~> 1.1.0'
37-
gem 'rails', '~> 6.0.2'
37+
gem 'rails', '~> 6.0.3.1'
3838
gem 'responders', '~> 3.0'
3939

4040
gem 'rdoc', '>= 2.4.2'
@@ -178,7 +178,7 @@ gem 'aws-sdk-core', '~> 3.91.0'
178178
# File upload via fog + screenshots on travis
179179
gem 'aws-sdk-s3', '~> 1.61.0'
180180

181-
gem 'openproject-token', '~> 1.0.2'
181+
gem 'openproject-token', '~> 2.0'
182182

183183
gem 'plaintext', '~> 0.3.2'
184184

Gemfile.lock

Lines changed: 60 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -195,57 +195,57 @@ GEM
195195
remote: https://rubygems.org/
196196
specs:
197197
Ascii85 (1.0.3)
198-
actioncable (6.0.2.2)
199-
actionpack (= 6.0.2.2)
198+
actioncable (6.0.3.1)
199+
actionpack (= 6.0.3.1)
200200
nio4r (~> 2.0)
201201
websocket-driver (>= 0.6.1)
202-
actionmailbox (6.0.2.2)
203-
actionpack (= 6.0.2.2)
204-
activejob (= 6.0.2.2)
205-
activerecord (= 6.0.2.2)
206-
activestorage (= 6.0.2.2)
207-
activesupport (= 6.0.2.2)
202+
actionmailbox (6.0.3.1)
203+
actionpack (= 6.0.3.1)
204+
activejob (= 6.0.3.1)
205+
activerecord (= 6.0.3.1)
206+
activestorage (= 6.0.3.1)
207+
activesupport (= 6.0.3.1)
208208
mail (>= 2.7.1)
209-
actionmailer (6.0.2.2)
210-
actionpack (= 6.0.2.2)
211-
actionview (= 6.0.2.2)
212-
activejob (= 6.0.2.2)
209+
actionmailer (6.0.3.1)
210+
actionpack (= 6.0.3.1)
211+
actionview (= 6.0.3.1)
212+
activejob (= 6.0.3.1)
213213
mail (~> 2.5, >= 2.5.4)
214214
rails-dom-testing (~> 2.0)
215-
actionpack (6.0.2.2)
216-
actionview (= 6.0.2.2)
217-
activesupport (= 6.0.2.2)
215+
actionpack (6.0.3.1)
216+
actionview (= 6.0.3.1)
217+
activesupport (= 6.0.3.1)
218218
rack (~> 2.0, >= 2.0.8)
219219
rack-test (>= 0.6.3)
220220
rails-dom-testing (~> 2.0)
221221
rails-html-sanitizer (~> 1.0, >= 1.2.0)
222222
actionpack-xml_parser (2.0.1)
223223
actionpack (>= 5.0)
224224
railties (>= 5.0)
225-
actiontext (6.0.2.2)
226-
actionpack (= 6.0.2.2)
227-
activerecord (= 6.0.2.2)
228-
activestorage (= 6.0.2.2)
229-
activesupport (= 6.0.2.2)
225+
actiontext (6.0.3.1)
226+
actionpack (= 6.0.3.1)
227+
activerecord (= 6.0.3.1)
228+
activestorage (= 6.0.3.1)
229+
activesupport (= 6.0.3.1)
230230
nokogiri (>= 1.8.5)
231-
actionview (6.0.2.2)
232-
activesupport (= 6.0.2.2)
231+
actionview (6.0.3.1)
232+
activesupport (= 6.0.3.1)
233233
builder (~> 3.1)
234234
erubi (~> 1.4)
235235
rails-dom-testing (~> 2.0)
236236
rails-html-sanitizer (~> 1.1, >= 1.2.0)
237-
activejob (6.0.2.2)
238-
activesupport (= 6.0.2.2)
237+
activejob (6.0.3.1)
238+
activesupport (= 6.0.3.1)
239239
globalid (>= 0.3.6)
240-
activemodel (6.0.2.2)
241-
activesupport (= 6.0.2.2)
240+
activemodel (6.0.3.1)
241+
activesupport (= 6.0.3.1)
242242
activemodel-serializers-xml (1.0.2)
243243
activemodel (> 5.x)
244244
activesupport (> 5.x)
245245
builder (~> 3.1)
246-
activerecord (6.0.2.2)
247-
activemodel (= 6.0.2.2)
248-
activesupport (= 6.0.2.2)
246+
activerecord (6.0.3.1)
247+
activemodel (= 6.0.3.1)
248+
activesupport (= 6.0.3.1)
249249
activerecord-import (1.0.4)
250250
activerecord (>= 3.2)
251251
activerecord-nulldb-adapter (0.4.0)
@@ -256,17 +256,17 @@ GEM
256256
multi_json (~> 1.11, >= 1.11.2)
257257
rack (>= 1.5.2, < 3)
258258
railties (>= 4.0)
259-
activestorage (6.0.2.2)
260-
actionpack (= 6.0.2.2)
261-
activejob (= 6.0.2.2)
262-
activerecord (= 6.0.2.2)
259+
activestorage (6.0.3.1)
260+
actionpack (= 6.0.3.1)
261+
activejob (= 6.0.3.1)
262+
activerecord (= 6.0.3.1)
263263
marcel (~> 0.3.1)
264-
activesupport (6.0.2.2)
264+
activesupport (6.0.3.1)
265265
concurrent-ruby (~> 1.0, >= 1.0.2)
266266
i18n (>= 0.7, < 2)
267267
minitest (~> 5.1)
268268
tzinfo (~> 1.1)
269-
zeitwerk (~> 2.2)
269+
zeitwerk (~> 2.2, >= 2.2.2)
270270
acts_as_list (0.9.19)
271271
activerecord (>= 3.0)
272272
acts_as_tree (2.9.1)
@@ -597,7 +597,7 @@ GEM
597597
activesupport (>= 4)
598598
railties (>= 4)
599599
request_store (~> 1.0)
600-
loofah (2.4.0)
600+
loofah (2.5.0)
601601
crass (~> 1.0.2)
602602
nokogiri (>= 1.5.9)
603603
mail (2.7.1)
@@ -611,11 +611,11 @@ GEM
611611
mime-types (3.3.1)
612612
mime-types-data (~> 3.2015)
613613
mime-types-data (3.2019.1009)
614-
mimemagic (0.3.4)
614+
mimemagic (0.3.5)
615615
mini_mime (1.0.2)
616616
mini_portile2 (2.4.0)
617617
minisyntax (0.2.5)
618-
minitest (5.14.0)
618+
minitest (5.14.1)
619619
mixlib-shellout (2.1.0)
620620
msgpack (1.3.3)
621621
multi_json (1.14.1)
@@ -654,7 +654,8 @@ GEM
654654
validate_email
655655
validate_url
656656
webfinger (>= 1.0.1)
657-
openproject-token (1.0.2)
657+
openproject-token (2.0)
658+
activemodel
658659
parallel (1.19.1)
659660
parallel_tests (2.32.0)
660661
parallel
@@ -710,7 +711,7 @@ GEM
710711
eventmachine_httpserver
711712
http_parser.rb (~> 0.6.0)
712713
multi_json
713-
puma (4.3.3)
714+
puma (4.3.5)
714715
nio4r (~> 2.0)
715716
rack (2.2.2)
716717
rack-accept (0.4.5)
@@ -732,20 +733,20 @@ GEM
732733
rack_session_access (0.2.0)
733734
builder (>= 2.0.0)
734735
rack (>= 1.0.0)
735-
rails (6.0.2.2)
736-
actioncable (= 6.0.2.2)
737-
actionmailbox (= 6.0.2.2)
738-
actionmailer (= 6.0.2.2)
739-
actionpack (= 6.0.2.2)
740-
actiontext (= 6.0.2.2)
741-
actionview (= 6.0.2.2)
742-
activejob (= 6.0.2.2)
743-
activemodel (= 6.0.2.2)
744-
activerecord (= 6.0.2.2)
745-
activestorage (= 6.0.2.2)
746-
activesupport (= 6.0.2.2)
736+
rails (6.0.3.1)
737+
actioncable (= 6.0.3.1)
738+
actionmailbox (= 6.0.3.1)
739+
actionmailer (= 6.0.3.1)
740+
actionpack (= 6.0.3.1)
741+
actiontext (= 6.0.3.1)
742+
actionview (= 6.0.3.1)
743+
activejob (= 6.0.3.1)
744+
activemodel (= 6.0.3.1)
745+
activerecord (= 6.0.3.1)
746+
activestorage (= 6.0.3.1)
747+
activesupport (= 6.0.3.1)
747748
bundler (>= 1.3.0)
748-
railties (= 6.0.2.2)
749+
railties (= 6.0.3.1)
749750
sprockets-rails (>= 2.0.0)
750751
rails-controller-testing (1.0.4)
751752
actionpack (>= 5.0.1.x)
@@ -764,9 +765,9 @@ GEM
764765
rails_stdout_logging
765766
rails_serve_static_assets (0.0.5)
766767
rails_stdout_logging (0.0.5)
767-
railties (6.0.2.2)
768-
actionpack (= 6.0.2.2)
769-
activesupport (= 6.0.2.2)
768+
railties (6.0.3.1)
769+
actionpack (= 6.0.3.1)
770+
activesupport (= 6.0.3.1)
770771
method_source
771772
rake (>= 0.8.7)
772773
thor (>= 0.20.3, < 2.0)
@@ -922,7 +923,7 @@ GEM
922923
ttfunk (1.6.2.1)
923924
typed_dag (2.0.2)
924925
rails (>= 5.0.4)
925-
tzinfo (1.2.6)
926+
tzinfo (1.2.7)
926927
thread_safe (~> 0.1)
927928
tzinfo-data (1.2019.3)
928929
tzinfo (>= 1.0.0)
@@ -1061,7 +1062,7 @@ DEPENDENCIES
10611062
openproject-pdf_export!
10621063
openproject-recaptcha!
10631064
openproject-reporting!
1064-
openproject-token (~> 1.0.2)
1065+
openproject-token (~> 2.0)
10651066
openproject-translations!
10661067
openproject-two_factor_authentication!
10671068
openproject-webhooks!
@@ -1085,7 +1086,7 @@ DEPENDENCIES
10851086
rack-protection (~> 2.0.8)
10861087
rack-test (~> 1.1.0)
10871088
rack_session_access
1088-
rails (~> 6.0.2)
1089+
rails (~> 6.0.3.1)
10891090
rails-controller-testing (~> 1.0.2)
10901091
rails-i18n (~> 6.0.0)
10911092
rails_12factor
91.5 KB
Loading

app/assets/javascripts/onboarding/onboarding_tour.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
var demoProjectsAvailable = $('meta[name=demo_projects_available]').attr('content') === "true";
3131
var boardsDemoDataAvailable = $('meta[name=boards_demo_data_available]').attr('content') === "true";
3232
var eeTokenAvailable = !$('body').hasClass('ee-banners-visible');
33+
var tourCancelled = false;
3334

3435
// ------------------------------- Initial start -------------------------------
3536
// Do not show the tutorial on mobile or when the demo data has been deleted
@@ -43,8 +44,17 @@
4344

4445
// Start automatically when the language selection is closed
4546
$('.op-modal--modal-close-button').click(function () {
47+
tourCancelled = true;
4648
homescreenTour();
4749
});
50+
51+
//Start automatically when the escape button is pressed
52+
document.addEventListener('keydown', function(event) {
53+
if (event.key == "Escape" && !tourCancelled) {
54+
tourCancelled = true;
55+
homescreenTour();
56+
}
57+
}, { once: true });
4858
}
4959

5060
// ------------------------------- Tutorial Homescreen page -------------------------------

app/assets/javascripts/vendor/ckeditor/ckeditor.js

Lines changed: 490 additions & 328 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/javascripts/vendor/ckeditor/ckeditor.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/stylesheets/content/_form_error_messages.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
span.errorSpan
3232
font-weight: bold
3333
width: 100%
34-
34+
3535
textarea, select, input
3636
&, &:hover, &:focus
3737
border: 2px solid $content-form-error-color

app/assets/stylesheets/content/_news.sass

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,21 @@
3535

3636
.summary
3737
font-style: italic
38+
39+
.news-author
40+
font-size: 0.8rem
41+
color: $gray-dark
42+
display: block
43+
padding: 5px 0 5px 40px
44+
line-height: 1.25
45+
46+
.news-author-avatar
47+
margin-right: 5px
48+
float: left
49+
50+
.news-project
51+
line-height: 1
52+
53+
@media screen and (max-width: 679px)
54+
.news-author
55+
padding-left: 0

0 commit comments

Comments
 (0)