diaspora/spec
Benjamin Neff 5bc4473e11
Fix notifications when people remove their birthday date
Some people may remove their birthday date after the notification was
sent, which then breaks the notification page for other users. Let's
just display the date when the notification was created, and not display
the users updated birthday date. When users update from date A to B it
always looks weird anyway, when we display the same new date B twice on
different days, or display two different dates for the same user.

We could remove notifications when users change or remove their
birthday, but that would be way more complex and also we usually don't
remove notifications (not even for deleted posts).

Fixes #7689

closes #7691
2018-01-12 17:52:57 +01:00
..
controllers Create birthday notification and mailer 2017-12-18 04:34:35 +01:00
fixtures remove old unused data_conversion fixtures 2016-08-08 19:37:09 +02:00
helpers Fix notifications when people remove their birthday date 2018-01-12 17:52:57 +01:00
integration Handle duplicate account migrations 2017-10-17 01:36:25 +02:00
javascripts Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
lib Remove aspect_ids parameter from publisher 2017-12-25 20:54:10 +01:00
mailers Create birthday notification and mailer 2017-12-18 04:34:35 +01:00
models Create birthday notification and mailer 2017-12-18 04:34:35 +01:00
presenters Add camo to NodeInfo 2017-09-28 03:20:31 +02:00
serializers Memory usage optimization for archive export 2017-09-26 04:07:18 +02:00
services Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
shared_behaviors Ignore invalid diaspora:// links 2017-10-27 02:26:52 +02:00
spec Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
support Memory usage optimization for archive export 2017-09-26 04:07:18 +02:00
workers Create birthday notification and mailer 2017-12-18 04:34:35 +01:00
configuration_methods_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
factories.rb Create refereces model 2017-09-28 23:04:34 +02:00
federation_callbacks_spec.rb Remove public and provider_display_name from reshares 2017-09-28 23:04:34 +02:00
helper_methods.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
locale_spec.rb Add # frozen_string_literal: true to all files 2017-09-17 19:29:15 +02:00
spec_helper.rb Don't force fixtures rebuild on each rspec run 2017-09-26 04:06:43 +02:00