Changes between Version 44 and Version 45 of ScreenshotsPlugin
- Timestamp:
- Apr 2, 2015, 11:54:10 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScreenshotsPlugin
v44 v45 9 9 The plugin is perfectly able to be used as a picture archive for the wiki pages. 10 10 11 See also: ScreenshotPastePlugin 12 11 13 == Bugs/Feature Requests 12 14 13 Total issue record: 14 [[TicketQuery(component=ScreenshotsPlugin,format=progress)]] 15 Open issues by type: 16 [[TicketQuery(component=ScreenshotsPlugin,status!=closed&group=type,format=progress)]] 17 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. 15 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. 16 17 [[TicketQuery(component=ScreenshotsPlugin&group=type,format=progress)]] 19 18 20 19 == Download and Source … … 46 45 ||path|| location of directory where plugin should store uploaded and generated images || /var/lib/trac/screenshots || 47 46 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.47 {{{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. 49 48 50 49 {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. … … 68 67 {{{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 68 70 If you don't have TagsPlugin installed replace last line with:69 If you don't have TagsPlugin installed, then replace the last line with: 71 70 {{{#!ini 72 71 tracscreenshots.tags.screenshotstags = disabled … … 76 75 77 76 {{{#!sh 78 $trac-admin <path_to_environment> upgrade77 trac-admin <path_to_environment> upgrade 79 78 }}} 80 79 81 80 == Permissions 82 81 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): 84 ||'''SCREENSHOTS_ADD'''||permission to upload screenshots|| 85 ||'''SCREENSHOTS_ADMIN'''||permission to upload, delete, view, filter and order screenshots|| 86 ||'''SCREENSHOTS_DELETE'''||permission to delete screenshots|| 87 ||'''SCREENSHOTS_FILTER'''||allows to modify component and version filter|| 88 ||'''SCREENSHOTS_ORDER'''||permits to change the order they are displayed in|| 89 ||'''SCREENSHOTS_VIEW'''||permits to browse screenshots and see screenshot uploads in timeline|| 82 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: 83 84 ||'''Permission'''||'''Description'''|| 85 ||SCREENSHOTS_ADD||permission to upload screenshots|| 86 ||SCREENSHOTS_ADMIN||permission to upload, delete, view, filter and order screenshots|| 87 ||SCREENSHOTS_DELETE||permission to delete screenshots|| 88 ||SCREENSHOTS_FILTER||allows to modify component and version filter|| 89 ||SCREENSHOTS_ORDER||permits to change the order they are displayed in|| 90 ||SCREENSHOTS_VIEW||permits to browse screenshots and see screenshot uploads in timeline|| 90 91 91 92 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: 92 93 93 94 {{{#!sh 94 $trac-admin <path_to_environment> permission add <user> SCREENSHOTS_ADMIN95 $trac-admin <path_to_environment> permission add <user> SCREENSHOTS_ADD96 $trac-admin <path_to_environment> permission add <user> SCREENSHOTS_DELETE97 $trac-admin <path_to_environment> permission add <user> SCREENSHOTS_FILTER98 $trac-admin <path_to_environment> permission add <user> SCREENSHOTS_ORDER99 $trac-admin <path_to_environment> permission add <user> SCREENSHOTS_VIEW95 trac-admin <path_to_environment> permission add <user> SCREENSHOTS_ADMIN 96 trac-admin <path_to_environment> permission add <user> SCREENSHOTS_ADD 97 trac-admin <path_to_environment> permission add <user> SCREENSHOTS_DELETE 98 trac-admin <path_to_environment> permission add <user> SCREENSHOTS_FILTER 99 trac-admin <path_to_environment> permission add <user> SCREENSHOTS_ORDER 100 trac-admin <path_to_environment> permission add <user> SCREENSHOTS_VIEW 100 101 }}} 101 102 … … 137 138 Example: 138 139 139 140 {{{ 140 141 [[Screenshot(2,width=400,height=300,description=The $name by $author: $description,align=left)]] 141 142 }}} … … 165 166 == Notes 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 Previous revisions used space separated list of values in the `trac.ini` configuration options. Now it uses comma separated list so change this to prevent inconveniences. 168 169 169 170 == Feedback … … 178 179 2. do it yourself, see the [http://trac.edgewall.org/wiki/CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details. 179 180 180 You've done a new translation? Superb! Contributing your translation is highly appreciated.[[BR]] 181 You could send it to the plugin's maintainer or contribute to [TracPluginTranslation Trac plugin l10n project] 182 via [http://www.transifex.net/projects/p/Trac_Plugin-L10N/ Transifex]: 181 Contributing your translation is highly appreciated. You could send it to the plugin's maintainer or contribute to [TracPluginTranslation Trac plugin l10n project] via [http://www.transifex.net/projects/p/Trac_Plugin-L10N/ Transifex]: 183 182 184 183 Top translations: Trac_Plugin-L10N » [http://www.transifex.net/projects/p/Trac_Plugin-L10N/resource/tracscreenshots/ tracscreenshots][[BR]] … … 191 190 python ./setup.py compile_catalog -f 192 191 python ./setup.py bdist_egg 193 }}} 194 Step 2 is almost obsolete, and only needed to include translations marked as `# fuzzy` by the translator, since 195 the compilation before packaging will do message catalog compilation compile only without the extra `-f` argument.192 }}} 193 194 Step 2 is almost obsolete, and only needed to include translations marked as `# fuzzy` by the translator, since the compilation before packaging will do message catalog compilation compile only without the extra `-f` argument. 196 195 Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 197 196 198 197 == Change Log 199 198 200 [[ChangeLog(/screenshotsplugin, 5)]]199 [[ChangeLog(/screenshotsplugin, 3)]] 201 200 202 201 == Author/Contributors 203 202 204 203 '''Author:''' [wiki:Blackhex] [[BR]] 205 '''Maintainer:''' [ wiki:Blackhex] [[BR]]204 '''Maintainer:''' [[Maintainer]] [[BR]] 206 205 '''Contributors:''' [wiki:hasienda] [[BR]]