History log of /dokuwiki/inc/pageutils.php (Results 126 – 150 of 164)
Revision Date Author Comments
# ff3ed99f 23-Aug-2006 marcel <marcel@rucksackreinigung.de>

Added bz2 compression support for Attic

darcs-hash:20060823211149-9c1ae-569f295c33dc798a429a373f48cb09122334ea29.gz


# 03c4aec3 04-Aug-2006 chris <chris@jalakai.co.uk>

unittest fixes

darcs-hash:20060804142243-9b6ab-d208f7f1a67a9958fda05c519c8407ad5e733cea.gz


# 0ac9a84d 01-Aug-2006 oliver <oliver@samera.com.py>

http_conditionalRequest clean-up

darcs-hash:20060801041118-b3fbc-9240577694a28b3d4829a9c7ae1014f69d6422a9.gz


# 662ff478 07-Jul-2006 Andreas Gohr <andi@splitbrain.org>

using md5 in wikiLockFN

sha1 may not be available in all installs and md5 is sufficient for the job

darcs-hash:20060707115543-7ad00-c7216f7c5f5a3908124c8cc13a06e31cb1eb883d.gz


# 2844584f 05-Jul-2006 Ben Coburn <btcoburn@silicodon.net>

optimize noNS

darcs-hash:20060705114601-05dcb-e8fda6653d8d085591d578f24d3677b29f09fa01.gz


# c9b4bd1e 05-Jul-2006 Ben Coburn <btcoburn@silicodon.net>

refactor wiki page edit locking

- Adds a new function in 'inc/pageutils.php', wikiLockFN($id)
- All page edit locks should now be created with the file name
generated by wikiLockFN($id).

refactor wiki page edit locking

- Adds a new function in 'inc/pageutils.php', wikiLockFN($id)
- All page edit locks should now be created with the file name
generated by wikiLockFN($id).
- wikiLockFN
- Generates wiki page editing locks in the 'data/locks'
directory where they belong.
- This avoids polluting the 'data/pages' directory with lock files,
which were causing namespaces to be created before they logically
should exist.

darcs-hash:20060705033135-05dcb-8eac316587cd54c6ebd861fe7b15975d90b0e4dc.gz

show more ...


# 796bafb3 18-Jun-2006 Andreas Gohr <andi@splitbrain.org>

updated hierarchical breadcrumbs

Third part of the global start series

darcs-hash:20060618113532-7ad00-46a62cc819c41ead8a16bc3f6c6d1bf67d9c6bf4.gz


# a6ef4796 11-Jun-2006 Andreas Gohr <andi@splitbrain.org>

namespace linking first part

This patch adds namespace linking - formerly known as globalstart patch.

It differs somewhat from the original patch. It is not implemented in getID()
but in resolve_pa

namespace linking first part

This patch adds namespace linking - formerly known as globalstart patch.

It differs somewhat from the original patch. It is not implemented in getID()
but in resolve_pageid().

It is now possible to link to a "default" file of a namespace ending the linkid
with a colon: [[foo:bar:]]

To which page the link links is dependent on the xistance of certain named
files. For the above mentioned link [[foo:bar:]] the following pages are checked:

foo:bar:start
foo:bar:bar
foo:bar

The pages are checked in the order above whatever page is found first will be
linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is
the value configured in $conf['start']

Note: autoplural linking is not done for those links

This is just the first patch. Several other locations of the code need to be
adjusted to reflect this change and some testing needs to be done (first test
cases are supplied within the patch bundle)

Things that maybe need adjustment:

- tpl_youarehere (hierarchical breadcrumbs)
- tpl_button back
- maybe others (search?)

Patches would be welcome. The best aproach to fix things that don't work is
probably making calls to resolve_pageid() instead of simple cleanID() calls.

darcs-hash:20060611184453-7ad00-ba70b0fcf2cb64d4d4f0ce6bd6e437595cd947d3.gz

show more ...


# c4e0e4a1 14-Apr-2006 Andreas Gohr <andi@splitbrain.org>

relative upper links

Now allows links like [[..:..:page]]

darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz


# 254e5c84 15-Mar-2006 Ben Coburn <btcoburn@silicodon.net>

refactored http_conditionalRequest($timestamp) to inc/pageutils.php

darcs-hash:20060315064506-05dcb-92833a95f37a43ef50e6b993930ac9d25caed81f.gz


# 98c86858 17-Feb-2006 Andreas Gohr <andi@splitbrain.org>

file cleanups

This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)

It converts files to UNIX lineendings and removes

file cleanups

This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)

It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.

darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz

show more ...


# 8a831f2b 10-Feb-2006 Andreas Gohr <andi@splitbrain.org>

romanization support in utf8 library

This patch addes basic romanization support to the utf-8 library. It
converts non-latin languages to ASCII.

The transliteration tables used where gathered from

romanization support in utf8 library

This patch addes basic romanization support to the utf-8 library. It
converts non-latin languages to ASCII.

The transliteration tables used where gathered from various places
on the net. I do not speak any of those languages so I can't say how
good they are. Any recommendations and fixes are welcome!

This can be enabled for ID cleaning by setting the deaccent option to 2.
It is also used in the XHTML renderer to generate section ids based
on the header titles. Leading digits and any remaining non-ASCII chars
are removed as well. This is the first step to make section ID always
XHTML compatible. Making sure they are unique is not implemented yet.

darcs-hash:20060210200627-7ad00-61a633563bb92a00ef4a3f699d73117139cbf367.gz

show more ...


# 0868021b 03-Feb-2006 Andreas Gohr <andi@splitbrain.org>

fix special char ID handling

A given ID consisting of special chars only (either added manually in the URL
or in the search box) will be ignored correctly now.

darcs-hash:20060203153945-7ad00-60fc3

fix special char ID handling

A given ID consisting of special chars only (either added manually in the URL
or in the search box) will be ignored correctly now.

darcs-hash:20060203153945-7ad00-60fc38b49604f45bb2ca912a9c76c619ad60ac44.gz

show more ...


# ad81d431 27-Nov-2005 Andreas Gohr <andi@splitbrain.org>

Wildcardsearch added #552 #632

Now searching for word parts is possible by adding or prepending a *
character to the searchword:

'foo*' searches for words beginning with 'foo' eg. 'foobar'
'*foo' l

Wildcardsearch added #552 #632

Now searching for word parts is possible by adding or prepending a *
character to the searchword:

'foo*' searches for words beginning with 'foo' eg. 'foobar'
'*foo' looks for words ending in 'foo' eg. 'barfoo'
'*foo*' gets anything with 'foo' in it eg. 'barfoobaz'

darcs-hash:20051127180723-7ad00-1eb29e812ddaf38d9812697bb1cffffe9a5fb330.gz

show more ...


# 0dc92c6f 03-Nov-2005 Andreas Gohr <gohr@cosmocode.de>

hidepages configoption

This new option accepts a RegExp to filter certain pages from all automatic
listings (RSS, recent changes, search results, index). This is useful to
exclude certain pages like

hidepages configoption

This new option accepts a RegExp to filter certain pages from all automatic
listings (RSS, recent changes, search results, index). This is useful to
exclude certain pages like the ones used in the sitebar templates. The
regexp is matched against the full page ID with a leading colon. If it
matches the page is assumed to be a hidden one.

IMPORTANT: this is not related to ACL. A hidden page is still visible to all
users (if not restricted by ACL) when linked or called directly.

darcs-hash:20051103101726-6e07b-8d45912a1b4f6cfc9e3fce147c15f84a58ea7ca2.gz

show more ...


# 42905504 21-Oct-2005 Andreas Gohr <andi@splitbrain.org>

some fixes for getID and the detail page

darcs-hash:20051021212304-7ad00-f01b3954b6b71ecc9e0cf899ed62bfb33e0c437e.gz


# 81124000 18-Oct-2005 jan <jan@jandecaluwe.com>

fix script url for basedir and urlrewrite

darcs-hash:20051018093844-45605-3e2e726159a92f328a5ea61d295bf7d42a3e7e2e.gz


# c25a7c81 30-Sep-2005 Andreas Gohr <andi@splitbrain.org>

make sure $conf['start'] is a valid pagename #567

darcs-hash:20050930160928-7ad00-d3b2e2d7447eb93b6a39262221b8dbb131c698c9.gz


# 5c248883 20-Sep-2005 jan <jan@jandecaluwe.com>

basename instead of basedir

darcs-hash:20050920151530-45605-53d07bfd3467f40f809296d983676b6e7c1a7756.gz


# 4eeffcd2 15-Sep-2005 Andreas Gohr <andi@splitbrain.org>

small fix for sepchar patch if useslash is disabled

darcs-hash:20050915150613-7ad00-8a42bb1d0eb5926ebc2f273d8416df87acfc6a11.gz


# 4b5db43b 15-Sep-2005 joe.lapp <joe.lapp@pobox.com>

$conf['sepchar'] support

Allows user to select the word separation character in page names.

darcs-hash:20050915012947-36b45-3d6b53cda05a7d7c2eb3497f4732f7492a63e9aa.gz


# 5011da9d 27-Aug-2005 Esther Brunner <esther@kaffeehaus.ch>

small fix for metaFiles() function

darcs-hash:20050827113345-283c4-39bc5ad9653004d709c5ec37deccb10c78cc2cfc.gz


# 1a54dfab 18-Aug-2005 Esther Brunner <esther@kaffeehaus.ch>

fix for incorrect comparison in metaFiles()

darcs-hash:20050818181531-283c4-10490cd5bf3e8ecaa73673f67c3001c3c2230c78.gz


# 877d5bc2 18-Aug-2005 chris <chris@teacherscpd.co.uk>

cleanID fix

darcs-hash:20050818150303-50fdc-6428afd27509ca3d10aa887ab8925fc82f6943ba.gz


# e1f3d9e1 16-Aug-2005 Esther Brunner <esther@kaffeehaus.ch>

delete meta files on page deletion

darcs-hash:20050816182201-283c4-75638010c1f75cfb7e905bca5647253084e69323.gz


1234567