summaryrefslogtreecommitdiff
path: root/lib/exe/ajax.php
Commit message (Collapse)AuthorAge
...
* 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
* Pagelocks are now refreshed in the backgroundAndreas Gohr2006-01-28
| | | | | | | An AJAX call is used to refresh the pagelock when keypresses in the textarea are detected (With a minimum wait of one minute between calls). darcs-hash:20060128152139-7ad00-66d64326bcf04c9b8d49285ac736137e9dd48249.gz
* stricter xhtml compliance -- part 2Anika Henke2006-01-15
| | | | darcs-hash:20060115183253-d5083-a343b935336bee053b99d75c7e3e72a296eb0099.gz
* hide namespace in ajax quicksearchAndreas Gohr2005-09-04
| | | | darcs-hash:20050904114117-7ad00-8d5288f7f51f4ac4f8d13f9fddac97b3b1620e94.gz
* the search now uses the indexAndreas Gohr2005-09-04
| | | | darcs-hash:20050903220229-7ad00-5d95f905eaeb3f6b867aa3ee43c2a8bccc533c00.gz
* session_write_close added #364andi2005-06-08
| | | | | | | | | | I just learned that PHP does lock it's session objects. This is realy bad if you have multiple images in a page as each one will call fetch.php which locks the session, so everything can only be loaded sequentially. The fix for this is to close the session after using it which is after doing the auth and the breadcrumbs. I added the needed calls everywhere. darcs-hash:20050608213514-9977f-f2dfc467ebbd06406e10e33a386fa1db6cb32dba.gz
* Spellchecker fixesandi2005-06-08
| | | | | | | | The spellchecker now works in IE6, Firefox and Opera 8 :-) SACK was updated to the latest release (plus a minor fix) Proper UTF-8 headers were added to the AJAX PHP backends darcs-hash:20050608182758-9977f-1eacd0ba9993a62f094433d982f668e38d17ba14.gz
* AJAX spellchecker #29andi2005-06-07
| | | | | | | | | | | | | | | | | | | | This is nearly a complete rewrite of the gmail like AJAX spellchecker from http://www.broken-notebook.com/spell_checker/index.php Here are the differences and features * seemless integrated into DokuWiki * no need for the pspell extension * needs GNU aspell installed (not sure about the version I guess 0.60+ for UTF8) * needs PHP 4.3.0+ * uses SACK for AJAX * gets errors and suggestions in one transfer So far only tested in Firefox. It should work in IE, Safari and Opera 8, too. Please test and report back. darcs-hash:20050607194456-9977f-f699144d1fd28359742b2ce0f28c839a1f4cefbb.gz
* directory layout cleanup !IMPORTANTandi2005-06-05
This patch changes the directory structure of dokuwiki as suggested in http://www.freelists.org/archives/dokuwiki/06-2005/msg00045.html As the changes.log is not managed through darcs you need to move it your self to the new location in data/changes.log I think I modified the code at all nessessary places, but I may have forgotten a few things. darcs-hash:20050605103842-9977f-af20f63c1d604888375d175d89ac6bd71566d47d.gz