|Version 10 (modified by 11 years ago) (diff),|
Notice: This plugin is unmaintained and available for adoption.
Provides components and versions related screenshots storage and viewing system for Trac. With SCREENSHOTS_ADMIN permission you can append or delete screenshots to apropriate component and version defined with trac-admin command-line tool or via WebAdminPlugin. With SCREENSHOTS_VIEW premission main navigation bar button for ScreenshotsPlugin is displayed and provides link to screenshots galery view.
Install plugin's egg and set path and title variable in trac.ini configuration file. component and version config variables can set default component and version viewed when Screenshots main navigation menu button clicked. show_name config variable could be used to disable or enable display of screenshot name and author at the top. Default value is true.
[screenshots] title = Screenshots path = <path_to_screenshots> component = <component_name> version = <version_name> show_name = true/false
If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines:
[components] tracscreenshots.init.screenshotsinit = enabled tracscreenshots.core.screenshotscore = enabled tracscreenshots.api.screenshotsapi = enabled tracscreenshots.wiki.screenshotswiki = enabled tracscreenshots.tags.screenshotstags = enabled
If you don't have TagsPlugin installed replace last line with
tracscreenshots.tags.screenshotstags = disabled
The next step is to upgrade your environment:
# trac-admin <path_to_environment> upgrade
For running this plugin you have to have ImageMagick tools installed on your system.
There are macro [screenshot:<screenshot_id>] for screenshots referencing. Expample of usage is here:
[screenshot:1] [screenshot:1 screenshot]
There is wrong display of plugin's content in Internet Explorer because of missing implementation of "display: table-cell" CSS style so please use standard browsers or tell me how to fix it :-).
If you have any issues, create a new ticket.
Download the zipped source from [download:screenshotsplugin here].
If you properly install ScreenshotsPlugin you could see something like this:
- 16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
- 16191 by rjollos on 2017-01-21 03:51:42
1.2dev: Adapt to Trac 1.2 API
The changes need additional testing. Please be sure to
backup your environment before upgrading, and preferably
test in a sandbox first. Report any issues to #13007.
- 13303 by hasienda on 2013-06-23 13:10:27
ScreenshotsPlugin: Use own actions instead of 'WIKI_*' for tagging action permission checks, closes #10940.
Fixing the issue for the two most current branches simultaneously.
- 12139 by rjollos on 2012-10-10 01:54:13
Fixed incorrect source code encoding (http://www.python.org/dev/peps/pep-0263/).
- 8987 by Blackhex on 2010-09-20 12:56:24
- Fixing #7701 and other PosgreSQL related problems.
- Trac 0.11.5 dependency for 0.11 branch added.