0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 13:59:03 +08:00
discourse/spec
Bannon Tanner 0fb15b0223
FIX: Reviewable Insights Metadata
Previously, the reviewable insights metadata was not being serialized
correctly for admin users that flagged their own posts. There was a
conflict with the order of the `has_one` associations in the
`ReviewableSerializer`. When an admin flagged their own post, the user
was identical for both the `target_created_by` and `created_by`
attributes. This silently dropped the `target_created_by` attribute,
resulting in broken metadata (join date, post count) for the flagged post.

This commit reordered the `has_one` associations in the
`ReviewableSerializer` to ensure that `target_created_by` is serialized
before `created_by`.
2026-07-29 18:04:35 -05:00
..
db FIX: Prevent backslash accumulation in upload markdown labels (#39461) 2026-06-03 18:10:38 +02:00
fabricators PERF: Serve the activity_by_category report from daily rollups (#42046) 2026-07-28 12:53:29 +08:00
fixtures FIX: Don't elide numbered lists from Word emails (#42103) 2026-07-28 21:29:10 +02:00
generator DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
helpers UX: Hide signup when the site is in read only or staff only mode (#42101) 2026-07-28 20:05:04 +02:00
import_export
initializers DEV: Do not seed TOS and Privacy topics even if company_name is present (#41814) 2026-07-17 13:29:49 -04:00
integration FIX: store method in route matcher (#41512) 2026-07-07 11:49:56 -04:00
integrity DEV: hide and disable upcoming changes for disabled plugins (#41657) 2026-07-16 14:35:20 +04:00
jobs DEV: Penalize pageviews with no engagement in CrawlerScorer (#42118) 2026-07-29 13:13:42 +08:00
lib FIX: Sanitize namespaced SVG <use> references (#42124) 2026-07-30 05:44:08 +08:00
mailers DEV: remove simple email subject upcoming change metadata (#41807) 2026-07-20 14:43:00 +04:00
migrations FIX: Ensure each flag gets a unique name_key (#40899) 2026-06-24 16:37:59 +02:00
models FEATURE: Support markdown in tag descriptions (#41996) 2026-07-29 14:43:47 +01:00
multisite DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
queries/reports FEATURE: Change default upcoming change promotion status to Beta (#41275) 2026-07-06 09:13:37 +10:00
requests FIX: Race condition allows bypass of data export rate limit in Discourse (#41990) 2026-07-29 13:04:18 -05:00
script DEV: Fix UC status report when reverted files encountered (#41821) 2026-07-20 16:37:35 +10:00
serializers FIX: Reviewable Insights Metadata 2026-07-29 18:04:35 -05:00
services FIX: Support uppercase in User Profile Website URL (#42072) 2026-07-28 09:27:03 -05:00
support DEV: Reset test site settings without callbacks (#41960) 2026-07-23 14:10:50 +08:00
system DEV: Promote enable_invite_modal_with_roles upcoming change to beta (#42135) 2026-07-29 09:52:00 -07:00
tasks DEV: Use precise dates in versions.json (#42129) 2026-07-29 15:21:42 +01:00
views
rails_helper.rb DEV: Block external requests in system specs via Chrome DNS resolver (#40685) 2026-06-17 12:29:57 +01:00
regenerate_swagger_docs
swagger_helper.rb