Suspensions and Blocks do not give enough details in logs


(Joshua Rosenfeld) #1

Summary:

Exporting the staff logs and looking at suspensions and blocks does not show who the suspension/block was applied to. Automatic unsuspensions are not logged.

Steps to reproduce:

  1. Suspend, block, un-suspend, or un-block at least one user.
  2. Visit /admin/logs/staff_action_logs
  3. Click Export

Expected Results:

Logs will show who each action was applied to.

Actual Results:

No user is given for each log entry. Automatic un-suspensions (due to a date being entered when suspended) are not listed.

Notes:

Might be a regression, as @codinghorror made it seem possible back in February:

Attachments:

Logs:

Version:

Discourse 1.5.0.beta10 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 48


Find previously suspended users
(shakti katare) #2

I have created PR for this issue.


(Jeff Atwood) #3

Sure I am open to improving this @techapj can you review?


(Arpit Jalan) #4

Looks good to me! Thanks @shakti :thumbsup:


(Arpit Jalan) #5