History log of /dokuwiki/inc/common.php (Results 301 – 325 of 526)
Revision Date Author Comments
# 5cbeffbf 16-Jul-2010 Marcel Pennewiß <dokuwiki@pennewiss.de>

Strip whitespace from X-FORWARDED-FOR FS#1996


# 85e6871f 14-Jul-2010 Adrian Lang <mail@adrianlang.de>

URL-encode keys as well

Often URL parameter keys contain characters which are not allowed in URIs, like square brackets. Those have to be escaped as well.


# c10dcb7d 26-Jun-2010 Andreas Gohr <andi@splitbrain.org>

Workaround for IE& redirect to hash bug FS#1647

This needs testing. We need feedback from someone where this is
reproducible broken before applying this patch.


# 0181f021 13-Jun-2010 Andreas Gohr <andi@splitbrain.org>

Store undisplayed msg's in session on redirect


# 49cbd23e 28-May-2010 Otto Vainio <otto@valjakko.net>

php_to_byte returns invalid value if unit not set


# 52d6039f 12-Apr-2010 Adrian Lang <lang@cosmocode.de>

Add missing at sign


# f40e778b 11-Apr-2010 andywebber <dokuwiki@andywebber.com>

Add NAME and MAIL macros to notify()


# d535a2e9 31-Mar-2010 stretchyboy <martyn.eggleton@gmail.org>

Fixes variable replacement during _template.txt parsing


# 80fcb268 23-Mar-2010 Adrian Lang <lang@cosmocode.de>

Rewrite wikitext slicing for section edits

This commit adresses two issues:
* rawWikiSlices used to drop the first byte of the suffix (usually a newline,
but custom section edits may not be bo

Rewrite wikitext slicing for section edits

This commit adresses two issues:
* rawWikiSlices used to drop the first byte of the suffix (usually a newline,
but custom section edits may not be bound to newlines)
* con used to insert way too much newlines: the newline that got
dropped by the bug in rawWikiSlices and one additional newline in prefix
and text each if they are not terminated by a newline. Now con only inserts
newlines if there are absolutely no newlines between prefix and text and
text and suffix.

show more ...


# 50e988b1 18-Mar-2010 Andreas Gohr <andi@splitbrain.org>

typo fixed


# d7879495 12-Mar-2010 Andreas Gohr <andi@splitbrain.org>

Merge branch 'requireall'

Conflicts:
inc/fulltext.php


# fe17917e 10-Mar-2010 Adrian Lang <lang@cosmocode.de>

Move & rename HTML_PAGE_FROMTEMPLATE to common.php

The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template
has been read but before performing the template replacements.


# bce53b1f 09-Mar-2010 Adrian Lang <lang@cosmocode.de>

Add missing global declaration


# 544ed901 15-Feb-2010 Daniel Calviño Sánchez <danxuliu@gmail.com>

Disable locking when locktime is zero


# b856f7df 03-Feb-2010 Adrian Lang <lang@cosmocode.de>

USERINFO instead of INFO['userinfo'] in tpl parsing


# 2b1223ec 03-Feb-2010 Adrian Lang <lang@cosmocode.de>

Move page template parsing to an own function


# 0af14a6e 01-Feb-2010 Andreas Gohr <andi@splitbrain.org>

removed more unneeded require_once() calls


# 16905344 31-Jan-2010 Andreas Gohr <andi@splitbrain.org>

first attempt to centralize all include loading

Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and

first attempt to centralize all include loading

Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and Plugin stuff isn't handled by the class loader yet.

show more ...


# 8881fcc9 19-Nov-2009 Adrian Lang <lang@cosmocode.de>

Add events to subscription.


# 5b75cd1f 05-Jan-2010 Adrian Lang <lang@cosmocode.de>

New mail subscription with digest


# 49eb6e38 15-Jan-2010 Andreas Gohr <andi@splitbrain.org>

some more coding standard compliance updates


# e4d8a516 01-Dec-2009 Kazutaka Miyasaka <kazmiya@gmail.com>

temporary workaround against PHP bug #49733

Ignore-this: 286b24e2f71cf179f8a70aba64a42b48

darcs-hash:20091201140148-9b77a-5c79f87861bda812f1bb62de613930a6313cf041.gz


# fde10de4 09-Nov-2009 Adrian Lang <lang@cosmocode.de>

Small documentation update for notify

darcs-hash:20091109105238-e4919-9167dfd206edb61de6430316d6d4b9e8a8860f20.gz


# c66972f2 04-Nov-2009 Adrian Lang <lang@cosmocode.de>

Emit less E_NOTICEs and E_STRICTs

Changes of behaviour are:
* Allow the user name, title & description \e2\80\9c0\e2\80\9d
* Default to Port 443 if using HTTPS
* Set $INFO['isadmin'] and $IN

Emit less E_NOTICEs and E_STRICTs

Changes of behaviour are:
* Allow the user name, title & description \e2\80\9c0\e2\80\9d
* Default to Port 443 if using HTTPS
* Set $INFO['isadmin'] and $INFO['ismanager'] to \e2\80\9cfalse\e2\80\9d even if no user is
logged in
* Do not pass empty fragment field in the event data for event
ACTION_SHOW_REDIRECT
* Handle chunked encoding in HTTPClient

darcs-hash:20091104100115-e4919-5cf6397d4a457e3f98a8ca49fbdab03f2147721d.gz

show more ...


# f2263577 07-Oct-2009 Andreas Gohr <gohr@cosmocode.de>

New dformat() function for fuzzy date support

Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17

It is now possible to use the %f placeholder in $conf['dformat']
to add a fuzzy age string.

Template dev

New dformat() function for fuzzy date support

Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17

It is now possible to use the %f placeholder in $conf['dformat']
to add a fuzzy age string.

Template developers and plugin authors should replace their strftime +
$conf['dformat'] calls with calls to the new dformat() function.

Example:

%Y/%m/%d %H:%M (%f) produces dates like this:

2009/09/16 10:36 (3 weeks ago)

darcs-hash:20091007133614-6e07b-677108d1b43928ef8fd886813e43514507b5e073.gz

show more ...


1...<<11121314151617181920>>...22