discourse/spec
Martin Brennan e58e7a49f5
FIX: Bookmark reminder was clearing incorrectly (#28506)
Followup 76c56c8284

The change introduced above made it so the expired
bookmark reminders were cleared when using the bulk
action menu for bookmarks. However this also affected
clearing reminders for bookmarks when sending notifications.

When clearing bookmark reminders after sending notifications,
we take into account the auto delete preference:

* never          - The bookmark `reminder_at` date should not be cleared,
                   and the bookmark is kept.
* clear_reminder - The bookmark `reminder_at` date is cleared and
                   the bookmark is kept

The `never` option made it so "expired" bookmark reminder show
on the user's bookmark list.

This commit fixes the change from the other commit and only
forces clearing of `reminder_at` if using the bookmark bulk
action service.
2024-08-26 09:17:39 +10:00
..
fabricators UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
fixtures FEATURE: Allow oneboxing private GitHub repo URLs and add private indicator to HTML (#27947) 2024-07-19 12:21:45 +10:00
generator DEV: Silence the output of migration specs (#26365) 2024-03-26 11:32:44 +01:00
helpers DEV: update base url links to respect subfolder installs (#27740) 2024-07-09 12:42:38 +04:00
import_export
initializers
integration DEV: Enable Rails 7.1 defaults 2024-08-12 10:41:13 +02:00
integrity DEV: Add spec to ensure app works with multiple tagged loggers 2024-08-13 18:10:03 +02:00
jobs FEATURE: add delay to native push notifications (#28314) 2024-08-13 12:12:05 +04:00
lib FIX: Bookmark reminder was clearing incorrectly (#28506) 2024-08-26 09:17:39 +10:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
migrations DEV: Remove invalid content_security_policy_script_src site setting values from DB (#27588) 2024-06-27 22:17:56 +08:00
models FIX: serialize Flags instead of PostActionType (#28362) 2024-08-14 12:13:46 +10:00
multisite FIX: serialize Flags instead of PostActionType (#28362) 2024-08-14 12:13:46 +10:00
requests PERF: Ensure suggested topics is only loaded on last page of topic view (#28507) 2024-08-23 16:10:50 +08:00
script/import_scripts DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
serializers PERF: Ensure suggested topics is only loaded on last page of topic view (#28507) 2024-08-23 16:10:50 +08:00
services DEV: Allow disabling problem checks programatically (#28440) 2024-08-20 16:42:06 +02:00
support DEV: Add backup helpers for specs (#28394) 2024-08-16 14:51:57 +10:00
system FIX: Video uploads sometimes hang indefinitely (#28523) 2024-08-23 15:58:54 -06:00
tasks DEV: Stop storing theme-transpiler on filesystem in development (#28198) 2024-08-01 17:59:34 +01:00
views FEATURE: Simplify crawler content for non-canonical post URLs (#26324) 2024-03-26 15:18:46 +00:00
rails_helper.rb DEV: Add backup helpers for specs (#28394) 2024-08-16 14:51:57 +10:00
regenerate_swagger_docs
swagger_helper.rb