summaryrefslogtreecommitdiff
path: root/inc
Commit message (Collapse)AuthorAge
* cleanup undefined constant noticesBen Coburn2006-07-10
| | | | | | | Undefined constants replaced with strings, see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar darcs-hash:20060710091820-05dcb-cfccff2bdd633b929470c60d8eee096f50ab4c18.gz
* error reporting E_ALL switchBen Coburn2006-07-08
| | | | | | | | | | | - Adds a constant DOKU_E_LEVEL for globally overriding the error reporting level. - Adds a file based switch for enabling E_ALL errors without changing the code. This is convenient for developers debugging new patches. It also ensures that the new patch will not accidentally record manual changes to the error reporting level. To enable E_ALL errors globally, create the file 'conf/report_e_all'. darcs-hash:20060707232525-05dcb-0f24e53783f546a83268fe40b0d8b68f4d6ccfa6.gz
* More Danish lang updatelarsch82006-07-09
| | | | darcs-hash:20060709214043-a08f5-b57b818851c3c406f04efa573d8888f6e39c6526.gz
* Danish lang updatelarsch82006-07-08
| | | | darcs-hash:20060708164549-a08f5-e8fad040f51440e516590c2db3afe781d49fc809.gz
* using md5 in wikiLockFNAndreas Gohr2006-07-07
| | | | | | sha1 may not be available in all installs and md5 is sufficient for the job darcs-hash:20060707115543-7ad00-c7216f7c5f5a3908124c8cc13a06e31cb1eb883d.gz
* optimize noNSBen Coburn2006-07-05
| | | | darcs-hash:20060705114601-05dcb-e8fda6653d8d085591d578f24d3677b29f09fa01.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
* disableactions supportAndreas Gohr2006-07-02
| | | | | | | | | | | | This patch adds a config option to disable certain internal action commands of DokuWiki's main dispatcher. The options resendpasswd and openregister were removed because they can now set through this new option. The config plugin needs to be adjusted. darcs-hash:20060702121622-7ad00-1e80e77bcfb0ae561fe7abd79cfbe1bb158be720.gz
* finish lang updateAndreas Gohr2006-06-30
| | | | darcs-hash:20060630092852-7ad00-400d13aeb2f051d0e37e042b06162c223251a296.gz
* GeSHi update to 1.0.7.11Andreas Gohr2006-06-21
| | | | darcs-hash:20060621181256-7ad00-36aacf46a148ec8d834bf0e294b9a107bfe1485d.gz
* removed deprecated admin_acl.php fileAndreas Gohr2006-06-21
| | | | darcs-hash:20060621174752-7ad00-7e9d7a83715395efe0665465c23e7cc278561ff7.gz
* back button tear down wallsmatthiasgrimm2006-06-19
| | | | | | | | | | | | | | The 'back' currently works only inside a namespace and hide the button, if the namespace startpage has been reached. This patch tear down the namespace wall. Now the 'back' button of the namespace startpage addresses the start page of the parent namespace instead of being hidden. With this patch the 'back' button works as before the 'startpage' patch series. darcs-hash:20060619171023-7ef76-baac3ad5367d6c6397125401aa7d8beab5122faa.gz
* fixed stupid bug in search query parserAndreas Gohr2006-06-18
| | | | darcs-hash:20060618134515-7ad00-3097e310ccdaf793b5da3bd49a54723fea7ec260.gz
* simplified tpl_getparentAndreas Gohr2006-06-18
| | | | | | 4th part of the global start series darcs-hash:20060618121521-7ad00-8ea574bdb2c8a12560cf892c7ed53a4972af998d.gz
* updated hierarchical breadcrumbsAndreas Gohr2006-06-18
| | | | | | Third part of the global start series darcs-hash:20060618113532-7ad00-46a62cc819c41ead8a16bc3f6c6d1bf67d9c6bf4.gz
* zh-tw-20060612.patchchinsan.tw2006-06-12
| | | | darcs-hash:20060612025041-8864c-cdba0f7a7736bc2d5c305eb2c15fc2c5c4ed1421.gz
* fixing edit section bugsBen Coburn2006-06-18
| | | | | | | | | | - Final edit section now ignored when there is only one header. - The configuration property 'maxseclevel' is now honored again. - Instructions are not created by the handler for edit sections that have a level higher than 'maxseclevel'. These ignored edit sections are merged into the previous edit section. darcs-hash:20060617223723-05dcb-a1282e827468de00977179c8c8924fb00ec2d56c.gz
* create correct titles for namespace linksAndreas Gohr2006-06-17
| | | | | | Second part of the global start patch series :-) darcs-hash:20060617111153-7ad00-1422551ec64ac84f473a8a5f3adb9cb332bb3f06.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
* greek language updateAndreas Gohr2006-06-15
| | | | darcs-hash:20060615191700-7ad00-20291cd9051031eaf62cdb2fd3bd64ad56ec061d.gz
* $conf['fetchsize'] addedAndreas Gohr2006-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an option to configure the maximum size for files the fetch.php will ever download. Setting this to 0 completely turns of the caching of external media files. Disadvantages of setting a low or zero fetchsize: * fetch.php needs to download images to be able to resize them. When the used fetchsize prevents the downloading the images can only be resized by the browser which means the browser will need to download the fullsized image first. * If the linked external media files vanishes it will no longer display in the wiki because it is not cached. Advantages of setting a low or zero fetchsize: * fetch.php may be used for a possible denial of service attack by requesting many big external files. * The created cache files may take a lot of space on the server I recommend to leave the setting at 2MB for internal and private wikis and lower the setting to about 200 to 500 Kb for bigger public Wikis. Note: the caching of files uploaded through the media manager is not affected by this setting. darcs-hash:20060615184847-7ad00-04fc39928f7d72e56f5c5e271013ef265436e6c9.gz
* namespace linking first partAndreas Gohr2006-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds namespace linking - formerly known as globalstart patch. It differs somewhat from the original patch. It is not implemented in getID() but in resolve_pageid(). It is now possible to link to a "default" file of a namespace ending the linkid with a colon: [[foo:bar:]] To which page the link links is dependent on the xistance of certain named files. For the above mentioned link [[foo:bar:]] the following pages are checked: foo:bar:start foo:bar:bar foo:bar The pages are checked in the order above whatever page is found first will be linked to. If no page is found foo:bar:start will be chosen. BTW: 'start' is the value configured in $conf['start'] Note: autoplural linking is not done for those links This is just the first patch. Several other locations of the code need to be adjusted to reflect this change and some testing needs to be done (first test cases are supplied within the patch bundle) Things that maybe need adjustment: - tpl_youarehere (hierarchical breadcrumbs) - tpl_button back - maybe others (search?) Patches would be welcome. The best aproach to fix things that don't work is probably making calls to resolve_pageid() instead of simple cleanID() calls. darcs-hash:20060611184453-7ad00-ba70b0fcf2cb64d4d4f0ce6bd6e437595cd947d3.gz
* make sure UTF8 lookup tables are always globalAndreas Gohr2006-06-11
| | | | darcs-hash:20060611173240-7ad00-9bc775163fd9fc65917ffe10f78f872a302bdbcf.gz
* changed inheritance for pgsql auth backendAndreas Gohr2006-06-11
| | | | | | | Because of incompatible SQL syntax the postgres backend can no longer inherit the retrieveUsers method from the MySQL backend darcs-hash:20060611170748-7ad00-83c69718da2f391e44504638b795956cf412fca0.gz
* MySQL 3.23 compatibility issuematthiasgrimm2006-06-11
| | | | | | | MySQL 3.23 doesn't support the keyword OFFSET in the LIMIT statement. This patch changes the code to the second alternative syntax. darcs-hash:20060611164347-7ef76-b38861cebe45604c253bd4436451825733fe7083.gz
* update-zh-twchinsan.tw2006-06-10
| | | | darcs-hash:20060610073758-8864c-38e560f17476552fc181eaf82fed75504a1558e9.gz
* fix media file permissionsBen Coburn2006-06-09
| | | | | | | Always chmod media because they may be saved with different permissions than expected from the php umask. darcs-hash:20060609072434-05dcb-8e6cb602df7afc75633c7eec0a9056a8b9696f77.gz
* fix for utf8_strpos #827Andreas Gohr2006-06-08
| | | | darcs-hash:20060608200438-7ad00-05fbb18c15df64725ca4ef1ffdc0aa817a508ea4.gz
* Czech lang update, added czech to configBohumir Zamecnik2006-06-08
| | | | darcs-hash:20060608085236-9be09-3142ff6fd2a13cd03205a6703b3fd22bddf5e078.gz
* Updated SimplePie to beta2Andreas Gohr2006-06-07
| | | | darcs-hash:20060607203012-7ad00-39f08d985ed975b9eb521aaa1f7d3d315b5e6588.gz
* more semantic alt values in media treeAnika Henke2006-06-07
| | | | darcs-hash:20060607193424-d5083-1ecd7dce6a41d12339c66b48883980e285c95214.gz
* reset title in metadata rendererAndreas Gohr2006-06-07
| | | | darcs-hash:20060607073358-6e07b-90180a3098b55c577c49d5e182839bfb1298d1c1.gz
* user the MAILHEADER_EOL in quoted printable encodingAndreas Gohr2006-06-06
| | | | darcs-hash:20060606191953-7ad00-0e8098d5d8f4cf5379f3cce0e6899ac11c20a321.gz
* Fix for privilege escalation bug #825Andreas Gohr2006-06-06
| | | | | | | This rechecks all ACLs a second time before the template is called, avoiding similar problems in the future. darcs-hash:20060606182742-7ad00-375c7989c8357c8a051b4966d06dbfde356bedb5.gz
* bug#701 - partial fixchris2006-06-06
| | | | | | | | | | | | | | | | This patch resolves issues with how call writers merge their instructions into the main handler instruction list. - writeCalls will now only merge instructions into the list of the next higher call writer - all call writers have been given a finalise() method to use when the call writer needs to be terminated gracefully at the end of parsing when the wiki markup didn't provide its expected exit syntax. I have only tested finalise with lists. It still requires testing with wiki markup which results in improperly closed tables, quotes and preformatted text (it may not be possible to improperly terminate some of these syntax modes). darcs-hash:20060606131200-9b6ab-1fcde7e25e173de014e2f99bfdee22279b2d911d.gz
* bug#775, fix access control of resend password pagechris2006-06-06
| | | | darcs-hash:20060606083212-9b6ab-b04f08b3fde6baca7ec2a33a38c3f147651c8371.gz
* fixed newlines in english textsAndreas Gohr2006-06-05
| | | | darcs-hash:20060605200414-7ad00-1aea6818ca40214b18e974c879bf974790da18a2.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
* tidy format patternschris2006-06-01
| | | | | | | | The bug preventing use of '<' & '>' in look ahead patterns was fixed some time ago. This patch replaces the '\x3C' & '\x3E' in those syntax pattern where they were still in use. darcs-hash:20060601101231-9b6ab-4ad0d61578710543063a5de053c3d0f2065a7ddf.gz
* XSS bugfix #820Andreas Gohr2006-05-31
| | | | darcs-hash:20060531191114-7ad00-ee7498f6a9e047fc9eda5f8754f85d9b8a3317d5.gz
* bug#811chris2006-05-30
| | | | darcs-hash:20060530113123-9b6ab-076ed03543c92413e6317992d9cb2f32534b42c3.gz
* enhanced getBaseURL()Michael Klier chi@chimeric.de2006-05-29
| | | | darcs-hash:20060529154201-484ab-42382d9bd2bac83f84226209027001ca1f6deff0.gz
* Use meta data in RSS feedAndreas Gohr2006-05-28
| | | | darcs-hash:20060528133552-7ad00-8281720582dbc448534f35cc978e9c8175b54f0d.gz
* usability enhancements for the loginform #803Andreas Gohr2006-05-27
| | | | darcs-hash:20060527185238-7ad00-1593c8b25d7f870c8a0b3017fbcf29c4e047f52c.gz
* be clever about extensions on uploadAndreas Gohr2006-05-27
| | | | | | | | | | | This patch makes it possible to enter filenames without an extension in the upload as field when the uploaded file it self has a known extension. It also prints a warning when an extension was changed by the user. darcs-hash:20060527100310-7ad00-cf2abb4b9730e54b96c6ba24b2a999011cfb834a.gz
* made text in mediamanger more clearAndreas Gohr2006-05-27
| | | | darcs-hash:20060526233349-7ad00-2e73eeae9e8d87ac8ecac4248b1548aa9068711f.gz
* update header test cases 20060526Ben Coburn2006-05-26
| | | | | | | Also resolves a small p_close anomaly introduced when section edits were given their own instruction. darcs-hash:20060526170229-05dcb-9509e939b923fe966b901fe5d90ba499828a56c1.gz
* resolve darcs conflict 20060526Ben Coburn2006-05-26
| | | | darcs-hash:20060526144958-05dcb-4e04cb5cc9d9f60180f867a12957ceda9ae963b4.gz