<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in ApiCallTest.php</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>7de5ac5588c9296c42d9e9b42e57467e6a8b816f - Another argument parsing fix for ApiCall</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#7de5ac5588c9296c42d9e9b42e57467e6a8b816f</link>
        <description>Another argument parsing fix for ApiCallWhen using named parameters, you can expect to be able to leave out anyoptional parameter and have it take it&apos;s default, even when you specifyanother &quot;later&quot; parameter. Luckily we already know all the defaults fromreflection anyway.

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Sat, 06 Jan 2024 15:09:51 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>b209907b0d11e7ba66212349b498fb1476b64c03 - Clean up APICall tests</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#b209907b0d11e7ba66212349b498fb1476b64c03</link>
        <description>Clean up APICall testsNo need to retest all the docblock parsing when that is tested elsewherealready.

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Sat, 06 Jan 2024 14:49:04 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>04acbb6fa78aa0b48be52e98501d8a9d113043df - API: fix named parameter handling in APICall</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#04acbb6fa78aa0b48be52e98501d8a9d113043df</link>
        <description>API: fix named parameter handling in APICallWe cannot set missing paramerers to null. We need to make sure they arenot set at all.

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Sat, 06 Jan 2024 14:48:08 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>d0749387d4e7fa7e3ae6d2c4914c96788f87091e - fix ApiCall test</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#d0749387d4e7fa7e3ae6d2c4914c96788f87091e</link>
        <description>fix ApiCall test

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Fri, 01 Dec 2023 19:12:42 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>b05603ab331d57d14a1b26cd6b4d540ffe3699e3 - fix type parsing for more complex types</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#b05603ab331d57d14a1b26cd6b4d540ffe3699e3</link>
        <description>fix type parsing for more complex types

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Fri, 01 Dec 2023 18:25:00 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>5b379b504569f0f5ea47a6962ef8814a86540e01 - fix ApiCall test on PHP7.4</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#5b379b504569f0f5ea47a6962ef8814a86540e01</link>
        <description>fix ApiCall test on PHP7.4Since PHP7.4 has no primitive type hints and PHP native methods have noaccessible docblocks, we can not use a native function for testing(types always come back as string).

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Fri, 01 Dec 2023 14:49:51 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
<item>
        <title>42e66c7a3a46f444860e00bbf95403ac2b5cbc8f - First go at refactoring the API mechanisms</title>
        <link>http://127.0.0.1:8080/history/dokuwiki/_test/tests/Remote/ApiCallTest.php#42e66c7a3a46f444860e00bbf95403ac2b5cbc8f</link>
        <description>First go at refactoring the API mechanismsThis introduces an ApiCall class that wraps around the actual methodthat produces the result. This replaces various loose array structuresthat provided the meta information before.The ApiCall streamlines the aggregation of meta information between coreand plugin methods. Now all data is produced by Reflection basedintrospection. Certain aspects can be overridden if needed. SeeApiCore::getRemoteInfo() for examplesThis change removes the _getMethods() method from remote plugins andintroduces a getMethods() method. The two are NOT compatible as thelatter now returns a list of ApiCalls. However when looking at theexisting plugins, it seems that _getMethods() was nearly 100% obsoletewith the Reflection based default implementation. So most plugins willnot be affected at all. Some might now export one or two more methodsthan before because of poor visibility settings (eg. not declaringprivate/protected methods as such).This change removes the RPC_CALL_ADD hook. Only a single plugin everimplemented it. I&apos;m not sure what this hook was supposed to do anyway.Being able to declare arbitrarily named API endpoints seems wrong to meanyway.The new ApiCall now also supports passing named instead of positionalparameters. This will open up a new opportunity to get a proper openapispec running.Next step is fixing the tests.

            List of files:
            /dokuwiki/_test/tests/Remote/ApiCallTest.php</description>
        <pubDate>Thu, 30 Nov 2023 18:57:15 +0000</pubDate>
        <dc:creator>Andreas Gohr &lt;andi@splitbrain.org&gt;</dc:creator>
    </item>
</channel>
</rss>
