| 5ff12737 | 25-May-2011 |
Adrian Lang <mail@adrianlang.de> |
Release preparations |
| 1c57662f | 25-May-2011 |
Adrian Lang <lang@cosmocode.de> |
Prevent fatal error in test cases when no auth backend is configured |
| f7b6e27e | 25-May-2011 |
Michael Hamann <michael@content-space.de> |
Remove the security token from the ajax draft/lock calls again
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 d
Remove the security token from the ajax draft/lock calls again
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.
show more ...
|
| 5db16396 | 25-May-2011 |
Martin Michalek <michalek.dev@gmail.com> |
Slovak language update |
| 52b88d6b | 25-May-2011 |
Omid Mottaghi <omidmr@gmail.com> |
Persian language update |
| 66f6026a | 25-May-2011 |
Usama Akkad <uahello@gmail.com> |
Arabic language update |
| 31bc8f11 | 24-May-2011 |
Michael Hamann <michael@content-space.de> |
Check permissions + security token in lock + draft modification FS#2265
This disables lock and draft creation for pages the user can't edit. It additionally adds a security token to the draft creati
Check permissions + security token in lock + draft modification FS#2265
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.
show more ...
|
| 76388d5c | 24-May-2011 |
Michael Hamann <michael@content-space.de> |
Use login cookie for LDAP re-auth (closes FS#2260)
Since the password is no longer stored in the session, we need to use the login cookie instead. |
| dbb771bb | 23-May-2011 |
Adrian Lang <lang@cosmocode.de> |
Fix variable name typo in indexer |
| ded89ef6 | 23-May-2011 |
Michael Hamann <michael@content-space.de> |
Hopefully finally fixed the subscription user regex
Users with names like foo.bar still didn't receive the mail when user foo edited the page. Now the two possibilities (space and end of line) are t
Hopefully finally fixed the subscription user regex
Users with names like foo.bar still didn't receive the mail when user foo edited the page. Now the two possibilities (space and end of line) are tested instead of just a word boundary.
show more ...
|
| 6c30366e | 22-May-2011 |
Michael Hamann <michael@content-space.de> |
Correct the subscription user regex FS#2250
This fixes the subscription user regex to really only not to match the author of the change but to still match users who have that username as substring i
Correct the subscription user regex FS#2250
This fixes the subscription user regex to really only not to match the author of the change but to still match users who have that username as substring in their username.
show more ...
|
| 325c7e95 | 18-May-2011 |
Kate Arzamastseva <pshns@ukr.net> |
Ukrainian language update |
| 2b537ba8 | 08-May-2011 |
Adrian Lang <mail@adrianlang.de> |
Release preparations |
| 1f13e33d | 08-May-2011 |
Anika Henke <anika@selfthinker.org> |
made favicon always use direct link if used with ml() |
| 0f747863 | 08-May-2011 |
lupo49 <post@lupo49.de> |
Cosmetic changes in tpl_getFavicon() |
| 65aa8490 | 08-May-2011 |
Michael Hamann <michael@content-space.de> |
Add more render/cache logic to the metadata code
This adds a new rendering limit of currently 5 pages to the p_get_metadata function. This means that in one request not more than 3 pages will be par
Add more render/cache logic to the metadata code
This adds a new rendering limit of currently 5 pages to the p_get_metadata function. This means that in one request not more than 3 pages will be parsed/rendered. Pages for which the cache can be used aren't counted. This should make the new cache modes safe to use and should provide backwards compatibility while keeping the advantage of rendering metadata on demand (i.e. imagine one included page out of 10 is updated, then the metadata for that page can be rendered, but when you request a purge of the cache not 10 pages are rendered).
In this commit most of the changes to the p_get_first_heading function are reverted and the title index is no longer used. This makes the first heading functionality no longer depends on the search index of DokuWiki. Maybe it can be added again later when the indexer provides a proper API for getting metadata values for all or selected pages. The performance of the p_get_first_heading function should be almost back to the performance in Anteater as the simple cache of p_get_metadata is used and also the limit of p_get_metadata is of course applied.
show more ...
|
| 67c15ece | 07-May-2011 |
Michael Hamann <michael@content-space.de> |
Change when metadata is rendered - only when really needed
This changes the cache logic for metadata. It introduces a new mode that tries to avoid rendering the page again for simple requests but st
Change when metadata is rendered - only when really needed
This changes the cache logic for metadata. It introduces a new mode that tries to avoid rendering the page again for simple requests but still updates the metadata when the page has been changed (but not when the cache timeout has been reached or purge is used). It simply compares the time of the last rendering with the last modified time of the page.
The old boolean $render parameter has been changed into an int with three possible values. Compatibility for the old parameter is provided using a check with is_numeric using the following mapping: - false is still don't render (0 is the new value for that) - true is using that new render logic which means that many plugins will still work unchanged even if they request a lot of data using $render=true (1 is the new value for that providing full compatibility in the case 1 has been used instead of true)
The default value for p_get_first_heading is now that new simple cache logic, the default value for getting metadata is the cache logic which should be used with care but is the only way to request (rendered) metadata that can change because of plugin installations or upgrades.
show more ...
|
| defb7d57 | 07-May-2011 |
Anika Henke <anika@selfthinker.org> |
fixed some missing config_cascade occurrences (FS#2235) |
| 0cd1323b | 03-May-2011 |
Bart Lamberigts <bart.lamberigts@gmail.com> |
Dutch language update |
| 783bf912 | 03-May-2011 |
Marcelo Zunino <marcelo.zunino@gmail.com> |
Spanish language update |
| 3d94d9ed | 02-May-2011 |
Michael Hamann <michael@content-space.de> |
Fix the wording of the search index check messages |
| 26f7dbf5 | 02-May-2011 |
Michael Hamann <michael@content-space.de> |
Add a test to do=check that should detect search index corruption
With this test it should be possible to detect if the search index has been corrupted by using Rincewind RC or a git version of the
Add a test to do=check that should detect search index corruption
With this test it should be possible to detect if the search index has been corrupted by using Rincewind RC or a git version of the weeks before the RC release.
show more ...
|
| 42c58e90 | 02-May-2011 |
Andreas Gohr <andi@splitbrain.org> |
set cursor to start of textbox when focusing FS#2243
This works around a new "feature/bug" of Firefox 4. |
| d041f8db | 02-May-2011 |
Michael Hamann <michael@content-space.de> |
Add a force option to idx_addPage() |
| 2e1018bc | 02-May-2011 |
Michael Hamann <michael@content-space.de> |
Add line endings at the end of the file
The bug that is fixed here may have corrupted your search index in a way that it produces wrong or missing results and won't be fixed automatically. This occu
Add line endings at the end of the file
The bug that is fixed here may have corrupted your search index in a way that it produces wrong or missing results and won't be fixed automatically. This occurs when you have deleted the last occurrence of a word that has been on the last line of one of the word indexes. A functionality for checking for a broken search index will be added.
The index can be fixed by deleting it completely (remove all .idx files in data/index/) and recreating it using bin/indexer.php -c. The searchindex plugin will be updated to be able to do the same, soon.
show more ...
|