discourse/app
Bianca Nenciu a6c3369614
FIX: Posts can belong to hard-deleted topics (#17329)
* FIX: Posts can belong to hard-deleted topics

This was a problem when serializing deleted posts because they might
belong to a topic that was permanently deleted. This caused to DB
lookup to fail immediately and raise an exception. In this case, the
endpoint returned a 404.

* FIX: Remove N+1 queries

Deleted topics were not loaded because of the default scope that
filters out all deleted topics. It executed a query for each deleted
topic.
2022-07-05 10:51:21 +03:00
..
assets UX: Hide user menu bookmark link when experimental sidebar is enabled (#17336) 2022-07-05 15:50:25 +08:00
controllers FIX: Posts can belong to hard-deleted topics (#17329) 2022-07-05 10:51:21 +03:00
helpers DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00
jobs FIX: Uninitialized class variable error in sidekiq (#17227) 2022-06-24 14:17:39 +10:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models FEATURE: Decouple category/tag presence in sidebar from notifi level (#17273) 2022-06-30 14:54:20 +08:00
serializers FIX: Posts can belong to hard-deleted topics (#17329) 2022-07-05 10:51:21 +03:00
services FIX: Replace onebox markdown when pulling hotlinked image (#17328) 2022-07-05 10:47:10 +08:00
views DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00