Version 1 (modified by CM Lubinski, 7 years ago) (diff)

New hack ContactsPlugin, created by cmc



Generic plugin which allows you to add contacts to the system. Contacts have a first and last name as well as a phone number and an e-mail address. Out of the box, these contacts are completely unrelated to the rest of Trac, but this plugin is designed to allow other plugins to add associated contacts as needed.

This provides two permissions, one for viewing and one for adding/editing contacts.

Bugs/Feature Requests

Existing bugs and feature requests for ContactsPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:contactsplugin here].


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


Does your plugin need to store user information, names of potential clients, or any other contact-related info? Use this plugin! Load /contact?redirect=/your/redirect/handler/url and as soon as the user has added/edited a contact, your redirect handler will be called with the contact_id set in the url. You may then do whatever evil deeds necessary with said contact.

Recent Changes

14733 by rjollos on 2015-06-23 00:47:45
0.2dev: Fixed incorrect quoting of column names. Fixes #11234.

This was a regression in [12247]. Patch by Jun Omae.

12247 by rjollos on 2012-10-24 01:13:34

Fixes #7366:

12246 by rjollos on 2012-10-23 22:38:59

Refs #7366: Fixed multiple problems with DB upgrade during ContactsPlugin installation.

  • The unique attribute is not defined for the Column object in Trac 0.12, and in fact never did anything in earlier versions of Trac, which is why it was removed. See [11996] and [t 9406/trunk/trac/db/] for more info.
  • The print string, which intended to format and print the exception on database upgrade failure, contained an incorrect string formatting character. Even when corrected, the string would not be printed to the terminal, so this was replaced with printing of the traceback.


Author: cmc
Maintainer: cmc