File tree Expand file tree Collapse file tree 6 files changed +36
-21
lines changed
template/en/default/global Expand file tree Collapse file tree 6 files changed +36
-21
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ use warnings;
1313
1414use Bugzilla::Logging;
1515
16- our $VERSION = ' 20251021.1 ' ;
16+ our $VERSION = ' 20251022.2 ' ;
1717
1818use Bugzilla::Auth;
1919use Bugzilla::Auth::Persist::Cookie;
Original file line number Diff line number Diff line change @@ -423,7 +423,8 @@ sub view {
423423 print $cgi -> header(
424424 -type => $contenttype ,
425425 -content_disposition => " $disposition ; filename*=$filename_star " ,
426- -content_length => $attachment -> datasize
426+ -content_length => $attachment -> datasize,
427+ -Cache_Control => ' no-store, private'
427428 );
428429 disable_utf8();
429430 print $attachment -> data;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ use Try::Tiny;
2626use Type::Params qw( compile ) ;
2727use Type::Utils;
2828use Types::Standard qw( :types ) ;
29- use Mojo::JSON qw( encode_json) ;
29+ use Mojo::JSON qw( encode_json) ;
3030
3131use base qw( Exporter) ;
3232
@@ -658,8 +658,8 @@ sub set_intermittent_reviewers {
658658 return ;
659659 }
660660
661- # Now we need to remove the intermittent-reviewers project and the taskgraph -reviewers project,
662- # and move any remaining to the subscribers list
661+ # Now we need to remove any blocking project that is not intermittent -reviewers and
662+ # taskgraph-reviewers project and move them to the subscribers list
663663 foreach my $project (@blocking_projects ) {
664664 next if $project -> name eq ' intermittent-reviewers' || $project -> name eq ' taskgraph-reviewers' ;
665665
Original file line number Diff line number Diff line change @@ -1551,17 +1551,23 @@ input[type="radio"]:checked {
15511551}
15521552
15531553# message-container .warning {
1554- color : var (--error-message -foreground-color );
1554+ color : var (--neutral-banner -foreground-color );
15551555 background-color : var (--error-message-background-color );
15561556}
15571557
1558+ # message-container .warning a {
1559+ color : inherit;
1560+ text-decoration : underline;
1561+ font-weight : 500 ;
1562+ }
1563+
15581564# message-container .new_announcement {
1559- color : var (--primary-label -color );
1565+ color : var (--neutral-banner-foreground -color );
15601566 background-color : var (--informative-message-background-color );
15611567}
15621568
15631569# message-container .new_announcement p .warning {
1564- color : var (--error-message -foreground-color );
1570+ color : var (--neutral-banner -foreground-color );
15651571}
15661572
15671573/* Reset legacy style */
Original file line number Diff line number Diff line change 77 */
88
99# bugzilla-body : has (# home ) {
10+ display : flex;
11+ flex-direction : column;
12+ min-height : calc (100dvh - var (--global-header-height ));
13+ }
14+
15+ # bugzilla-body : has (# home ) # message-container {
16+ flex : none;
17+ }
18+
19+ # main-inner : has (# home ) {
20+ flex : auto;
1021 display : flex;
1122 flex-direction : column;
1223 justify-content : center;
1324 align-items : center;
14- min-height : calc (100dvh - var (--global-header-height ));
1525}
1626
1727# home {
Original file line number Diff line number Diff line change 462462 </div>
463463 </div>
464464 [% END %]
465+ [%# Show banner for users who have email disabled due to bounces %]
466+ [% IF user.bounce_count AND user.email_disabled %]
467+ <div id="message">
468+ Change notification emails have been disabled for your account due to issues delivering to your address.
469+ <a href="/bounced_emails/[% user.id FILTER uri %]" id="bounced_emails_link">View recent errors and reactivate email</a>.
470+ </div>
471+ [% END %]
472+ [% IF message %]
473+ <div id="message">[% message %]</div>
474+ [% END %]
465475</aside>
466476
467477<div id="main-inner">
473483 <h2>[% header FILTER none %]</h2>
474484[% END %]
475485
476- [%# Show banner for users who have email disabled due to bounces %]
477- [% IF user.bounce_count AND user.email_disabled %]
478- <div id="message">
479- Change notification emails have been disabled for your account due to issues delivering to your address.
480- <a href="/bounced_emails/[% user.id FILTER uri %]" id="bounced_emails_link">View recent errors and reactivate email</a>.
481- </div>
482- [% END %]
483-
484- [% IF message %]
485- <div id="message">[% message %]</div>
486- [% END %]
487-
488486[% BLOCK primary_links %]
489487 <li role="none">
490488 <a class="header-button" href="[% basepath FILTER none %]describecomponents.cgi"
You can’t perform that action at this time.
0 commit comments