Closed Bug 322763 Opened 19 years ago Closed 18 years ago

Should be a UI for the administrator to view an account's history

Categories

(Webtools Graveyard :: Despot, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justdave, Assigned: reed)

Details

Attachments

(1 file, 2 obsolete files)

Despot records user account changes to a table in the database, but there's no UI for viewing it.
Assignee: justdave → justdave
Priority: -- → P3
QA Contact: timeless → despot
Attached patch patch - v1 (very barebones UI) (obsolete) — Splinter Review
This is a patch for something I'm ashamed to call a UI. :(
It's ugly, shows everything as raw data, doesn't work if user has changed e-mail address, and doesn't convert voucher ids into e-mail addresses.

I had to modify ListSomething() slightly so I could get away with not having an [edit] button for every row.
Assignee: justdave → reed
Status: NEW → ASSIGNED
Attachment #247646 - Flags: review?(justdave)
Comment on attachment 247646 [details] [diff] [review]
patch - v1 (very barebones UI)

>+    my $wherepart = "email = " . $::db->quote($F::email);;

too many semicolons ^^^

>+        if ($editprocname ne "") {

Just a perl hint here...  an empty string is counted as false for boolean comparisons.  So you can just do this:

if ($editprocname) {

and it'll do the right thing here.
Attachment #247646 - Flags: review?(justdave) → review-
For the record, this is a good start, and better than nothing.  We can improve on the other stuff later.
Attached patch patch - v2 (obsolete) — Splinter Review
Addressed review comments.
Attachment #247646 - Attachment is obsolete: true
Attachment #247647 - Flags: review?(justdave)
Um, actually attach the new patch this time.
Attachment #247647 - Attachment is obsolete: true
Attachment #247648 - Flags: review?(justdave)
Attachment #247647 - Flags: review?(justdave)
Attachment #247648 - Flags: review?(justdave) → review+
Checking in despot.cgi;
/cvsroot/mozilla/webtools/despot/despot.cgi,v  <--  despot.cgi
new revision: 1.50; previous revision: 1.49
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: