View Issue Details

IDProjectCategoryView StatusLast Update
0005476Composrpointspublic2024-07-25 21:58
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0005476: Add a warning hook to allow specifying recent point transactions to reverse
DescriptionDitto.

On the warning form, have another section which shows recent point transactions by the member (specifically, ones where the member sent points, received points, or has been credited points... filter out debited points). Since the ledger can get very large very fast, limit it to transactions in the last 7 days, capped at whatever the max is for deleting content.

Allow checking off specific transactions to reverse them.

When transactions are reversed, a punitive action text should be generated indicating so.

This punitive action should not have an undo function as reversed transactions cannot be undone.
Additional InformationShould be in a new section called "Points"... and move "Charge points" into this section as well.

Keep in mind privileges (whether or not the moderator can reverse point transactions).
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Relationships

related to 0003438 resolvedPatrick Schmalstig Hooks for the punish form 

Activities

Chris Graham

2024-07-25 18:50

administrator   ~0008933

Hard-coding 7 days is interesting. I just tidied it up slightly https://gitlab.com/composr-foundation/composr/-/commit/77c12e0d0510f39e6a715ace5e3df2c0afd109c7. Didn't change the DESCRIPTION_DELETE_CONTENT[_POINTS] lang strings.
I could see someone wanting that to be configurable. Or I could see an argument it should be just based on a maximum number of entries to show rather than time.
But it's debatable and I'm happy to leave this be unless someone comes back about it.

Patrick Schmalstig

2024-07-25 19:02

administrator   ~0008936

Last edited: 2024-07-25 19:03

View 2 revisions

Sounds good. It was hard-coded in the original warnings code before I moved it to hooks (based off of the content delete code), though I think I changed the timeframe. I agree making it configurable in the future would be good.

Issue History

Date Modified Username Field Change
2023-11-27 05:35 Patrick Schmalstig New Issue
2023-11-27 05:35 Patrick Schmalstig Status non-assigned => assigned
2023-11-27 05:35 Patrick Schmalstig Assigned To => Patrick Schmalstig
2023-11-27 05:36 Patrick Schmalstig Additional Information Updated View Revisions
2023-11-27 05:37 Patrick Schmalstig Additional Information Updated View Revisions
2023-12-05 14:18 Patrick Schmalstig Status assigned => resolved
2023-12-05 14:18 Patrick Schmalstig Resolution open => fixed
2023-12-05 14:18 Patrick Schmalstig Tag Attached: Roadmap: v11
2024-03-30 03:39 Patrick Schmalstig Project Composr alpha bug reports => Composr
2024-03-30 03:43 Patrick Schmalstig Category General / Uncategorised => points
2024-07-25 18:50 Chris Graham Note Added: 0008933
2024-07-25 19:02 Patrick Schmalstig Note Added: 0008936
2024-07-25 19:03 Patrick Schmalstig Note Edited: 0008936 View Revisions
2024-07-25 21:58 Chris Graham Relationship added related to 0003438