summaryrefslogtreecommitdiff
path: root/inc/common.php
Commit message (Collapse)AuthorAge
* 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
* Small documentation update for notifyAdrian Lang2009-11-09
| | | | darcs-hash:20091109105238-e4919-9167dfd206edb61de6430316d6d4b9e8a8860f20.gz
* Emit less E_NOTICEs and E_STRICTsAdrian Lang2009-11-04
| | | | | | | | | | | | | 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
* New dformat() function for fuzzy date supportAndreas Gohr2009-10-07
| | | | | | | | | | | | | | | | | | 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
* Added datetime to fuzzy age functionAndreas Gohr2009-10-07
| | | | | | | | Ignore-this: 6d0e4f4fce5911667467f92cefaabaef This still needs to be made accessible within the dtformat config option. darcs-hash:20091007122232-6e07b-bbb6f97ae84bc9aa079fe328665f8164ae119804.gz
* Whitespace cleanup FS#1709furun2009-10-16
| | | | | | Ignore-this: 27ea52110bce929b2c61ed8faba67cfc darcs-hash:20091016205526-c0bf4-35eba4e65d37980a667ba982f7f1ea5b7b07f01c.gz
* require a hash in fetch.php for external URLs FS#1769Andreas Gohr2009-10-06
| | | | | | | | | | Ignore-this: a66fc8874fb8e04b1258f2e71e35ed90 To avoid fetch.php being abused as anonymous forwarder or even proxy, now a hash is needed for external ressources. This hash is automatically added by the ml() function. darcs-hash:20091006182001-7ad00-adf5f6275b0d7f76543f76d6196f1531b8c09e1c.gz
* changed namespace shortening character to ellipsis FS#1734Andreas Gohr2009-07-27
| | | | | | | | Ignore-this: c57d8ca5898c396f6315e8faeeb7c587 Looks like the Windows fonts are far less complete than I thought :-/ darcs-hash:20090727172305-7ad00-1614baf9238c73e489302d7e91ca8495f26ed7f0.gz
* Change expensive uses of split to the much faster explode.Tom N Harris2009-05-28
| | | | darcs-hash:20090528215438-6942e-bf1b875e689ade6bd1a17e3d812ce16bf35c84a6.gz
* Don't check for CSRF attacks when no user is logged in FS#1619Andreas Gohr2009-05-27
| | | | | | | | | | | Ignore-this: 3ef4fafa34a7bbba76435b5db6935b57 There is no need to fight against a privilege stealing attack when the attacked user has no privileges. Skipping the check reenables editing without cookies again. darcs-hash:20090527112243-7ad00-c1acd3161ececf3d922d5842033cb7d3f1910a16.gz
* fixed a spam check hole FS#1620 and made the wordblock check more flexibleAndreas Gohr2009-05-26
| | | | | | Ignore-this: 74d18220baea88b5826d46c78998fa04 darcs-hash:20090526120748-7ad00-b3a0bddc53ba3c6c3b824cfbed15450cc0ec406e.gz
* check if $auth is set in editorinfo() FS#1636Andreas Gohr2009-03-06
| | | | darcs-hash:20090306185717-7ad00-64bc35049667483988dcc3f5b8128f8a5f7f8fe7.gz
* do not close session in auth_logoff FS#1519Andreas Gohr2009-02-10
| | | | | | | | | | | | | | | Ignore-this: b30b94c67baa8a8916dd216424e9473c As auth_logoff is called very early for all not-logged in users it prevented writing the breadcrumbs and might have broken some other things relying on a open session at beginning of the script. auth_logoff now makes sure the session is open but will not close it. Additionally the session is now explicitly closed before a redirect. darcs-hash:20090210100257-7ad00-50470f18edb9fdbeb555fbf5d8a470a3b077915d.gz
* Work around IIS bug for redirects FS#1576Andreas Gohr2009-01-27
| | | | | | | | | | | | | 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
* Media changelog addedmichael2009-01-18
| | | | | | | | There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions. Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten. darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz