Set Ramaze.options.mode before Zen.root.

This commit fixes #56.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Don't use namespace separators for method calls.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Moved Mootools events into their own file.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Handle forms using the Mootools class Zen.Form.

This class is used for showing form errors for specific tabs as well as
automatically saving form data using Zen.Autosave.

This commit fixes #57.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
filter() doesn't work on a database ya jackass.

This commit fixes #60.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Preserve author IDs for section entries

This commit fixes #61.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Basic set of styles for the pagination buttons.

This commit is related to issue #59.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Table showing differences between Zen and others.

This commit fixes #58.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Hide messages by clicking on them.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Call :post_start before building assets.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Load core packages when connecting to a DB.

This is the first step of making it easier to load third-party packages as well
as creating settings without having to do so after calling Zen.start and
manually migrating the settings (which would also mean you can't use custom
assets).

Whenever a database connection is created the various model related settings
(such as the plugins to use globally) as well as the core packages are loaded.
To make this possible the various translation strings for Sequel are "lazy
loaded" using lambdas.

What this means is that instead of the following:

    require 'zen'

    require __DIR__('config/database')

    Zen.start

    require 'your/custom/package'

You can now do this:

    require 'zen'

    require __DIR__('config/database')
    require 'your/custom/package'

    Zen.start

Currently you'd still have to manually migrate settings (if you register any
custom ones) since there's no guaranteed order for events to be executed in.
I'll address this issue in the following commits.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Updated the .mailmap file.

Signed-off-by: Yorick Peterse <yorick@isset.nl>
Removed the post_start event.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Merge branch 'develop' of github.com:zen-cms/Zen-Core into develop
Improved the documentation for Zen::Language.

This should hopefully clear up potential problems with loading language files
and using translations.

Signed-off-by: Yorick Peterse <yorick@isset.nl>
Updated the table styles for the docs.

Signed-off-by: Yorick Peterse <yorick@isset.nl>
Updated the docs for Zen::Package.

Signed-off-by: Yorick Peterse <yorick@isset.nl>
Updated the docs of Zen::Theme and Zen::Language.

Signed-off-by: Yorick Peterse <yorick@isset.nl>
Use tables for form field documentation.

Signed-off-by: Yorick Peterse <yorick@isset.nl>
Docs for comments and custom fields.

The documentation for the comments and custom fields packages have been
updated. I've also made some slight style changes to the documentation of
the categories package.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>