wiki:TracPastePlugin

Version 17 (modified by rjollos, 2 years ago) (diff)

List permissions.

Add a pastebin component to Trac

Description

Adds a basic pastebin functionality to a webpage. It requires trac0.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.

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 extension 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 over webadmin or by editing trac.ini: [components] tracpaste.* = enabled
  4. Run trac-admin /path/to/project upgrade
  5. Restart web server
  6. Add permission PASTEBIN_USE to users/groups that should be able to access it
  7. It should now be visible in menu and available under /pastebin.

Permissions

  • PASTEBIN_CREATE
  • PASTEBIN_DELETE
  • PASTEBIN_VIEW
  • PASTEBIN_ADMIN

Recent Changes

[13443] by ejucovy on 2013-11-28 05:56:35
Fix handling of non-ASCII paste data in "download" link. Thanks to piperad for the patch. Fixes #8305
[13442] by ejucovy on 2013-11-28 05:03:57
Add pastebin SearchProvider -- re #6140
[13143] by rjollos on 2013-05-15 13:05:31
Refs #5773: Updated maintainer info.

Author/Contributors

Author: mitsuhiko
Maintainer: otaku42
Contributors:

Attachments (4)

Download all attachments as: .zip