discourse/spec
Sam d5ecf8e8c2 FIX: properly clean out post and user actions on destroy user
This corrects 2 issues:

First is a regression with d7c08e21 for some reason dependent :delete_all
respects default scopes where-as dependent :destroy bypasses it.

Secondly, we were keeping orphan user actions around on user destroy, this
ensures we remove all the user actions not only ones that originated by
the user.

So for example: if I like a post of user A we create a user action saying I
did that, but once user A is deleted we were not removing the action leading
to an orphan action in the database.
2019-01-17 12:40:30 +11:00
..
components FIX: Heisentest 2019-01-16 15:01:50 -05:00
fabricators FEATURE: Consolidate likes notifications. (#6879) 2019-01-16 10:40:16 +08:00
fixtures FEATURE: allow extending CSP base-uri and object-src 2019-01-09 15:34:14 -05:00
helpers FEATURE: Allow the base font size to be changed on a per-user basis (#6859) 2019-01-14 13:21:46 +00:00
import_export FIX: topic and category exporters were only exporting users who created the first post 2018-01-16 12:51:53 -05:00
integration FEATURE: Automatically expire keys if not used for a configurable amount of time. (#6264) 2018-08-20 17:36:14 +02:00
integrity FIX: Relative links in translations should work with subfolder 2018-11-08 23:31:05 +00:00
jobs DEV: make Jobs.enqueue tests less fragile 2019-01-09 09:51:11 +11:00
lib FEATURE: allow extending CSP base-uri and object-src 2019-01-09 15:34:14 -05:00
mailers FEATURE: Include "via <site_name>" in email From header 2019-01-04 17:06:19 +01:00
models FIX: properly clean out post and user actions on destroy user 2019-01-17 12:40:30 +11:00
multisite FIX: Multisite DB was leaving old data in test mode 2019-01-09 15:20:37 -05:00
requests FEATURE: Consolidate likes notifications. (#6879) 2019-01-16 10:40:16 +08:00
serializers DEV: more accurate spec for UserSummarySerializer 2019-01-14 07:26:10 +05:30
services DEV: Refactor tests for notification when liking a post. 2019-01-14 11:43:09 +08:00
support DEV: Stablize the multisite tests. 2019-01-16 10:29:36 +08:00
tasks suppress print output when running specs 2017-10-31 16:06:11 +05:30
views/omniauth_callbacks FEATURE: Use translated name for 'your email has been authenticated by' (#6649) 2018-11-22 19:12:04 +00:00
rails_helper.rb DEV: Stablize the multisite tests. 2019-01-16 10:29:36 +08:00