39 | | 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. |
| 45 | ||'''Option'''||'''Description'''|| |
| 46 | ||default_components|| default values for component filter || |
| 47 | ||default_description|| description attached to the screenshot if not explicitly specified in request || |
| 48 | ||default_filter_relation|| how the filters should be related by default || |
| 49 | ||default_format|| format which will be returned if no format is specified in request (see ''formats'' below) || |
| 50 | ||default_list_item|| how the {{{[[ScreenshotsList]]}}} macro should be expanded by default || |
| 51 | ||default_order_directions|| whether to start with the first or last item by default || |
| 52 | ||default_orders|| if not specified otherwise, by which criteria should we order? || |
| 53 | ||default_versions|| default values for version filter || |
| 54 | ||ext|| list of allowed file extension which can be uploaded || |
| 55 | ||formats|| in which formats images can be downloaded || |
| 56 | ||mainnav_title|| Caption in Tracs main navigation menu (empty = hide item)|| |
| 57 | ||metanav_title|| Caption in Tracs meta navigation menu (empty = hide item) || |
| 58 | ||path|| location of directory where plugin should store uploaded and generated images || |
| 59 | |
| 60 | {{{default_format}}} and {{{formats}}} must be 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. |
| 61 | |
| 62 | {{{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. |
66 | | Screenshots plugin defines four permissions. With SCREENSHOTS_VIEW permission you can browse screenshots and see screenshot uploads in timeline. SCREENSHOTS_ADMIN adds you rights to upload screenshots, SCREENSHOTS_FILTER allows you to modify component and version filter, and SCREENSHOTS_ORDER permits you to change the order they are displayed in. |
| 89 | Screenshots plugin defines four permissions - each one in this list depends on the one mentioned before it, and adds its permissions upon that (with ''SCREENSHOTS_FILTER'' and ''SCREENSHOTS_ORDER'' being on the same level): |
| 90 | ||'''SCREENSHOTS_VIEW'''||permits to browse screenshots and see screenshot uploads in timeline|| |
| 91 | ||'''SCREENSHOTS_FILTER'''||allows to modify component and version filter|| |
| 92 | ||'''SCREENSHOTS_ORDER'''||permits to change the order they are displayed in|| |
| 93 | ||'''SCREENSHOTS_ADMIN'''||permission to upload/delete screenshots|| |