| 7dfce451 | 15-Apr-2018 |
Anika Henke <anika@selfthinker.org> |
Fix buttons with invalid empty name attributes
The search buttons from the search form on the top of the page as well as the search page both produce invalid HTML due to the name attribute being emp
Fix buttons with invalid empty name attributes
The search buttons from the search form on the top of the page as well as the search page both produce invalid HTML due to the name attribute being empty. As the name is required for each of the PHP functions producing the buttons and is passed as an empty string, this makes sure that parameters with empty strings get skipped.
show more ...
|
| ada0d779 | 15-Apr-2018 |
Michael Hamann <michael@content-space.de> |
Prevent HTML and JS injection in section names
Before this change, HTML and some JS code (as far as it was not escaped by json_encode) could be injected into the output as the closing pattern that i
Prevent HTML and JS injection in section names
Before this change, HTML and some JS code (as far as it was not escaped by json_encode) could be injected into the output as the closing pattern that is checked by the regex is not escaped in JSON (see test case).
show more ...
|
| ac025fdf | 14-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
fallback for new section editing. fixes #2311
The displayed message now shows the target that was passed, which should help identifying the troubling plugin.
Instead of failing, we fix the data our
fallback for new section editing. fixes #2311
The displayed message now shows the target that was passed, which should help identifying the troubling plugin.
Instead of failing, we fix the data ourselves - this code will be removed in the future.
show more ...
|
| 7d515db4 | 13-Apr-2018 |
Davor Turkalj <turki.bsc@gmail.com> |
translation update |
| 079e0137 | 13-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
fix(HTTPClient): add handling for 204: No Content responses
This fixes a bug that would occur if the DokuHTTPClient receives a 204 response, e.g. as a result for a request to delete something. It wo
fix(HTTPClient): add handling for 204: No Content responses
This fixes a bug that would occur if the DokuHTTPClient receives a 204 response, e.g. as a result for a request to delete something. It would still try to read the body, which fails, thus producing a timeout and finally throwing an exception.
This fix instructs the HTTPClient to not read the (not existing) body if it receives a 204.
show more ...
|
| 54f741e8 | 13-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
relax geshi options a bit more
Quotes are now optional, the options are spearated by space |
| 5d87aa31 | 13-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
fix: bring back the namespace in brace for pagelookup results
This was unintentionally removed in 4eab6f7c40ab5e2fbbb5e0efb20d930d4b1730fe
It also should now be clearer what the code does.
This fi
fix: bring back the namespace in brace for pagelookup results
This was unintentionally removed in 4eab6f7c40ab5e2fbbb5e0efb20d930d4b1730fe
It also should now be clearer what the code does.
This fixes #2305
show more ...
|
| b2c9cd19 | 12-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
renamed ActionRouter::checkPermissions to checkPreconditions
As discussed in #1933 |
| 13ce475d | 11-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
shortened new search configs
shorter names are more in line with what we already use, makes less layout problems in the documentation and is easier to type when telling people about it. |
| 37c80e0e | 10-Apr-2018 |
LarsDW223 <lars_paulsen@web.de> |
Section edit: corrected pattern 'SEC_EDIT_PATTERN'
This fixes broken nested section edit buttons which were causing invalid HTML code. The pattern has to be 'not greedy'. Fixes #2304. |
| 5a165017 | 05-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
fix regex character class. fixes #2301 |
| 432cf0d1 | 05-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
fix: switch extensions if stylesheet in style.ini doesn't exist
This should give us some backwards compatibility for changing files in dokuwiki template from .css to .less
This way template authors
fix: switch extensions if stylesheet in style.ini doesn't exist
This should give us some backwards compatibility for changing files in dokuwiki template from .css to .less
This way template authors get a warning to adjust their template, it won't break right away.
This should prevent breaking search pages in other templates due to pull request #2286 .
show more ...
|
| 0c39d46c | 05-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: rename and move function to set $JSINFO
This is a more consistent place relative to pageinfo() |
| 7bf31909 | 29-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
fix: add missing global $ACT for $JSINFO |
| 1d739e3d | 29-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: use native json_encode for $JSINFO
json_encode is available natively since PHP 5.2 |
| b3054f02 | 29-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: rename JSINFO.DOKU_UHN and JSINFO.DOKU_UHC
This should make their purpose more obvious. |
| 10cf78c4 | 29-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: extract $JSINFO initialization into tpl_ function |
| 422bbbc6 | 29-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
refactor: rename dta and dtb parameters
They are now named min and max respectively, which is hopefully less cryptic. |
| ec27794f | 28-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
doc(search): parameter must be string or false |
| fc46ed58 | 28-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
doc(search): highlight is expected to be an array |
| 826e222f | 28-Mar-2018 |
Andreas Gohr <gohr@cosmocode.de> |
show adavanced tools with JavaScript only |
| a00078f7 | 28-Mar-2018 |
Andreas Gohr <gohr@cosmocode.de> |
adjusted language files to remove outdated string |
| c2d6156e | 28-Mar-2018 |
Andreas Gohr <gohr@cosmocode.de> |
removed sub header from all languages |
| 2171f9cb | 28-Mar-2018 |
Andreas Gohr <gohr@cosmocode.de> |
added aria attributes |
| 1d918893 | 28-Mar-2018 |
Andreas Gohr <gohr@cosmocode.de> |
more styling and RTL support |