Changes between Version 19 and Version 20 of TracMyPagePlugin
- Timestamp:
- Nov 20, 2016, 10:31:50 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracMyPagePlugin
v19 v20 5 5 == Description 6 6 7 This plugin adds a navigation bar tab for 'My Page', a wiki page whose name is expanded from a template and your user ID. 7 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'. 8 9 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. 10 11 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. 8 12 9 13 !TracMyPage works nicely with the TracUserPagePlugin. 10 14 11 15 '''Fork:''' I have made a [https://github.com/trac-hacks/trac-mypage fork on GitHub] with some improvements/fixes. Feel free to [https://github.com/trac-hacks/trac-mypage/issues suggest new]. Install with `pip install TracMyPagePlugin`. 12 13 === Nota Bene14 15 * 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 MYPAGE_VIEW to the ''authenticated'' subject in Admin/Permissions.16 * 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.17 16 18 17 == Bugs/Feature Requests … … 38 37 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 39 38 40 == Example39 == Configuration 41 40 42 41 The following is an example of a configuration to be added to your `trac.ini` file: … … 49 48 }}} 50 49 51 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.50 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. 52 51 53 52 == Recent Changes