On Fri, Nov 28, 2014 at 6:48 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> The current code logs onoff_attr() calls, and plenty more log entries are
> pending in other places.
>

We're currently logging all config changes made via:

onoff_attribute()
entry_attribute()
textarea_attribute()
shunning and rebuild via the shun page
moderation (though in limited form because we only have the RIDs readily
available)

The xxx_attribute() are subject to value truncation in the log: it only
logs the first 20 bytes at the moment. Whether to truncate the values,
store the whole (previous?) value in another field, or similar, is up for
discussion.

admin_log() is now guarded by the printf checker (and it saved me twice).

The admin_log table has been added to the rebuild whitelist (==not dropped)
so that one cannot wipe out his trail by running rebuild from the shun page
(been there, done that).

Further additions (e.g. refining the /admin_log page) will trickle in over
time.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-dev mailing list
fossil-dev@lists.fossil-scm.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to