Changes between Version 42 and Version 43 of ScreenshotsPlugin
- Timestamp:
- Mar 3, 2015, 9:39:18 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScreenshotsPlugin
v42 v43 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Screenshots Plugin = 3 4 == Description == 5 6 Provides screenshots upload and viewing subsystem for Trac. Uploaded screenshots can be described with short name, longer description and custom tags (if TracTags plugin is installed) and assigned to any number of components and versions registered in Trac. Screenshot uploads can be listed in timeline and screenshots can be referenced or embedded in wiki pages. Plugin internally defines few interfaces for further extension. 7 8 The name is a little misleading as of course it is perfectly able to be used as a picture archive for the wiki pages. 9 10 == Bugs/Feature Requests == 11 12 total issue record: 2 3 = Screenshots Plugin 4 5 == Description 6 7 Provides screenshots upload and viewing subsystem for Trac. Uploaded screenshots can be described with short name, longer description and custom tags (if TracTags plugin is installed) and assigned to any number of components and versions registered in Trac. Screenshot uploads can be listed in the timeline and screenshots can be referenced or embedded in wiki pages. The plugin internally defines few interfaces for further extension. 8 9 The plugin is perfectly able to be used as a picture archive for the wiki pages. 10 11 == Bugs/Feature Requests 12 13 Total issue record: 13 14 [[TicketQuery(component=ScreenshotsPlugin,format=progress)]] 14 open issues by type:15 Open issues by type: 15 16 [[TicketQuery(component=ScreenshotsPlugin,status!=closed&group=type,format=progress)]] 16 17 17 Check [query:?status=new&status=assigned&status=reopened&group=&component=ScreenshotsPlugin&order=priority existing bugs and feature requests] first, please. If you have additional issues, you 're welcome to ask at our mailing-list to confirm proper local install and configuration. Please create a [/newticket?component=ScreenshotsPlugin&owner=Blackhex&cc=hasienda new ticket], if you're reasonably sure, that it will be a valid defect report or a generally useful enhancement that follows BugReporting recommendations. Thanks for taking care.18 19 == Download and Source ==18 Check [query:?status=new&status=assigned&status=reopened&group=&component=ScreenshotsPlugin&order=priority existing bugs and feature requests] first, please. If you have additional issues, you are welcome to ask at our mailing-list to confirm proper local install and configuration. Please create a [/newticket?component=ScreenshotsPlugin&owner=Blackhex&cc=hasienda new ticket], if you're reasonably sure, that it will be a valid defect report or a generally useful enhancement that follows BugReporting recommendations. Thanks for taking care. 19 20 == Download and Source 20 21 21 22 Download the [download:screenshotsplugin zipped source], check out [/svn/screenshotsplugin using Subversion], or [source:screenshotsplugin browse the source] with Trac. 22 23 23 == Dependencies ==24 25 You need to have [http://pythonware.com/products/pil/ PIL] library installed to getplugin working. Plugin optionally depends on TracTags plugin for screenshot tagging support.26 27 == Installation ==28 29 Install plugins egg and set variables in the {{{[screenshots]}}} section of your {{{trac.ini}}} configuration file according to your needs. Following list shows all of them with a description and their default values:24 == Dependencies 25 26 You need to have the [http://pythonware.com/products/pil/ Python Imaging Library] installed to get the plugin working. Plugin optionally depends on TracTags plugin for screenshot tagging support. 27 28 == Installation 29 30 Install the plugin egg. Set the variables in the {{{[screenshots]}}} section of your {{{trac.ini}}} configuration file according to your needs: 30 31 31 32 ||'''Option'''||'''Description'''||'''Default Value'''|| … … 45 46 ||path|| location of directory where plugin should store uploaded and generated images || /var/lib/trac/screenshots || 46 47 47 {{{default_format}}} and {{{formats}}} must be supported by your P IL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embedded in HTML page. {{{ext}}} can also include the {{{zip}}} extension, which is not included by default for security reasons. If a {{{zip}}} file containing multiple images is uploaded, all of the images applying to the other extensions specified by {{{ext}}} will be added with the same metadata entered for the {{{zip}}} file - and the {{{zip}}} file itself will be abandoned.48 {{{default_format}}} and {{{formats}}} must be supported by your Python Imaging Library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embedded in HTML page. {{{ext}}} can also include the {{{zip}}} extension, which is not included by default for security reasons. If a {{{zip}}} file containing multiple images is uploaded, all of the images applying to the other extensions specified by {{{ext}}} will be added with the same metadata entered for the {{{zip}}} file - and the {{{zip}}} file itself will be abandoned. 48 49 49 50 {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. … … 51 52 Another possible value for {{{additional_tags}}} except of those listed as default is {{{description}}}. 52 53 53 If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines:54 If you run Trac in an environment which needs to enable plugins explicitly, put these lines in trac.ini: 54 55 55 56 {{{ … … 65 66 }}} 66 67 67 {{{ScreenshotMatrixView}}} is currently the only one present component for actual screenshots display although there are internaly defined interfaces so any other component withdifferent view can be introduced in the future.68 69 If you don't have TagsPlugin installed replace last line with 68 {{{ScreenshotMatrixView}}} is currently the only component for actual screenshots display, although there are internally defined interfaces, so any other component with a different view can be introduced in the future. 69 70 If you don't have TagsPlugin installed replace last line with: 70 71 {{{ 71 72 tracscreenshots.tags.screenshotstags = disabled … … 78 79 }}} 79 80 80 == Permissions ==81 == Permissions 81 82 82 83 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): … … 88 89 ||'''SCREENSHOTS_VIEW'''||permits to browse screenshots and see screenshot uploads in timeline|| 89 90 90 ''If you use apache, please restart it, before setting permissions.'' You can add these permissions by typing following commands from commandline or you can use WebAdminPlugin to do it for you:91 If you use Apache, please restart it before setting permissions. You can add these permissions by typing the following commands from the command line or you can use WebAdminPlugin to do it for you: 91 92 92 93 {{{ … … 99 100 }}} 100 101 101 == Macros == 102 103 There is a macro {{{[screenshot:<screenshot_id>]}}} for screenshots referencing. 104 105 For screenshot embedding in wiki page use {{{[[Screenshot(<screenshot_id>, [<attribute>=<value>, ...])]]}}}. First mandatory argument is ID of the screenshot. Number or image attributes 106 can be specified next. This is a list of them: 102 == Macros 103 104 The macro {{{[screenshot:<screenshot_id>]}}} can be used for screenshots referencing. 105 106 For screenshot embedding in wiki page use {{{[[Screenshot(<screenshot_id>, [<attribute>=<value>, ...])]]}}}. First argument is the ID of the screenshot and is mandatory. The following image attributes can then optionally be specified: 107 107 108 108 * {{{align}}} - Specifies image alignment in wiki page. Possible values are: … … 163 163 }}} 164 164 165 == Notes ==165 == Notes 166 166 167 167 Previous revisions used space separated list of values in {{{trac.ini}}} configuration options. Now it uses comma separated list so change this to prevent inconveniences. 168 168 169 == Feedback ==169 == Feedback 170 170 171 171 [[Poll(Are you using this plugin?; Yes, it's usefull.; No, it's useless.; No, I don't need it.)]] 172 172 173 == About i18n/l10n support == 173 == About i18n/l10n support 174 174 175 The 0.12 branch of this plugin is prepared for localization.[[BR]] 175 176 But English message texts are still the (POSIX) default. If this isn't your preferred language, you can 176 1. look,if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/resource/tracscreenshots Transifex] or177 2. do it yourself (see the [http://trac.edgewall.org/wiki/CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details).177 1. check if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/resource/tracscreenshots Transifex] or 178 2. do it yourself, see the [http://trac.edgewall.org/wiki/CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details. 178 179 179 180 You've done a new translation? Superb! Contributing your translation is highly appreciated.[[BR]] … … 195 196 Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 196 197 197 == Change Log ==198 == Change Log 198 199 199 200 [[ChangeLog(/screenshotsplugin, 5)]] 200 201 201 == Author/Contributors ==202 == Author/Contributors 202 203 203 204 '''Author:''' [wiki:Blackhex] [[BR]]