| 3f552e56 | 20-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
fix empty action on login form |
| d1264ecf | 20-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
fix empty action on recents form |
| e009a94f | 20-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
Honor type setting for recent changes. fixes #2322 |
| 8225e1ab | 20-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): don't start result position with 2
Also, for consistency this initializes also $num with 0, while ensuring that the first FT_SNIPPET_NUMBER results with a $cnt>0 have a snippet. |
| f0861d1f | 20-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
refactor(search): clearer data flow |
| b12bcb77 | 19-Apr-2018 |
Anika Henke <anika@selfthinker.org> |
Change spacing in search meta data to punctuation
Punctuation is more natural, makes sense with CSS switched off and makes screenreaders add a little pause. |
| ad75ad58 | 17-Apr-2018 |
Michael Bohn <mjbohn@gmail.com> |
translation update |
| 58332f92 | 17-Apr-2018 |
Domingo Redal <docxml@gmail.com> |
translation update |
| 8e3e8693 | 17-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
handle empty changelogs correctly
The code would previously throw a warning when a changelog did not exist or was empty. |
| f30298a1 | 17-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
some basic framework to do at least some HTML validity checking
Checks are done against the w3.org validator API. Currently we have some fails. One will be fixed in #2314, others still need to be fi
some basic framework to do at least some HTML validity checking
Checks are done against the w3.org validator API. Currently we have some fails. One will be fixed in #2314, others still need to be fixed.
This integration test also reveals some code bugs because texts do not suppress warnings and deprecation messages.
show more ...
|
| 6d55fda7 | 17-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
Fix(search): restore valid heading hierarchy
In #2286 the 2nd level heading in the intro was removed, so the h3 should be promoted to h2. |
| 78d786c9 | 17-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): add position to fulltext results event |
| 5d06a1e4 | 17-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
fix(search): ensure consistent html in search results
This implements some of the changes discussed in #2314:
1. last mod and number of hits are on the same line and always shown 2. There is a clas
fix(search): ensure consistent html in search results
This implements some of the changes discussed in #2314:
1. last mod and number of hits are on the same line and always shown 2. There is a class around the last mod string so it can be hidden/replaced by an icon 3. All items in the resultBody returned by the event are wrapped in `<dd>` tags to ensure validity. They get their array key as class 4. There is still a wrapper div around each result for styling purposes
show more ...
|
| 85d672d0 | 17-Apr-2018 |
Yuriy Skalko <yuriy.skalko@gmail.com> |
translation update |
| 7c15eaa2 | 15-Apr-2018 |
Anika Henke <anika@selfthinker.org> |
Fix invalid HTML in search results
Recent changes to the search results page added various divs to the pre-existing description list, which is invalid. This fixes that by a) removing a couple of unn
Fix invalid HTML in search results
Recent changes to the search results page added various divs to the pre-existing description list, which is invalid. This fixes that by a) removing a couple of unnecessary elements and b) interpret the 'last modified' line as another 'dd'.
show more ...
|
| 5d021066 | 15-Apr-2018 |
Anika Henke <anika@selfthinker.org> |
Fix links with invalid empty target attributes
The advanced search options list links with an invalid empty target attribute. This fixes that by skipping empty parameters. |
| 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 ...
|
| a851f92d | 13-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
manual GeSHi patch applied
monkey patched GeSHi/geshi-1.0#104 |
| 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 |
| 210ff133 | 13-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
make testing of inaccessible methods easier
While it's generally frowned upon testing privates, it can often be useful and the easier way to write tests. Eg you want to test something complicated me
make testing of inaccessible methods easier
While it's generally frowned upon testing privates, it can often be useful and the easier way to write tests. Eg you want to test something complicated method that is important, but you do not want to expose it directly to other classes...
This new method uses reflection to make access to such methods possible from within tests without the need for intermediate classes.
show more ...
|
| 43d3f077 | 13-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
updated composer dependencies |