On Wed, Nov 26, 2014 at 7:41 PM, Stephan Beal <sgb...@googlemail.com> wrote:

> Proposed table:
>
> aevent(
>  ...id...,
>  who text, -- user name
>  what text, -- description: "User xyz moderated artifact [ABCAFE]."
>  when float -- julian (can i default to
> );
>

Okay, 'where' and 'when' are of course reserved words (and escaping them is
ugly), so it now looks like:


[stephan@host:~/cvs/fossil/fossil]$ f-query -e "select * from aevent;"
id time page who what
1 2456989.2069779 setup_uedit stephan Updated user 'altufaltu' with
capapbilities [fhqux].


Any additional field requests before i start peppering the various admin
pages with such log messages?

The interface is trivial:

admin_log( "printf-style mesage" );

it grabs the user name and the current page from the environment.

A command/page for listing these is pending.

The branch, for anyone who wants to play along:

http://www.fossil-scm.org/index.html/timeline?r=admin-logging


-- 
----- 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