discourse/app/assets/javascripts
Selase Krakani 3d554aa10e
FIX: Keep ReviewableQueuedPosts even with user delete reviewable actions (#22501)
Performing a `Delete User`/`Delete and Block User` reviewable actions for a
queued post reviewable from the `review.show` route results in an error
popup even if the action completes successfully.

This happens because unlike other reviewable types, a user delete action
on a queued post reviewable results in the deletion of the reviewable
itself. A subsequent attempt to reload the reviewable record results in
404. The deletion happens as part of the call to `UserDestroyer` which
includes a step for destroying reviewables created by the user being
destroyed. At the root of this is the creator of the queued post
being set as the creator of the reviewable as instead of the system
user.

This change assigns the creator of the reviewable to the system user and
uses the more approapriate `target_created_by` column for the creator of the
post being queued.
2023-07-18 11:50:31 +00:00
..
admin Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
bootstrap-json DEV: Improve ember-cli 'LOAD_PLUGINS' behavior (#22590) 2023-07-13 11:27:29 +01:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
dialog-holder Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
discourse FIX: Keep ReviewableQueuedPosts even with user delete reviewable actions (#22501) 2023-07-18 11:50:31 +00:00
discourse-common Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
discourse-hbr Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
discourse-plugins Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
discourse-widget-hbs Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Clean up package.json files (#22349) 2023-06-30 13:01:45 +02:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
pretty-text Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
select-kit Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
truth-helpers Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
wizard Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02:00
.npmrc
discourse-js-processor.js DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
handlebars-shim.js
package.json Build(deps-dev): Bump patch-package in /app/assets/javascripts (#22577) 2023-07-13 11:10:33 +02:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FIX: Attempt to reconnect to server when browser visibilty changes (#22259) 2023-06-23 11:32:34 -05:00
yarn.lock Build(deps-dev): Bump webpack in /app/assets/javascripts (#22662) 2023-07-18 11:35:46 +02:00