summaryrefslogtreecommitdiff
path: root/inc/common.php
Commit message (Collapse)AuthorAge
...
* Added bz2 compression support for Atticmarcel2006-08-23
| | | | darcs-hash:20060823211149-9c1ae-569f295c33dc798a429a373f48cb09122334ea29.gz
* bugfix for getRevisionsAndreas Gohr2006-07-11
| | | | | | | This fixes a bug where the list of old revisions isn't build correctly if pagename exists within another one. darcs-hash:20060711191433-7ad00-d8d2a1f072e5874f63a5d82c905920a496d4212a.gz
* IO action eventsBen Coburn2006-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | Adds page and namespace events: IO_WIKIPAGE_READ IO_WIKIPAGE_WRITE IO_NAMESPACE_CREATED IO_NAMESPACE_DELETED The namespace events are purely advisory, while the wikipage events allow page content to be modified between DokuWiki and the disk. These events are primarily intended to simplify keeping other tools in sync with the semantic structure of a DokuWiki site. As an added benefit, the events allow plugins to conduct automated processing of raw wiki page content. The namespace events cover the separate namespace trees for both pages and media. The "name" of the tree that the event belongs to is included in the event data. darcs-hash:20060705105652-05dcb-f44024e852a2adf1a14b8a7d69c46db067e72307.gz
* refactor wiki page edit lockingBen Coburn2006-07-05
| | | | | | | | | | | | | | - 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
* aspell fix #836Andreas Gohr2006-06-16
| | | | darcs-hash:20060616154906-7ad00-6ace887070a70fda5f898f241aebb639230b53d8.gz
* register notify #826Sebastian Harl2006-06-15
| | | | | | | A small patch for dokuwiki which enables dokuwiki to notify the administrator about new user registrations darcs-hash:20060615194419-022eb-51630aff3c6d93abc656742fc0bc723b93f97734.gz
* fix php warning in common.php during getRevisionschris2006-06-01
| | | | | | | | A php warning can occur when the page name used in a revision check clashes with a namespace (sub-directory) in the same directory. The strpos() call generates the warning as the offset used is longer than the directory name. darcs-hash:20060601212928-9b6ab-2d9399ba71fbfcae6e797977476e2f5daa50cf7f.gz
* getRevisionInfo much faster (cached)Ben Coburn2006-05-25
| | | | | | | | | | | | Makes getRevisionInfo much faster when loading all the revisions of a page. This is done by efficiently parsing the 'changes.log' data and caching the results (in memory) so that future calls to getRevisionInfo return immediately without reloading the 'changes.log' file. (Note: the changelog system in DokuWiki should still be rewritten so that changes are not logged into one huge file!) darcs-hash:20060525083202-05dcb-8c0eea695055b51a218a0e311169cda0bb0d4363.gz
* makes getRevisions fasterBen Coburn2006-05-25
| | | | | | | Makes inc/common.php#getRevisions a little faster. Takes about half as much time as the preg_match. darcs-hash:20060525030452-05dcb-dbff9f9c134a425669ff6a477612737b022fb6bd.gz
* new metadata renderer; functions p_get_metadata() and p_set_metadata()Esther Brunner2006-04-15
| | | | darcs-hash:20060415104627-283c4-c7d35620fc9dbc21b8a47089692b76d35a9f9ca8.gz
* magpie files removedAndreas Gohr2006-04-14
| | | | darcs-hash:20060414110517-7ad00-a942f845647f301255365b162a22826cd9a983f6.gz
* small fix for getRevisionInfoYann2006-04-10
| | | | darcs-hash:20060410190409-919ab-f77447b1cb1b8de6e2a5790519d4aafc7baa577b.gz
* rewrite export URLsBen Coburn2006-04-05
| | | | | | | | | | | | | | | | | | | This patch rewrites export urls so that robots.txt can be used to request that some (or all) export types are ignored by robots when indexing the wiki. For example: User-agent: * Disallow: _export/ or for example: User-agent: * Disallow: _export/raw/ Note: This rewriting is only done when $conf['userewrite'] is set to '1' for using the rewrite rules from '.htaccess.dist'. darcs-hash:20060405025621-05dcb-b1b5f48681f78d75d25b1e75fab79346fcc8b84e.gz
* move hsc() & ptln() functions from template.php to common.phpchris2006-04-03
| | | | darcs-hash:20060403202815-9b6ab-1b499148333458ee8acb68b5e38ca72d3b1c9b3c.gz
* dichotomic search for getRevisionInfoYann2006-03-17
| | | | darcs-hash:20060317175725-919ab-396129b63c7077477c6d7bad1d7244bd7f0770cd.gz
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | DokuWiki now automatically creates a draft file of the currently edited page. In case of an editing interuption (eg. Browsercrash) the draftfile can be continued later. darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz
* enhanced clientIP() functionAndreas Gohr2006-03-11
| | | | | | | | The function now can optinally return a single IP address and tries to be clever about which one to choose if multiple were supplied through X-Forwarded-For headers darcs-hash:20060311185752-7ad00-085bbed7eeffcff0be8f45417d73c13b733c4332.gz
* Postgres backend for new OO authAndreas Gohr2006-03-01
| | | | darcs-hash:20060301223021-7ad00-868d32088de468523c63c4cc7e44869331dfc4b9.gz
* unlock a page directly after deletionAndreas Gohr2006-02-28
| | | | | | This should fix a problem making sweepNS() never work darcs-hash:20060228204811-7ad00-79cca976993d8fa662b94fe683b898985d0dc774.gz
* Fix umask bug and do a code cleanup of chmod/mkdir usage so set the correct ↵Troels Liebe Bentsen2006-02-24
| | | | | | | | | | | permissions, this should also fix problems with dokuwiki making setuid files on some umasks. * Don't set the umask() anymore, this is not good form and we don't really know what is it in the old code anyway as it was not done properly. * Retire the dmask config option introduce 2 new ones called fmode and dmode, this is more in line with posix and should make more sense. * Use chmod for setting the correct permissions but only if it's needed. * Set changing of permissions off by default as i should work properly in most Apache setups without and it does not make sense on windows anyway. darcs-hash:20060224211655-ee6b9-68f7bb59417d6f0033cfd3764146923daa4dcf1b.gz
* mor conservative chunksize for wordblock patternsizeAndreas Gohr2006-02-19
| | | | darcs-hash:20060218232226-7ad00-2835d47a97fb12a04055b8145de26c8406f78a99.gz
* update wl,ml,buildURLParams with optional separator string, update config ↵chris2006-01-31
| | | | | | plugin redirect with new wl(), add meta & lang details for $conf['resendpasswd'] darcs-hash:20060130232818-9b6ab-2f395bc25c536b06bb5ade616a8252060ecb5278.gz
* oo auth update - remove legacy auth remnants, add auth->canDochris2006-01-25
| | | | darcs-hash:20060125000125-9b6ab-9853f11e04d8ea93235317fa8137cef079eb2641.gz
* adds support for wordblock.local.confchris2006-01-22
| | | | darcs-hash:20060122011249-9b6ab-fdd9188322e1dc4441562a905ac481f66b703db2.gz
* urlencode -> rawurlencode (related to #685)Andreas Gohr2006-01-21
| | | | | | | | This changes nearly all occurences of urlencode to rawurlencode. The latter encodes spaces as %20 while the former uses a + sign. For the use in browser URLs %20 is the correct form. darcs-hash:20060121192747-7ad00-6563b77368a41f071609495c6a145982938a8301.gz
* Small patch to recent changes listWolfgang Ocker2006-01-09
| | | | | | | In the "recent changes" list I've seen some artefacts. This patch fixes them. darcs-hash:20060109211929-6ddad-2f467e426b661fb978160c0bfd419abd50537931.gz
* fix for wrong include path #651Andreas Gohr2005-12-03
| | | | darcs-hash:20051203131815-7ad00-b45dfcae203764658deb80e0b18b9ddc0cfba37b.gz
* hidepages configoptionAndreas Gohr2005-11-03
| | | | | | | | | | | | | 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
* fixed darcs patchset guessing in version checkAndreas Gohr2005-10-27
| | | | darcs-hash:20051027183521-7ad00-08b33c7960975925fdb001476bd14124e9ff3f51.gz
* option for disabling debug outputAndreas Gohr2005-10-27
| | | | darcs-hash:20051027183410-7ad00-5ca48cf2d4058016f5cf07887d9eaa7b07a4043f.gz
* use REMOTE_USER for username if nothing else available #587Andreas Gohr2005-10-22
| | | | darcs-hash:20051022100740-7ad00-29869f9ced046d42d4f0a2fc484d37b85801108f.gz
* no subscribermails for minor editsAndreas Gohr2005-10-02
| | | | darcs-hash:20051002125342-7ad00-42c9155d81a7799f24ec02f6aac210d2ea818e51.gz
* minor edit checkboxAndreas Gohr2005-10-02
| | | | | | | | | This patch adds a minor edit checkbox to the edit form for logged in users. Minor edits are displayed different in recent changes and the page revision history. The RSS feed excludes minor edits by default - this can be changed by adding a minor darcs-hash:20051002113255-7ad00-2bc9e1aaa76d9616428e760529ecc14ef119cf71.gz
* SECURITY FIX: acl check in _getRecents addedAndreas Gohr2005-09-25
| | | | | | | ACLs weren't checked in the new getRecent function. Recent Changes and the RSS/ATOM feeds displayed all changes regardless of user permissions. darcs-hash:20050925095612-7ad00-5885e6616a4214eb99662eac08267b0a6f527625.gz
* more efficient changelog reading for recent changesAndreas Gohr2005-09-18
| | | | | | | | | | | getRecents now reads the changelog backwards in 4KB chunks instead of loading the whole file into an array and rsort it. This should be more memory efficient (and probably faster) for large change logs. Note: the format of the array returned by getRecents changed slightly plugins relying on it need to be adjusted. Sorry. darcs-hash:20050918121008-7ad00-1fdba47d29b0c038c6e4e4edc1d4c93e5ba769e9.gz
* fix for pageinfo() - remove redundant lineschris2005-09-14
| | | | darcs-hash:20050914115601-50fdc-936861fc195a76cb65a20ea9ccd2fca482cfc169.gz
* always read VERSION from DOKU_INCAndreas Gohr2005-09-12
| | | | darcs-hash:20050911221041-7ad00-0e40a42e73cc32813f315f84565749d61b604a7d.gz
* function obfuscate($email) moved to common.php; used in parser and some pluginsEsther Brunner2005-09-02
| | | | darcs-hash:20050902150527-283c4-dae58038c70aacb000f535e8173fa263ba774f52.gz
* exclude subnamespaces from recents: added optional fifth parameterEsther Brunner2005-09-01
| | | | darcs-hash:20050901130231-283c4-fd31cb63033acaf11787d965b285fbfeb36f2a84.gz
* Namespace filtering for recent changesEsther Brunner2005-08-30
| | | | darcs-hash:20050830202115-283c4-2a186854aa11e2e6e5a12da39dcd90c8723e2c90.gz
* Replacement Patterns for pageTemplate()Esther Brunner2005-08-30
| | | | darcs-hash:20050830194701-283c4-cee46936501b270fc8e5def2ea53ee7dbe13b7ef.gz
* fix for breaking singlequote in searchhighlight #519Andreas Gohr2005-08-30
| | | | darcs-hash:20050830181651-7ad00-c8ba03edc14cbe64c1572216bad0748d90a87f5e.gz
* ml() bugfix - images were broken with no rewritingEsther Brunner2005-08-16
| | | | darcs-hash:20050816182528-283c4-1434bdd2e4c04202d2ccb36a987223fd6510cc6a.gz
* delete meta files on page deletionEsther Brunner2005-08-16
| | | | darcs-hash:20050816182201-283c4-75638010c1f75cfb7e905bca5647253084e69323.gz
* fix for external images and the media rewrite patchAndreas Gohr2005-08-14
| | | | darcs-hash:20050814124731-7ad00-9ec2fa2e3a188e3d0b06fc3f15135a05dc99d3dd.gz
* added own mailtext for subscribe featureAndreas Gohr2005-08-14
| | | | darcs-hash:20050814115406-7ad00-722fb6956147e46c66a9120c5fe1f654fe7e2bba.gz
* subscribe_changes.patchsteven-danz2005-08-08
| | | | | | | Updates to the subscription patch to add a configuration option to enable/disable the feature, move the messages to the language files, and general cleanup darcs-hash:20050808045034-4c315-88a72dc8d2b22fdd9af8caa0505ef5c737965c86.gz
* URL rewriting for media filesAndreas Gohr2005-08-14
| | | | | | | | | | This patch adds nicer URLs for media files (for fetch.php and detail.php) !IMPORTANT! Users of rewrite mode 1 need to adjust their .htaccess See .htaccess.dist for an example darcs-hash:20050814101834-7ad00-37ef1dea00affc9d808d9ee1289fa7454199cd24.gz
* changes to the page subscription featureAndreas Gohr2005-08-06
| | | | darcs-hash:20050806212000-7ad00-c5ab54a33289f8be0ce99443f82f0b3cf1bdbf0d.gz
* track_changes.patchSteven Danz2005-06-27
| | | | | | | | Second go at including changes to allow users to sign up on mailing lists so they may receive emails each time the page they are interested in is updated. darcs-hash:20050627021748-3ed6d-5f6993f51ab649e3928a513b0fbe7c421d880325.gz