diaspora/spec/controllers
Benjamin Neff cbbb0a55c2
Add redirect to mobile-only photo URL when in desktop UI
This URL is only used in the mobile UI, but when somebody then copies
the link and sends it to somebody on the desktop UI, they don't see
anything. So lets just redirect to the post containing the photo, so
there is at least something to show.

If there is no linked post, just redirect to the image instead.

Fixes #8352
2022-10-30 00:32:31 +02:00
..
admin Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
api/openid_connect Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
jasmine_fixtures Merge branch 'next-minor' into develop 2021-06-30 23:27:57 +02:00
admins_controller_spec.rb Fixup rubocop warnings from factory_bot introduction 2021-04-11 01:59:47 +02:00
application_controller_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
aspect_memberships_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
aspects_controller_spec.rb Merge branch 'next-minor' into develop 2022-07-20 21:34:39 +02:00
blocks_controller_spec.rb Add API route to (un)block a user 2020-03-20 12:38:27 +01:00
comments_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
contacts_controller_spec.rb Merge branch 'next-minor' into develop 2022-07-20 21:34:39 +02:00
conversation_visibilities_controller_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
conversations_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
help_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
home_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
invitation_codes_controller_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
invitations_controller_spec.rb Fix deprecation warnings for rails 6.0 2022-07-20 21:26:58 +02:00
likes_controller_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
links_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
messages_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
node_info_controller_spec.rb Add NodeInfo 2.1 2022-07-23 16:59:37 +02:00
notifications_controller_spec.rb Merge branch 'next-minor' into develop 2021-04-11 17:13:46 +02:00
participations_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
passwords_controller_spec.rb Enable paranoid mode for devise 2019-04-30 00:21:00 +02:00
people_controller_spec.rb Remove special-case for diaspora-handle lookups in people controller. 2021-07-04 22:10:20 +02:00
photos_controller_spec.rb Add redirect to mobile-only photo URL when in desktop UI 2022-10-30 00:32:31 +02:00
poll_participations_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
posts_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
profiles_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
registrations_controller_spec.rb Fix deprecation warnings for rails 6.0 2022-07-20 21:26:58 +02:00
report_controller_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
reshares_controller_spec.rb Fixup rubocop warnings from factory_bot introduction 2021-04-11 01:59:47 +02:00
search_controller_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
services_controller_spec.rb Fixup rubocop warnings from factory_bot introduction 2021-04-11 01:59:47 +02:00
sessions_controller_spec.rb Remove /user/auth_token route, this was a leftover from the chat 2022-02-27 23:06:24 +01:00
share_visibilities_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
status_messages_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
streams_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
tag_followings_controller_spec.rb Tags API Endpoint complete with full tests 2018-12-30 22:33:04 +01:00
tags_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
terms_controller_spec.rb Replace be_success with be_successful in specs. 2020-02-11 23:53:14 +01:00
two_factor_authentications_controller_spec.rb Update factory_girl to factory_bot 2021-04-11 01:51:38 +02:00
users_controller_spec.rb Merge branch 'next-minor' into develop 2022-07-20 21:34:39 +02:00