Add a pastebin component to Trac

Description

Adds a basic 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:

Bloodhound compatibilty

Since version 0.2.3 users may enable BloodhoundPaste component in order to get a new user interface powered by Twitter Bootstrap and compatible with Apache(TM) Bloodhound .

Screenshot #10833 : TracPastePlugin integration with Bloodhound . New paste form

Screenshot #10833 : TracPastePlugin integration with Bloodhound . Paste view

Bugs/Feature Requests

Existing bugs and feature requests for TracPastePlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source from here, check out using Subversion, or browse the source with Trac.

Installing

  1. Make sure the Pygments Python package is installed
  2. Either: Download, build egg, drop into your plugins folder,
    or: easy_install http://trac-hacks.org/svn/tracpasteplugin/0.11
  3. Enable it through WebAdmin or by editing trac.ini: [components] tracpaste.* = enabled
  4. Run trac-admin $TRAC_ENV upgrade
  5. Restart web server
  6. Add the permissions PASTEBIN_VIEW, PASTEBIN_CREATE, PASTEBIN_DELETE and PASTEBIN_ADMIN that you'd like your users to have.
  7. It should now be visible on the main navigation bar and available under /pastebin.

Recent Changes

[13143] by rjollos on 05/15/13 13:05:31

Refs #5773: Updated maintainer info.

[13006] by olemis on 04/25/13 18:48:29

TracPastePlugin refs #10852 : Transform 'is_active_theme' into a property instead of function .

Refs [13001] , [13002] , [13003]

[12576] by olemis on 01/28/13 09:15:08

TracPastePlugin : Version = 0.2.3 after r12575 . Fixes #10833

[12575] by olemis on 01/28/13 09:11:25

TracPastePlugin : Bootstrap styling for integration with Apache(TM) Bloodhound

Author/Contributors

Author: mitsuhiko
Maintainer: rjollos
Contributors: otaku42, olemis

Attachments