wiki:SavedQueriesScript

Version 5 (modified by anonymous, 6 years ago) (diff)

--

Saved queries using Google Gears

Description

Adds the ability to save queries using javascript and Google Gears on a user's computer. Adds a drop-down menu of saved queries to the "View Tickets" button on the toolbar.

Caveats

  • Only tested with the default theme on 0.10
    • Tested on 0.11.4 as well
  • Requires Google Gears and stores the saved queries on the local computer only
  • Manual installation required

Installation

  1. Add the included javascript files to a web-accessible directory (e.g. /var/www/trac_include)
  2. Edit the query.cs site.html template (%PYTHON%/share/trac/templates/query.cs)(<environment>/templates/site.html) and add <script> tags for the two files
    <head>
    ...
    <script type="text/javascript" src="/trac_include/gears_init.js"></script>
    <script type="text/javascript" src="/trac_include/savedqueries.js"></script>
    </head>
    <body>
    ...
    

Bugs/Feature Requests

Existing bugs and feature requests for SavedQueriesScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out SavedQueriesScript from here using Subversion, or browse the source with Trac.

Example

Screenshots

Recent Changes

[4873] by markhamc on 2008-11-25 18:26:10
Initial import
[4872] by markhamc on 2008-11-25 18:09:28
New hack SavedQueriesScript, created by markhamc

Author/Contributors

Author: markhamc
Contributors:

Attachments (3)

Download all attachments as: .zip