History log of /dokuwiki/_test/tests/ (Results 176 – 200 of 589)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c52c9e2b19-Jan-2020 Henry Pan <git@phy25.com>

Add test_escapedQuotes to css_compress

Thank you @micgro42!

Co-Authored-By: Michael Große <mic.grosse@googlemail.com>

6225b27028-Dec-2019 Michael Große <mic.grosse@googlemail.com>

Extract dokuwiki\Search\Indexer class

Not sure why Doku_Indexer caused phpcs to complain about the class name
not being in PascalCase, but Doku_Handler didn't. ��

The namespace and new class name w

Extract dokuwiki\Search\Indexer class

Not sure why Doku_Indexer caused phpcs to complain about the class name
not being in PascalCase, but Doku_Handler didn't. ��

The namespace and new class name was selected to be compatible with the
upcoming changes in #2943. This should hpopefully reduce the overall
hassle of touching the same code base.

show more ...

68491db901-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 5: Trying to access array offset on value of type bool/null

fc21b37b31-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

Ignore certain HTML validity errors

We use the ugc (user generated content) value for no-follow links since #2855
this is not yet supported in the validator.

This patch introduces a list of ignored

Ignore certain HTML validity errors

We use the ugc (user generated content) value for no-follow links since #2855
this is not yet supported in the validator.

This patch introduces a list of ignored error messages.

show more ...

dbdd6a0c21-Oct-2019 Phy <git@phy25.com>

clientIP: modify test to assume trusted proxy be included in IP array

445b937821-Oct-2019 Phy <git@phy25.com>

clientIP: Add tests addressing #2828

We cannot trust any IP not included in $conf['trustedproxy'].

60ea9a0720-Oct-2019 Phy <git@phy25.com>

getGoogleQuery: add tests

768be5a316-Sep-2019 Phy <git@phy25.com>

Add "default" keyword support for interwiki links

Thank you @selfthinker for the suggestion!

If nothing is found in default, it will still fall back to "". Test is added as well.

Meantime I fixed

Add "default" keyword support for interwiki links

Thank you @selfthinker for the suggestion!

If nothing is found in default, it will still fall back to "". Test is added as well.

Meantime I fixed a problem that Scrutinizer complained about.

show more ...

abde598018-Jun-2019 Phy <git@phy25.com>

Remove Google Lucky for non-existing interwiki links

For compatibility renderer will return string '' of $shortcut and $url instead of NULL when seeing a non-existing interwiki link. In the meantime

Remove Google Lucky for non-existing interwiki links

For compatibility renderer will return string '' of $shortcut and $url instead of NULL when seeing a non-existing interwiki link. In the meantime, media and link output in xhtml renderer is adjusted, to show title text instead when src/href is null. In interwiki case, the title will be the "reference" part of the interwiki link.

This makes it possible to also support no URL cases in `interwiki.conf`. Before it will output a URL as `rawurlencode($reference)`, which doesn't make too much sense since it's encoded. However, I am not sure the use case under the current behavior (no URL, but text as `$reference`).

Docs needs to be added to warn renderer plugin developers of this situation.

This fixes #2588.

show more ...

5fdc2ff217-Sep-2019 Phy <git@phy25.com>

css_compress: quote placeholder to simply quote protection

There are two ways of doing this:

1. "doku" > STR1 > "doku"
2. "doku" > "1" > "doku"

#1 is what I did before. I did replace STRN with a n

css_compress: quote placeholder to simply quote protection

There are two ways of doing this:

1. "doku" > STR1 > "doku"
2. "doku" > "1" > "doku"

#1 is what I did before. I did replace STRN with a new placeholder in the previous implementation so that there is no conflict. However #2 is more elegant, so this commit implements it.

Test is updated to address splitbrain's concern about placeholder string in the original text.

show more ...

a9bd2f2f10-Jan-2019 Phy <git@phy25.com>

add quotes test for #2517

fe52a7ca17-Oct-2019 Mark Janssen <mpc.janssen@gmail.com>

Add failing unit test for #2883

0af8c6fb15-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

added group internet to html validity checks

Because we use an online validator

8cbc5ee810-Jun-2019 Andreas Gohr <andi@splitbrain.org>

replaced deprecated utf8 functions

For now this uses full qualified namespaces, sensible imports may come
later.

a81f3d9924-Apr-2019 Andreas Gohr <gohr@cosmocode.de>

fix and test php_to_byte() related to #2756 #2556

This refactors the php_to_byte() method to properly return integers
always. A bug when reading byte sizes under 10 bytes was fixed. Infinity
(signal

fix and test php_to_byte() related to #2756 #2556

This refactors the php_to_byte() method to properly return integers
always. A bug when reading byte sizes under 10 bytes was fixed. Infinity
(signaled by a -1 in php.ini) is now returned as -1.

According to [1] PHP supports size shortcuts for (K)ilobytes,
(M)egabytes and (G)igagbytes only. The support for Tera- and Petabytes
has been removed.

[1] https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes

show more ...


inc/common_php_to_byte.test.php
/dokuwiki/conf/acronyms.conf
/dokuwiki/conf/interwiki.conf
/dokuwiki/inc/Action/Search.php
/dokuwiki/inc/common.php
/dokuwiki/inc/lang/es/lang.php
/dokuwiki/inc/lang/fr/lang.php
/dokuwiki/inc/lang/fr/mailtext.txt
/dokuwiki/inc/lang/fr/recent.txt
/dokuwiki/inc/lang/fr/subscr_digest.txt
/dokuwiki/inc/lang/fr/subscr_list.txt
/dokuwiki/inc/lang/fr/subscr_single.txt
/dokuwiki/inc/lang/it/lang.php
/dokuwiki/inc/lang/nl/lang.php
/dokuwiki/inc/lang/nl/onceexisted.txt
/dokuwiki/inc/lang/no/lang.php
/dokuwiki/inc/lang/no/login.txt
/dokuwiki/inc/lang/oc/lang.php
/dokuwiki/inc/lang/pt/lang.php
/dokuwiki/inc/lang/pt/onceexisted.txt
/dokuwiki/inc/lang/zh/lang.php
/dokuwiki/lib/images/fileicons/index.php
/dokuwiki/lib/images/smileys/index.php
/dokuwiki/lib/plugins/authad/lang/es/settings.php
/dokuwiki/lib/plugins/authad/lang/fr/settings.php
/dokuwiki/lib/plugins/authad/lang/it/settings.php
/dokuwiki/lib/plugins/authad/lang/nl/settings.php
/dokuwiki/lib/plugins/authad/lang/pt-br/settings.php
/dokuwiki/lib/plugins/authad/lang/pt/lang.php
/dokuwiki/lib/plugins/authad/lang/pt/settings.php
/dokuwiki/lib/plugins/authad/lang/zh/settings.php
/dokuwiki/lib/plugins/authldap/lang/pt/settings.php
/dokuwiki/lib/plugins/authpdo/lang/nl/settings.php
/dokuwiki/lib/plugins/authpdo/lang/pt/lang.php
/dokuwiki/lib/plugins/authpdo/lang/pt/settings.php
/dokuwiki/lib/plugins/config/lang/it/lang.php
/dokuwiki/lib/plugins/config/lang/nl/lang.php
/dokuwiki/lib/plugins/config/lang/no/lang.php
/dokuwiki/lib/plugins/config/lang/pt/lang.php
/dokuwiki/lib/plugins/config/lang/zh/lang.php
/dokuwiki/lib/plugins/extension/lang/pt/lang.php
/dokuwiki/lib/plugins/revert/lang/no/lang.php
/dokuwiki/lib/plugins/usermanager/lang/pt/lang.php
/dokuwiki/lib/tpl/dokuwiki/css/pagetools.less
/dokuwiki/lib/tpl/dokuwiki/script.js
704a815f22-Apr-2019 Michael Große <mic.grosse@googlemail.com>

♻️ Split up ChangesSubscriptionSender into multiple classes

This should better adhere to SRP and simplify things.

9c22b77c20-Apr-2019 Michael Große <mic.grosse@googlemail.com>

Automatic code style fixes for subscription classes

47de339b20-Apr-2019 Michael Große <mic.grosse@googlemail.com>

✅ Fix Subscriptions tests

This splits up and slightly refactors the tests for the refactored subscriptions classes

3a7140a115-Jun-2018 Andreas Gohr <andi@splitbrain.org>

moved plugin controller to Extension namespace

cbb44eab15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

deprecated trigger_event() in favor of a static method on Event

e1d9dcc815-Jun-2018 Andreas Gohr <andi@splitbrain.org>

First go at moving the plugin classes into their own namespace


/dokuwiki/_test/core/DokuWikiTest.php
/dokuwiki/_test/mock/AuthPlugin.php
inc/PageUtilsIsHiddenPage.test.php
inc/auth_aclcheck.test.php
inc/auth_aclcheck_caseinsensitive.test.php
inc/auth_admincheck.test.php
inc/auth_deleteprofile.test.php
inc/common_saveWikiText.test.php
inc/pageutils_findnearest.test.php
inc/remote.test.php
inc/remoteapicore.test.php
/dokuwiki/bin/plugin.php
/dokuwiki/feed.php
/dokuwiki/inc/Action/Admin.php
/dokuwiki/inc/Action/Logout.php
/dokuwiki/inc/Action/Plugin.php
/dokuwiki/inc/Action/Profile.php
/dokuwiki/inc/Action/ProfileDelete.php
/dokuwiki/inc/Action/Register.php
/dokuwiki/inc/Action/Resendpwd.php
/dokuwiki/inc/ActionRouter.php
/dokuwiki/inc/Ajax.php
/dokuwiki/inc/Debug/DebugHelper.php
/dokuwiki/inc/Draft.php
/dokuwiki/inc/Extension/ActionPlugin.php
/dokuwiki/inc/Extension/AdminPlugin.php
/dokuwiki/inc/Extension/AuthPlugin.php
/dokuwiki/inc/Extension/CLIPlugin.php
/dokuwiki/inc/Extension/Event.php
/dokuwiki/inc/Extension/EventHandler.php
/dokuwiki/inc/Extension/Plugin.php
/dokuwiki/inc/Extension/PluginInterface.php
/dokuwiki/inc/Extension/PluginTrait.php
/dokuwiki/inc/Extension/RemotePlugin.php
/dokuwiki/inc/Extension/SyntaxPlugin.php
/dokuwiki/inc/HTTP/HTTPClient.php
/dokuwiki/inc/Mailer.class.php
/dokuwiki/inc/Remote/Api.php
/dokuwiki/inc/Remote/ApiCore.php
/dokuwiki/inc/Sitemap/Mapper.php
/dokuwiki/inc/TaskRunner.php
/dokuwiki/inc/Ui/Admin.php
/dokuwiki/inc/auth.php
/dokuwiki/inc/common.php
/dokuwiki/inc/confutils.php
/dokuwiki/inc/events.php
/dokuwiki/inc/fulltext.php
/dokuwiki/inc/html.php
/dokuwiki/inc/indexer.php
/dokuwiki/inc/infoutils.php
/dokuwiki/inc/init.php
/dokuwiki/inc/legacy.php
/dokuwiki/inc/load.php
/dokuwiki/inc/media.php
/dokuwiki/inc/parser/handler.php
/dokuwiki/inc/parser/renderer.php
/dokuwiki/inc/parserutils.php
/dokuwiki/inc/plugincontroller.class.php
/dokuwiki/inc/pluginutils.php
/dokuwiki/inc/subscription.php
/dokuwiki/inc/template.php
/dokuwiki/inc/toolbar.php
/dokuwiki/lib/exe/css.php
/dokuwiki/lib/exe/fetch.php
/dokuwiki/lib/plugins/action.php
/dokuwiki/lib/plugins/admin.php
/dokuwiki/lib/plugins/auth.php
/dokuwiki/lib/plugins/cli.php
/dokuwiki/lib/plugins/remote.php
/dokuwiki/lib/plugins/syntax.php
5a8d6e4826-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Rename HTTPClient namespace to HTTP

This should make namespace a bit more flexible in scope and allow us to
move more functionality there later.

0efa8d1217-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Rename protected methods for PSR2

198564ab17-Mar-2019 Michael Große <mic.grosse@googlemail.com>

Refactor HTTPClient into different files

68baa03314-Mar-2019 Phy <git@phy25.com>

add ID/NS = '0' test against page_findnearest

12345678910>>...24