wiki:ClientsPlugin

Version 2 (modified by drew@…, 7 years ago) (diff)

Hopefully I'm not overstepping anything by adding my comments (noted by AWK)

Clients support for Trac Tickets

Description

This plugin adds a custom field to to Trac which allows the tickets to be recorded against a specific client.

It also provides a user interface via WebAdmin (0.10.x only) to administer the client lists. [AWK: The web admin interface works for 0.11 trunk also]

It is work in progress and some features are still missing.

At present it requires a patch to Trac itself to allow simple use of the enum table to drive custom fields data. [AWK: For 0.11 trunk, patch doesn't seem necessary.]

Bugs/Feature Requests

Existing bugs and feature requests for ClientsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Example

[AWK: The installation for 0.11 (I'm using Trac 0.11 trunk r6893) appears to be somewhat different from what's described below. A database upgrade will be needed after installing the plugin. During the database upgrade the ini entries were added automatically and they are actually somewhat different from below. Also, the patch mentioned doesn't seem necessary.]

On installation you need to manually add the following custom fields:

client = select
client.label = Client
client.order = 5
client.options = enum:client
client.value = 0

And don't forget the patch mentioned above to Trac itself.

Recent Changes

[12092] by rjollos on 2012-10-02 07:43:57

Fixes #10260:

  • The client field is hidden if there are no clients.
  • Added unit test infrastructure.
[12091] by rjollos on 2012-10-02 05:25:58
Refs #10402: Support use of md5 class from the hashlib module or deprecated md5 module, with preference to the former when available.
[11835] by rjollos on 2012-07-30 04:27:41

Fixes #7450:

  • Removed rollbacks on db connection.
  • Put version outside the scope of the try/except so that it is in scope long enough to be used. Thanks to yamilchamut@… for the suggestion.

Author/Contributors

Author: coling
Contributors:

Attachments (6)

Download all attachments as: .zip