Release 0.3

From Habari Project

(Redirected from Releases/0.3)
Jump to: navigation, search

Contents

Introduction

Habari's third Developer Release represents a huge step forward. The Administration area has seen a major update and includes better filtering, a cleaner look (which will continue to be improved for the next release), and better control over the content of your site. Over 100 bugs have been closed, representing fixes, improvements and new features to make Habari one step closer to being the cutting-edge blogging platform it is destined to be. Everything from the installer to comment moderation has been improved, and documentation has been improved throughout the project. For a complete list of bugs closed, check the Issues Fixed page.

What's new for administrators

  • We're revising the administration area's design and layout. You may experience issues, please report them.
  • Links in the footer are now functional and point to helpful resources.

Comments Management

  • Comments can be searched, filtered and basic pagination was added.

Content Creation

  • You can now specify a publish date, although we do not currently support scheduled posts.

Content Management

  • Content can be searched, filtered and basic pagination was added.

Plugins Management

  • Added new FormUI controls: select and textarea.
  • Added sandboxing, a plugin's synthax is tested prior to list it as manageable.

What's new for developers

Comments

  • Removed the function Comment::publish().
  • Made Comments work like Posts.
  • Made Comment work like Post.
  • Added new methods to Comment:
    • Comment::list_comment_types()
    • Comment::list_comment_statuses()
    • Comment::status()
    • Comment::status_name()
    • Comment::type()
    • Comment::type_name()
  • Added a new method to Comments:
    • Comments::delete_by_status()

Event Logging

  • Made EventLog work like Posts.
  • Made LogEntry work like Post.
  • Renamed LogEntry::cache_types() to LogEntry::list_logentry_types().
  • Added new methods to LogEntry:
    • LogEntry::list_severities()
    • LogEntry::list_modules()
    • LogEntry::list_types()
    • LogEntry::severity_name()
    • LogEntry::get()
    • LogEntry::get_event_type()
    • LogEntry::get_event_module()
    • LogEntry::get_event_severity()
    • LogEntry::__get()
    • LogEntry::__set()
  • Added new methods to EventLog:
    • EventLog::__get()
    • EventLog::get()

Plugins

  • Added tons of new plugin hooks.
  • Added new methods to Plugins:
    • Plugins::extends_plugin()
    • Plugins::is_loaded()

Posts

  • Added new methods to work with statuses and types:
    • Post::list_active_post_types()
    • Post::list_all_post_types()
    • Post::activate_post_type()
    • Post::deactivate_post_type()
    • Post::add_new_type()
    • Post::add_new_status()
  • Added a new property, $post->statusname, returns the a human-readable status.

Rewrite Rules

  • Default rewrite rules are now stored in 'rewriterules.php' and can be overridden using the plugin hook 'default_rewrite_rules'.
  • Added a new method to RewriteRules:
    • RewriteRules::add_system_rules()

Theme Development

  • Added Theme::header() and Theme::footer().
  • Updated jQuery to 1.2.1.
  • Updated Blueprint to 0.6, it was moved to /3rdparty.
  • Improved the Utils::page_selector() method.
    • If you omit the rewrite rule name, it will use the current match.
    • You can specify how many pages to display beside the current page with $settings['leftSide'] and $settings['rightSide'].

Known Bugs

  • SQLite support is limited. Search and database upgrade is not possible at this time. The reason is quite simple, ALTER and CONCAT are not supported by SQLite, this will be fixed in the next release.

Credits

These release notes were compiled by the Habari Community.

On behalf of the community, we give our warmest thanks to the developers and contributors who made this Habari release possible.

See Also

See the Roadmap for this release, and the Release Checklist.

Personal tools