diff --git a/Changelog.md b/Changelog.md index 947abacd3..6bcb60cbb 100644 --- a/Changelog.md +++ b/Changelog.md @@ -45,6 +45,8 @@ Note: Although this is a minor release, the configuration file changed because t * Fix message modal on profile page [#7137](https://github.com/diaspora/diaspora/pull/7137) * Display error message when aspect membership changes fail [#7132](https://github.com/diaspora/diaspora/pull/7132) * Avoid the creation of pod that are none [#7145](https://github.com/diaspora/diaspora/pull/7145) +* Fixed tag pages with alternate default aspect settings [#7262](https://github.com/diaspora/diaspora/pull/7162) +* Suppressed CSP related deprecation warnings [#7263](https://github.com/diaspora/diaspora/pull/7163) ## Features * Deleted comments will be removed when loading more comments [#7045](https://github.com/diaspora/diaspora/pull/7045) diff --git a/app/views/status_messages/bookmarklet.html.haml b/app/views/status_messages/bookmarklet.html.haml index 393002b8c..72e164c9f 100644 --- a/app/views/status_messages/bookmarklet.html.haml +++ b/app/views/status_messages/bookmarklet.html.haml @@ -4,4 +4,4 @@ .col-md-12 %h4 =t('bookmarklet.post_something') - = render partial: 'publisher/publisher', locals: { aspect: :profile, :selected_aspects => @aspects, :aspect_ids => @aspect_ids } + = render partial: "publisher/publisher", locals: publisher_aspects_for(nil) diff --git a/app/views/tags/show.haml b/app/views/tags/show.haml index 96539ecd0..e81ec8f7e 100644 --- a/app/views/tags/show.haml +++ b/app/views/tags/show.haml @@ -26,7 +26,7 @@ = @stream.display_tag_name - if current_user - = render 'publisher/publisher', :selected_aspects => @stream.aspect_ids, :aspect_ids => @stream.aspect_ids, aspect: @stream.aspect + = render "publisher/publisher", publisher_aspects_for(@stream) #main_stream.stream diff --git a/config/initializers/secure_headers.rb b/config/initializers/secure_headers.rb index fc4815b7e..84e2415c7 100644 --- a/config/initializers/secure_headers.rb +++ b/config/initializers/secure_headers.rb @@ -43,6 +43,7 @@ SecureHeaders::Configuration.default do |config| csp[:report_uri] = [AppConfig.settings.csp.report_uri] if AppConfig.settings.csp.report_uri.present? if AppConfig.settings.csp.report_only? + config.csp = SecureHeaders::OPT_OUT config.csp_report_only = csp else config.csp = csp