History log of /dokuwiki/inc/pageutils.php (Results 101 – 125 of 164)
Revision Date Author Comments
# af2408d5 27-Jan-2009 Andreas Gohr <andi@splitbrain.org>

Work around IIS bug for redirects FS#1576

Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f

When IIS is running PHP in CGI mode it will not send cookie headers on 302
redirections. This is a known bug

Work around IIS bug for redirects FS#1576

Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f

When IIS is running PHP in CGI mode it will not send cookie headers on 302
redirections. This is a known bug (KB176113).

This patch will detect affected servers. Instead of a 302 redirect a Refresh:
header is issued. This is supported by all known browsers should have the same
effect as a real redirect.

darcs-hash:20090127204506-7ad00-ce474f3b0db003e86e09d5e9a9bd7c96887ac01c.gz

show more ...


# 98bda4fd 22-Jan-2009 Andreas Gohr <andi@splitbrain.org>

fixed multiple gzip/sendfile problems in css and js dispatchers FS#1571

- Avoid double compression when gzip_output is enabled
- Only compress when gzip_output is enabled
- Do not use x-sendfile for

fixed multiple gzip/sendfile problems in css and js dispatchers FS#1571

- Avoid double compression when gzip_output is enabled
- Only compress when gzip_output is enabled
- Do not use x-sendfile for compressed content (content-encoding is not supported)
- Make sure the script terminates after using x-sendfile
- Moved gzip browser support check to init.php

darcs-hash:20090122215010-7ad00-765765d353ff78df5b8704086328c5c699bbe7e0.gz

show more ...


# ca2b464b 18-Jan-2009 Chris Smith <chris.eureka@jalakai.co.uk>

Add capability to send pre-compressed js & css files if the browser can accept them

- save a gzipped version of js & css files at the same time as the uncompressed version is cache
- basic content n

Add capability to send pre-compressed js & css files if the browser can accept them

- save a gzipped version of js & css files at the same time as the uncompressed version is cache
- basic content negotiation to send the compressed files
- uses sendfile (for compressed or uncompressed versions) if config indicates its available

darcs-hash:20090118184354-f07c6-66c5b465ab147d83de409708bab2c47d1dafcf8d.gz

show more ...


# 6106ad89 18-Jan-2009 Chris Smith <chris.eureka@jalakai.co.uk>

add http_sendfile() function

- update fetch.php to use the new function

darcs-hash:20090118183600-f07c6-65c818bba58fab8856c9f353ff4953ead9b5221e.gz


# 443d207b 26-Dec-2008 Andreas Gohr <andi@splitbrain.org>

fixed PHP4 incompatibility in sectionID() FS#1553

darcs-hash:20081226161244-7ad00-8c843ea6a06a0d36fc322d109497239ab6ea229c.gz


# 4ceab83f 01-Dec-2008 Andreas Gohr <andi@splitbrain.org>

Better creation of section IDs FS#1536

This patch enhances the creation of section IDs for number only headlines. It
also moves section ID creation to a function in pageutils.php removing some
dupli

Better creation of section IDs FS#1536

This patch enhances the creation of section IDs for number only headlines. It
also moves section ID creation to a function in pageutils.php removing some
duplicate functionality in inc/action.php

darcs-hash:20081201215539-7ad00-48f3c153a2c126d9fb06aa90e4f1b857f76ebec7.gz

show more ...


# e6a873d7 11-Oct-2008 Michael Klier <chi@chimeric.de>

do not hide pages when ACT

darcs-hash:20081011162901-23886-c2ed10a43f6968703ac11be4e33d19af2b1137d8.gz


# 63b0c1a7 11-Oct-2008 Gina Haeussge <osd@foosel.net>

Fix for FS#1230

darcs-hash:20081011153646-2b4f5-4e4320b4bcb819e96a1ac7b8a83755c659b901b8.gz


# 3a50618c 04-Aug-2008 gweissbach <gweissbach@inetsoftware.de>

Explicite TypeCast for searchIndex

Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.

Secondly the inc

Explicite TypeCast for searchIndex

Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.

Secondly the include plugin requires the auth.php to be present. As some other
plugins might use quick-acl or the $auth too, indexer.php should require the auth.php
just as the lib/exe/indexer.php does.

darcs-hash:20080804112444-f4337-e12f25329236689b05e31f0db2119e47660a9404.gz

show more ...


# 6a5b38cd 26-Mar-2008 Michael Klier <chi@chimeric.de>

fixed metaFiles()

darcs-hash:20080326192614-23886-3e4ad4a2392e1ba4cc0dc7ce2a6a67e001a923a4.gz


# fa05a45f 13-Mar-2008 Chris Smith <chris.eureka@jalakai.co.uk>

correct missing '/' between directory and filename in metaFiles() return value

darcs-hash:20080313213021-f07c6-f81c4638918b6a9eafc594f10bb6383975333769.gz


# fc39f9b4 22-Jan-2008 Jens Wilke <jw_list@headissue.com>

fix problems with gzip compression

darcs-hash:20080122185828-1ec87-37d8149991d56d3b924634598e57ef2d0b6562a8.gz


# 103c256a 30-Sep-2007 Chris Smith <chris@jalakai.co.uk>

add page_exists function (inc/pageutils.php)

bool page_exists($id, $rev

darcs-hash:20070930021040-d26fc-e3847bfdd20a36154685262eca94211cfd461e83.gz


# c662a49a 09-Jul-2007 Andreas Gohr <andi@splitbrain.org>

fix ID resolving with useslash FS#1176

darcs-hash:20070709183346-7ad00-1bac56195b99f05017a2c3623ae84b61769da85b.gz


# 7a42ac9e 26-May-2007 Ben Coburn <btcoburn@silicodon.net>

Fix infinite page redirects in getID

Fix infinite page redirects in getID
Loading "start:" was causing a loop of page redirects.
Page IDs like "start:" now resolve correctly
to an ID like "start".

Fix infinite page redirects in getID

Fix infinite page redirects in getID
Loading "start:" was causing a loop of page redirects.
Page IDs like "start:" now resolve correctly
to an ID like "start".

darcs-hash:20070526094501-05dcb-eac8e908ecda8820aa0ef66760786b2094395fe2.gz

show more ...


# 1a84a0f3 31-Mar-2007 Anika Henke <a.c.henke@arcor.de>

fix for breadcrumbs and "namespace:start" pages (FS#927) by Nathan Fritz <fritzn@crown.edu>

darcs-hash:20070331213401-d5083-2c30028ab1c81465b0295106ce6a52ce18ad87cf.gz


# 671a58a6 30-Mar-2007 Guy Brand <gb@isis.u-strasbg.fr>

Namespace autolinking from URL (FS#991 fix)

You can now request doku.php?id

darcs-hash:20070330212802-19e2d-d1988ade1a9cd5f898ecb0a55d09860d0193a84d.gz


# 6d88439a 24-Feb-2007 Andreas Gohr <andi@splitbrain.org>

return time in GMT for conditional requests #1081

darcs-hash:20070224122418-7ad00-df595caf9d861bc6b4e5bf2d478df890b6f5bf7a.gz


# 1179df0e 17-Feb-2007 Guy Brand <gb@isis.u-strasbg.fr>

Fix namespace links and titles (FS 1005, 1006)

darcs-hash:20070217220746-19e2d-76c857902d24301707eb783ced96f25c00526659.gz


# d8186216 08-Sep-2006 Ben Coburn <btcoburn@silicodon.net>

suppress boring errors

Suppress any errors from set_time_limit,
unlink, and file_exists functions.
see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html

darcs-hash:20060908193433-05

suppress boring errors

Suppress any errors from set_time_limit,
unlink, and file_exists functions.
see: http://www.freelists.org/archives/dokuwiki/09-2006/msg00004.html

darcs-hash:20060908193433-05dcb-013617431870ab5bfb2ce8c6e99ba5af13493228.gz

show more ...


# 19a32233 29-Aug-2006 chris <chris@jalakai.co.uk>

further update to global memory cache arrays

- remove initialisation of caches in inc/pageutils.php
- add global declaration to init.php to support init.php
being included from within a function,

further update to global memory cache arrays

- remove initialisation of caches in inc/pageutils.php
- add global declaration to init.php to support init.php
being included from within a function, e.g. unit testing

;-)

- minor change to utf8_substr, remove non-essential brackets
added as part of an earlier patch

darcs-hash:20060829134806-9b6ab-ab15191344a83be664c412403dc84a24fa2253a2.gz

show more ...


# 50602150 28-Aug-2006 Ben Coburn <btcoburn@silicodon.net>

init global memory cache arrays

Update to 'add function result caching for cleanID and wikiFN'.
Makes certain that arrays exist for the caches, without checking on each function call.
Properly creat

init global memory cache arrays

Update to 'add function result caching for cleanID and wikiFN'.
Makes certain that arrays exist for the caches, without checking on each function call.
Properly create multidimensional arrays in wikiFN().

darcs-hash:20060828071205-05dcb-7c8dbdb5ea4e7b73808ec3bd9222df1b837d3a1f.gz

show more ...


# dc2c0e04 27-Aug-2006 chris <chris@jalakai.co.uk>

update cleanID and wikiFN result caches to support unit testing

- move caches into global scope (they were static in function scope)
- add teardown() method to clean_id unit test - to clear its cach

update cleanID and wikiFN result caches to support unit testing

- move caches into global scope (they were static in function scope)
- add teardown() method to clean_id unit test - to clear its cache

darcs-hash:20060827183327-9b6ab-cf9beb2ca6c47142dfaad3117d7c86748a54312c.gz

show more ...


# 6e0cc83a 27-Aug-2006 chris <chris@jalakai.co.uk>

add function result caching for cleanID and wikiFN

darcs-hash:20060827153352-9b6ab-651decb2566f16334218c6782edc6c7d47b41e13.gz


# 0d8ea614 25-Aug-2006 chris <chris@jalakai.co.uk>

update wikiFN with third paramter, $clean

value defaults to true

patch also includes an update to idx_parseIndexLine to make use of the
new parameter - the index file (if built by DokuWiki's method

update wikiFN with third paramter, $clean

value defaults to true

patch also includes an update to idx_parseIndexLine to make use of the
new parameter - the index file (if built by DokuWiki's methods) will
contain already "clean" IDs.

darcs-hash:20060825144112-9b6ab-55adc71cf55bb58468fb3f0b03b9001ab149a82b.gz

show more ...


1234567