summaryrefslogtreecommitdiff
path: root/inc
Commit message (Collapse)AuthorAge
* 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
* add missing FeedParser.php #782Andreas Gohr2006-04-17
| | | | darcs-hash:20060417160453-7ad00-e54322159dbe1c1c75cd2c8494fda14a3f4bc021.gz
* event ACTION_TEMPLATE minor updatechris2006-04-15
| | | | darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz
* events TPL_ACTION_HTML & TPL_DISPLAY_HTMLchris2006-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event TPL_ACTION_HTML data $ACT action tpl_content_core (formerly tpl_content) This event is a wrapper for tpl_content() (now tpl_content_core()) and as such is a full trigger, meaning it issues three advises: - TPL_ACTION_HTML_before - TPL_ACTION_HTML - TPL_ACTION_HTML_after Event handlers can output HTML before and/or after the main Dokuwiki page output and can prevent the default dokuwiki page generation taking place. Example uses could include: - replacements for dokuwiki command handlers like index. - appending a discussion section to the page by handling TPL_ACTION_HTML_after event TPL_DISPLAY_HTML data html output produced by tpl_content_core[1] action send output to browser Event handlers can post process the HTML output before it is sent to the client browser. This is a full trigger, meaning it issues three advises - TPL_DISPLAY_HTML_before - TPL_DISPLAY_HTML - TPL_DISPLAY_HTML_after darcs-hash:20060415160847-9b6ab-d7affcb1aaf49aecfaf9bc1e78a82ceb8ae409f7.gz
* event SEND_HEADERSchris2006-04-15
| | | | | | | | | | | | | | | | | Event data an array of headers dokuwiki will send[1]. The default action is to output all the headers in order using the header() function. This event is a full trigger, meaning there are three advises: - SEND_HEADERS_before - SEND_HEADERS - SEND_HEADERS_after Handlers of this event can add/modify/delete the headers in the event data. The event data must remain an array, even if emptied. [1] There is one dokuwiki header 'Content-Type: text/html; charset darcs-hash:20060415160210-9b6ab-841bd034b797c7f1b8d4bbc66f90185a16e5a043.gz
* new metadata renderer; functions p_get_metadata() and p_set_metadata()Esther Brunner2006-04-15
| | | | darcs-hash:20060415104627-283c4-c7d35620fc9dbc21b8a47089692b76d35a9f9ca8.gz
* event ACTION_TEMPLATEchris2006-04-14
| | | | | | | | | | | | | This event is advisory only. Event data is the $ACT variable The default action is to display an "unknown action" message The event is triggered by tpl_content if it does not recognise the $ACT value. It is the complement to event 'ACTION_DISPATCH'. Handlers of this event can output XHTML which will be displayed in the main dokuwiki window - ie. where the wiki page would normally be displayed. darcs-hash:20060414201705-9b6ab-f8ede6a2fb601d734c115ee09bb57195ad7d1e2b.gz
* event HANDLER_FINALISEDchris2006-04-14
| | | | | | | | | | | | | | | This event is advisory only. Event data is the handler object. There is no default action to prevent. The event is signalled by the handler during its finalisation of the instruction list. At the time of signalling the instruction list is complete except for three instrucitons, meta, document_start & document_end. Syntax plugins could register for this event to finalise processing of their data knowing it is complete, e.g. an alternate footnote plugin. darcs-hash:20060414201101-9b6ab-eba2d096ed3b82e1ec6b24ee90caaa9849f16093.gz
* add ACTION_DISPATCH eventchris2006-04-14
| | | | | | | | | | | | | | | | The 'ACTION_DISPATCH' event[1] is triggered prior to any processing of the $ACT variable[2]. This gives custom content the opportunity to add new "do" commands and to process any custom form data. This event is advisory only (there are no '_before' or '_after' advise) Preventing default action will skip Dokuwiki's own processing of the $ACT value, this includes its cleansing of the $ACT variable. [1] also refer ACTION_TEMPLATE event [2] $ACT is the do variable from the query string darcs-hash:20060414195601-9b6ab-8ae62d2c3a7c6f8c09c77436d9adbaba5404f51b.gz
* action pluginschris2006-04-14
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds events and a third plugin type, "action" plugins, to DokuWiki. The patch doesn't include any event signalling, that will be added in later patches. Action plugins are loaded before most Dokuwiki processing takes place and at the same time are given the opportunity to register handlers (or hooks) to receive specific dokuwiki events. Other parts of Dokuwiki (e.g. templates and syntax plugins) can also register handlers to receive events. Any part of Dokuwiki can create and signal events, including templates and plugins. This patch also revises the admin plugin class by making it an extension of a new class, DokuWiki_Plugin. The DokuWiki_Plugin_Action class also extends this new class. Further details of events, their signalling and handling, and of action plugins will be added to wiki.splitbrain.org in due course :-) darcs-hash:20060414193737-9b6ab-f23d3d9b93e4c50a3ad97ced03eabc6c0363650b.gz
* relative upper linksAndreas Gohr2006-04-14
| | | | | | Now allows links like [[..:..:page]] darcs-hash:20060414150358-7ad00-88394caabc6ee2ce7137694e2a0c0c98e7534ea5.gz
* magpie files removedAndreas Gohr2006-04-14
| | | | darcs-hash:20060414110517-7ad00-a942f845647f301255365b162a22826cd9a983f6.gz
* feed aggregation revampedAndreas Gohr2006-04-14
| | | | | | Feeds are now parsed with SimplePie. The feed syntax was enhanced darcs-hash:20060414110047-7ad00-6dd4b96845baab8683a2f837d6ad6fcb2fd53131.gz
* even faster header parsing using strspnAndreas Gohr2006-04-12
| | | | darcs-hash:20060412184125-7ad00-e51f8d531bf3011d230f62cb99fd18de8f150c41.gz
* releaxed header syntaxAndreas Gohr2006-04-11
| | | | darcs-hash:20060411182721-7ad00-0f34803c6228eb2918f0049284e6290a47ce51bd.gz
* pagetitle as template pagenameBen Coburn2006-04-11
| | | | | | | | Uses the first heading as the page name in the default template if $conf['useheading'] is set. Updates tpl_pagetitle() so that it can return this value. darcs-hash:20060410234311-05dcb-b4636f7c0d8f98658a6097ea9ee4dff1ee2de8b4.gz
* reverted method to determine the header levelAndreas Gohr2006-04-10
| | | | darcs-hash:20060410194333-7ad00-abb8bc33f647ccd8587edbcc151bc60895dd3ae0.gz
* Parser Update:chris2006-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - revisions to header class and section handling header pattern simplified header class now writes section open and close instructions section call writer removed check for and update meta['first_header'] if required (see below) - meta instruction added written by _finalize to front of instruction stack holds first header information plugins can now write first header information, or other page meta information to this data structure. - get_first_heading updated to make use of meta['first_header'] - plugin instruction structure changed to include lexer state in the data portion of the instruction. OLD INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$pos), $pos) NEW INSTRUCTION: array('plugin', array(<plugin name>,<plugin_data>,$state), $pos) - block handler/call writer update to better handle plugin PTypes 'block' & 'stack'. Lexer states are mapped as follows: DOKU_LEXER_ENTER, DOKU_LEXER_SPECIAL : block_open, stack_open DOKU_LEXER_EXIT, DOKU_LEXER_SPECIAL : block_close, stack_close DOKU_LEXER_MATCHED, DOKU_LEXER_UNMATCHED : plugin must handle <p> Plugin writers can now use these PTypes as intended ! darcs-hash:20060409214958-9b6ab-cd2cef97a6a2521e3a02175075b8ff4648035f69.gz
* small fix for getRevisionInfoYann2006-04-10
| | | | darcs-hash:20060410190409-919ab-f77447b1cb1b8de6e2a5790519d4aafc7baa577b.gz
* feedcreator changes for ATOM1.0Andreas Gohr2006-04-09
| | | | | | | | | | This patch updates the feedcreator.class.php with a few non official changes found at [1] - the download link didn't work at this page so [2] was used. Some additional minor modifications were done. feed.php now accepts the type darcs-hash:20060409132507-7ad00-8e5986631146eca9606aa1fb48278cb045a5db0a.gz
* cleanup export mode errorsBen Coburn2006-04-09
| | | | | | | | - Using the export modes 'handler', 'lexer', 'parser', or 'renderer' now produces a nicer non-fatal error. - The export mode 'wiki' is now ignored to avoid fatal errors. darcs-hash:20060409045546-05dcb-89f4c56c23d9798f4cb2dd000804cb8c03524b6d.gz
* spanish language updateAndreas Gohr2006-04-09
| | | | darcs-hash:20060409115740-7ad00-dd6cb62ccd4e0947ccb7566b0c0010eb807585e3.gz