wiki:TracMyPagePlugin

Version 20 (modified by figaro, 7 years ago) (diff)

Further cosmetic changes

Navigation bar tab for user personal page

Description

This plugin enables a user to create a personal wiki page, of which the name is expanded from a template and the user ID. When installed, this plugin adds a navigation bar tab for 'My Page'.

To see the My Page tab, a user must be logged in and have the MYPAGE_VIEW permission. To make My Page available to all users, grant the MYPAGE_VIEW permission to the authenticated subject in Admin/Permissions.

This plugin does not introduce new components into the Trac environment; it is simply based on HTTP redirects. It does not create wiki pages on demand. Unless an administrator creates wiki pages for users, My Page pages will not exist the first time users click the tab. A first-time user will get a 'Describe u/admiralnelson here.' page instead. The user will need to click Create this page to initialize it, so the WIKI_CREATE permission is needed. This meets my needs, but automatic My Page creation would be a good feature to add.

TracMyPage works nicely with the TracUserPagePlugin.

Fork: I have made a fork on GitHub with some improvements/fixes. Feel free to suggest new. Install with pip install TracMyPagePlugin.

Bugs/Feature Requests

Existing bugs and feature requests for TracMyPagePlugin are here.

If you have any issues, create a new ticket.

defect

5 / 9

enhancement

2 / 4

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

The following is an example of a configuration to be added to your trac.ini file:

[components]
mypageplugin.* = enabled

[mypage]
url = wiki/u/%s 

This causes the 'My Page' tab for http://trac.example.com/ to yield a redirect to http://trac.example.com/wiki/u/admiralnelson when the user 'admiralnelson' is logged in and has the MYPAGE_VIEW permission.

Recent Changes

15471 by rjollos on 2016-04-14 00:22:20
Remove tag_svn_revsion attribute

The attribute isn't supported in setuptools >= 10.

13932 by rjollos on 2014-05-20 16:59:39
Added missing __init__.py. Fixes #11753.

Patch by agil.

10452 by rjollos on 2011-07-12 06:00:09
Show plugin's svn revision on webadmin plugin panel.
(more)

Author/Contributors

Author: dgc
Maintainer: dgc
Contributors: mitar