wiki:FullBlogPlugin

Version 1 (modified by Odd Simon Simonsen, 10 years ago) (diff)

New hack FullBlogPlugin, created by osimons

Self-contained Blog plugin

Description

This plugin provides a project Blog, but unlike TracBlogPlugin and SimpleBlogPlugin it does not use Wiki pages to store the content. It has no dependencies on other plugins.

This is a preview relase, only available for an up-to-date 0.11dev. The implemented features should work as expected, but some features are not yet completed.

Basic features are:

  • Create, edit and view blog posts under a new 'Blog' menu.
  • Browse post by month, category and author + and Archive page for all posts.
  • Comments for blog posts.
  • Admin page for basic settings.
  • Permissions for BLOG_VIEW, BLOG_COMMENT, BLOG_MODIFY_OWN, BLOG_MODIFY_ALL, BLOG_ADMIN.
  • Special handling of a post named 'about'.
  • Area in sidebar for information text, blogroll, links and similar.

Some features will not be completed before ongoing Trac context refactoring and timeline API changes are nearing completion:

  • Attachments on blog posts.
  • Posts and comments in timeline.
  • Diff between version of the post.
  • Delete post version, delete post and delete comment.
  • Fine-grained permissions - currently only 0.10 style permissions are implemented as there is no context/resource system implemented.
  • XmlRpcPlugin support.

That means:

  • Use in production at your own risk as it is still a 'preview'.
  • Don't file tickets for tasks that are missing as in 'not implemented' (see list above).
  • Feedback is most welcome - see osimons to get in touch with me by mail or on the #trac channel.

Bugs/Feature Requests

Existing bugs and feature requests for FullBlogPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:fullblogplugin here].

Source

You can check out FullBlogPlugin from here using Subversion, or browse the source with Trac.

Example

Get started:

  1. Install the plugin in your preferred manner.
  2. Enable the plugin:
    [components]
    tracfullblog.* = enabled
    
  3. Run trac-admin /path/to/env upgrade
  4. Restart server and see it work.

Recent Changes

16217 by osimons on 2017-02-01 12:59:48
FullBlogPlugin: Render genshi admin template correctly with very latestst jinja2 support in Trac trunk (1.3.2dev).
16216 by osimons on 2017-02-01 11:30:06
FullBlogPlugin: Small (but vital) fix for reading version from database correctly.
16215 by osimons on 2017-02-01 01:12:08
FullBlogPlugin: Various compatibility fixes to make plugin (apparently) compatible with current Trac trunk at ~1.3.2dev.

Now also with basic tests for web requests.
Also a missing db.commit() for old compat code.

(more)

Author/Contributors

Author: osimons
Contributors:

Attachments (2)

Download all attachments as: .zip