summaryrefslogtreecommitdiff
path: root/inc/common.php
Commit message (Collapse)AuthorAge
* bind security token to usernameAndreas Gohr2011-10-15
| | | | | | | This makes the security token more robust agains session fixation attacks. A CSRF warning will no longer abort a page save but lead to the preview mode to avoid information loss when a user logs in during editing (eg in another tab).
* allow page unlocking based on session IDs FS#2262Andreas Gohr2011-10-15
|
* Treat a whitespace-only page as empty and delete it FS#2283Andreas Gohr2011-10-15
|
* More mediamanager reworkingAdrian Lang2011-09-24
|
* mergingKate Arzamastseva2011-08-25
|\
| * Don't delete meta files when pages are deleted, fixes FS#2301Michael Hamann2011-08-19
| | | | | | | | | | | | | | | | As we need to keep all core meta files anyway (the only core file that had been deleted but shouldn't be deleted is the .indexed file) and plugins can keep care of their own metadata files using the IO_WIKIPAGE_WRITE event there is no reason for using the expensive metaFiles() function during the deletion of pages.
* | recent changes fixKate Arzamastseva2011-06-10
| |
* | media version saving fixesKate Arzamastseva2011-06-05
| |
* | media revisions in recent changesKate Arzamastseva2011-06-04
|/
* Change when metadata is rendered - only when really neededMichael Hamann2011-05-08
| | | | | | | | | | | | | | | | | | | | | | This changes the cache logic for metadata. It introduces a new mode that tries to avoid rendering the page again for simple requests but still updates the metadata when the page has been changed (but not when the cache timeout has been reached or purge is used). It simply compares the time of the last rendering with the last modified time of the page. The old boolean $render parameter has been changed into an int with three possible values. Compatibility for the old parameter is provided using a check with is_numeric using the following mapping: - false is still don't render (0 is the new value for that) - true is using that new render logic which means that many plugins will still work unchanged even if they request a lot of data using $render=true (1 is the new value for that providing full compatibility in the case 1 has been used instead of true) The default value for p_get_first_heading is now that new simple cache logic, the default value for getting metadata is the cache logic which should be used with care but is the only way to request (rendered) metadata that can change because of plugin installations or upgrades.
* Remove deprecated call-time pass-by-reference in inc/common.phpMichael Hamann2011-04-27
| | | | | The value is still passed by reference as the parameter of the called function is declared as reference.
* Fix namespace template loading (load $data['tplfile'] instead of $data['tpl'])Michael Hamann2011-02-07
|
* handle link local and localhost IPv6 addresses in clientIP FS#2138Andreas Gohr2011-02-06
|
* Replace COMMON_PAGE_FROMTEMPLATE with COMMON_PAGETPL_LOAD eventAndreas Gohr2011-02-03
| | | | | | | | | | | | As discussed on the mailing list [1] this patch replaces the COMMON_PAGE_FROMTEMPLATE with a more flexible event to better intercept page template use. Plugin authors need to change their plugins. Details on the event are available at [2] [1] http://www.freelists.org/post/dokuwiki/COMMON-PAGE-FROMTEMPLATE-event [2] http://www.dokuwiki.org/devel:event:common_pagetpl_load
* Remove trailing whitespace in buildAttributes outputAdrian Lang2011-01-12
|
* Allow a prefix for subject of sent mails (Close FS#2021)Guy Brand2010-12-31
|
* Revert "Fix for $conf['breadcrumbs'] < 0, FS#2107", new fixMichael Hamann2010-11-30
| | | | | | | This reverts commit 4871414204799044c31aa2764c4b4ca020e2331d. Additionally there is a new fix for FS#2107 that doesn't introduce a lot of checks but instead ensures that the configuration option can't be set to negative values when the configuration manager is used.
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* Fix for $conf['breadcrumbs'] < 0, FS#2107Michael Hamann2010-11-26
| | | | | | This fixes an infinite loop in breadcrumbs() and makes the behaviors in all places where breadcrumbs are used consistent so that non-numeric values, values < 0 and 0 are treated the same way.
* Merge branch 'sitemap'Michael Hamann2010-11-12
|\
| * Merge branch 'master', remote branch 'sitemap/master'Michael Hamann2010-11-02
| |\
| | * Merge remote branch 'origin/master' into sitemapMichael Hamann2010-10-10
| | |\
| | * | Sitemap rewriteMichael Hamann2010-09-22
| | | |
* | | | handle mailfrom replacements in a central place FS#2091Andreas Gohr2010-11-05
|/ / /
* | / Correctly handle non-default sepchars in page templates (FS#2057)Adrian Lang2010-10-11
| |/ |/|
* | Truncate wiki name in sent mail (FS#2021)Guy Brand2010-10-03
| |
* | FS#1928: Keep mlist file upon page deletion to persist subscribers for later ↵Gina Haeussge2010-10-02
| | | | | | | | | | | | recreation and allow notification of subscribers of page deletion.
* | Small fixes / cleanupAdrian Lang2010-09-28
|/
* Strip whitespace from X-FORWARDED-FOR FS#1996Marcel Pennewiß2010-07-16
|
* URL-encode keys as wellAdrian Lang2010-07-15
| | | | Often URL parameter keys contain characters which are not allowed in URIs, like square brackets. Those have to be escaped as well.
* Workaround for IE& redirect to hash bug FS#1647Andreas Gohr2010-06-26
| | | | | This needs testing. We need feedback from someone where this is reproducible broken before applying this patch.
* Store undisplayed msg's in session on redirectAndreas Gohr2010-06-13
|
* php_to_byte returns invalid value if unit not setOtto Vainio2010-06-07
|
* Add missing at signAdrian Lang2010-04-12
|
* Add NAME and MAIL macros to notify()andywebber2010-04-11
|
* Fixes variable replacement during _template.txt parsingstretchyboy2010-03-31
|
* Rewrite wikitext slicing for section editsAdrian Lang2010-03-23
| | | | | | | | | | | 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.
* typo fixedAndreas Gohr2010-03-18
|
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * removed more unneeded require_once() callsAndreas Gohr2010-02-01
| |
| * first attempt to centralize all include loadingAndreas Gohr2010-01-31
| | | | | | | | | | | | | | | | 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.
* | Move & rename HTML_PAGE_FROMTEMPLATE to common.phpAdrian Lang2010-03-10
| | | | | | | | | | The new COMMON_PAGE_FROMTEMPLATE is triggered by pageTemplate AFTER the template has been read but before performing the template replacements.
* | Add missing global declarationAdrian Lang2010-03-09
| |
* | Disable locking when locktime is zeroDaniel Calviño Sánchez2010-02-15
| |
* | USERINFO instead of INFO['userinfo'] in tpl parsingAdrian Lang2010-02-03
| |
* | Move page template parsing to an own functionAdrian Lang2010-02-03
|/
* Add events to subscription.Adrian Lang2010-01-20
|
* New mail subscription with digestAdrian Lang2010-01-20
|
* some more coding standard compliance updatesAndreas Gohr2010-01-15
|
* temporary workaround against PHP bug #49733Kazutaka Miyasaka2009-12-01
| | | | | | Ignore-this: 286b24e2f71cf179f8a70aba64a42b48 darcs-hash:20091201140148-9b77a-5c79f87861bda812f1bb62de613930a6313cf041.gz