History log of /plugin/include/ (Results 201 – 225 of 370)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
af41274220-Dec-2010 Michael Hamann <michael@content-space.de>

Only indent content without section when "indent" is set

285d5ec520-Dec-2010 Michael Hamann <michael@content-space.de>

Update of the Russian translation by Aleksandr Selivanov

85ed4ec120-Dec-2010 Michael Hamann <michael@content-space.de>

Update README and plugin.info.txt to reflect maintainer change

fb0cc51819-Dec-2010 Michael Hamann <michael@content-space.de>

(Hopefully) fix the internal link and media handling

As proposed in issue #39 the link is now resolved using resolve_id and
then again transformed into an absolute link by prepending ":".

56aef18519-Dec-2010 Michael Hamann <michael@content-space.de>

Extend and correct the documentation of the section edit button handler

560e27a019-Dec-2010 Michael Hamann <michael@content-space.de>

Detect and remove persistent metadata created by previous versions

Previous versions of the include plugin created persistent metadata, now
that metadata is detected and removed when the page is ren

Detect and remove persistent metadata created by previous versions

Previous versions of the include plugin created persistent metadata, now
that metadata is detected and removed when the page is rendered.

show more ...

d5b0d6ce19-Dec-2010 Michael Hamann <michael@content-space.de>

Use compact instead of a full array declaration

17bd59ee19-Dec-2010 Michael Hamann <michael@content-space.de>

Detect more cases where additional sections aren't necessary

fa08f43919-Dec-2010 Michael Hamann <michael@content-space.de>

Move the section edit recognition into the helper/wrap syntax

e91599b619-Dec-2010 Michael Hamann <michael@content-space.de>

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

e200f7a819-Dec-2010 Michael Hamann <michael@content-space.de>

Wrap content that is not in a section in a section

At the beginning of every page there might be content that is not in a
section, that is the content before the first header. When such a page
is in

Wrap content that is not in a section in a section

At the beginning of every page there might be content that is not in a
section, that is the content before the first header. When such a page
is included in another page at a higher level this content without a
section hasn't been indented properly. Now when needed a new section
around that content is created.

show more ...

a36a809d19-Dec-2010 Michael Hamann <michael@content-space.de>

Require AUTH_CREATE for creating new pages

f2c7d6dd19-Dec-2010 Michael Hamann <michael@content-space.de>

Fix duplicate ids of the include div

24a55df719-Dec-2010 Michael Hamann <michael@content-space.de>

Add compatibility code for the blog plugin

993fccf318-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 ...

2524d40714-Dec-2010 Michael Hamann <michael@content-space.de>

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

d8e4e8dd14-Dec-2010 Michael Hamann <michael@content-space.de>

Add edit button for new pages

46b3096b14-Dec-2010 Elan Ruusamäe <glen@delfi.ee>

fix invalid typos in vim modeline

it caused vim to display the values instead of setting them,
and it wanted extra enter keypress, which is rather annoying :)

baeb852712-Dec-2010 Michael Hamann <michael@content-space.de>

Remove superfluous and wrong cleanID call

This call to cleanID prevented things like :id, ..:id etc. from working
and is superfluous as resolve_pageid calls cleanID anyway.

791e155010-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 ...

e14109df03-Dec-2010 Michael Hamann <michael@content-space.de>

Set start level of includes to 0

1a25f14b02-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 ...

75668fa927-Nov-2010 Michael Hamann <michael@content-space.de>

Implemented test cases for nested includes, see issue #21

These test cases partially fail, I get from 8 to 16 failing tests from
a total of 24 tests. I don't know why these number differ so much as

Implemented test cases for nested includes, see issue #21

These test cases partially fail, I get from 8 to 16 failing tests from
a total of 24 tests. I don't know why these number differ so much as
theoretically all data that influences the test should be removed
before/after each test cases.

show more ...

1a7f816122-Nov-2010 Michael Hamann <michael@content-space.de>

Resolve page id before the ACL check

7488c4d802-Oct-2010 Michael Klier <chi@chimeric.de>

added some debug logic

12345678910>>...15