tracpaste

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. Either: Download, build egg, drop into your plugins folder,
    or: easy_install http://trac-hacks.org/svn/tracpasteplugin/0.11
  2. Enable it over webadmin or by editing trac.ini: [components] tracpaste.* = enabled
  3. Run trac-admin /path/to/project upgrade
  4. Restart web server
  5. Add permission PASTEBIN_USE to users/groups that should be able to access it
  6. It should now be visible in menu and available under /pastebin.

Recent Changes

[5001] by otaku42 on 12/12/08 06:27:57

TracPastePlugin: PostgreSQL doesn't like some of the SQL statements introduced in r4983, as reported by mixedpuppy (thanks!). Fixed. Closes #4262.

Looks like I should start testing things with PostgreSQL, too... doh!

[4995] by otaku42 on 12/11/08 10:40:58

TracPastePlugin: Improve e-mail address obfuscation. As suggested by osimons it's better to defer obfuscation until rendering, so that the original value is available for post-processing and stuff.

Plus obfuscation is now also done for the "recent pastes" list.

[4994] by otaku42 on 12/11/08 10:21:16

TracPastePlugin: Use Tracs feature to obfuscate e-mail addresses when viewing pastes, as suggested by osimons (thanks!). Closes #4253.

[4984] by otaku42 on 12/09/08 08:30:42

TracPastePlugin: Allow to delete pastes.

Introduce new permission PASTEBIN_DELETE for that purpose. It's a a separate permission that needs to be enabled explicitly for a user, unless that user has PASTEBIN_ADMIN permission already.

A issue was introduced in r4983, where PASTEBIN_ADMIN inherited the non-existant PASTEBIN_REPLY permission; that should be PERMISSION_CREATE instead. This is now fixed.

Author/Contributors

Author: mitsuhiko
Maintainer: otaku42
Contributors:

Attachments