History log of /plugin/include/syntax/include.php (Results 26 – 47 of 47)
Revision Date Author Comments
# e91599b6 19-Dec-2010 Michael Hamann <michael@content-space.de>

Move existence check to the helper in order to avoid code duplication


# a36a809d 19-Dec-2010 Michael Hamann <michael@content-space.de>

Require AUTH_CREATE for creating new pages


# 993fccf3 18-Dec-2010 Michael Hamann <michael@content-space.de>

Add section edit button handling

This commit fixes section edit buttons. Now section edit buttons of
included pages don't interfere with buttons of the parent page anymore
and all section edits of t

Add section edit button handling

This commit fixes section edit buttons. Now section edit buttons of
included pages don't interfere with buttons of the parent page anymore
and all section edits of the included page are closed at the end of the
included page. Furthermore the id and revision of section edit buttons
of included pages are correct so they should actually work. A
redirect_id like in other edit buttons ensures that the user is
redirected to the correct page after the edit.

show more ...


# 84629dd2 14-Dec-2010 Michael Hamann <michael@content-space.de>

Merge branch 'master' into render_instructions_rewrite

Conflicts:
syntax/meta.php


# 2524d407 14-Dec-2010 Michael Hamann <michael@content-space.de>

vim-modelines: Remove no longer allowed enc=utf-8


# d8e4e8dd 14-Dec-2010 Michael Hamann <michael@content-space.de>

Add edit button for new pages


# 791e1550 10-Dec-2010 Michael Hamann <michael@content-space.de>

Restructuring, first version of new cache handling

This commit replaces user dependent include keys by just one cache for
each page. This means the cache needs to be regenerated more often when
e.g.

Restructuring, first version of new cache handling

This commit replaces user dependent include keys by just one cache for
each page. This means the cache needs to be regenerated more often when
e.g. the edit permissions are different. As this is just a renderer
cache this shouldn't be a big problem. The main reason for this is that
the metadata won't be correctly updated when a different cache file is
used for every user.

In the metadata all include instructions are stored so when the cache is
checked the list of pages that actually should be included can be
reconstructed and then compared to the list of pages that has been
included when the page/metadata has been rendered.

The order of the includes and the respective parent pages are taken into
consideration so something like the inclusion of two user-dependent
pages that include each other won't break this cache handling. I'm not
sure if all scenarios are handled by this cache correctly, but I
can't think of a scenario where the page should be rendered but
neither the order nor the parent id nor one of the included pages has
been changed. When one included page is replaced by another one because
of these placeholders all sub-includes of that page will still be
checked but as then the cache will be purged anyway this doesn't matter.

I've decided against just storing one level of include instructions in
the metadata of every page and for storing everything in the root as
reading a lot of files should imho be avoided. The metadata that is read
might be outdated, but outdated metadata can only be a result of a
change in one of the included pages which is handled by the
file dependencies.

show more ...


# 1a25f14b 02-Dec-2010 Michael Hamann <michael@content-space.de>

New attempt of a rewrite using instructions during rendering

This patch makes the include plugin no longer do all the work in the
instructions but instead during rendering the instructions of the ch

New attempt of a rewrite using instructions during rendering

This patch makes the include plugin no longer do all the work in the
instructions but instead during rendering the instructions of the child
pages are converted and executed in the renderer of the page itself.
This means all advantages of working at instruction level are preserved,
but tricky caching problems are avoided. This is still not working
completely:

- The cache doesn't work at all, if your metadata is fresh the renderer
cache won't be used at all
- No tests have been done if ACL support is actually working (but it
should)
- Problems with the box plugin that have been fixed might reappear
- The support for different levels hasn't been tested that thoroughly
- The blog plugin will be broken with this version, perhaps
compatibility fixes will be added again later
- The metadata cache isn't refreshed when it should, at least in the
current git version of DokuWiki

show more ...


# a0a6f8fb 07-Apr-2010 Michael Klier <chi@chimeric.de>

added possiblity to include tagged pages closes #28


# b2bd09f6 29-Mar-2010 Michael Klier <chi@chimeric.de>

switched to new plugin.info.txt layout


# 1ed2572f 25-Nov-2009 Michael Klier <chi@chimeric.de>

hopefully fixed all ACL dependant caching issues


# 8b99501b 24-Nov-2009 Michael Klier <chi@chimeric.de>

added new namespace syntax


# ee7fe5d5 24-Nov-2009 Michael Klier <chi@chimeric.de>

resolve relative page ids correctly using the correct scope


# 56816068 07-Nov-2009 Michael Klier <chi@chimeric.de>

fixes chaching checks for relative paths closes #17 #12


# b66f6220 29-May-2009 Michael Klier <chi@chimeric.de>

display footer for non existant pages when user has create rights


# 5013e176 11-May-2009 Michael Klier <chi@chimeric.de>

release preparations

darcs-hash:20090511194151-23886-4be0acba725c52de54bc7413982cdb97c9b23c4f.gz


# 6f0ad9d7 18-Mar-2009 Michael Klier <chi@chimeric.de>

plugin works on instruction level now

This a first working version of the include plugin that works compeltely on
instruction level and therefore implements "sane" indentation level
conversion.

plugin works on instruction level now

This a first working version of the include plugin that works compeltely on
instruction level and therefore implements "sane" indentation level
conversion.

IMPORTANT: All plugins which rely on the include plugin need to be updated.
Convenience functions to use the include plugin in other plugins will follow
shortly. This patch breaks the blog plugin.

darcs-hash:20090318142051-23886-785eebf83084748f5a6fcfcaad7aa7bf6b7fcc6f.gz

show more ...


# 61053b04 14-Mar-2009 Michael Klier <chi@chimeric.de>

instructions based include level control + fixed toc generation

darcs-hash:20090314025214-23886-d370f6ce8bd3d3c2c4cf75babe0dd92d17063533.gz


# efa360b9 29-Nov-2008 Gina Haeussge <osd@foosel.net>

Fix for "$auth is not an object" error in open wikis without auth

darcs-hash:20081129211753-2b4f5-f59cb07075c31a454b8ddeb151bbb8a58edd8b4e.gz


# 4052f233 07-Jul-2008 Gina Haeussge <osd@foosel.net>

release preparations

darcs-hash:20080707184418-2b4f5-2e15f1e32e9e97f41580d045928e884301762bd1.gz


# 58f4883a 28-Jun-2008 Michael Klier <chi@chimeric.de>

fixed vim modelines

darcs-hash:20080628185112-23886-164f527c547dd95c11fbb6dd6821e6a8cf1f0dee.gz


# 71ec1101 28-Jun-2008 Gina Haeussge <osd@foosel.net>

added support for permalink headers

Using the flag permalink, the first header of an included page
can now be made a permalink to the included page. The blog
plugin will use this to link to the spec

added support for permalink headers

Using the flag permalink, the first header of an included page
can now be made a permalink to the included page. The blog
plugin will use this to link to the specific blog post from the
blog overview.

darcs-hash:20080628173814-2b4f5-dc1767b52b3941c71812e81bb354565a44d3a809.gz

show more ...


12