On 9/28/12, Steffen Hoffmann <[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 27.09.2012 22:33, Olemis Lang wrote:
>> On 9/27/12, Christopher Nelson <[email protected]> wrote:
>>> > Am I crazy or would it be useful to be able to embed the tabular
>>> > output of a report in a wiki page?
>> You are not ... or maybe we both are
>> :P
>
> No comments to your ability to read in trac-hacks.org hack listings,

yes I have seen those ... but ...

> but
> I see at least two likely candidates to check:
>
> SqlQueryMacro
>
> Execute an SQL Query against a configured database displaying a
> formatted table of results.
>

with all respect ... afaics I'd not use this because it seems to me
that they do not respect Trac permissions and other access control
mechanisms . Saved reports are the way to go because they are under
the umbrella of some permission checks afaicr REPORT_CREATE ,
REPORT_SQL_EDIT . Hence only privileged users decide what will be
repots contents and what not .

> WikiTableMacro
>
> This is a simple macro that enables you to place tables resulting from
> SQL queries into a wiki page.
>
> It is similar to, but simpler than, SqlQueryMacro. The main differences
> are that it has fewer dependencies and always queries the Trac database,
> rather than letting you set up a separate data connection.
>

IDEM ... cmiiw
nonetheless if the OP still wants to use those , no objections afaict

> Bear with us and improve one of these instead of re-inventing the wheel,
> please.
>

jftr ...

<OT>
we didn't reinvent the wheel , we just reuse TracReports code under
the hood and make it ready-to-use in another environment . In the end
, Bloodhound widgets are kind of macros with more meta-data . Hence
they can be reused in many more ways not seen in Trac at the moment
e.g. embedded in Genshi templates using custom markup ...
</OT>

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to