| d443762b | 27-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
deprecated JSON class
JSON is natively supported since years. This makes 2145bd4c56435f829a19aad843172f8ddffbc69b obsolete again. |
| 2145bd4c | 27-Jul-2018 |
Andreas Gohr <andi@splitbrain.org> |
upgraded JSON class to latest (2006) version
from http://mike.teczno.com/JSON/JSON.phps
This fixes a problem on PHP 7.2. However ultimately this class should be dropped in favor of the native json_
upgraded JSON class to latest (2006) version
from http://mike.teczno.com/JSON/JSON.phps
This fixes a problem on PHP 7.2. However ultimately this class should be dropped in favor of the native json_decode/json_encode functions.
show more ...
|
| 0c3a5702 | 15-Jun-2018 |
Andreas Gohr <andi@splitbrain.org> |
split changelog classes into their own namespace
The remaining functions in inc/changelog.php should be moved into a utility class. |
| f823310a | 11-Jun-2018 |
Michael Große <grosse@cosmocode.de> |
✅ Add unittest for deleteUsers remote API call
Remote API calls should have some unittest as this test would have caught the bug that was introduced in 96d46bf41a428b555c02f30f1bb496535d41bc5d and f
✅ Add unittest for deleteUsers remote API call
Remote API calls should have some unittest as this test would have caught the bug that was introduced in 96d46bf41a428b555c02f30f1bb496535d41bc5d and fixed in ebf1744911831ec6d15325039a040effa41e466c
show more ...
|
| 2ef8deb5 | 16-May-2018 |
Christopher Smith <chris@jalakai.co.uk> |
Issue #1250, associated unit test |
| d05f72d0 | 07-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
fixed tests for chunked encoding
Looks like the domain we used to test this on expired. |
| dd87735d | 07-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
PSR-2 compatibility for the remote API libs |
| d4d8fb18 | 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
moved Parser to Parsing namespace |
| be906b56 | 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
moved all parsing related namespaces to their own |
| 8b1b81be | 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
cleaned up Doku_Handler for PSR-2 |
| de226116 | 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
adjusted the Lexer for PSR-2 |
| 47f73ecf | 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
adjusted Doku_Parser for PSR-2
All properties are declared protected. The handler is now set via the constructor. |
| 5c2aad12 | 30-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
split handler.php into multiple files
For now I left Doku_Handler itself as it were. We will need to keep the class name around for backwards compatibility but should move the class itself.
I intro
split handler.php into multiple files
For now I left Doku_Handler itself as it were. We will need to keep the class name around for backwards compatibility but should move the class itself.
I introduced a new ReWriter Interface to formalize how the various call writer implementations are accessed.
There are a whole bunch of doc blocks missing.
show more ...
|
| 36dc94bb | 28-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
split out parser modes into their own files
This moves all the parser classes into their own namespace and files. Next up are the handler classes.
I'm not sure about the namespace, yet. A nested na
split out parser modes into their own files
This moves all the parser classes into their own namespace and files. Next up are the handler classes.
I'm not sure about the namespace, yet. A nested namepspace Parser\Modes would probably make more sense... we'll see.
This also removes the duplicated coded in the Plugin mode. We now use the plugin trait and can inherit from AbstractMode instead.
show more ...
|
| de369923 | 28-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
visibility definition for the renderers
I made a lot of things public that probaly should be protected. But many syntax plugins do access renderer mechanisms directly, so better stay on the safe sid
visibility definition for the renderers
I made a lot of things public that probaly should be protected. But many syntax plugins do access renderer mechanisms directly, so better stay on the safe side here.
The base renderer is now abstract.
show more ...
|
| a087da71 | 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
fixed broken tests
I also introduced an auto loaded namespace for the tests. |
| aba86f38 | 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
visibility fixes
First start at declaring visibilites for methods and properties. Still missing: the parser/renderer stuff and the plugins |
| 42690e4d | 27-Apr-2018 |
Michael Große <grosse@cosmocode.de> |
feat: improve search as a primary means to create new pages
Specifically, this pull request checks if the current query is already a valid pageid and then return that as suggested pageid.
Also, tes
feat: improve search as a primary means to create new pages
Specifically, this pull request checks if the current query is already a valid pageid and then return that as suggested pageid.
Also, tests are added for this method.
Fixes #2355
PS: We may want to somehow better educate/nudge users to use the better way of creating pages by creating links on existing pages.
show more ...
|
| 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 ...
|
| 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 ...
|
| 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 |
| b2c9cd19 | 12-Apr-2018 |
Andreas Gohr <gohr@cosmocode.de> |
renamed ActionRouter::checkPermissions to checkPreconditions
As discussed in #1933 |
| 44156e11 | 21-Mar-2018 |
Michael Große <grosse@cosmocode.de> |
feat: add a simple unparser for parsed search queries
To allow creating links with manipulated versions of the current search query an unparser is necessary. However, the current output of ft_queryP
feat: add a simple unparser for parsed search queries
To allow creating links with manipulated versions of the current search query an unparser is necessary. However, the current output of ft_queryParser makes some advanced features hard to detect. Therefore the new ft_queryUnparser_simple cannot handle negated phrases and `OR` searches.
It should still cover 98% of search queries.
show more ...
|
| 036f7634 | 06-Mar-2018 |
Phy <git@phy25.com> |
use expectException instead of setExpectedException for PHPUnit |
| ec57f119 | 04-Jan-2018 |
LarsDW223 <lars_paulsen@web.de> |
Refactored section edit
The data for the section edit button is now passed as an assoziative array which is encoded in the '#<!-- EDIT(.*) -->#' placeholder as an JSON array. |