Closed Bug 949463 Opened 11 years ago Closed 7 years ago

audit log

Categories

(Input :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: willkg, Unassigned)

References

Details

(Whiteboard: u=analyzer c=data p=3 s=)

Bug #949461 covers adding the ability to delete responses. Before implementing that, we need audit log infrastructure so that we can keep track of who did what and when. That makes it easier to maintain metrics on activities so we can suss out problems.

For example, are we finding we're spending a lot of time deleting certain classes of spam? If so, can we nix it at the source instead?
Moving this to 2014q2.

Plus, I'm making this a P1 because this is blocking future spam-alleviating work.
Priority: -- → P1
Whiteboard: u=analyzer c=data p= s=input.2014q1 → u=analyzer c=data p= s=input.2014q2
Both of those django apps are pretty interesting. But if we're going to go with either of them, we will want to upgrade to Django 1.6 first.

Instead, I think I want to roll my own auditing infrastructure. I have the following use cases:

1. mine the data to see patterns and adjust spam-detection and other algorithms accordingly

2. metrics so I can see how the situation is changing over time in regards to how much work is being done, who's doing it and why -- this would let us set priorities on future development to alleviate problems

3. for a given response, see what changes were made to it, by whom and when -- this will make translation revisions easier to deal with when/if we add that

Anti-requirements:

1. I don't need unlimited undo functionality

2. I don't need to maintain history for all time--we should maintain history for like 6 months because anything beyond that is so old it's value is low
Making this a 3-pointer since I think it'll take a few days to implement. It probably involves the following:

1. create an audit table model

2. write a mixin that on create, save and delete adds a record to the audit table

3. write some code so that you can see the history for a given response in the admin

4. write extensive tests
Whiteboard: u=analyzer c=data p= s=input.2014q2 → u=analyzer c=data p=3 s=input.2014q2
Bumping this to 2014q3.
Whiteboard: u=analyzer c=data p=3 s=input.2014q2 → u=analyzer c=data p=3 s=input.2014q3
Whiteboard: u=analyzer c=data p=3 s=input.2014q3 → u=analyzer c=data p=3 s=input.2014q4
Bumping this to 2015q1 because we're out of time for this quarter.
Whiteboard: u=analyzer c=data p=3 s=input.2014q4 → u=analyzer c=data p=3 s=input.2015q1
We have a Journal app right now. We'd need to tie it to the Response table and write some views.

I WONTFIXd bug #949461 which was the impetus for this bug. Thus we can reduce the priority of this and push it off until we figure out what to do with spam and/or contributor-driven activities.
Priority: P1 → P3
Whiteboard: u=analyzer c=data p=3 s=input.2015q1 → u=analyzer c=data p=3 s=
I'm going to move this to 2015q2 since I want to work on better tools for this sort of thing.
Whiteboard: u=analyzer c=data p=3 s= → u=analyzer c=data p=3 s=input.2015q2
Bumping this out of the sprints altogether since it's not a priority.
Whiteboard: u=analyzer c=data p=3 s=input.2015q2 → u=analyzer c=data p=3 s=
The Input service has been decommissioned (see bug 1315316) and has been replaced by a redirect to an external vendor (SurveyGizmo). I'm bulk WONTFIXing Input bugs that do not appear to be relevant anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.