Skip to content

Commit 3c0f822

Browse files
authored
Merge pull request #5714 from nhsuk/next
Version 6.10.0
2 parents ba6ec99 + 55f00a9 commit 3c0f822

113 files changed

Lines changed: 1767 additions & 626 deletions

File tree

Some content is hidden

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

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
55

66
ruby file: ".ruby-version"
7-
gem "rails", "8.1.1"
7+
gem "rails", "8.1.2"
88

99
# Framework gems
1010
gem "bootsnap", require: false

Gemfile.lock

Lines changed: 80 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -17,60 +17,60 @@ GIT
1717
GEM
1818
remote: https://rubygems.org/
1919
specs:
20-
action_text-trix (2.1.15)
20+
action_text-trix (2.1.16)
2121
railties
22-
actioncable (8.1.1)
23-
actionpack (= 8.1.1)
24-
activesupport (= 8.1.1)
22+
actioncable (8.1.2)
23+
actionpack (= 8.1.2)
24+
activesupport (= 8.1.2)
2525
nio4r (~> 2.0)
2626
websocket-driver (>= 0.6.1)
2727
zeitwerk (~> 2.6)
28-
actionmailbox (8.1.1)
29-
actionpack (= 8.1.1)
30-
activejob (= 8.1.1)
31-
activerecord (= 8.1.1)
32-
activestorage (= 8.1.1)
33-
activesupport (= 8.1.1)
28+
actionmailbox (8.1.2)
29+
actionpack (= 8.1.2)
30+
activejob (= 8.1.2)
31+
activerecord (= 8.1.2)
32+
activestorage (= 8.1.2)
33+
activesupport (= 8.1.2)
3434
mail (>= 2.8.0)
35-
actionmailer (8.1.1)
36-
actionpack (= 8.1.1)
37-
actionview (= 8.1.1)
38-
activejob (= 8.1.1)
39-
activesupport (= 8.1.1)
35+
actionmailer (8.1.2)
36+
actionpack (= 8.1.2)
37+
actionview (= 8.1.2)
38+
activejob (= 8.1.2)
39+
activesupport (= 8.1.2)
4040
mail (>= 2.8.0)
4141
rails-dom-testing (~> 2.2)
42-
actionpack (8.1.1)
43-
actionview (= 8.1.1)
44-
activesupport (= 8.1.1)
42+
actionpack (8.1.2)
43+
actionview (= 8.1.2)
44+
activesupport (= 8.1.2)
4545
nokogiri (>= 1.8.5)
4646
rack (>= 2.2.4)
4747
rack-session (>= 1.0.1)
4848
rack-test (>= 0.6.3)
4949
rails-dom-testing (~> 2.2)
5050
rails-html-sanitizer (~> 1.6)
5151
useragent (~> 0.16)
52-
actiontext (8.1.1)
52+
actiontext (8.1.2)
5353
action_text-trix (~> 2.1.15)
54-
actionpack (= 8.1.1)
55-
activerecord (= 8.1.1)
56-
activestorage (= 8.1.1)
57-
activesupport (= 8.1.1)
54+
actionpack (= 8.1.2)
55+
activerecord (= 8.1.2)
56+
activestorage (= 8.1.2)
57+
activesupport (= 8.1.2)
5858
globalid (>= 0.6.0)
5959
nokogiri (>= 1.8.5)
60-
actionview (8.1.1)
61-
activesupport (= 8.1.1)
60+
actionview (8.1.2)
61+
activesupport (= 8.1.2)
6262
builder (~> 3.1)
6363
erubi (~> 1.11)
6464
rails-dom-testing (~> 2.2)
6565
rails-html-sanitizer (~> 1.6)
66-
activejob (8.1.1)
67-
activesupport (= 8.1.1)
66+
activejob (8.1.2)
67+
activesupport (= 8.1.2)
6868
globalid (>= 0.3.6)
69-
activemodel (8.1.1)
70-
activesupport (= 8.1.1)
71-
activerecord (8.1.1)
72-
activemodel (= 8.1.1)
73-
activesupport (= 8.1.1)
69+
activemodel (8.1.2)
70+
activesupport (= 8.1.2)
71+
activerecord (8.1.2)
72+
activemodel (= 8.1.2)
73+
activesupport (= 8.1.2)
7474
timeout (>= 0.4.0)
7575
activerecord-import (2.2.0)
7676
activerecord (>= 4.2)
@@ -80,13 +80,13 @@ GEM
8080
cgi (>= 0.3.6)
8181
rack (>= 2.0.8, < 4)
8282
railties (>= 7.0)
83-
activestorage (8.1.1)
84-
actionpack (= 8.1.1)
85-
activejob (= 8.1.1)
86-
activerecord (= 8.1.1)
87-
activesupport (= 8.1.1)
83+
activestorage (8.1.2)
84+
actionpack (= 8.1.2)
85+
activejob (= 8.1.2)
86+
activerecord (= 8.1.2)
87+
activesupport (= 8.1.2)
8888
marcel (~> 1.0)
89-
activesupport (8.1.1)
89+
activesupport (8.1.2)
9090
base64
9191
bigdecimal
9292
concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -115,32 +115,32 @@ GEM
115115
ast (2.4.3)
116116
attr_required (1.0.2)
117117
aws-eventstream (1.4.0)
118-
aws-partitions (1.1200.0)
119-
aws-sdk-accessanalyzer (1.83.0)
120-
aws-sdk-core (~> 3, >= 3.241.0)
118+
aws-partitions (1.1201.0)
119+
aws-sdk-accessanalyzer (1.84.0)
120+
aws-sdk-core (~> 3, >= 3.241.3)
121121
aws-sigv4 (~> 1.5)
122-
aws-sdk-core (3.241.1)
122+
aws-sdk-core (3.241.3)
123123
aws-eventstream (~> 1, >= 1.3.0)
124124
aws-partitions (~> 1, >= 1.992.0)
125125
aws-sigv4 (~> 1.9)
126126
base64
127127
bigdecimal
128128
jmespath (~> 1, >= 1.6.1)
129129
logger
130-
aws-sdk-ec2 (1.588.0)
131-
aws-sdk-core (~> 3, >= 3.241.0)
130+
aws-sdk-ec2 (1.589.0)
131+
aws-sdk-core (~> 3, >= 3.241.3)
132132
aws-sigv4 (~> 1.5)
133133
aws-sdk-ecr (1.117.0)
134134
aws-sdk-core (~> 3, >= 3.241.0)
135135
aws-sigv4 (~> 1.5)
136-
aws-sdk-iam (1.137.0)
137-
aws-sdk-core (~> 3, >= 3.239.1)
136+
aws-sdk-iam (1.139.0)
137+
aws-sdk-core (~> 3, >= 3.241.3)
138138
aws-sigv4 (~> 1.5)
139139
aws-sdk-kms (1.119.0)
140140
aws-sdk-core (~> 3, >= 3.241.0)
141141
aws-sigv4 (~> 1.5)
142-
aws-sdk-rds (1.302.0)
143-
aws-sdk-core (~> 3, >= 3.239.1)
142+
aws-sdk-rds (1.304.0)
143+
aws-sdk-core (~> 3, >= 3.241.3)
144144
aws-sigv4 (~> 1.5)
145145
aws-sdk-s3 (1.210.1)
146146
aws-sdk-core (~> 3, >= 3.241.0)
@@ -159,7 +159,7 @@ GEM
159159
bindex (0.8.1)
160160
bootsnap (1.20.1)
161161
msgpack (~> 1.2)
162-
brakeman (7.1.1)
162+
brakeman (7.1.2)
163163
racc
164164
builder (3.3.0)
165165
capybara (3.40.0)
@@ -347,7 +347,7 @@ GEM
347347
rb-fsevent (~> 0.10, >= 0.10.3)
348348
rb-inotify (~> 0.9, >= 0.9.10)
349349
logger (1.7.0)
350-
loofah (2.24.1)
350+
loofah (2.25.0)
351351
crass (~> 1.0.2)
352352
nokogiri (>= 1.12.0)
353353
mail (2.9.0)
@@ -386,7 +386,7 @@ GEM
386386
net-http-digest_auth (1.4.1)
387387
net-http-persistent (4.0.6)
388388
connection_pool (~> 2.2, >= 2.2.4)
389-
net-imap (0.5.12)
389+
net-imap (0.6.2)
390390
date
391391
net-protocol
392392
net-pop (0.1.2)
@@ -417,6 +417,7 @@ GEM
417417
omniauth_openid_connect (0.8.0)
418418
omniauth (>= 1.9, < 3)
419419
openid_connect (~> 2.2)
420+
open3 (0.2.1)
420421
openid_connect (2.3.1)
421422
activemodel
422423
attr_required (>= 1.0.0)
@@ -440,8 +441,8 @@ GEM
440441
parser (3.3.10.0)
441442
ast (~> 2.4.1)
442443
racc
443-
pg (1.6.2-arm64-darwin)
444-
pg (1.6.2-x86_64-linux)
444+
pg (1.6.3-arm64-darwin)
445+
pg (1.6.3-x86_64-linux)
445446
phonelib (0.10.15)
446447
pp (0.6.3)
447448
prettyprint
@@ -490,20 +491,20 @@ GEM
490491
rack (>= 1.0.0)
491492
rackup (2.3.1)
492493
rack (>= 3)
493-
rails (8.1.1)
494-
actioncable (= 8.1.1)
495-
actionmailbox (= 8.1.1)
496-
actionmailer (= 8.1.1)
497-
actionpack (= 8.1.1)
498-
actiontext (= 8.1.1)
499-
actionview (= 8.1.1)
500-
activejob (= 8.1.1)
501-
activemodel (= 8.1.1)
502-
activerecord (= 8.1.1)
503-
activestorage (= 8.1.1)
504-
activesupport (= 8.1.1)
494+
rails (8.1.2)
495+
actioncable (= 8.1.2)
496+
actionmailbox (= 8.1.2)
497+
actionmailer (= 8.1.2)
498+
actionpack (= 8.1.2)
499+
actiontext (= 8.1.2)
500+
actionview (= 8.1.2)
501+
activejob (= 8.1.2)
502+
activemodel (= 8.1.2)
503+
activerecord (= 8.1.2)
504+
activestorage (= 8.1.2)
505+
activesupport (= 8.1.2)
505506
bundler (>= 1.15.0)
506-
railties (= 8.1.1)
507+
railties (= 8.1.2)
507508
rails-dom-testing (2.3.0)
508509
activesupport (>= 5.0.0)
509510
minitest
@@ -515,9 +516,9 @@ GEM
515516
rack
516517
railties (>= 5.1)
517518
semantic_logger (~> 4.16)
518-
railties (8.1.1)
519-
actionpack (= 8.1.1)
520-
activesupport (= 8.1.1)
519+
railties (8.1.2)
520+
actionpack (= 8.1.2)
521+
activesupport (= 8.1.2)
521522
irb (~> 1.13)
522523
rackup (>= 1.0.0)
523524
rake (>= 12.2)
@@ -529,9 +530,9 @@ GEM
529530
rb-fsevent (0.11.2)
530531
rb-inotify (0.11.1)
531532
ffi (~> 1.0)
532-
rbs (3.10.0)
533+
rbs (3.10.1)
533534
logger
534-
rdoc (7.0.1)
535+
rdoc (7.0.3)
535536
erb
536537
psych (>= 4.0.0)
537538
tsort
@@ -667,16 +668,18 @@ GEM
667668
simplecov_json_formatter (~> 0.1)
668669
simplecov-html (0.13.2)
669670
simplecov_json_formatter (0.1.4)
670-
solargraph (0.57.0)
671+
solargraph (0.58.1)
672+
ast (~> 2.4.3)
671673
backport (~> 1.2)
672674
benchmark (~> 0.4)
673-
bundler (~> 2.0)
675+
bundler (>= 2.0)
674676
diff-lcs (~> 1.4)
675677
jaro_winkler (~> 1.6, >= 1.6.1)
676678
kramdown (~> 2.3)
677679
kramdown-parser-gfm (~> 1.1)
678680
logger (~> 1.6)
679681
observer (~> 0.1)
682+
open3 (~> 0.2.1)
680683
ostruct (~> 0.6)
681684
parser (~> 3.0)
682685
prism (~> 1.4)
@@ -716,11 +719,11 @@ GEM
716719
paint (~> 2.3)
717720
unicode-display_width (~> 3.1)
718721
temple (0.10.4)
719-
thor (1.4.0)
722+
thor (1.5.0)
720723
thruster (0.1.17-arm64-darwin)
721724
thruster (0.1.17-x86_64-linux)
722725
tilt (2.6.1)
723-
timeout (0.4.4)
726+
timeout (0.6.0)
724727
tsort (0.2.0)
725728
turbo-rails (2.0.20)
726729
actionpack (>= 7.1.0)
@@ -773,7 +776,7 @@ GEM
773776
yard (>= 0.8)
774777
yard-solargraph (0.1.0)
775778
yard (~> 0.9)
776-
zeitwerk (2.7.3)
779+
zeitwerk (2.7.4)
777780

778781
PLATFORMS
779782
arm64-darwin-22
@@ -847,7 +850,7 @@ DEPENDENCIES
847850
puma
848851
pundit
849852
rack_session_access
850-
rails (= 8.1.1)
853+
rails (= 8.1.2)
851854
rails_semantic_logger
852855
rainbow
853856
redis

app/components/app_activity_log_component.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ def initialize(team:, patient:, session: nil)
1818
@patient = patient
1919

2020
@archive_reasons =
21-
@patient.archive_reasons.where(team:).includes(:created_by)
21+
if team.has_upload_only_access?
22+
[]
23+
else
24+
@patient.archive_reasons.where(team:).includes(:created_by)
25+
end
2226

2327
@attendance_records =
2428
patient

app/components/app_child_summary_component.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def call
3737
end
3838
end
3939

40-
if archive_reason
40+
if archive_reason && !@current_team.has_upload_only_access?
4141
summary_list.with_row do |row|
4242
row.with_key { "Archive reason" }
4343
row.with_value { format_archive_reason }

0 commit comments

Comments
 (0)