diaspora/app/presenters
Thorsten Claus 9c0f8cdf11
Dont send all likes with list of comments
Due to historic reasons with a comment the list of all likes was sent to the frontend.
This is needed just to detect if one of the likes is current users like.
So if sending just the own like, the frontend can do it's job.

When the frontend is refactured in any way, post and comment like handling should be improved.
2023-11-13 02:27:55 +01:00
..
aspect_membership_presenter.rb API Branch Final Cleanup Before PR 2018-12-30 11:50:58 -05:00
aspect_presenter.rb Drop chat_enabled from aspects API 2020-01-21 23:35:01 +01:00
avatar_presenter.rb Add the scaled_full image as a raw image in AvatarPresenter as well. 2020-02-04 15:52:57 +01:00
base_presenter.rb Fix some keyword args for ruby 3 compatibility 2022-07-21 01:25:53 +02:00
block_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
comment_presenter.rb Dont send all likes with list of comments 2023-11-13 02:27:55 +01:00
contact_presenter.rb API Branch Final Cleanup Before PR 2018-12-30 11:50:58 -05:00
conversation_presenter.rb API Paging library and used in appropriate controllers with full tests 2018-12-17 22:07:33 -05:00
last_three_comments_decorator.rb Dont send all likes with list of comments 2023-11-13 02:27:55 +01:00
likes_presenter.rb Likes API endpoint complete 2018-11-01 11:06:45 -04:00
message_presenter.rb Make syntax compliant with the pronto configuration 2018-11-01 13:56:18 +01:00
node_info_presenter.rb Merge branch 'next-minor' into develop 2022-07-23 17:01:02 +02:00
notification_presenter.rb API: Don't return notifications target unless it's a post 2020-02-09 11:03:55 +01:00
o_embed_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
person_presenter.rb Merge branch 'next-minor' into develop 2021-11-23 00:56:41 +01:00
photo_presenter.rb Re-add sizes.raw to the photo JSON 2020-02-04 14:38:49 +01:00
pod_presenter.rb Adding total and active count to pod view 2022-07-31 00:19:41 +02:00
poll_presenter.rb API: return own vote state in polls 2020-02-02 18:40:07 +01:00
post_interaction_presenter.rb API Branch Final Cleanup Before PR 2018-12-30 11:50:58 -05:00
post_presenter.rb API: return whether post or item was already reported or not 2020-02-09 11:04:59 +01:00
profile_presenter.rb API: accept name parameter instead of first name and last name in user patch 2020-01-21 23:34:43 +01:00
service_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
tag_stream_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
user_application_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
user_applications_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
user_presenter.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00