discourse/spec/components/auth
Sam Saffron 9ebabc1de8 FEATURE: unconditionally update Topic updated_at when posts change in topic
Previously we would bypass touching `Topic.updated_at` for whispers and post
recovery / deletions.

This meant that certain types of caching can not be done where we rely on
this information for cache accuracy.

For example if we know we have zero unread topics as of yesterday and whisper
is made I need to bump this date so the cache remains accurate

This is only half of a larger change but provides the groundwork.

Confirmed none of our serializers leak out Topic.updated_at so this is safe
spot for this info

At the moment edits still do not change this but it is not relevant for the
unread cache.

This commit also cleans up some specs to use the new `eq_time` matcher for
millisecond fidelity comparison of times

Previously `freeze_time` would fudge this which is not that clean.
2019-03-28 17:28:01 +11:00
..
default_current_user_provider_spec.rb FEATURE: unconditionally update Topic updated_at when posts change in topic 2019-03-28 17:28:01 +11:00
facebook_authenticator_spec.rb REFACTOR: Migrate FacebookAuthenticator to use ManagedAuthenticator 2018-11-30 11:18:11 +00:00
github_authenticator_spec.rb FIX: support connecting GitHub with existing accounts 2018-12-10 09:27:00 +11:00
google_oauth2_authenticator_spec.rb REFACTOR: Migrate GoogleOAuth2Authenticator to use ManagedAuthenticator (#7120) 2019-03-07 11:31:04 +00:00
instagram_authenticator_spec.rb REFACTOR: Migrate InstagramAuthenticator to use ManagedAuthenticator (#7081) 2019-03-04 14:54:28 +01:00
managed_authenticator_spec.rb FEATURE: Fetch email from auth provider if current user email is invalid (#7163) 2019-03-14 11:33:30 +00:00
open_id_authenticator_spec.rb DEV: Remove autospec hacks for social auth providers 2018-10-09 12:42:57 +01:00
twitter_authenticator_spec.rb REFACTOR: Migrate TwitterAuthenticator to use ManagedAuthenticator (#6739) 2018-12-07 15:39:06 +00:00