discourse/plugins/chat/spec/lib/chat
Martin Brennan df4197c8b8
FIX: Show deleted bookmark reminders in user bookmarks menu (#25905)
When we send a bookmark reminder, there is an option to delete
the underlying bookmark. The Notification record stays around.
However, if you want to filter your notifications user menu
to only bookmark-based notifications, we were not showing unread
bookmark notifications for deleted bookmarks.

This commit fixes the issue _going forward_ by adding the
bookmarkable_id and bookmarkable_type to the Notification data,
so we can look up the underlying Post/Topic/Chat::Message
for a deleted bookmark and check user access in this way. Then,
it doesn't matter if the bookmark was deleted.
2024-02-29 09:03:49 +10:00
..
types DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
channel_archive_service_spec.rb DEV: Remove TagGuardian#can_create_tag? fallback (#25535) 2024-02-02 13:48:53 +08:00
channel_fetcher_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
channel_hashtag_data_source_spec.rb DEV: Fix tests (#25644) 2024-02-12 14:29:23 +02:00
channel_membership_manager_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
duplicate_message_validator_spec.rb
guardian_extensions_spec.rb DEV: allows stop/resume streaming on a message (#25774) 2024-02-26 14:16:29 +01:00
message_bookmarkable_spec.rb FIX: Show deleted bookmark reminders in user bookmarks menu (#25905) 2024-02-29 09:03:49 +10:00
message_mover_spec.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
message_processor_spec.rb
message_reactor_spec.rb DEV: check if user can_chat inside the can_join_chat_channel guardian (#21812) 2023-07-19 21:55:00 +04:00
messages_exporter_spec.rb FIX: Chat messages exporter (#25461) 2024-01-30 18:37:11 +04:00
notifier_spec.rb DEV: Remove full group refreshes from tests (#25414) 2024-01-25 14:28:26 +08:00
onebox_handler_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
parsed_mentions_spec.rb FIX: Do not notify users for quoted mentions in chat (#24902) 2023-12-14 15:39:28 -03:00
post_notification_handler_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
pretty_text_spec.rb FIX: Allow quoting thread's original message (#24773) 2023-12-11 09:58:00 -03:00
review_queue_spec.rb DEV: Remove full group refreshes from tests (#25414) 2024-01-25 14:28:26 +08:00
slack_compatibility_spec.rb
statistics_spec.rb DEV: Add new chat metrics (#23872) 2024-01-04 16:10:03 +04:00
steps_inspector_spec.rb DEV: Add policy objects to services 2023-05-25 12:34:00 +02:00
transcript_service_spec.rb FIX: Do not display chat replies as threads in transcripts (#24768) 2023-12-15 09:50:43 -03:00