Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/statuses_controller.rb
  minor conflict because of glitch-soc's theming system
- app/controllers/stream_entries_controller.rb
  minor conflict because of glitch-soc's theming system
This commit is contained in:
Thibaut Girka
2019-05-10 17:09:12 +02:00
40 changed files with 669 additions and 130 deletions

View File

@@ -16,6 +16,12 @@ class StreamEntriesController < ApplicationController
respond_to do |format|
format.html do
use_pack 'public'
unless user_signed_in?
skip_session!
expires_in 5.minutes, public: true
end
redirect_to short_account_status_url(params[:account_username], @stream_entry.activity) if @type == 'status'
end