History log of /dokuwiki/_test/tests/inc/ (Results 151 – 175 of 520)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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 ...

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

Add failing unit test for #2883

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 ...


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
PageUtilsIsHiddenPage.test.php
auth_aclcheck.test.php
auth_aclcheck_caseinsensitive.test.php
auth_admincheck.test.php
auth_deleteprofile.test.php
common_saveWikiText.test.php
pageutils_findnearest.test.php
remote.test.php
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

f1ce98a514-Mar-2019 Phy <git@phy25.com>

add key/value = '0' test to metadata indexer

4f9b023c14-Mar-2019 Phy <git@phy25.com>

add $ID = '0' test against wl() and getID()

df69dada12-Mar-2019 Phy <git@phy25.com>

more definition tests of doku_pref, for #1129

5833995a12-Mar-2019 Phy <git@phy25.com>

add tests for get/set_doku_pref #2721

c3cc6e0506-Mar-2019 Andreas Gohr <andi@splitbrain.org>

PSR2 adjustments for the PassHash class

I opted for ignoring the camel case funtion check not because the public hash_*
methods are widely used but because I find this style actually cleaner
in this

PSR2 adjustments for the PassHash class

I opted for ignoring the camel case funtion check not because the public hash_*
methods are widely used but because I find this style actually cleaner
in this case where the method name is auto-built from the hash type
name.

show more ...

4593dbd228-Feb-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Use config cascade for style.ini files

This simplifies style loading and allows the plugins like farmer to
extend the the loading of style files. Also adds some first unit tests.

Originally discuss

Use config cascade for style.ini files

This simplifies style loading and allows the plugins like farmer to
extend the the loading of style files. Also adds some first unit tests.

Originally discussed in FS#2703 and #134

Squashed commit of the following:

commit 5ed550f6ba61a1d475b7572cbff18f0d790c78c2
Merge: 0cefed65e cab1833b0
Author: Andreas Gohr <gohr@cosmocode.de>
Date: Thu Feb 28 13:38:46 2019 +0100

Merge branch 'styleConfCascade' of https://github.com/annda/dokuwiki into annda-styleConfCascade

* 'styleConfCascade' of https://github.com/annda/dokuwiki:
Clean up StyleUtils
Update StyleUtils test
Fix array to boolean conversion
Use better placeholder string in config cascade
Calls to StyleUtils use the new constructor
Add test for StyleUtils
Refactor StyleUtils
WIP add temporary test comparing two implementations of StyleUtils
WIP add new style config cascade side by side with the old one

commit cab1833b09a59331a5580fe0e3e6f36d743dea09
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 17:54:27 2019 +0100

Clean up StyleUtils

commit 766e3907cf7b234c3f2fa7bf86f205c1c8c7c6e1
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 17:51:15 2019 +0100

Update StyleUtils test

commit f5c08787ddf9db60e3429421e5c627d5c81d876a
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:51:53 2019 +0100

Fix array to boolean conversion

commit c9671698992328d5671a43b2707ffc6c5b117423
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:38:55 2019 +0100

Use better placeholder string in config cascade

commit 4845eff54d227325476bb00b7c8402ce58cf72df
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:24:16 2019 +0100

Calls to StyleUtils use the new constructor

commit 7a6337a8f8f2cc0cedbf54ae0b43e94033192cb8
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:22:44 2019 +0100

Add test for StyleUtils

commit 5ae9e8f69e076ab2a18b24aa178cca15fea6b000
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:16:57 2019 +0100

Refactor StyleUtils

commit a2adcc9f37be93f4bcf90fdba4089ea4b0d6436e
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Sat Feb 16 23:58:04 2019 +0100

WIP add temporary test comparing two implementations of StyleUtils

commit 845c40c4faf379a65134e171514a09d47ffe95f1
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Sat Feb 16 23:59:41 2019 +0100

WIP add new style config cascade side by side with the old one

show more ...

1bf10e5121-Feb-2019 Phy <git@phy25.com>

add test for utf8 capital letters in search #2613

Thanks @micgro42 for pointing out German and Russian that has these characters!

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

add tests for #2613


/dokuwiki/.travis.yml
/dokuwiki/README
Ui/Search_createPagenameFromQuery.test.php
/dokuwiki/composer.json
/dokuwiki/conf/dokuwiki.php
/dokuwiki/inc/Action/Logout.php
/dokuwiki/inc/Action/Redirect.php
/dokuwiki/inc/JSON.php
/dokuwiki/inc/Menu/MobileMenu.php
/dokuwiki/inc/changelog.php
/dokuwiki/inc/html.php
/dokuwiki/inc/lang/da/editrev.txt
/dokuwiki/inc/lang/da/lang.php
/dokuwiki/inc/lang/da/norev.txt
/dokuwiki/inc/lang/da/onceexisted.txt
/dokuwiki/inc/lang/da/password.txt
/dokuwiki/inc/lang/da/pwconfirm.txt
/dokuwiki/inc/lang/da/register.txt
/dokuwiki/inc/lang/da/registermail.txt
/dokuwiki/inc/lang/da/resendpwd.txt
/dokuwiki/inc/lang/da/resetpwd.txt
/dokuwiki/inc/lang/da/revisions.txt
/dokuwiki/inc/lang/da/showrev.txt
/dokuwiki/inc/lang/da/subscr_digest.txt
/dokuwiki/inc/lang/da/subscr_single.txt
/dokuwiki/inc/lang/da/updateprofile.txt
/dokuwiki/inc/lang/da/uploadmail.txt
/dokuwiki/inc/lang/de/lang.php
/dokuwiki/inc/lang/fa/adminplugins.txt
/dokuwiki/inc/lang/fa/backlinks.txt
/dokuwiki/inc/lang/fa/lang.php
/dokuwiki/inc/lang/fr/lang.php
/dokuwiki/inc/lang/fr/onceexisted.txt
/dokuwiki/inc/lang/ja/admin.txt
/dokuwiki/inc/lang/ja/backlinks.txt
/dokuwiki/inc/lang/ja/conflict.txt
/dokuwiki/inc/lang/ja/diff.txt
/dokuwiki/inc/lang/ja/draft.txt
/dokuwiki/inc/lang/ja/editrev.txt
/dokuwiki/inc/lang/ja/index.txt
/dokuwiki/inc/lang/ja/lang.php
/dokuwiki/inc/lang/ja/newpage.txt
/dokuwiki/inc/lang/ja/norev.txt
/dokuwiki/inc/lang/ja/onceexisted.txt
/dokuwiki/inc/lang/ja/recent.txt
/dokuwiki/inc/lang/ja/register.txt
/dokuwiki/inc/lang/ja/resendpwd.txt
/dokuwiki/inc/lang/ja/resetpwd.txt
/dokuwiki/inc/lang/ja/revisions.txt
/dokuwiki/inc/lang/ja/showrev.txt
/dokuwiki/inc/lang/ja/updateprofile.txt
/dokuwiki/inc/lang/km/lang.php
/dokuwiki/inc/lang/km/newpage.txt
/dokuwiki/inc/lang/no/denied.txt
/dokuwiki/inc/lang/no/lang.php
/dokuwiki/inc/lang/oc/lang.php
/dokuwiki/inc/lang/pt-br/lang.php
/dokuwiki/inc/lang/pt-br/onceexisted.txt
/dokuwiki/inc/lang/sk/lang.php
/dokuwiki/inc/lang/sk/onceexisted.txt
/dokuwiki/inc/lang/uk/lang.php
/dokuwiki/inc/lang/zh/adminplugins.txt
/dokuwiki/inc/lang/zh/edit.txt
/dokuwiki/inc/lang/zh/lang.php
/dokuwiki/inc/lang/zh/onceexisted.txt
/dokuwiki/inc/pageutils.php
/dokuwiki/index.php
/dokuwiki/lib/images/fileicons/32x32/svg.png
/dokuwiki/lib/images/fileicons/svg.png
/dokuwiki/lib/plugins/acl/admin.php
/dokuwiki/lib/plugins/acl/lang/da/lang.php
/dokuwiki/lib/plugins/acl/lang/ja/lang.php
/dokuwiki/lib/plugins/authad/lang/da/lang.php
/dokuwiki/lib/plugins/authad/lang/da/settings.php
/dokuwiki/lib/plugins/authad/lang/uk/settings.php
/dokuwiki/lib/plugins/authldap/lang/da/settings.php
/dokuwiki/lib/plugins/authldap/lang/fa/settings.php
/dokuwiki/lib/plugins/authldap/lang/sk/settings.php
/dokuwiki/lib/plugins/authpdo/lang/da/lang.php
/dokuwiki/lib/plugins/authpdo/lang/da/settings.php
/dokuwiki/lib/plugins/authpdo/lang/ja/settings.php
/dokuwiki/lib/plugins/authpdo/lang/pt-br/settings.php
/dokuwiki/lib/plugins/authpdo/lang/sk/lang.php
/dokuwiki/lib/plugins/authpdo/lang/zh/settings.php
/dokuwiki/lib/plugins/authplain/lang/da/lang.php
/dokuwiki/lib/plugins/config/admin.php
/dokuwiki/lib/plugins/config/lang/da/lang.php
/dokuwiki/lib/plugins/config/lang/de/lang.php
/dokuwiki/lib/plugins/config/lang/fa/lang.php
/dokuwiki/lib/plugins/config/lang/fr/lang.php
/dokuwiki/lib/plugins/config/lang/ja/intro.txt
/dokuwiki/lib/plugins/config/lang/ja/lang.php
/dokuwiki/lib/plugins/config/lang/no/lang.php
/dokuwiki/lib/plugins/config/lang/pt-br/lang.php
/dokuwiki/lib/plugins/config/lang/sk/lang.php
/dokuwiki/lib/plugins/config/lang/uk/lang.php
/dokuwiki/lib/plugins/config/lang/zh/lang.php
/dokuwiki/lib/plugins/extension/helper/extension.php
/dokuwiki/lib/plugins/extension/lang/da/intro_install.txt
/dokuwiki/lib/plugins/extension/lang/da/intro_plugins.txt
/dokuwiki/lib/plugins/extension/lang/da/intro_search.txt
/dokuwiki/lib/plugins/extension/lang/da/intro_templates.txt
/dokuwiki/lib/plugins/extension/lang/da/lang.php
/dokuwiki/lib/plugins/extension/lang/ja/intro_search.txt
/dokuwiki/lib/plugins/extension/lang/ja/lang.php
/dokuwiki/lib/plugins/extension/lang/sk/intro_install.txt
/dokuwiki/lib/plugins/extension/lang/sk/intro_plugins.txt
/dokuwiki/lib/plugins/extension/lang/sk/intro_search.txt
/dokuwiki/lib/plugins/extension/lang/sk/intro_templates.txt
/dokuwiki/lib/plugins/extension/lang/sk/lang.php
/dokuwiki/lib/plugins/popularity/lang/da/intro.txt
/dokuwiki/lib/plugins/popularity/lang/da/lang.php
/dokuwiki/lib/plugins/revert/lang/da/intro.txt
/dokuwiki/lib/plugins/revert/lang/da/lang.php
/dokuwiki/lib/plugins/revert/lang/ja/lang.php
/dokuwiki/lib/plugins/revert/lang/no/lang.php
/dokuwiki/lib/plugins/styling/lang/da/intro.txt
/dokuwiki/lib/plugins/styling/lang/da/lang.php
/dokuwiki/lib/plugins/usermanager/lang/da/import.txt
/dokuwiki/lib/plugins/usermanager/lang/da/lang.php
/dokuwiki/lib/scripts/page.js
/dokuwiki/lib/tpl/dokuwiki/css/basic.less
/dokuwiki/lib/tpl/dokuwiki/lang/da/lang.php
/dokuwiki/lib/tpl/dokuwiki/lang/da/style.txt
/dokuwiki/lib/tpl/dokuwiki/lang/pt-br/lang.php
/dokuwiki/lib/tpl/dokuwiki/lang/zh/lang.php

12345678910>>...21