summaryrefslogtreecommitdiff
path: root/lib/exe/ajax.php
Commit message (Collapse)AuthorAge
* issue #61 security fixKate Arzamastseva2011-09-06
|
* issue #47 Changes to old media manager popup: removing edit and delete ↵Kate Arzamastseva2011-09-02
| | | | functionality
* issue #57, function names, params, html fixesKate Arzamastseva2011-08-24
|
* issue #44 uploader fixes, #45 browser testingKate Arzamastseva2011-08-21
|
* issue #44 new uploader in the media popupKate Arzamastseva2011-08-19
|
* issue #50 styling the new uploaderKate Arzamastseva2011-08-15
|
* issue #44, #52 media_upload reused, error handlingKate Arzamastseva2011-08-12
|
* issue #44 overwrite checkbox added to uploaderKate Arzamastseva2011-08-08
|
* issue #44 multi file uploaderKate Arzamastseva2011-08-04
|
* issue #38 diff links only if diff available; deleted filesKate Arzamastseva2011-08-03
|
* image diffs fixesKate Arzamastseva2011-07-26
|
* Merge branch 'master' of git://github.com/splitbrain/dokuwiki into ↵Kate Arzamastseva2011-07-15
|\ | | | | | | media-revisions
| * Fix some bugs and glitches in (mediamanager) treeAdrian Lang2011-07-11
| | | | | | | | | | | | * Fix selector in subtree loading callback * Remove HTML inconsistencies between AJAX and plain PHP lists * Unify icon and CSS class switching in dw_tree and dw_mediamanager
* | mediamanager ajax formsKate Arzamastseva2011-07-04
| |
* | ajax mediamanager fixKate Arzamastseva2011-07-03
| |
* | ajax mediamanagerKate Arzamastseva2011-07-03
|/
* Remove the security token from the ajax draft/lock calls againMichael Hamann2011-05-25
| | | | | | | The security token here doesn't improve the security as the other requests that allow you to do the same thing aren't protected and I don't see why locking or draft creation should be subject of XSRF attacks.
* Check permissions + security token in lock + draft modification FS#2265Michael Hamann2011-05-24
| | | | | | | This disables lock and draft creation for pages the user can't edit. It additionally adds a security token to the draft creation and deletion request so - at least for logged in users - drafts can't be created, modified or deleted so easily anymore.
* avoid warning in linkwizard when a space is entered as queryAndreas Gohr2011-02-11
|
* added missing change for path length shortener in ajax backendAndreas Gohr2011-01-15
|
* coding style fixAndreas Gohr2011-01-14
|
* Remove enc=utf-8 in VIM modeline as it is not allowed in VIM 7.3Michael Hamann2010-11-29
| | | | | | As of VIM 7.3 it is no longer possible to specify the encoding in the modeline. This gives an error message whenever such a file is opened, thus this commit removes the enc setting from the modeline.
* Work around WebKit bug: newlines at the end of input values are removed.Adrian Lang2010-09-22
| | | | In WebKit, newlines at the end of input field’s value parameters are removed. This breaks $PRE, so we protect those new lines with a dot and later remove the dot.
* fixed locktimer/draft saving on new pagesAndreas Gohr2010-08-11
| | | | When creating new pages, no date field is added in the edit form.
* Wrap $HTTP_RAW_POST_DATA in !empty() to avoid NOTICE in error logsChristopher Smith2010-06-27
|
* FS#433: Editor now uses onbeforeunload event to capture ANY leaving of itGina Haeussge2010-06-27
| | | | | | | | besides via Save or Preview button. This has been successfully tested in FF, Chrome and IE6/7/8. Opera does not support onbeforeunload, therefore the draft is kept if the user navigates away from the editor. Please test this.
* Changes to the ft_pageLookup and related event FS#1978Andreas Gohr2010-06-26
| | | | | | | | | | | This patch changes the ft_pageLookup function to always return the title of pages with the result. This makes it easier to work with the array, as it no longer changes between numeric and key indexes depending on useheading. This also means that action plugins subscribed to SEARCH_QUERY_PAGELOOKUP need to be adjusted. The event contains a new data field called 'has_titles' which plugins can use to check for backwards compatibility.
* Perform quick search in title as wellAdrian Lang2010-06-16
|
* removed dead leftover code from media searchAndreas Gohr2010-03-12
|
* Merge branch 'requireall'Andreas Gohr2010-03-12
|\ | | | | | | | | Conflicts: inc/fulltext.php
| * removed require's in lib/exe/*Andreas Gohr2010-02-01
| |
* | honor sneaky_index config in link manager FS#1907Andreas Gohr2010-02-28
|/
* New dformat() function for fuzzy date supportAndreas Gohr2009-10-07
| | | | | | | | | | | | | | | | | | Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17 It is now possible to use the %f placeholder in $conf['dformat'] to add a fuzzy age string. Template developers and plugin authors should replace their strftime + $conf['dformat'] calls with calls to the new dformat() function. Example: %Y/%m/%d %H:%M (%f) produces dates like this: 2009/09/16 10:36 (3 weeks ago) darcs-hash:20091007133614-6e07b-677108d1b43928ef8fd886813e43514507b5e073.gz
* Search capabilities for the media manager added.sarnowski2009-08-24
| | | | darcs-hash:20090824112230-8c5bd-7b8d8ba14e7533c1035b7b732983a0e3de8251a1.gz
* added MEDIAMANAGER_CONTENT_OUTPUT eventAndreas Gohr2009-08-30
| | | | | | Ignore-this: 1742cf72bee0a1ac1898109ba5afc962 darcs-hash:20090830111438-7ad00-120e8fa9ce41e4317676dc2e9d5cf113a418ec44.gz
* More Link wizard cleanupAndreas Gohr2009-08-14
| | | | | | Ignore-this: 100b66fbe26d82dfd6cffba751cf6992 darcs-hash:20090814114056-7ad00-f5dc711f467f9f6d8904bb6b08d7daac4e675ec2.gz
* Link Wizard addedAndreas Gohr2009-08-12
| | | | | | | | | | | | | | | | | Ignore-this: c15561aa909f921f7845576378851b93 This adds a new link wizard to the toolbar which helps users to find the page the want to link to. Pages can be found by a simple page name search or by browsing the existing namespaces. This is the first checkin. Some cleanup and MSIE compatibility checks remain. note: development was part of the ICKE 2.0 project see http://www.icke-projekt.de for info darcs-hash:20090812102302-6e07b-fcc564fcaf2ed6aa832918870dd0f92607748687.gz
* fixed GET support in lib/exe/ajax.php FS#1679Andreas Gohr2009-05-04
| | | | | | Ignore-this: e77d9d77e6a02bb18b0cf7043a7eb3cb darcs-hash:20090504181055-7ad00-f8bf902e0c93f45eb6ca33fd5b32c9f8bb85512e.gz
* display the (shortened) namespace for page quicksearchAndreas Gohr2008-08-14
| | | | | | | | | | | | | | | When displaying pagename matches in the Ajax quick search or normal search, the namespace of the page is shown behind the pagename. This makes it easier to distinguish the pages when the same namespace is used in different namespaces. To avoid breaking the layout in deep nested namespace hierarchies, the namespace is shortened in the middle when needed. This patch also disables the effect of the useheadings option in the Ajax quick search. After all the results should show what was found and since the search works on pagenames not headings it should show pagenames as result. darcs-hash:20080814194826-7ad00-9add9c1bbbb4f4ede3c6884d37427644b2cddc56.gz
* use strftime() instead of date() FS#1335 :!:Andreas Gohr2008-02-23
| | | | | | | | | | | | | | This patch replaces the use of the date() function with the strftime() function. The latter will respect a set locale and will use localized strings for things like month names. Because the format options for strftime differ from the ones used in date, DokuWiki will rest the value of $conf['dformat'] if it contains an old date format string (detected by missing % characters). Plugins or templates using the $conf['dformat'] need to be updated. darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz
* don't use fullpath() before initializedAndreas Gohr2007-09-30
| | | | darcs-hash:20070930201133-7ad00-a35a6c40f880116009efd9e50cb002bd75733369.gz
* 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
* AJAX for the index viewAndreas Gohr2007-07-16
| | | | | | | | | | This makes the index view much more responsive by loading sub namespaces through AJAX if JavaScript is available. The used throbber image probably looks bad on dark backgrounds. If someone could provide a better one it would be greatly appreciated. darcs-hash:20070716184605-7ad00-adf298ee3303d50f2b4b6b66e5ea3ff8d8c2bf9a.gz
* OpenSearch supportAndreas Gohr2006-11-10
| | | | | | | | | This adds support for the OpenSearch specification to autodetect DokuWiki's search engine. The patch was submitted by Mike Frysinger some time ago. Some changes were made to the original patch. Only tested in FireFox 2.0 darcs-hash:20061110151453-7ad00-298ad77603854a604a642c0afd3975a997b8dc09.gz
* don't show .txt files as medianamespaces #963Andreas Gohr2006-11-03
| | | | darcs-hash:20061103150850-7ad00-9b6936efb8dd47eb366e5cd34a3149f4d81caa14.gz
* Add AJAX_CALL_UNKNOWN eventBen Coburn2006-08-09
| | | | | | | | | | | | Allows action plugins to support custom ajax calls. The event data is the call name from $_POST['call']. When handling a custom ajax call, remember to use $event->preventDefault(); to avoid having the 'AJAX call <call> unknown!' message appended to the output. darcs-hash:20060809194501-05dcb-0082e4f2a83fc8657fc7cdcf32d44aac8d1a6b99.gz
* fixing undefined variablesBen Coburn2006-07-10
| | | | | | | Fixing undefined variable notices and sometimes the underlying error that produced them. darcs-hash:20060710114655-05dcb-073948171847f1f43f153e96c8382abd421da36a.gz
* fixed an AJAX problem for the media managerAndreas Gohr2006-05-25
| | | | darcs-hash:20060525175501-7ad00-eebd033af344904eab32fe70ba5acfb77b94eada.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
* Automatic draft savingAndreas Gohr2006-03-11
| | | | | | | | DokuWiki now automatically creates a draft file of the currently edited page. In case of an editing interuption (eg. Browsercrash) the draftfile can be continued later. darcs-hash:20060311200148-7ad00-919337a51e001136178d175a1755cd26122e9726.gz