| 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 |
| 270cff7f | 21-Dec-2009 |
Michael Klier <chi@chimeric.de> |
another attempt to fix the metadata issue |
| 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 |
| 026df011 | 11-May-2009 |
Michael Klier <chi@chimeric.de> |
fixed tags display
darcs-hash:20090511192250-23886-4a0c8d1814a56ec861df77973c1c1fb013faaa15.gz |
| b68e5bd3 | 11-May-2009 |
Michael Klier <chi@chimeric.de> |
added new headerlink option
darcs-hash:20090511123434-23886-9fc5c7cc7dc741b0fa2fb11627e08d8096429871.gz |
| 7a09d26b | 11-May-2009 |
Michael Klier <chi@chimeric.de> |
fixed tags output in footer
darcs-hash:20090511120733-23886-d5c7ea0ab1aa56bda099e3cbfb1fb3d59d8edbf5.gz |
| c8a489fa | 25-Mar-2009 |
Michael Klier <chi@chimeric.de> |
changed skipped plugins
darcs-hash:20090325142339-23886-41d711fb766728976d733b7eb36fe4941e44db39.gz |
| 12121da4 | 24-Mar-2009 |
Michael Klier <chi@chimeric.de> |
improvments for section edit buttons
darcs-hash:20090324172526-23886-f54ccca957c1c94a7770adb5a7d6ebafc1980852.gz |
| 225daccd | 24-Mar-2009 |
Michael Klier <chi@chimeric.de> |
added include section highlighting
darcs-hash:20090324155113-23886-233bc1edbfc4db0a4020b96ad68b14fc32e82255.gz |
| b95aa976 | 24-Mar-2009 |
Michael Klier <chi@chimeric.de> |
made noeditbtn work
darcs-hash:20090324145413-23886-9b8c800eefd745099708db709ba2d92cbc5080c0.gz |
| 3a39ce39 | 23-Mar-2009 |
Michael Klier <chi@chimeric.de> |
add CSS class to firstheader for first tag if configured
darcs-hash:20090323161139-23886-f9832efea839ae0d5b2c98d120e5a7e1c9a2131a.gz |
| 4dd0672c | 23-Mar-2009 |
Michael Klier <chi@chimeric.de> |
embed includes in divs
darcs-hash:20090323152521-23886-0b26de58cc5593c6eca12bc5c4638be9bfc614d4.gz |
| 6a1594b7 | 23-Mar-2009 |
Michael Klier <chi@chimeric.de> |
added section edit for includes
darcs-hash:20090323145548-23886-af7f71fd5c39f2aef24c78b9809a4313c8287fba.gz |
| d53221c4 | 23-Mar-2009 |
Michael Klier <chi@chimeric.de> |
fixed footer section titles and links
darcs-hash:20090323142446-23886-fed7523b4767323bd9b420b23f3ea88262ccb814.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 ...
|