Changes between Version 17 and Version 18 of ScreenshotsPlugin
- Timestamp:
- Mar 18, 2008, 4:39:50 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScreenshotsPlugin
v17 v18 41 41 }}} 42 42 43 Value of {{{mainnav_title}}} variable sets caption of item in Trac's main navigation menu and {{{metanav_title}}} sets caption of meta navigation menu item. Appropriate item will be hidden if its title is empty. {{{path}}} is location of directory where plugin should store uploaded and generated images and {{{ext}}} is list of allowed file extension which can be uploaded. Using {{{formats}}} option you can set in wich formats can be images downloaded and {{{default_format}}} is format which will be returned if no format is specified in request. It must be one of formats supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embended in HTML page. {{{default_components}}} 43 Value of {{{mainnav_title}}} variable sets caption of item in Trac's main navigation menu and {{{metanav_title}}} sets caption of meta navigation menu item. Appropriate item will be hidden if its title is empty. {{{path}}} is location of directory where plugin should store uploaded and generated images and {{{ext}}} is list of allowed file extension which can be uploaded. Using {{{formats}}} option you can set in wich formats can be images downloaded and {{{default_format}}} is format which will be returned if no format is specified in request. It must be one of formats supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embended in HTML page. {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. Set these variables according your Trac setup, otherwise, you would't see any screenshots with default filter. 44 44 45 45 If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines: … … 68 68 == Permissions == 69 69 70 Screenshots plugin defines three permissions. With SCREENSHOTS_VIEW permission you can browse screenshots and see screenshot uploads in timeline. SCREENSHOTS_ADMIN adds you rights to upl ad screenshots and SCREENSHOTS_FILTER allows you to modify component and version filter. You can add these permissions by typing following commands from commandline or you can use WebAdminPlugin to do it for you:70 Screenshots plugin defines three permissions. With SCREENSHOTS_VIEW permission you can browse screenshots and see screenshot uploads in timeline. SCREENSHOTS_ADMIN adds you rights to upload screenshots and SCREENSHOTS_FILTER allows you to modify component and version filter. You can add these permissions by typing following commands from commandline or you can use WebAdminPlugin to do it for you: 71 71 72 72 {{{