wiki:TeamRosterPlugin

Version 5 (modified by cbalan, 9 years ago) (diff)

--

Team Roster

Description

The main goals of this plugin are:

  • Help defining project's team inside project's workspace( Including pictures )
  • Increase cross-project visibility into project's team.

Bugs/Feature Requests

Existing bugs and feature requests for TeamRosterPlugin are here.

If you have any issues, create a new ticket.

Download

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

Source

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

Configuration

Enable the plugin in trac.ini:

[components]
tracteamroster.* = enabled

API

from tracteamroster.api import UserProfilesSystem, UserProfile

# Get profile by id(username)
user_profile = UserProfilesSystem(env).get_userProfile( 'cbalan' )

# Get active userProfiles
team = UserProfilesSystem(env).get_active_userProfiles()

# Search users ( Dummy example: All active developers that have an gmail account )
search_result_list = UserProfilesSystem.search_userProfile( UserProfile( role='developer', email='%gmail.com', enabled=1 ) )

# Add user Profile
UserProfilesSystem.add_userProfile(UserProfile(id='jfoo', name='John Foo', email='jfoo@asd.org', role='developer'))

# Update
someUserProfile = UserProfilesSystem(env).get_userProfile('jfoo')
someUserProfile.role = 'senior developer'
someUserProfile.save()

# Remove
UserProfilesSystem(env).remove_userProfile(someUserProfile)

Example

In order to use it(out of the box) you have to :

  1. Define project's team by using 'Manage Team' option from the trac admin page.
  2. Call TeamRoster macro in wiki pages.

Screenshots


Recent Changes

3127 by cbalan on 2008-01-22 18:36:42
TeamRosterPlugin: - Initialize session for new users.
3126 by cbalan on 2008-01-22 18:20:24
TeamRosterPlugin: - Fixed #2456
2789 by cbalan on 2007-11-16 12:41:42
TeamRosterPlugin: - Fixed upload picture feature to work on IE also.
(more)

Author/Contributors

Author: cbalan
Contributors:

Attachments (4)

Download all attachments as: .zip