Closed
Bug 553678
Opened 14 years ago
Closed 14 years ago
Create audit trail for publishing actions
Categories
(Websites :: plugins.mozilla.org, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.1
People
(Reporter: ozten, Assigned: lorchard)
References
()
Details
Attachments
(3 files)
We should create a simple audit trail. This will help for cases where users share auth info, as well as single user being able to debug issues.
Updated•14 years ago
|
Assignee: nobody → rdoherty
Target Milestone: --- → 1.1
Updated•14 years ago
|
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
Comment 4•14 years ago
|
||
Specs and mockups attached. Les: can you take a look and let me know if you have questions/concerns?
Assignee: rdoherty → lorchard
Assignee | ||
Comment 5•14 years ago
|
||
Haven't had a chance to check this out until now... need to think about this a bit: Edits to plugins and releases aren't as granular as what the mockups show right now, at least not as far as the server is concerned. The editing page submits a plugin and all its releases in one big updated JSON document at the time of save. A user could have added/deleted any number of releases, and changed any number of properties across all releases. So, without doing some kind of diff between old and new plugin documents, I can only record that a plugin was edited - not that a specific release was manipulated. Also, an entire plugin and its complete collection of releases gets moved from sandbox to production - not just an individual release. Basically the same story as above.
Assignee | ||
Comment 6•14 years ago
|
||
Made some progress on this. I just checked in a DB schema change in r70480, filed bug 579099 to get it updated on staging. In order to not break stating, I'm holding back on checking into trunk until the DB change is made. But, the rest of the code so far is committed to github: http://github.com/lmorchard/plugindir/commit/5d447bd84513c77ba30838674be212088838a33c
Assignee | ||
Comment 7•14 years ago
|
||
Since bug 579099 just got closed, I've committed the audit log code in r70718 to get it onto staging in the near future
Assignee | ||
Comment 8•14 years ago
|
||
Going to close this and say it's feature complete on staging for a first attempt. It could probably use some work after feedback, so feel free to reopen or file additional bugs
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 9•14 years ago
|
||
(In reply to comment #8) > Going to close this and say it's feature complete on staging for a first > attempt. It could probably use some work after feedback, so feel free to reopen > or file additional bugs UI looks good, we definitely need a method of know what's changed though. I'll file separate bugs so it's easier to track. Thanks!
Status: RESOLVED → UNCONFIRMED
Ever confirmed: false
Resolution: FIXED → ---
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•14 years ago
|
||
FWIW: With the code for this bug, each activity log event currently maintains the complete old and new states of the plugin and releases as JSON in text columns. So, given a sufficient way to construct and display diffs between the two, we can show what's changed. The alternative is to rethink the way editing is done entirely - which is not a horrible idea, just one that implies a lot of work well beyond activity tracking.
You need to log in
before you can comment on or make changes to this bug.
Description
•