Plugin Directory

Changeset 3185922


Ignore:
Timestamp:
11/11/2024 05:43:48 PM (17 months ago)
Author:
captchaeu
Message:

Update to version v1.0.47 from GitLab (http://gitlab.krone.at/CAPTCHA/wp-plugin; http://gitlab.krone.at/CAPTCHA/wp-plugin/-/jobs/460520)

Location:
captcha-eu
Files:
18 added
4 deleted
36 edited
1 copied

Legend:

Unmodified
Added
Removed
  • captcha-eu/tags/v1.0.47/.gitlab-ci.yml

    r2906160 r3185922  
    1 stages:
    2 - wordpress.org
    3 
    4 
    51PluginSVN:
    6   stage: wordpress.org
    72  image: registry.krone.at/captcha/wp-deploy
    83  before_script:
     
    3429    - /^v([0-9]+).*/
    3530
     31test:
     32  image: php:8.1
     33  services:
     34    - mysql:8.0
     35  variables:
     36    MYSQL_DATABASE: x1
     37    MYSQL_ROOT_PASSWORD: rootpassword
     38    MYSQL_USER: user
     39    MYSQL_PASSWORD: pw
     40    COMPOSER_ALLOW_SUPERUSER: 1
     41  cache:
     42    paths:
     43      - vendor/
     44  tags:
     45    - docker
     46  before_script:
     47    - apt-get update && apt-get install -y git subversion default-mysql-client wget zip unzip libzip-dev zlib1g-dev libicu-dev libxml2-dev libpng-dev libjpeg-dev libfreetype6-dev libonig-dev build-essential
     48    - curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o /usr/local/bin/install-php-extensions
     49    - chmod +x /usr/local/bin/install-php-extensions
     50    - install-php-extensions mysqli pdo pdo_mysql zip intl xml gd mbstring xdebug
     51    - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
     52    - composer install --prefer-dist --no-progress
     53    - chmod +x ./bin/install-wp-tests.sh
     54  script:
     55    - ./bin/install-wp-tests.sh wordpress_test_test root rootpassword mysql latest
     56    - XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=/builds/rvZsxF6z/0/CAPTCHA/wp-plugin/coverage.xml --colors=never
     57  coverage: '/^\s*Lines:\s*\d+.\d+\%/'
     58  artifacts:
     59    reports:
     60      coverage_report:
     61        coverage_format: cobertura
     62        path: coverage.xml
     63  only:
     64    - main
     65    - develop
     66    - merge_requests
  • captcha-eu/tags/v1.0.47/assets/js/partials/gravityforms.js

    r3182431 r3185922  
    1 // Gravity Forms
    2 jQuery(document).ready(function () {
    3     var $forms = jQuery('.gform_wrapper form');
     1// Gravity Forms Handler
     2(function($) {
     3    // Function to initialize form
     4    function initializeForm($form) {
     5        if ($form.hasClass("cpt_disable") || $form.data('krot-initialized')) {
     6            return;
     7        }
     8       
     9        var $btn = $form.find(':submit, input[type="button"]');
     10       
     11        // Mark form as initialized
     12        $form.data('krot-initialized', true);
    413
    5     $forms.each(function () {
    6         var $form = jQuery(this);
    7         if ($form.hasClass("cpt_disable")) {
    8             return;
    9         }
    10         var $btn = $form.find(':submit, input[type="button"]');
     14        if (captchaAt.plugins.includes("gravityforms-widget")) {
     15            $form.find(".gform_footer").before('<div class="cpt_widget" data-field-selector="#captcha_at_solution" style="background: transparent;" data-key="' + captchaAt.publicKey + '">aaa</div><input type="hidden" id="captcha_at_solution" name="captcha_at_solution">');
     16            KROT.init();
     17            return;
     18        }
    1119
     20        KROT.interceptForm($form[0], true);
    1221
    13 
    14         if (captchaAt.plugins.includes("gravityforms-widget")) {
    15             $form.find(".gform_footer").before('<div class="cpt_widget" data-field-selector="#captcha_at_solution" style="background: transparent;" data-key="' + captchaAt.publicKey + '">aaa</div><input type="hidden" id="captcha_at_solution" name="captcha_at_solution">');
    16             KROT.init();
    17             return;
    18         }
    19 
    20         KROT.interceptForm($form[0], true);
    21 
    22         $form.on('submit', function (e) {
    23             e.preventDefault(); // Stop form submission
     22        $form.on('submit', function(e) {
     23            e.preventDefault();
    2424            var form = this;
    2525
    26             // Disable all submit and input buttons to prevent multiple submissions
    2726            $btn.attr('disabled', true);
    2827
     
    3029                .then((sol) => {
    3130                    form.querySelector('.captcha_at_hidden_field').value = JSON.stringify(sol);
    32                     form.submit(); // Submit the form programmatically
    33                     $btn.attr('disabled', false); // Re-enable buttons
     31                    form.submit();
     32                    $btn.attr('disabled', false);
    3433                })
    3534                .catch((error) => {
    36                     // Handle error if necessary
    3735                    console.error('Error getting solution:', error);
    38                     $btn.attr('disabled', false); // Re-enable buttons on error
     36                    $btn.attr('disabled', false);
    3937                });
    40         });
    41     });
    42 });
     38        });
     39    }
     40
     41    // Initialize existing forms
     42    function initializeExistingForms() {
     43        $('.gform_wrapper form').each(function() {
     44            initializeForm($(this));
     45        });
     46    }
     47
     48    // Set up MutationObserver to watch for new forms
     49    function setupFormObserver() {
     50        const observer = new MutationObserver(function(mutations) {
     51            mutations.forEach(function(mutation) {
     52                if (mutation.addedNodes && mutation.addedNodes.length > 0) {
     53                    mutation.addedNodes.forEach(function(node) {
     54                        // Check if the added node is an element
     55                        if (node.nodeType === 1) {
     56                            // Look for forms within the added content
     57                            $(node).find('.gform_wrapper form').each(function() {
     58                                initializeForm($(this));
     59                            });
     60                           
     61                            // Check if the node itself is a form
     62                            if ($(node).is('.gform_wrapper form')) {
     63                                initializeForm($(node));
     64                            }
     65                        }
     66                    });
     67                }
     68            });
     69        });
     70
     71        // Start observing the entire document with the configured parameters
     72        observer.observe(document.body, {
     73            childList: true,
     74            subtree: true
     75        });
     76    }
     77
     78    // Initialize when DOM is ready
     79    $(document).ready(function() {
     80        initializeExistingForms();
     81        setupFormObserver();
     82    });
     83
     84    // Also handle forms that might be loaded via AJAX
     85    $(document).on('gform_post_render', function(event, formId) {
     86        initializeForm($('#gform_' + formId));
     87    });
     88})(jQuery);
  • captcha-eu/tags/v1.0.47/composer.json

    r2906147 r3185922  
    3838    "scrutinizer/ocular": "^1.5",
    3939    "phpunit/phpunit": ">=8.5.23",
    40     "yoast/phpunit-polyfills": "^1.0"
     40    "yoast/phpunit-polyfills": "^1.0",
     41    "brain/monkey": "^2.6"
    4142  }
    4243}
  • captcha-eu/tags/v1.0.47/composer.lock

    r3181755 r3185922  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "251f8d8c4a2c5a50412074726d50b2a0",
     7    "content-hash": "a187b491ea6a8d1e86baed4b320aa6b3",
    88    "packages": [
    99        {
     
    161161    "packages-dev": [
    162162        {
     163            "name": "antecedent/patchwork",
     164            "version": "2.2.0",
     165            "source": {
     166                "type": "git",
     167                "url": "https://github.com/antecedent/patchwork.git",
     168                "reference": "b07d4fb37c3c723c8755122160c089e077d5de65"
     169            },
     170            "dist": {
     171                "type": "zip",
     172                "url": "https://api.github.com/repos/antecedent/patchwork/zipball/b07d4fb37c3c723c8755122160c089e077d5de65",
     173                "reference": "b07d4fb37c3c723c8755122160c089e077d5de65",
     174                "shasum": ""
     175            },
     176            "require": {
     177                "php": ">=7.1.0"
     178            },
     179            "require-dev": {
     180                "phpunit/phpunit": ">=4"
     181            },
     182            "type": "library",
     183            "notification-url": "https://packagist.org/downloads/",
     184            "license": [
     185                "MIT"
     186            ],
     187            "authors": [
     188                {
     189                    "name": "Ignas Rudaitis",
     190                    "email": "ignas.rudaitis@gmail.com"
     191                }
     192            ],
     193            "description": "Method redefinition (monkey-patching) functionality for PHP.",
     194            "homepage": "https://antecedent.github.io/patchwork/",
     195            "keywords": [
     196                "aop",
     197                "aspect",
     198                "interception",
     199                "monkeypatching",
     200                "redefinition",
     201                "runkit",
     202                "testing"
     203            ],
     204            "support": {
     205                "issues": "https://github.com/antecedent/patchwork/issues",
     206                "source": "https://github.com/antecedent/patchwork/tree/2.2.0"
     207            },
     208            "time": "2024-09-27T16:59:55+00:00"
     209        },
     210        {
     211            "name": "brain/monkey",
     212            "version": "2.6.2",
     213            "source": {
     214                "type": "git",
     215                "url": "https://github.com/Brain-WP/BrainMonkey.git",
     216                "reference": "d95a9d895352c30f47604ad1b825ab8fa9d1a373"
     217            },
     218            "dist": {
     219                "type": "zip",
     220                "url": "https://api.github.com/repos/Brain-WP/BrainMonkey/zipball/d95a9d895352c30f47604ad1b825ab8fa9d1a373",
     221                "reference": "d95a9d895352c30f47604ad1b825ab8fa9d1a373",
     222                "shasum": ""
     223            },
     224            "require": {
     225                "antecedent/patchwork": "^2.1.17",
     226                "mockery/mockery": "^1.3.5 || ^1.4.4",
     227                "php": ">=5.6.0"
     228            },
     229            "require-dev": {
     230                "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
     231                "phpcompatibility/php-compatibility": "^9.3.0",
     232                "phpunit/phpunit": "^5.7.26 || ^6.0 || ^7.0 || >=8.0 <8.5.12 || ^8.5.14 || ^9.0"
     233            },
     234            "type": "library",
     235            "extra": {
     236                "branch-alias": {
     237                    "dev-version/1": "1.x-dev",
     238                    "dev-master": "2.x-dev"
     239                }
     240            },
     241            "autoload": {
     242                "files": [
     243                    "inc/api.php"
     244                ],
     245                "psr-4": {
     246                    "Brain\\Monkey\\": "src/"
     247                }
     248            },
     249            "notification-url": "https://packagist.org/downloads/",
     250            "license": [
     251                "MIT"
     252            ],
     253            "authors": [
     254                {
     255                    "name": "Giuseppe Mazzapica",
     256                    "email": "giuseppe.mazzapica@gmail.com",
     257                    "homepage": "https://gmazzap.me",
     258                    "role": "Developer"
     259                }
     260            ],
     261            "description": "Mocking utility for PHP functions and WordPress plugin API",
     262            "keywords": [
     263                "Monkey Patching",
     264                "interception",
     265                "mock",
     266                "mock functions",
     267                "mockery",
     268                "patchwork",
     269                "redefinition",
     270                "runkit",
     271                "test",
     272                "testing"
     273            ],
     274            "support": {
     275                "issues": "https://github.com/Brain-WP/BrainMonkey/issues",
     276                "source": "https://github.com/Brain-WP/BrainMonkey"
     277            },
     278            "time": "2024-08-29T20:15:04+00:00"
     279        },
     280        {
    163281            "name": "clue/ndjson-react",
    164282            "version": "v1.3.0",
     
    11821300        },
    11831301        {
     1302            "name": "hamcrest/hamcrest-php",
     1303            "version": "v2.0.1",
     1304            "source": {
     1305                "type": "git",
     1306                "url": "https://github.com/hamcrest/hamcrest-php.git",
     1307                "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"
     1308            },
     1309            "dist": {
     1310                "type": "zip",
     1311                "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
     1312                "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
     1313                "shasum": ""
     1314            },
     1315            "require": {
     1316                "php": "^5.3|^7.0|^8.0"
     1317            },
     1318            "replace": {
     1319                "cordoval/hamcrest-php": "*",
     1320                "davedevelopment/hamcrest-php": "*",
     1321                "kodova/hamcrest-php": "*"
     1322            },
     1323            "require-dev": {
     1324                "phpunit/php-file-iterator": "^1.4 || ^2.0",
     1325                "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"
     1326            },
     1327            "type": "library",
     1328            "extra": {
     1329                "branch-alias": {
     1330                    "dev-master": "2.1-dev"
     1331                }
     1332            },
     1333            "autoload": {
     1334                "classmap": [
     1335                    "hamcrest"
     1336                ]
     1337            },
     1338            "notification-url": "https://packagist.org/downloads/",
     1339            "license": [
     1340                "BSD-3-Clause"
     1341            ],
     1342            "description": "This is the PHP port of Hamcrest Matchers",
     1343            "keywords": [
     1344                "test"
     1345            ],
     1346            "support": {
     1347                "issues": "https://github.com/hamcrest/hamcrest-php/issues",
     1348                "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
     1349            },
     1350            "time": "2020-07-09T08:09:16+00:00"
     1351        },
     1352        {
    11841353            "name": "jms/metadata",
    11851354            "version": "2.8.0",
     
    13431512        },
    13441513        {
     1514            "name": "mockery/mockery",
     1515            "version": "1.6.12",
     1516            "source": {
     1517                "type": "git",
     1518                "url": "https://github.com/mockery/mockery.git",
     1519                "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699"
     1520            },
     1521            "dist": {
     1522                "type": "zip",
     1523                "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699",
     1524                "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699",
     1525                "shasum": ""
     1526            },
     1527            "require": {
     1528                "hamcrest/hamcrest-php": "^2.0.1",
     1529                "lib-pcre": ">=7.0",
     1530                "php": ">=7.3"
     1531            },
     1532            "conflict": {
     1533                "phpunit/phpunit": "<8.0"
     1534            },
     1535            "require-dev": {
     1536                "phpunit/phpunit": "^8.5 || ^9.6.17",
     1537                "symplify/easy-coding-standard": "^12.1.14"
     1538            },
     1539            "type": "library",
     1540            "autoload": {
     1541                "files": [
     1542                    "library/helpers.php",
     1543                    "library/Mockery.php"
     1544                ],
     1545                "psr-4": {
     1546                    "Mockery\\": "library/Mockery"
     1547                }
     1548            },
     1549            "notification-url": "https://packagist.org/downloads/",
     1550            "license": [
     1551                "BSD-3-Clause"
     1552            ],
     1553            "authors": [
     1554                {
     1555                    "name": "Pádraic Brady",
     1556                    "email": "padraic.brady@gmail.com",
     1557                    "homepage": "https://github.com/padraic",
     1558                    "role": "Author"
     1559                },
     1560                {
     1561                    "name": "Dave Marshall",
     1562                    "email": "dave.marshall@atstsolutions.co.uk",
     1563                    "homepage": "https://davedevelopment.co.uk",
     1564                    "role": "Developer"
     1565                },
     1566                {
     1567                    "name": "Nathanael Esayeas",
     1568                    "email": "nathanael.esayeas@protonmail.com",
     1569                    "homepage": "https://github.com/ghostwriter",
     1570                    "role": "Lead Developer"
     1571                }
     1572            ],
     1573            "description": "Mockery is a simple yet flexible PHP mock object framework",
     1574            "homepage": "https://github.com/mockery/mockery",
     1575            "keywords": [
     1576                "BDD",
     1577                "TDD",
     1578                "library",
     1579                "mock",
     1580                "mock objects",
     1581                "mockery",
     1582                "stub",
     1583                "test",
     1584                "test double",
     1585                "testing"
     1586            ],
     1587            "support": {
     1588                "docs": "https://docs.mockery.io/",
     1589                "issues": "https://github.com/mockery/mockery/issues",
     1590                "rss": "https://github.com/mockery/mockery/releases.atom",
     1591                "security": "https://github.com/mockery/mockery/security/advisories",
     1592                "source": "https://github.com/mockery/mockery"
     1593            },
     1594            "time": "2024-05-16T03:13:13+00:00"
     1595        },
     1596        {
    13451597            "name": "myclabs/deep-copy",
    1346             "version": "1.12.0",
     1598            "version": "1.12.1",
    13471599            "source": {
    13481600                "type": "git",
    13491601                "url": "https://github.com/myclabs/DeepCopy.git",
    1350                 "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c"
    1351             },
    1352             "dist": {
    1353                 "type": "zip",
    1354                 "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
    1355                 "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
     1602                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845"
     1603            },
     1604            "dist": {
     1605                "type": "zip",
     1606                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845",
     1607                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845",
    13561608                "shasum": ""
    13571609            },
     
    13921644            "support": {
    13931645                "issues": "https://github.com/myclabs/DeepCopy/issues",
    1394                 "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0"
     1646                "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1"
    13951647            },
    13961648            "funding": [
     
    14001652                }
    14011653            ],
    1402             "time": "2024-06-12T14:39:25+00:00"
     1654            "time": "2024-11-08T17:47:46+00:00"
    14031655        },
    14041656        {
     
    40904342        {
    40914343            "name": "symfony/console",
    4092             "version": "v5.4.45",
     4344            "version": "v5.4.46",
    40934345            "source": {
    40944346                "type": "git",
    40954347                "url": "https://github.com/symfony/console.git",
    4096                 "reference": "108d436c2af470858bdaba3257baab3a74172017"
    4097             },
    4098             "dist": {
    4099                 "type": "zip",
    4100                 "url": "https://api.github.com/repos/symfony/console/zipball/108d436c2af470858bdaba3257baab3a74172017",
    4101                 "reference": "108d436c2af470858bdaba3257baab3a74172017",
     4348                "reference": "fb0d4760e7147d81ab4d9e2d57d56268261b4e4e"
     4349            },
     4350            "dist": {
     4351                "type": "zip",
     4352                "url": "https://api.github.com/repos/symfony/console/zipball/fb0d4760e7147d81ab4d9e2d57d56268261b4e4e",
     4353                "reference": "fb0d4760e7147d81ab4d9e2d57d56268261b4e4e",
    41024354                "shasum": ""
    41034355            },
     
    41694421            ],
    41704422            "support": {
    4171                 "source": "https://github.com/symfony/console/tree/v5.4.45"
     4423                "source": "https://github.com/symfony/console/tree/v5.4.46"
    41724424            },
    41734425            "funding": [
     
    41854437                }
    41864438            ],
    4187             "time": "2024-10-08T07:27:17+00:00"
     4439            "time": "2024-11-05T14:17:06+00:00"
    41884440        },
    41894441        {
     
    51695421        {
    51705422            "name": "symfony/process",
    5171             "version": "v5.4.45",
     5423            "version": "v5.4.46",
    51725424            "source": {
    51735425                "type": "git",
    51745426                "url": "https://github.com/symfony/process.git",
    5175                 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4"
    5176             },
    5177             "dist": {
    5178                 "type": "zip",
    5179                 "url": "https://api.github.com/repos/symfony/process/zipball/95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4",
    5180                 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4",
     5427                "reference": "01906871cb9b5e3cf872863b91aba4ec9767daf4"
     5428            },
     5429            "dist": {
     5430                "type": "zip",
     5431                "url": "https://api.github.com/repos/symfony/process/zipball/01906871cb9b5e3cf872863b91aba4ec9767daf4",
     5432                "reference": "01906871cb9b5e3cf872863b91aba4ec9767daf4",
    51815433                "shasum": ""
    51825434            },
     
    52115463            "homepage": "https://symfony.com",
    52125464            "support": {
    5213                 "source": "https://github.com/symfony/process/tree/v5.4.45"
     5465                "source": "https://github.com/symfony/process/tree/v5.4.46"
    52145466            },
    52155467            "funding": [
     
    52275479                }
    52285480            ],
    5229             "time": "2024-09-25T14:11:13+00:00"
     5481            "time": "2024-11-06T09:18:28+00:00"
    52305482        },
    52315483        {
  • captcha-eu/tags/v1.0.47/readme.txt

    r3182431 r3185922  
    55Tested up to: 6.5
    66Requires PHP: 7.0
    7 Stable tag: 1.0.46
     7Stable tag: 1.0.47
    88License: GPL
    99License URI: https://opensource.org/license/gpl/
     
    6161
    6262== Changelog ==
     63= v1.0.47 =
     64gravity forms: dynamic forms where missed
    6365= v1.0.46 =
    6466gravity forms: multi challenge fix
  • captcha-eu/tags/v1.0.47/src/Admin.php

    r3182098 r3185922  
    11941194    }
    11951195
    1196     private function apiFetchLatestVersion()
     1196    public function apiFetchLatestVersion()
    11971197    {
    11981198        // fetch asset version info route
     
    12271227    }
    12281228
    1229     private function apiFetchPersonal($host = '', $restKey = '')
     1229    public function apiFetchPersonal($host = '', $restKey = '')
    12301230    {
    12311231        // fetch personal info route
  • captcha-eu/tags/v1.0.47/src/FragProtect.php

    r3182098 r3185922  
    66{
    77    private $core;
     8    private $plugin_dir_url;
     9    private $features;
     10    private $enabled;
    811
    912    public function __construct($core)
  • captcha-eu/tags/v1.0.47/tests/phpunit/bootstrap.php

    r2985152 r3185922  
    11<?php
    2 /**
    3  * PHPUnit bootstrap file.
    4  */
    52
    63namespace UNT;
     
    129define('KRN_IS_TESTING', 1);
    1310
    14 class bootstrap
     11class UNTBootstrap
    1512{
    1613    public function __construct()
     
    3431    public function _manually_load_plugin()
    3532    {
    36         require dirname(dirname(__FILE__)) . '../../kmm-flattable.php';
     33        require dirname(dirname(__FILE__)) . '../../wp-captcha.php';
    3734    }
    3835}
     
    4037// Start up the WP testing environment.
    4138
    42 $unt = new bootstrap();
     39$unt = new UNTBootstrap();
  • captcha-eu/tags/v1.0.47/tests/test-captcha.php

    r3182098 r3185922  
    2424class TestFlattable extends WP_UnitTestCase
    2525{
     26    private $core;
     27
    2628    public function setUp(): void
    2729    {
  • captcha-eu/tags/v1.0.47/vendor/autoload.php

    r3182431 r3185922  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28::getLoader();
     25return ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e::getLoader();
  • captcha-eu/tags/v1.0.47/vendor/composer/autoload_real.php

    r3182431 r3185922  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28
     5class ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • captcha-eu/tags/v1.0.47/vendor/composer/autoload_static.php

    r3182431 r3185922  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28
     7class ComposerStaticInitb64f8d843f3d3a96827822f173085a1e
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3434    {
    3535        return \Closure::bind(function () use ($loader) {
    36             $loader->prefixLengthsPsr4 = ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::$prefixLengthsPsr4;
    37             $loader->prefixDirsPsr4 = ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::$prefixDirsPsr4;
    38             $loader->classMap = ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::$classMap;
     36            $loader->prefixLengthsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixLengthsPsr4;
     37            $loader->prefixDirsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixDirsPsr4;
     38            $loader->classMap = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$classMap;
    3939
    4040        }, null, ClassLoader::class);
  • captcha-eu/tags/v1.0.47/vendor/composer/installers/.git/logs/HEAD

    r3182431 r3185922  
    1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
    2 a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   checkout: moving from main to v1.12.0
     10000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
     2a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   checkout: moving from main to v1.12.0
  • captcha-eu/tags/v1.0.47/vendor/composer/installers/.git/logs/refs/heads/main

    r3182431 r3185922  
    1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
     10000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
  • captcha-eu/tags/v1.0.47/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD

    r3182431 r3185922  
    1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
     10000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
  • captcha-eu/tags/v1.0.47/vendor/composer/installers/.git/objects/info/packs

    r3182431 r3185922  
    1 P pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack
     1P pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.pack
    22
  • captcha-eu/tags/v1.0.47/wp-captcha.php

    r3182431 r3185922  
    44 * Description: Captcha.eu provides a GDPR compliant protection against bots and spammers.
    55 * Plugin URI:  https://www.captcha.eu
    6  * Version:     1.0.46
     6 * Version:     1.0.47
    77 * Author:      captchaeu
    88 * Author URI:  https://profiles.wordpress.org/captchaeu/
  • captcha-eu/trunk/.gitlab-ci.yml

    r2906160 r3185922  
    1 stages:
    2 - wordpress.org
    3 
    4 
    51PluginSVN:
    6   stage: wordpress.org
    72  image: registry.krone.at/captcha/wp-deploy
    83  before_script:
     
    3429    - /^v([0-9]+).*/
    3530
     31test:
     32  image: php:8.1
     33  services:
     34    - mysql:8.0
     35  variables:
     36    MYSQL_DATABASE: x1
     37    MYSQL_ROOT_PASSWORD: rootpassword
     38    MYSQL_USER: user
     39    MYSQL_PASSWORD: pw
     40    COMPOSER_ALLOW_SUPERUSER: 1
     41  cache:
     42    paths:
     43      - vendor/
     44  tags:
     45    - docker
     46  before_script:
     47    - apt-get update && apt-get install -y git subversion default-mysql-client wget zip unzip libzip-dev zlib1g-dev libicu-dev libxml2-dev libpng-dev libjpeg-dev libfreetype6-dev libonig-dev build-essential
     48    - curl -sSL https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o /usr/local/bin/install-php-extensions
     49    - chmod +x /usr/local/bin/install-php-extensions
     50    - install-php-extensions mysqli pdo pdo_mysql zip intl xml gd mbstring xdebug
     51    - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
     52    - composer install --prefer-dist --no-progress
     53    - chmod +x ./bin/install-wp-tests.sh
     54  script:
     55    - ./bin/install-wp-tests.sh wordpress_test_test root rootpassword mysql latest
     56    - XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-clover=/builds/rvZsxF6z/0/CAPTCHA/wp-plugin/coverage.xml --colors=never
     57  coverage: '/^\s*Lines:\s*\d+.\d+\%/'
     58  artifacts:
     59    reports:
     60      coverage_report:
     61        coverage_format: cobertura
     62        path: coverage.xml
     63  only:
     64    - main
     65    - develop
     66    - merge_requests
  • captcha-eu/trunk/assets/js/partials/gravityforms.js

    r3182431 r3185922  
    1 // Gravity Forms
    2 jQuery(document).ready(function () {
    3     var $forms = jQuery('.gform_wrapper form');
     1// Gravity Forms Handler
     2(function($) {
     3    // Function to initialize form
     4    function initializeForm($form) {
     5        if ($form.hasClass("cpt_disable") || $form.data('krot-initialized')) {
     6            return;
     7        }
     8       
     9        var $btn = $form.find(':submit, input[type="button"]');
     10       
     11        // Mark form as initialized
     12        $form.data('krot-initialized', true);
    413
    5     $forms.each(function () {
    6         var $form = jQuery(this);
    7         if ($form.hasClass("cpt_disable")) {
    8             return;
    9         }
    10         var $btn = $form.find(':submit, input[type="button"]');
     14        if (captchaAt.plugins.includes("gravityforms-widget")) {
     15            $form.find(".gform_footer").before('<div class="cpt_widget" data-field-selector="#captcha_at_solution" style="background: transparent;" data-key="' + captchaAt.publicKey + '">aaa</div><input type="hidden" id="captcha_at_solution" name="captcha_at_solution">');
     16            KROT.init();
     17            return;
     18        }
    1119
     20        KROT.interceptForm($form[0], true);
    1221
    13 
    14         if (captchaAt.plugins.includes("gravityforms-widget")) {
    15             $form.find(".gform_footer").before('<div class="cpt_widget" data-field-selector="#captcha_at_solution" style="background: transparent;" data-key="' + captchaAt.publicKey + '">aaa</div><input type="hidden" id="captcha_at_solution" name="captcha_at_solution">');
    16             KROT.init();
    17             return;
    18         }
    19 
    20         KROT.interceptForm($form[0], true);
    21 
    22         $form.on('submit', function (e) {
    23             e.preventDefault(); // Stop form submission
     22        $form.on('submit', function(e) {
     23            e.preventDefault();
    2424            var form = this;
    2525
    26             // Disable all submit and input buttons to prevent multiple submissions
    2726            $btn.attr('disabled', true);
    2827
     
    3029                .then((sol) => {
    3130                    form.querySelector('.captcha_at_hidden_field').value = JSON.stringify(sol);
    32                     form.submit(); // Submit the form programmatically
    33                     $btn.attr('disabled', false); // Re-enable buttons
     31                    form.submit();
     32                    $btn.attr('disabled', false);
    3433                })
    3534                .catch((error) => {
    36                     // Handle error if necessary
    3735                    console.error('Error getting solution:', error);
    38                     $btn.attr('disabled', false); // Re-enable buttons on error
     36                    $btn.attr('disabled', false);
    3937                });
    40         });
    41     });
    42 });
     38        });
     39    }
     40
     41    // Initialize existing forms
     42    function initializeExistingForms() {
     43        $('.gform_wrapper form').each(function() {
     44            initializeForm($(this));
     45        });
     46    }
     47
     48    // Set up MutationObserver to watch for new forms
     49    function setupFormObserver() {
     50        const observer = new MutationObserver(function(mutations) {
     51            mutations.forEach(function(mutation) {
     52                if (mutation.addedNodes && mutation.addedNodes.length > 0) {
     53                    mutation.addedNodes.forEach(function(node) {
     54                        // Check if the added node is an element
     55                        if (node.nodeType === 1) {
     56                            // Look for forms within the added content
     57                            $(node).find('.gform_wrapper form').each(function() {
     58                                initializeForm($(this));
     59                            });
     60                           
     61                            // Check if the node itself is a form
     62                            if ($(node).is('.gform_wrapper form')) {
     63                                initializeForm($(node));
     64                            }
     65                        }
     66                    });
     67                }
     68            });
     69        });
     70
     71        // Start observing the entire document with the configured parameters
     72        observer.observe(document.body, {
     73            childList: true,
     74            subtree: true
     75        });
     76    }
     77
     78    // Initialize when DOM is ready
     79    $(document).ready(function() {
     80        initializeExistingForms();
     81        setupFormObserver();
     82    });
     83
     84    // Also handle forms that might be loaded via AJAX
     85    $(document).on('gform_post_render', function(event, formId) {
     86        initializeForm($('#gform_' + formId));
     87    });
     88})(jQuery);
  • captcha-eu/trunk/composer.json

    r2906147 r3185922  
    3838    "scrutinizer/ocular": "^1.5",
    3939    "phpunit/phpunit": ">=8.5.23",
    40     "yoast/phpunit-polyfills": "^1.0"
     40    "yoast/phpunit-polyfills": "^1.0",
     41    "brain/monkey": "^2.6"
    4142  }
    4243}
  • captcha-eu/trunk/composer.lock

    r3181755 r3185922  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "251f8d8c4a2c5a50412074726d50b2a0",
     7    "content-hash": "a187b491ea6a8d1e86baed4b320aa6b3",
    88    "packages": [
    99        {
     
    161161    "packages-dev": [
    162162        {
     163            "name": "antecedent/patchwork",
     164            "version": "2.2.0",
     165            "source": {
     166                "type": "git",
     167                "url": "https://github.com/antecedent/patchwork.git",
     168                "reference": "b07d4fb37c3c723c8755122160c089e077d5de65"
     169            },
     170            "dist": {
     171                "type": "zip",
     172                "url": "https://api.github.com/repos/antecedent/patchwork/zipball/b07d4fb37c3c723c8755122160c089e077d5de65",
     173                "reference": "b07d4fb37c3c723c8755122160c089e077d5de65",
     174                "shasum": ""
     175            },
     176            "require": {
     177                "php": ">=7.1.0"
     178            },
     179            "require-dev": {
     180                "phpunit/phpunit": ">=4"
     181            },
     182            "type": "library",
     183            "notification-url": "https://packagist.org/downloads/",
     184            "license": [
     185                "MIT"
     186            ],
     187            "authors": [
     188                {
     189                    "name": "Ignas Rudaitis",
     190                    "email": "ignas.rudaitis@gmail.com"
     191                }
     192            ],
     193            "description": "Method redefinition (monkey-patching) functionality for PHP.",
     194            "homepage": "https://antecedent.github.io/patchwork/",
     195            "keywords": [
     196                "aop",
     197                "aspect",
     198                "interception",
     199                "monkeypatching",
     200                "redefinition",
     201                "runkit",
     202                "testing"
     203            ],
     204            "support": {
     205                "issues": "https://github.com/antecedent/patchwork/issues",
     206                "source": "https://github.com/antecedent/patchwork/tree/2.2.0"
     207            },
     208            "time": "2024-09-27T16:59:55+00:00"
     209        },
     210        {
     211            "name": "brain/monkey",
     212            "version": "2.6.2",
     213            "source": {
     214                "type": "git",
     215                "url": "https://github.com/Brain-WP/BrainMonkey.git",
     216                "reference": "d95a9d895352c30f47604ad1b825ab8fa9d1a373"
     217            },
     218            "dist": {
     219                "type": "zip",
     220                "url": "https://api.github.com/repos/Brain-WP/BrainMonkey/zipball/d95a9d895352c30f47604ad1b825ab8fa9d1a373",
     221                "reference": "d95a9d895352c30f47604ad1b825ab8fa9d1a373",
     222                "shasum": ""
     223            },
     224            "require": {
     225                "antecedent/patchwork": "^2.1.17",
     226                "mockery/mockery": "^1.3.5 || ^1.4.4",
     227                "php": ">=5.6.0"
     228            },
     229            "require-dev": {
     230                "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
     231                "phpcompatibility/php-compatibility": "^9.3.0",
     232                "phpunit/phpunit": "^5.7.26 || ^6.0 || ^7.0 || >=8.0 <8.5.12 || ^8.5.14 || ^9.0"
     233            },
     234            "type": "library",
     235            "extra": {
     236                "branch-alias": {
     237                    "dev-version/1": "1.x-dev",
     238                    "dev-master": "2.x-dev"
     239                }
     240            },
     241            "autoload": {
     242                "files": [
     243                    "inc/api.php"
     244                ],
     245                "psr-4": {
     246                    "Brain\\Monkey\\": "src/"
     247                }
     248            },
     249            "notification-url": "https://packagist.org/downloads/",
     250            "license": [
     251                "MIT"
     252            ],
     253            "authors": [
     254                {
     255                    "name": "Giuseppe Mazzapica",
     256                    "email": "giuseppe.mazzapica@gmail.com",
     257                    "homepage": "https://gmazzap.me",
     258                    "role": "Developer"
     259                }
     260            ],
     261            "description": "Mocking utility for PHP functions and WordPress plugin API",
     262            "keywords": [
     263                "Monkey Patching",
     264                "interception",
     265                "mock",
     266                "mock functions",
     267                "mockery",
     268                "patchwork",
     269                "redefinition",
     270                "runkit",
     271                "test",
     272                "testing"
     273            ],
     274            "support": {
     275                "issues": "https://github.com/Brain-WP/BrainMonkey/issues",
     276                "source": "https://github.com/Brain-WP/BrainMonkey"
     277            },
     278            "time": "2024-08-29T20:15:04+00:00"
     279        },
     280        {
    163281            "name": "clue/ndjson-react",
    164282            "version": "v1.3.0",
     
    11821300        },
    11831301        {
     1302            "name": "hamcrest/hamcrest-php",
     1303            "version": "v2.0.1",
     1304            "source": {
     1305                "type": "git",
     1306                "url": "https://github.com/hamcrest/hamcrest-php.git",
     1307                "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3"
     1308            },
     1309            "dist": {
     1310                "type": "zip",
     1311                "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
     1312                "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3",
     1313                "shasum": ""
     1314            },
     1315            "require": {
     1316                "php": "^5.3|^7.0|^8.0"
     1317            },
     1318            "replace": {
     1319                "cordoval/hamcrest-php": "*",
     1320                "davedevelopment/hamcrest-php": "*",
     1321                "kodova/hamcrest-php": "*"
     1322            },
     1323            "require-dev": {
     1324                "phpunit/php-file-iterator": "^1.4 || ^2.0",
     1325                "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0"
     1326            },
     1327            "type": "library",
     1328            "extra": {
     1329                "branch-alias": {
     1330                    "dev-master": "2.1-dev"
     1331                }
     1332            },
     1333            "autoload": {
     1334                "classmap": [
     1335                    "hamcrest"
     1336                ]
     1337            },
     1338            "notification-url": "https://packagist.org/downloads/",
     1339            "license": [
     1340                "BSD-3-Clause"
     1341            ],
     1342            "description": "This is the PHP port of Hamcrest Matchers",
     1343            "keywords": [
     1344                "test"
     1345            ],
     1346            "support": {
     1347                "issues": "https://github.com/hamcrest/hamcrest-php/issues",
     1348                "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1"
     1349            },
     1350            "time": "2020-07-09T08:09:16+00:00"
     1351        },
     1352        {
    11841353            "name": "jms/metadata",
    11851354            "version": "2.8.0",
     
    13431512        },
    13441513        {
     1514            "name": "mockery/mockery",
     1515            "version": "1.6.12",
     1516            "source": {
     1517                "type": "git",
     1518                "url": "https://github.com/mockery/mockery.git",
     1519                "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699"
     1520            },
     1521            "dist": {
     1522                "type": "zip",
     1523                "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699",
     1524                "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699",
     1525                "shasum": ""
     1526            },
     1527            "require": {
     1528                "hamcrest/hamcrest-php": "^2.0.1",
     1529                "lib-pcre": ">=7.0",
     1530                "php": ">=7.3"
     1531            },
     1532            "conflict": {
     1533                "phpunit/phpunit": "<8.0"
     1534            },
     1535            "require-dev": {
     1536                "phpunit/phpunit": "^8.5 || ^9.6.17",
     1537                "symplify/easy-coding-standard": "^12.1.14"
     1538            },
     1539            "type": "library",
     1540            "autoload": {
     1541                "files": [
     1542                    "library/helpers.php",
     1543                    "library/Mockery.php"
     1544                ],
     1545                "psr-4": {
     1546                    "Mockery\\": "library/Mockery"
     1547                }
     1548            },
     1549            "notification-url": "https://packagist.org/downloads/",
     1550            "license": [
     1551                "BSD-3-Clause"
     1552            ],
     1553            "authors": [
     1554                {
     1555                    "name": "Pádraic Brady",
     1556                    "email": "padraic.brady@gmail.com",
     1557                    "homepage": "https://github.com/padraic",
     1558                    "role": "Author"
     1559                },
     1560                {
     1561                    "name": "Dave Marshall",
     1562                    "email": "dave.marshall@atstsolutions.co.uk",
     1563                    "homepage": "https://davedevelopment.co.uk",
     1564                    "role": "Developer"
     1565                },
     1566                {
     1567                    "name": "Nathanael Esayeas",
     1568                    "email": "nathanael.esayeas@protonmail.com",
     1569                    "homepage": "https://github.com/ghostwriter",
     1570                    "role": "Lead Developer"
     1571                }
     1572            ],
     1573            "description": "Mockery is a simple yet flexible PHP mock object framework",
     1574            "homepage": "https://github.com/mockery/mockery",
     1575            "keywords": [
     1576                "BDD",
     1577                "TDD",
     1578                "library",
     1579                "mock",
     1580                "mock objects",
     1581                "mockery",
     1582                "stub",
     1583                "test",
     1584                "test double",
     1585                "testing"
     1586            ],
     1587            "support": {
     1588                "docs": "https://docs.mockery.io/",
     1589                "issues": "https://github.com/mockery/mockery/issues",
     1590                "rss": "https://github.com/mockery/mockery/releases.atom",
     1591                "security": "https://github.com/mockery/mockery/security/advisories",
     1592                "source": "https://github.com/mockery/mockery"
     1593            },
     1594            "time": "2024-05-16T03:13:13+00:00"
     1595        },
     1596        {
    13451597            "name": "myclabs/deep-copy",
    1346             "version": "1.12.0",
     1598            "version": "1.12.1",
    13471599            "source": {
    13481600                "type": "git",
    13491601                "url": "https://github.com/myclabs/DeepCopy.git",
    1350                 "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c"
    1351             },
    1352             "dist": {
    1353                 "type": "zip",
    1354                 "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
    1355                 "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c",
     1602                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845"
     1603            },
     1604            "dist": {
     1605                "type": "zip",
     1606                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/123267b2c49fbf30d78a7b2d333f6be754b94845",
     1607                "reference": "123267b2c49fbf30d78a7b2d333f6be754b94845",
    13561608                "shasum": ""
    13571609            },
     
    13921644            "support": {
    13931645                "issues": "https://github.com/myclabs/DeepCopy/issues",
    1394                 "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0"
     1646                "source": "https://github.com/myclabs/DeepCopy/tree/1.12.1"
    13951647            },
    13961648            "funding": [
     
    14001652                }
    14011653            ],
    1402             "time": "2024-06-12T14:39:25+00:00"
     1654            "time": "2024-11-08T17:47:46+00:00"
    14031655        },
    14041656        {
     
    40904342        {
    40914343            "name": "symfony/console",
    4092             "version": "v5.4.45",
     4344            "version": "v5.4.46",
    40934345            "source": {
    40944346                "type": "git",
    40954347                "url": "https://github.com/symfony/console.git",
    4096                 "reference": "108d436c2af470858bdaba3257baab3a74172017"
    4097             },
    4098             "dist": {
    4099                 "type": "zip",
    4100                 "url": "https://api.github.com/repos/symfony/console/zipball/108d436c2af470858bdaba3257baab3a74172017",
    4101                 "reference": "108d436c2af470858bdaba3257baab3a74172017",
     4348                "reference": "fb0d4760e7147d81ab4d9e2d57d56268261b4e4e"
     4349            },
     4350            "dist": {
     4351                "type": "zip",
     4352                "url": "https://api.github.com/repos/symfony/console/zipball/fb0d4760e7147d81ab4d9e2d57d56268261b4e4e",
     4353                "reference": "fb0d4760e7147d81ab4d9e2d57d56268261b4e4e",
    41024354                "shasum": ""
    41034355            },
     
    41694421            ],
    41704422            "support": {
    4171                 "source": "https://github.com/symfony/console/tree/v5.4.45"
     4423                "source": "https://github.com/symfony/console/tree/v5.4.46"
    41724424            },
    41734425            "funding": [
     
    41854437                }
    41864438            ],
    4187             "time": "2024-10-08T07:27:17+00:00"
     4439            "time": "2024-11-05T14:17:06+00:00"
    41884440        },
    41894441        {
     
    51695421        {
    51705422            "name": "symfony/process",
    5171             "version": "v5.4.45",
     5423            "version": "v5.4.46",
    51725424            "source": {
    51735425                "type": "git",
    51745426                "url": "https://github.com/symfony/process.git",
    5175                 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4"
    5176             },
    5177             "dist": {
    5178                 "type": "zip",
    5179                 "url": "https://api.github.com/repos/symfony/process/zipball/95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4",
    5180                 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4",
     5427                "reference": "01906871cb9b5e3cf872863b91aba4ec9767daf4"
     5428            },
     5429            "dist": {
     5430                "type": "zip",
     5431                "url": "https://api.github.com/repos/symfony/process/zipball/01906871cb9b5e3cf872863b91aba4ec9767daf4",
     5432                "reference": "01906871cb9b5e3cf872863b91aba4ec9767daf4",
    51815433                "shasum": ""
    51825434            },
     
    52115463            "homepage": "https://symfony.com",
    52125464            "support": {
    5213                 "source": "https://github.com/symfony/process/tree/v5.4.45"
     5465                "source": "https://github.com/symfony/process/tree/v5.4.46"
    52145466            },
    52155467            "funding": [
     
    52275479                }
    52285480            ],
    5229             "time": "2024-09-25T14:11:13+00:00"
     5481            "time": "2024-11-06T09:18:28+00:00"
    52305482        },
    52315483        {
  • captcha-eu/trunk/readme.txt

    r3182431 r3185922  
    55Tested up to: 6.5
    66Requires PHP: 7.0
    7 Stable tag: 1.0.46
     7Stable tag: 1.0.47
    88License: GPL
    99License URI: https://opensource.org/license/gpl/
     
    6161
    6262== Changelog ==
     63= v1.0.47 =
     64gravity forms: dynamic forms where missed
    6365= v1.0.46 =
    6466gravity forms: multi challenge fix
  • captcha-eu/trunk/src/Admin.php

    r3182098 r3185922  
    11941194    }
    11951195
    1196     private function apiFetchLatestVersion()
     1196    public function apiFetchLatestVersion()
    11971197    {
    11981198        // fetch asset version info route
     
    12271227    }
    12281228
    1229     private function apiFetchPersonal($host = '', $restKey = '')
     1229    public function apiFetchPersonal($host = '', $restKey = '')
    12301230    {
    12311231        // fetch personal info route
  • captcha-eu/trunk/src/FragProtect.php

    r3182098 r3185922  
    66{
    77    private $core;
     8    private $plugin_dir_url;
     9    private $features;
     10    private $enabled;
    811
    912    public function __construct($core)
  • captcha-eu/trunk/tests/phpunit/bootstrap.php

    r2985152 r3185922  
    11<?php
    2 /**
    3  * PHPUnit bootstrap file.
    4  */
    52
    63namespace UNT;
     
    129define('KRN_IS_TESTING', 1);
    1310
    14 class bootstrap
     11class UNTBootstrap
    1512{
    1613    public function __construct()
     
    3431    public function _manually_load_plugin()
    3532    {
    36         require dirname(dirname(__FILE__)) . '../../kmm-flattable.php';
     33        require dirname(dirname(__FILE__)) . '../../wp-captcha.php';
    3734    }
    3835}
     
    4037// Start up the WP testing environment.
    4138
    42 $unt = new bootstrap();
     39$unt = new UNTBootstrap();
  • captcha-eu/trunk/tests/test-captcha.php

    r3182098 r3185922  
    2424class TestFlattable extends WP_UnitTestCase
    2525{
     26    private $core;
     27
    2628    public function setUp(): void
    2729    {
  • captcha-eu/trunk/vendor/autoload.php

    r3182431 r3185922  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28::getLoader();
     25return ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e::getLoader();
  • captcha-eu/trunk/vendor/composer/autoload_real.php

    r3182431 r3185922  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28
     5class ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • captcha-eu/trunk/vendor/composer/autoload_static.php

    r3182431 r3185922  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28
     7class ComposerStaticInitb64f8d843f3d3a96827822f173085a1e
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    3434    {
    3535        return \Closure::bind(function () use ($loader) {
    36             $loader->prefixLengthsPsr4 = ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::$prefixLengthsPsr4;
    37             $loader->prefixDirsPsr4 = ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::$prefixDirsPsr4;
    38             $loader->classMap = ComposerStaticInit89d749ee001d1337ac3d6228f8aeda28::$classMap;
     36            $loader->prefixLengthsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixLengthsPsr4;
     37            $loader->prefixDirsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixDirsPsr4;
     38            $loader->classMap = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$classMap;
    3939
    4040        }, null, ClassLoader::class);
  • captcha-eu/trunk/vendor/composer/installers/.git/logs/HEAD

    r3182431 r3185922  
    1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
    2 a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   checkout: moving from main to v1.12.0
     10000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
     2a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   checkout: moving from main to v1.12.0
  • captcha-eu/trunk/vendor/composer/installers/.git/logs/refs/heads/main

    r3182431 r3185922  
    1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
     10000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
  • captcha-eu/trunk/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD

    r3182431 r3185922  
    1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730817685 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
     10000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +0000   clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/
  • captcha-eu/trunk/vendor/composer/installers/.git/objects/info/packs

    r3182431 r3185922  
    1 P pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack
     1P pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.pack
    22
  • captcha-eu/trunk/wp-captcha.php

    r3182431 r3185922  
    44 * Description: Captcha.eu provides a GDPR compliant protection against bots and spammers.
    55 * Plugin URI:  https://www.captcha.eu
    6  * Version:     1.0.46
     6 * Version:     1.0.47
    77 * Author:      captchaeu
    88 * Author URI:  https://profiles.wordpress.org/captchaeu/
Note: See TracChangeset for help on using the changeset viewer.