summaryrefslogtreecommitdiff
path: root/inc
Commit message (Collapse)AuthorAge
* 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
* decouple section edit from header in rendererBen Coburn2006-05-22
| | | | | | | | | | | | | | | | | | | | This patch achieves a partial decoupling of the section edit buttons from the header syntax. A new 'section_edit' instruction is added to the instruction list. The default set of these instructions is generated from the header handler and the _finalize function. A generic 'section_edit' renderer is now part of the renderer. To rewrite the section semantics, add, or remove section edit buttons the header handler and renderer no longer need to be modified. Changes can be dynamically made to the section edit buttons through the 'PARSER_HANDLER_DONE' action event. An action plugin that registers this event can then modify the calls list of the handler object before it is rendered. In short, this patch makes it possible to change the behavior of the section edit buttons without having to change unrelated code. This patch should be entirely transparent to DokuWiki users and cleanly written plugins. darcs-hash:20060522060004-05dcb-8e6b5215e1b610877f126ca0b9e1e5bc21cc6469.gz
* added id to namespace headlineAndreas Gohr2006-05-26
| | | | | | | This makes the currently in the medaia manager selected namespace available to any JavaScript files darcs-hash:20060526144011-7ad00-23c476c38f8b559680c510c16b7de9924d3dd669.gz
* validity fix in image meta edit formAndreas Gohr2006-05-25
| | | | darcs-hash:20060525173150-7ad00-07520ef2e00d48a01eb3681357d3a31e2feea86b.gz
* media manager validity fixesAndreas Gohr2006-05-25
| | | | darcs-hash:20060525172718-7ad00-4395765bab12098f5fb8c4ec6d1f98ffd8937f0c.gz
* label for root of medianamespacesAndreas Gohr2006-05-25
| | | | darcs-hash:20060525160758-7ad00-43610809062192c93c4ec7dfb578e9f3eb6a0e80.gz
* more mediamanager fixesAndreas Gohr2006-05-25
| | | | | | | This fixes some styling issues, the cookie handling and a bug in the JavaScript caching mechanism. darcs-hash:20060525144000-7ad00-2f0b673d4f747c979f460e4e927a50eeeae81ec1.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
* updated_localisation_sk_SKovegh2006-04-18
| | | | darcs-hash:20060418090713-95fcd-c869a93f84e3399ccfe2f3ce9e3e4e7a5b359a1c.gz
* fix: wrong secedit when page changesDenis Simakov2006-05-22
| | | | | | Binds secedit buttons to file modification stamp ('lastmod'), so that if the page changes in between, editing of the old revision starts. darcs-hash:20060522182043-3c565-17e6ac5d018300dd009c24218f4b1b8c8ae80363.gz
* Lithuanian updateAndreas Gohr2006-05-22
| | | | darcs-hash:20060522181314-7ad00-7830b7819a770628c6e63f9d294292a876575ac7.gz
* GeShi update to 1.0.7.10Andreas Gohr2006-05-22
| | | | darcs-hash:20060522175437-7ad00-1c199dff7c30517e2f5304b86df586698e3c7c4b.gz
* russian translation updateDenis Simakov2006-05-22
| | | | darcs-hash:20060522115828-3c565-1145b34530614474f56494f57b41e9304f902cc7.gz
* MySQL Bug - PHP warning if query result is emptymatthiasgrimm2006-05-22
| | | | | | | | If a database query has no result, the returned array is not valid. This caused a PHP warning in the user manager if the filter is set in a way that the result list is empty. darcs-hash:20060522162327-7ef76-d8fa89a047a9a159b600f11ccb189e845b2a5b8f.gz
* media manager fixesAndreas Gohr2006-05-21
| | | | darcs-hash:20060521213334-7ad00-d3bdc1fbce1b904d3f939197bae0b811aa5bbac3.gz
* minor media manager tweaksAndreas Gohr2006-05-20
| | | | darcs-hash:20060520172118-7ad00-ad605bf51c8774d734012ece0071f70e6624788a.gz
* hide media detailsAndreas Gohr2006-05-20
| | | | | | | This adds an option to hide the details (thumbnail, metadata) in the media manager. The selected choice is remembered in a cookie. darcs-hash:20060520124854-7ad00-3ef624d495bed0830f05ea06d54d039784206793.gz
* moved gzip compression to init.phpAndreas Gohr2006-05-19
| | | | darcs-hash:20060519212751-7ad00-ace54b61706fdf4f1b7c2abdbabee215a1e256ab.gz
* media manager enhancementsAndreas Gohr2006-05-19
| | | | | | | Separate scrolling for right and left side of the manager (like frames) Show syntax example for simple copy'n'paste if no JavaScript available. darcs-hash:20060519202900-7ad00-9b20bd7993d3687f83b807a81cd23051b16785db.gz
* link to media managerAndreas Gohr2006-05-19
| | | | | | | | This patch add a link to the media manager when no JavaScript is available. Users can upload and browse for pictures now without the need for JavaScript only inserting has to be done manually then. darcs-hash:20060519175959-7ad00-5ee77fd00d20bef9a36eee632a1c5897097ba4a8.gz
* new mediamanagerAndreas Gohr2006-05-19
| | | | | | | | | | | | | | | This patch adds a completely rewritten media popup. The following noteworthy changes were made: - media manager uses a collapsible namespace tree - media manager uses AJAX if available - media manager popup can be kept open when selecting a media file - only one template is used for the media manager :!: Template - Editable image metadata is configured in conf/mediameta.php now - The JS cookie mechanism was enhanced to store key/value pairs - Language strings can be exported to JS in js.php darcs-hash:20060519165023-7ad00-4932b4553fc919aa4a8b8187958b823acf4f8cee.gz
* namespace-restricted fulltext-search part2Michael Klier chi@chimeric.de2006-05-18
| | | | | | | | | | | | | - now its possible to restrict the fulltext-search to multible namespaces Examples: searchword @ns1 @ns2 @ns3 "exact phrase" @ns1 @ns2 @ns3 darcs-hash:20060518204647-484ab-061521a81f13360e33496e5163e3cd263a9c1ad6.gz
* namespace restricted fulltext-searchMichael Klier chi@chimeric.de2006-05-18
| | | | | | | - The fulltext-search can now be restricted to a given namespace seperated by an "@" darcs-hash:20060518161855-484ab-1617b6d2c3593525f4d29a789b0a32ebf414b9ae.gz
* avoid trolling in io_lock()Andreas Gohr2006-05-17
| | | | darcs-hash:20060517165023-7ad00-f3583cd929bf80721593f8fc77fb74bd6b864b03.gz
* lt lang updateAndreas Gohr2006-05-17
| | | | darcs-hash:20060517105635-7ad00-f0c714b213251e89be554fd97c871365fe136127.gz
* gzip content-encoding optionBen Coburn2006-05-16
| | | | | | | | - Enables gzip compression of output xhtml for browsers that support it. For example the wiki:syntax page takes up 46.80KB raw, but only 9.88KB gzip encoded. - Setting is configurable through the config plugin. darcs-hash:20060516084132-05dcb-d8d1c7911a951b00e166c5a94f46a2cf1cfa5846.gz
* fr updateAndreas Gohr2006-05-15
| | | | darcs-hash:20060515190136-7ad00-7ad740433de7a21980efba720f4f45f30f085226.gz
* nl updateAndreas Gohr2006-05-15
| | | | darcs-hash:20060515185820-7ad00-29b60fb0a142c9d2cd27c9dfbf4549fcb7829970.gz
* more info is gathered on metaupdate in background indexerAndreas Gohr2006-05-11
| | | | | | | | | | The background indexer now gathers info on contributors and modification dates from the changelog when adding the missing meta info. A new io_grep function was added which might be useful for other parts in the Wiki as well. darcs-hash:20060511191450-7ad00-baba1b48ea03b823c88a480862c612316f159b5a.gz
* lang.it-20060507polinnia2006-05-07
| | | | | | | | * fixed some translation errors in dir. inc/lang/it * changed some labels for text-formatting quickbuttons to match those of GUIs and office suites darcs-hash:20060507170229-57bea-cbe1f3011eaec0b4d426fa0c49b71defda1fa245.gz
* optionally use HTTP credentials to log inAndreas Gohr2006-05-07
| | | | | | | | | | If no credentials where given (either by form or former cookie) it is checked if credentials from a former HTTP based authentication are available. Those will be tried for login then. This only works with PHP running as Apache module. darcs-hash:20060507161224-7ad00-7ba0a6e871cf5319038e83672a2ff05ef23c124b.gz
* metadata hnalding updates, header fixesAndreas Gohr2006-05-07
| | | | | | | | This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render certain headers as it did in earlier versions. darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
* changed all occurances of rename() to io_rename()Andreas Gohr2006-05-07
| | | | darcs-hash:20060507101333-7ad00-e687d797fbee26e0b0bc7741ff8a1af496c101bf.gz
* metadata enhancementsAndreas Gohr2006-04-30
| | | | | | | | | | | This adds meta data rendering to the indexer process to build missing meta data in the background. p_get_first_heading was adjusted to make use of the new meta data mechanisms A problem with unitialized arrays in p_set_metadata and PHP5 was fixed (I think) darcs-hash:20060430181740-7ad00-8952fa6beb4fadf6b4321627998442d34febfc8d.gz
* Search index skips over hidden namespacesMartin Tschofen2006-04-29
| | | | darcs-hash:20060428233035-a265a-5b124304e8250f0c97bff5ce8fdc839170cc7f95.gz
* Feedfetcher/HTTPClient fixAndreas Gohr2006-04-29
| | | | | | | | | | | | | This fixes a typo which made the new Feedparser not use our own HTTPClient. It also enhances the get() method of HTTPClient to optionally cope better with bad HTTP responses: Some servers return a body with a "304 Not Modified" status which violates RFC 2616 but is usually accepted by common browsers. Setting the $sloppy304 parameter will return the response body. This fixes problems with feeds from feedblendr.com darcs-hash:20060429155805-7ad00-33a1c3142f241bf7747e8f679237cb6e8f1564ef.gz
* tpl_actionlink() reports if a link was printed #777Andreas Gohr2006-04-28
| | | | darcs-hash:20060428195153-7ad00-7104d2ffc54902e8969202a9a3ac93f7df5dcbf7.gz
* better callback handling in search() functionAndreas Gohr2006-04-28
| | | | | | | The search() function now accepts an array in $func for giving object methods as callback. darcs-hash:20060428184554-7ad00-2d1726d078683ea41c72f6ca67ded3e1eccfdf17.gz
* accesskey tooltip rewritingBen Coburn2006-04-28
| | | | | | | | Does client-side rewriting of accesskey tooltip text so that it will be more OS and browser specific. Dokuwiki should output all accesskey tooltips as [ALT+<key>] because this patch matches on "[ALT+". darcs-hash:20060428015158-05dcb-0102a1b2068c053e81dd21ad3927c78b6c9f349e.gz
* event (minor) updatechris2006-04-25
| | | | | | | correct handling of enablePreventDefault in advise_before() improved comments for trigger_event() wrapper darcs-hash:20060424234541-9b6ab-b07040f60b86c40466b95d92514b0a0d60674a83.gz
* event system revisionchris2006-04-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a major revision of DokuWiki's event system. There are changes to class names, function names, function parameters and their order and event names. For action plugin writers the following changes are important: - <event_name> is no longer signalled, only <event_name>_BEFORE and <event_name>_AFTER. - note the case change for _BEFORE and _AFTER - calling stopPropagation while processing a _BEFORE signal no longer prevents an _AFTER signal. The events _continue value is reset before the _AFTER signal is made. - events have a new readonly property, canPreventDefault. This lets the event handling hook know whether or not the event honours preventDefault calls. - parameters have changed for the register_hook method, parameters are now $event_name, $advise (can be 'BEFORE' or 'AFTER') $object $method $param (this parameter is now optional) - parameter order has changed for the hook event handler callback functions &$event $param (can now be left off) Event names have changed, they are now structured <dokuwiki name>_<event data name>_<action_name or state if no action> DOKUWIKI_START darcs-hash:20060424220152-9b6ab-00e366288f7ec8a85b85dc83694a5f43a07aa082.gz
* just a few symbols in the picker addedAndreas Gohr2006-04-24
| | | | darcs-hash:20060424214448-7ad00-9ddb03ba739930555538c942de12cd28b5ac7097.gz
* GeShi Update to 1.0.7.9Andreas Gohr2006-04-24
| | | | darcs-hash:20060424213806-7ad00-05b1ae64e442ef72b94f0cc900530336ea70f3bd.gz
* inc.lang.it-patchSilvia S2006-04-18
| | | | | | | spelling and gender corrections - added all missing translations for dir. inc/lang/it darcs-hash:20060418173433-6f5f9-090be4bcb32b4075358de113941cf491e2cde215.gz
* added missing SimplePie.phpAndreas Gohr2006-04-18
| | | | darcs-hash:20060418201132-7ad00-fd1a73238470a55a245ee873479fa391a4a4bb53.gz
* faroese translationAndreas Gohr2006-04-18
| | | | darcs-hash:20060418183353-7ad00-4a5f2fbe0bf1524cf279d15110d80688d31bfe0f.gz