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
13 files changed:
def show
respond_to do |format|
format.html do
- mark_cacheable! unless user_signed_in?
+ use_pack 'public'
++
+ unless user_signed_in?
+ skip_session!
+ expires_in 10.seconds, public: true
+ end
@body_classes = 'with-modals'
def show
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