2ef8deb5 | 16-May-2018 |
Christopher Smith <chris@jalakai.co.uk> |
Issue #1250, associated unit test |
82f7cb05 | 11-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
adjust remote plugin handling in code check |
e79ce394 | 08-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
adjusted phpcs config for plugins |
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 |
836f6efb | 04-May-2018 |
Andreas Gohr <andi@splitbrain.org> |
add methods to test interal properties
You shouldn't really do this. But sometimes its so much easier to write a test that flips an internal bit than to do it poperly(tm). Better a risky test than n
add methods to test interal properties
You shouldn't really do this. But sometimes its so much easier to write a test that flips an internal bit than to do it poperly(tm). Better a risky test than none...
show more ...
|
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 |
09d57d5a | 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
adldap is a 3rd party lib |
99c1e5df | 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
disable some sniffs on things we can not change
because backwards compatibility. There will be more excludes. This is just a start. |
4b3d1701 | 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
do not check for namespace use, yet
We have to support lots of legacy code without namespaces |
994e9d4e | 27-Apr-2018 |
Andreas Gohr <andi@splitbrain.org> |
added php code sniffer config |
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 |
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 ...
|