summaryrefslogtreecommitdiff
path: root/inc
Commit message (Collapse)AuthorAge
* don't use realpath() anymore (FS#1261 and others)Andreas Gohr2007-09-30
| | | | | | | | | | | The use of realpath() to clean up relative file names caused some trouble in certain setups relying on symlinks or having restricitve file structure setups. This patch replaces all realpath() calls with a PHP only replacement which should solve those problems. darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
* media meta chmod fixOtto Vainio2007-09-26
| | | | | | | Media metadata update changes file permissions to default. Should call chmod if needed. darcs-hash:20070926190419-58dfb-8405fd4d62e7dc337d1257ca282ac8c05bbea30f.gz
* Fix not checking capture in metadata rendererTom N Harris2007-09-25
| | | | darcs-hash:20070925201030-6942e-7c2ac56c877cb6772d500b2391ddc490dc6fdec5.gz
* Don't create bogus blank entries in metadataTom N Harris2007-09-19
| | | | darcs-hash:20070919194756-6942e-0986b3711e370a91d8b42665a94c6866ba56811c.gz
* Remove obsolete words from search indexTom N Harris2007-09-19
| | | | | | | | | Creates another index file 'pagewords.idx' for the words in each page. Words that are deleted from a page can then be removed from the word index. The indexer version is incremented to force rebuilding of the index. Also, a minor flaw in the regexp for asian words is fixed. darcs-hash:20070919194244-6942e-2e08157dcf4fdf166b35b36a0faf8a3dfb415ad9.gz
* New event MEDIA_UPLOAD_FINISHMichael Klier2007-09-09
| | | | | | | | | | | | | | This adds a new event MEDIA_UPLOAD_FINISH which is triggered when a media file is uploaded via the mediamanager. (The event is preventable) Event data: data[0] temporary file name (read from $_FILES) data[1] file name of the file being uploaded data[2] future directory id of the file being uploaded data[3] the mime type of the file being uploaded darcs-hash:20070909003843-23886-182d42a34f254fd8e63486210c458c34dd953b5d.gz
* Variable typo fix in inc/media.phpMichael Klier2007-09-14
| | | | darcs-hash:20070914202618-23886-694cfafea7ff86e7aa12da7bdcd646e4dbb4e05c.gz
* Fix for Basic HTTP authenticationMichael Klier2007-09-09
| | | | darcs-hash:20070908222540-23886-00d09dcbb5e3391686586043907dbeccea7f696d.gz
* Indonesian updateAndreas Gohr2007-09-08
| | | | darcs-hash:20070908192004-7ad00-f7ed26c8afd03db706acd90d38367bf13dfc2266.gz
* CSRF SecurityToken added to the media managerAndreas Gohr2007-09-08
| | | | darcs-hash:20070908143307-7ad00-50730dd67239a2faaced2dfa0dee8de7c1db05e6.gz
* Use Content-Length in HTTP clientAndreas Gohr2007-09-06
| | | | | | | | If a Server supplies a Content-Length header we stop reading when the specified number of bytes was read. This fixes problems with Servers not closing the connection after sending the body. darcs-hash:20070906194435-7ad00-cfb9b77ee085d28f5a643e45750b0a7be8ad7bd7.gz
* send security token on login/logoutMichael Klier2007-09-04
| | | | darcs-hash:20070904185355-23886-e5cbed2357a2697a593409ed0a31f044423db2e1.gz
* Esperanto updateAndreas Gohr2007-09-06
| | | | darcs-hash:20070906183038-7ad00-7bfdf2858d146a17fbe5824773ae5d9c985e0e28.gz
* Part 2 of the SecurityToken patch to avaoid CSRF attacksAndreas Gohr2007-08-30
| | | | | | | | This patch adds a security token to all forms generated through the new form class. However it is only checked for possible dangerous actions like editing or profile changes. darcs-hash:20070830191429-7ad00-445efea47a09a4823dfe9e3434ba5b355a80daf6.gz
* CSRF prevention for admin pluginsAndreas Gohr2007-08-29
| | | | | | | | | | | | | | | This patch adds a session based token to all form in the default action plugins. The validity of the token is checked before any administrative function is executed aiming to protect DokuWiki's admin functions from Cross-site request forgery (CSRF) attacks. Another patch will follow to add the same functionality on other, less critical functions. More details on CSRF attacks can be found at http://en.wikipedia.org/wiki/Cross-site_request_forgery darcs-hash:20070829201538-7ad00-d0770224a3351fd8e38968e3a9d8e73520482445.gz
* moved lockfile check out of search() to callback functionsMichael Klier2007-08-28
| | | | darcs-hash:20070828194406-23886-832f4a1222633b686cd8895eba00f1c895c5a992.gz
* removed unused file from french translationAndreas Gohr2007-08-21
| | | | darcs-hash:20070821174710-7ad00-a9e4ff4f23c99c0634f8dcc4f4c11d517efa827f.gz
* alter p_get_first_heading() default $render value to trueChris Smith2007-08-21
| | | | | | | | | | | | Calls to p_get_first_heading() are most likely to expect to get the first heading even if it needs to be generated, that is a $render value of true. Only the metadata renderer itself needs a value of false in order to prevent mutual dependency probelms. This fix should finally complete FS#1010 & problems breadcrumbs have with use_first_headings when metadata doesn't exist. Also see, http://www.freelists.org/archives/dokuwiki/08-2007/msg00018.html & http://www.freelists.org/archives/dokuwiki/08-2007/msg00132.html darcs-hash:20070821021008-d26fc-e08a23b4eb40f075de043687b57eb1223b0201b9.gz
* french updateAndreas Gohr2007-08-21
| | | | darcs-hash:20070821173805-7ad00-49900167ab4babede6acebb595faf005b28ce18e.gz
* fix for magic quote fixing inside array keysAndreas Gohr2007-08-19
| | | | darcs-hash:20070819211952-7ad00-a1a321178ef3c5a85b2e422a01eda8066eb10588.gz
* quote fix in auth_nameencodeAndreas Gohr2007-08-19
| | | | darcs-hash:20070819211829-7ad00-7f2dbd3d7ad6b4568b8f34209fbcffda6e110f4c.gz
* typo fix FS#1229Andreas Gohr2007-08-19
| | | | darcs-hash:20070818222239-7ad00-d427f89d0cd9cdc88cf99538209e50e1b001ea9c.gz
* esperanto updateAndreas Gohr2007-08-19
| | | | darcs-hash:20070818222029-7ad00-490d6e1e53a9753c4951ee8a9a9882d3cbdcfdb0.gz
* finish language updateAndreas Gohr2007-08-16
| | | | darcs-hash:20070816182508-7ad00-a6107d7ae873a1473444c8fcfc02cf59172b0d8b.gz
* greek language updateAndreas Gohr2007-08-14
| | | | darcs-hash:20070813220053-7ad00-db53d44215d74c091c10e0423b8152dec302127a.gz
* added nothing found message to backlinks outputMichael Klier2007-08-13
| | | | darcs-hash:20070813160452-23886-c40e9f3bfe259d698500a6ef01f75894801b22c5.gz
* span added to breadcrumbs labelAndreas Gohr2007-08-13
| | | | darcs-hash:20070813190912-7ad00-b2677372876f395da890ba5a86050343bea249f2.gz
* correctly URL encode idx parameter in index viewAndreas Gohr2007-08-10
| | | | darcs-hash:20070810082232-7ad00-e6abe2b952b7575454f8a2fcc5c257ec07b09e78.gz
* Fix for not working iconv call in SimplePieAndreas Gohr2007-08-10
| | | | | | | | See http://simplepie.org/support/viewtopic.php?pid819#p3819 Patch sent to upstream darcs-hash:20070809234320-7ad00-985fc7e26ee6440efef8a4c8b72d313df012fc53.gz
* show correct megabyte size for image details FS#1217Andreas Gohr2007-08-09
| | | | darcs-hash:20070809213753-7ad00-95904b1effbd827c0b5b1ed73879d99d99175fc6.gz
* don't allow export formats in Google index FS#1219Andreas Gohr2007-08-09
| | | | darcs-hash:20070809212728-7ad00-485593f2658fa217f1b70b72d60dd4ef0f59b0c3.gz
* spelling fix FS#1220Andreas Gohr2007-08-09
| | | | darcs-hash:20070809212154-7ad00-bde57d95f9b61840f1cdac4d60f89bcd0ae83c4a.gz
* stripped comments from el lang fileAndreas Gohr2007-08-09
| | | | darcs-hash:20070809212044-7ad00-83ab11f90cb5730a8ad455967308efeb3dfa91ea.gz
* dutch language updateAndreas Gohr2007-08-08
| | | | darcs-hash:20070808214818-7ad00-48bb7ceff4e2144512bb7ad217700c63c9d4bb94.gz
* Portuguese language updateAndreas Gohr2007-08-08
| | | | darcs-hash:20070808180825-7ad00-63a8a7c23769cd92cccde54c3df267e94214eaae.gz
* german language updateAndreas Gohr2007-08-08
| | | | darcs-hash:20070807221400-7ad00-c67b347e0528709a4eae84f3740c34d12f9e1bba.gz
* TOC fixedAndreas Gohr2007-08-07
| | | | | | This fixes some small bugs which were introduced with recent TOC changes darcs-hash:20070807171844-7ad00-fc09dd6d09b72927e64dfa41dd8b86fc20d86ed0.gz
* Protect auth_ismanager() from auth modules that don't always provide group ↵Chris Smith2007-08-05
| | | | | | data in array (FS#1196) darcs-hash:20070805203312-d26fc-cab8dbfff8a2d5f7299fa4462771bafc00135728.gz
* minor fixes for recent tpl_toc() patchchris2007-08-05
| | | | darcs-hash:20070805163833-9b6ab-82e8cd7ec37d163ccb552e3b6aee8c1f70e75f15.gz
* separated TOC from pageAndreas Gohr2007-08-05
| | | | | | | | | | | | | | | | | | This patch introduces a tpl_toc() function which can be used to freely place the Table of Contents in a template. When used, tpl_content should be called with a parameter of false to supress the automatic TOC placement. Note: if tpl_toc() us run *before* tpl_content(), TOCs will not work in the preview. A work around is to run tpl_content() in a output buffer first. This patch also adds a getTOC() function for admin plugins which allows plugin authors to put create their own TOC which will be placed correctly in the template. A convenience function html_mktocitem() is available. The config manager was adjusted to make ue of this new feature, but some bugs might remain. darcs-hash:20070805132405-7ad00-77d2c3cdf66cc62b2d408cc6580f938636a109af.gz
* generic search engines result highlightingAndreas Gohr2007-08-04
| | | | darcs-hash:20070804125124-7ad00-5558de577207bb63af7629f278c24991f23924bc.gz
* fulltext search fixes FS#1191 FS#1192Andreas Gohr2007-08-04
| | | | darcs-hash:20070804081226-7ad00-a8e7127c7122a96f9817158d87e1a364d8cdbc9f.gz
* Support for $inner param in tpl_actionlinkAndreas Gohr2007-08-04
| | | | | | | This allows template authors to use their own HTML content as link body. Eg. to use images. Defaults to the appropriate language string. darcs-hash:20070804071934-7ad00-47670c4998ee74f93e0057323f4d9a4a4a1654b5.gz
* Space between label and input element for new form handlerAndreas Gohr2007-08-04
| | | | darcs-hash:20070804071840-7ad00-2b1c11bc7890ab5f145e4d0545e962c144fb460a.gz
* Skip only empty strings not 0 in buildAttributesAndreas Gohr2007-08-04
| | | | darcs-hash:20070804071749-7ad00-c7e718c2e24f4ded10b5780e2881e232fab8e48c.gz
* New structured forms and action eventsTom N Harris2007-07-30
| | | | | | | | | | | | Replaces a number of *FORM_INJECTION events with a more flexible way of modifying forms. Forms are created with a Doku_Form class (inc/form.php) that can be manipulated by plugins prior to output. Plugins register a HTML_{$name}FORM_OUTPUT event which can modify the form object prior to output. Available forms are: LOGIN DRAFT CONFLICT REGISTER UPDATEPROFILE EDIT RESENDPWD Documentation for the Doku_Form class is in inc/form.php. darcs-hash:20070730215007-6942e-a0cf08197f939e224a2b28c40aec5431b118ea94.gz
* update breadcrumbs to generate metadata when necessary for use_first_headingChris Smith2007-08-02
| | | | darcs-hash:20070802174401-d26fc-d9a099773f08c1d85b4f481eb1b634d2e14eba86.gz
* PGSQL auth backend - connect via socket FS#1198Andreas Gohr2007-07-30
| | | | | | | If the server field is empty in configuration the postgres backend will try to connect via a local socket to the server darcs-hash:20070730171227-7ad00-83bb5c4e60fec79e116343b1043a0dfe9800f82b.gz
* Galician translationAndreas Gohr2007-07-30
| | | | darcs-hash:20070730164939-7ad00-43323188e904f45153062bb2e5c3550a1ea4ce4d.gz
* skipempty parameter for buildAttributesAndreas Gohr2007-07-25
| | | | darcs-hash:20070725211324-7ad00-97ee12f6e28ab8298775218adbcb571a3b79c2d6.gz