summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* Major rework of pluginutilsChris Smith2009-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch completely reworks pluginutils to: - reduce the number of file accesses to enumerate and load plugins - change the way disabled plugins are recorded. a disabled plugin will now have ".disabled" added to its directory name (this halves the number of file accesses required to enumerate installed plugins) - place the guts of pluginutils code inside a class, Doku_Plugin_Controller, the existing access routines are preserved and no changes are required. - add two globals, $plugin_controller_class & $plugin_controller this allows preload.php to define its own plugin controller class - update config plugin to support new plugin structure config plugin now issues a PLUGIN_CONFIG_PLUGINLIST event before it finalizes the list of plugins it will be working with. Handlers of this event can remove plugins from the list. - update plugin manager plugin to support new plugin structure plugin manager now issues a PLUGIN_PLUGINMANAGER_PLUGINLIST event similarly to config plugin. - plugin manager updated to redirect after changes to plugins and to use msg() Finally, this patch contains a one-shot action plugin which will automatically convert a plugins directory from the old style disabled file to the new style. Note for darcs users, the new disabled format will mean a couple of old oneshot plugins, importoldchangelog and importoldindex, will have their directory names changed, which could lead to darcs wanting to record the change. darcs-hash:20090118190143-f07c6-d2e79af546a49a4af5817dd0c5cc27066e67c4d0.gz
* Add capability to send pre-compressed js & css files if the browser can ↵Chris Smith2009-01-18
| | | | | | | | | | accept them - save a gzipped version of js & css files at the same time as the uncompressed version is cache - basic content negotiation to send the compressed files - uses sendfile (for compressed or uncompressed versions) if config indicates its available darcs-hash:20090118184354-f07c6-66c5b465ab147d83de409708bab2c47d1dafcf8d.gz
* add http_sendfile() functionChris Smith2009-01-18
| | | | | | - update fetch.php to use the new function darcs-hash:20090118183600-f07c6-65c818bba58fab8856c9f353ff4953ead9b5221e.gz
* Rework configuration loading to use a predefined file list or cascadeChris Smith2009-01-18
| | | | | | | | | | | | This change add the global $config_cascade which holds the list of files to be read for each configuration setting group. Dokuwiki adds in its configuration file values after preload.php, giving preload.php to set its own configuration cascade. One side effect of the change is "local.protected.php" is part of the default cascade, removing the need for it to be included at the bottom of local.php. darcs-hash:20090118181204-f07c6-fea1c406da1bbdb0a52ab40914f11b835e797728.gz
* Czech language updatePavel Hajek2009-01-19
| | | | darcs-hash:20090119175459-2105c-03441bcf63592c49fa7ef1f16dada2b1df5e1f25.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
* Brazilian Portuguese language updateLuis Dantas2009-01-18
| | | | darcs-hash:20090118200637-15659-d4230d3d5d713aa30d0034813b8f0828ca3d126e.gz
* Nepali language updateSaroj Dhakal2009-01-17
| | | | darcs-hash:20090117185001-22994-fc748e4a1c4b4c8ef48a322bdf0b474ccd4e3be7.gz
* disable multiple revisions checkboxes if two are checkedAnika Henke2009-01-17
| | | | darcs-hash:20090117172920-f7d6d-d8a093a5b80a48b92c2f3abb08f7d029ae23e732.gz
* adjusted config manager for new config option 'tocminheads'Anika Henke2009-01-17
| | | | darcs-hash:20090116235051-f7d6d-8898c5f3433c701191bfd8652bdccb6d46a8ce6b.gz
* replaced str_replace with sprintf in media managerAndreas Gohr2009-01-16
| | | | darcs-hash:20090116220659-7ad00-176afb347702b72fdb75faa3401b5c2c4b50c6a0.gz
* fix for FS#1534Michael Klier2009-01-16
| | | | darcs-hash:20090116225428-23886-2ce4d48a20f66265764c95b19ee505c6519446e2.gz
* fixed confirmation dialog on media deleteAndreas Gohr2009-01-16
| | | | darcs-hash:20090116214118-7ad00-47a90e682e8ffab313fee7e775d82a3e892dc5bc.gz
* some tweaks to recent usermanager patchAndreas Gohr2009-01-16
| | | | darcs-hash:20090116210718-7ad00-9824b47ea265a7426ed36eb020db45befd4104ec.gz
* made 'edit user' in user manager more usableAnika Henke2009-01-16
| | | | darcs-hash:20090116214702-f7d6d-89ecae0e072bbd8ae42646733bf7ceff10b59540.gz
* Portuguese Brazlian language updateJair Henrique2009-01-16
| | | | darcs-hash:20090116185506-0f120-b63ed7b126ef4a99e495600195114726cbcf135f.gz
* catch too big uploads FS#1552Andreas Gohr2009-01-16
| | | | darcs-hash:20090116135017-7ad00-5815811717b4b5eb86698e57277e9ae74c660883.gz
* Allow multiple deletes in ACL pluginTom N Harris2009-01-16
| | | | darcs-hash:20090116001320-6942e-6384740cf9818d9083a767cd581a252d242a9d8c.gz
* German language updateArne Pelka2009-01-14
| | | | darcs-hash:20090114194125-ce5f5-57ad64d6f969272d6d37dd7268146d2e5842b28e.gz
* Russian language updateAlexei Tereschenko2009-01-05
| | | | darcs-hash:20090105223447-22cdf-17d85a94c7161f32c6d6c02f31c4588a050bccdc.gz
* Dutch language updateWouter Schoot2009-01-05
| | | | darcs-hash:20090105200626-a6b47-b6d6e0e014a4d019c60a90e17521123648c52009.gz
* Italian language updateDiego Pierotto2009-01-04
| | | | darcs-hash:20090104142215-35bef-9be965705b6e5958aafc1ab4179f8ceb6472ee28.gz
* Polish language updateGrzegorz Zur2009-01-02
| | | | darcs-hash:20090102131540-e561a-0995043ee67b9f1d8bd69362792136500ea0b4ef.gz
* Korean language update이동낙2008-12-30
| | | | darcs-hash:20081230185728-6a3d1-33718529206b5bec2719819d8deccac3e532bf3f.gz
* removed accidentally checkedin private stuff from footer.htmlAndreas Gohr2008-12-16
| | | | darcs-hash:20081216184939-7ad00-da211afee2d611ca448236b0a7e270156a62c203.gz
* Finish language updateOtto Vainio2008-12-16
| | | | darcs-hash:20081216184544-8d1e6-b3545e256cd69a2ad1436c90eb12d84e43f365ec.gz
* ACL Manager: simpler but more logical sort in the rule tableAndreas Gohr2008-12-16
| | | | darcs-hash:20081216184056-7ad00-117f88fa93ac0fba46f98100c9da4f375dd1308c.gz
* ACL Manager: Avoid double encoding in permission table FS#1482Andreas Gohr2008-12-16
| | | | darcs-hash:20081216173112-7ad00-9d8eeff13945ccc69230cc9043ed78284612f2dc.gz
* ACL user wildcard changed to %USER% FS#1504 :!:Andreas Gohr2008-12-16
| | | | | | | | | | | | | | | | | | DokuWiki supports a wildcard which gets replaced with the currently loggedin user in its ACL configuration file. This patch changes the wildcard from @USER@ to %USER% (case sensitive) and also makes sure the ACL Manager does not replace the wildcard when displaying the currently set rules. The change was needed for better compatibility with the User Manager without complicating the code. The old @USER@ wildcard is still supported, but changing an ACL rule using it, through the ACL manager will fail. It is recommended to update ACL rules using the @USER@ wildchar to use the new %USER% one instead. darcs-hash:20081216171126-7ad00-94ce0c2afa411abc936f13572efd0e31941901ee.gz
* ACL Manager: fixed bug introduced by previous special user patchAndreas Gohr2008-12-16
| | | | darcs-hash:20081216165159-7ad00-9e50c67c837c31145a7293022b761e6dffe79b16.gz
* ACL Manager: typo fix for checking group membership FS#1529Andreas Gohr2008-12-16
| | | | darcs-hash:20081216164447-7ad00-e42b37320964359c0be8b105e0903c1a380e5b52.gz
* ACL Manager: correctly highlight when page and namespace are named the sameAndreas Gohr2008-12-16
| | | | darcs-hash:20081216163754-7ad00-a66381e543006ace0a4ff3747034290652b758fc.gz
* ACL Manager: Add footnote about permission inclusionAndreas Gohr2008-12-16
| | | | darcs-hash:20081216162305-7ad00-c1abb00d3d0992977a7f366da2eeb6e2b18b0857.gz
* ACL Manager: correctly handle multiple comma separated values in ↵Andreas Gohr2008-12-16
| | | | | | $conf['manager'] darcs-hash:20081216162114-7ad00-a68d8fcbeeca970d6aba87ef2c568e4dcd8c484a.gz
* make use of the new useHeading() function in the revert pluginAndreas Gohr2008-12-10
| | | | darcs-hash:20081210174256-7ad00-90a1f8d17c913d0ecabec80c0842a3afb3c667b1.gz
* Added a MEDIAMANAGER_STARTED eventAndreas Gohr2008-12-10
| | | | darcs-hash:20081210172924-7ad00-ad1e7a0c23f8df5c76878e3e8718f6e93020ffd1.gz
* fixed a problem with displaying current ACLs for group/user names with ↵Andreas Gohr2008-12-10
| | | | | | special chars darcs-hash:20081210172333-7ad00-f4a35cfa079a380eedd99c5141e480959864fd38.gz
* German language updateRobin Kluth2008-12-07
| | | | darcs-hash:20081207165012-1b343-8b9e7c4dccc5aa6ce1e11e9a97dbfad3044bef31.gz
* French language updateGuillaume Turri2008-12-05
| | | | darcs-hash:20081205090229-74baf-6dff489c6729923fdd512cbfac17707ea03edc06.gz
* Brazilian Portuguese language updateJeferson Propheta2008-12-05
| | | | darcs-hash:20081205085700-73425-00df7f340719a30f0bfd65c55b36ab0735583031.gz
* Make content-disposition configurable in mime.conf FS#1541Andreas Gohr2008-12-02
| | | | | | | | | | | | | With this patch it is possible to define if a file should be served as download or be displayed inside the browser (if supported) by configuring it in conf/mime.conf Mimetypes that should be served with a "Content-Disposition: attachment" header need to be prefixed with a exclamation mark. All others will be served inline. This will also fix a Problem with Flash 10. darcs-hash:20081202210322-7ad00-6e7ef30aff9322cd135311be77809187da121f3b.gz
* Brazilian portuguese updateFlavio Veras2008-12-02
| | | | darcs-hash:20081201231425-cdf66-cb61f0d5fa1e51ea8e91c3e29c87341a5e3ca9ff.gz
* Turkish language updateCihan Kahveci2008-12-02
| | | | darcs-hash:20081201230816-2225f-f163b076905dc112b165c6983b394cb28e57f27b.gz
* remove linebreaks from language files FS#1035Michael Klier2008-12-01
| | | | darcs-hash:20081201212346-23886-81f2bc6c2c021b3f1e9c7367d8ffbab12700e379.gz
* FS#630: allow $conf['useheading'] to individually apply to content links ↵Chris Smith2008-11-19
| | | | | | | | | | | | | | | | and/or navigation links $conf['useheading'] values are now: - 0 : off, use page name in link text - 'content' : use first heading text for links in wiki page content - 'navigation' : use first heading text for links in non-page content, e.g. breadcrumps, backlinks, search results, etc. - 1 : use first heading text in all links (for backwards compatibility, any other values are mapped to 0 or 1 by empty() function.) $conf['useheading'] value should now be checked using the useHeading($linktype) function, where linktype can be "content" or "navigation" darcs-hash:20081119140758-f07c6-6e26456d50dcecc949fada31b0d4e72877fde1cc.gz
* improved faulty descriptions for typography config options (en + de)Anika Henke2008-11-25
| | | | darcs-hash:20081125174711-f7d6d-3ab79afebb8fdb2b29273bf39a79ba3ed681c4b8.gz
* Persian language updateMohsen2008-11-27
| | | | darcs-hash:20081127154301-2faaa-aab154895ba76049c4ba8ae86d34471694dc5311.gz
* Polish language updatelw2008-11-27
| | | | darcs-hash:20081127154111-23fc2-fc3e8d00faf76013fd7d18dba03e642679b1d175.gz
* Marathi language updatePadmanabh Suresh Kulkarni2008-11-27
| | | | darcs-hash:20081127153520-8bc3f-399c2dfd3870b76e230a42479864f4864712aeda.gz
* Danish language updateEsben Laursen2008-11-10
| | | | darcs-hash:20081109231113-6b576-8a6d52f80275a7689c65125762232e99f62231f2.gz