[[PageOutline(2-5,Contents,pullout)]] = Add a pastebin component to Trac = == Description == Adds a basic [http://en.wikipedia.org/wiki/Pastebin pastebin] functionality to a webpage. It requires Trac >= 0.11 and Pygments > 0.5. For some screenshots have a look at the attachments. But note that they are taken on my test trac installation with a heavily modified theme. The TracPastePlugin provides several features: * Paste events are shown in the timeline. Several additional features have been proposed: * Tags support (#6160) * TracLinks support (#5773) * Search provider (#6140) * Spam filter integration (#6144) * XmlRpcPlugin support (#6348) [[Image(pastebin_file.png, 50%)]] == Bugs/Feature Requests == Existing bugs and feature requests for TracPastePlugin are [report:9?COMPONENT=TracPastePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracPastePlugin&owner=otaku42 new ticket]. == Download and Source == Download the zipped source from [download:tracpasteplugin here], check out [http://trac-hacks.org/svn/tracpasteplugin using Subversion], or [source:tracpasteplugin browse the source] with Trac. == Installing == 1. Make sure the Pygments Python package is installed 1. Either: Download, build egg, drop into your plugins folder, [[BR]] or: `easy_install http://trac-hacks.org/svn/tracpasteplugin/0.11` 1. Enable it through WebAdmin or by editing `trac.ini`: `[components] tracpaste.* = enabled` 1. Run `trac-admin $TRAC_ENV upgrade` 1. Restart web server 1. Add the permissions `PASTEBIN_VIEW`, `PASTEBIN_CREATE`, `PASTEBIN_DELETE` and `PASTEBIN_ADMIN` that you'd like your users to have. 1. It should now be visible on the main navigation bar and available under `/pastebin`. == Recent Changes == [[ChangeLog(tracpasteplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:mitsuhiko] [[BR]] '''Maintainer:''' [wiki:otaku42] [[BR]] '''Contributors:'''