Changeset 3185922
- Timestamp:
- 11/11/2024 05:43:48 PM (17 months ago)
- Location:
- captcha-eu
- Files:
-
- 18 added
- 4 deleted
- 36 edited
- 1 copied
-
tags/v1.0.47 (copied) (copied from captcha-eu/trunk)
-
tags/v1.0.47/.gitlab-ci.yml (modified) (2 diffs)
-
tags/v1.0.47/README.krn.md (added)
-
tags/v1.0.47/assets/js/partials/gravityforms.js (modified) (2 diffs)
-
tags/v1.0.47/bin/install-wp-tests.sh (added)
-
tags/v1.0.47/composer.json (modified) (1 diff)
-
tags/v1.0.47/composer.lock (modified) (12 diffs)
-
tags/v1.0.47/readme.txt (modified) (2 diffs)
-
tags/v1.0.47/src/Admin.php (modified) (2 diffs)
-
tags/v1.0.47/src/FragProtect.php (modified) (1 diff)
-
tags/v1.0.47/tests/phpunit/bootstrap.php (modified) (4 diffs)
-
tags/v1.0.47/tests/test-admin.php (added)
-
tags/v1.0.47/tests/test-captcha.php (modified) (1 diff)
-
tags/v1.0.47/tests/test-core.php (added)
-
tags/v1.0.47/tests/test-fragprotect.php (added)
-
tags/v1.0.47/tests/test-logger.php (added)
-
tags/v1.0.47/tests/test-options.php (added)
-
tags/v1.0.47/vendor/autoload.php (modified) (1 diff)
-
tags/v1.0.47/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/v1.0.47/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/v1.0.47/vendor/composer/installers/.git/index (modified) (previous)
-
tags/v1.0.47/vendor/composer/installers/.git/logs/HEAD (modified) (1 diff)
-
tags/v1.0.47/vendor/composer/installers/.git/logs/refs/heads/main (modified) (1 diff)
-
tags/v1.0.47/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD (modified) (1 diff)
-
tags/v1.0.47/vendor/composer/installers/.git/objects/info/packs (modified) (1 diff)
-
tags/v1.0.47/vendor/composer/installers/.git/objects/pack/pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.idx (added)
-
tags/v1.0.47/vendor/composer/installers/.git/objects/pack/pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.pack (added)
-
tags/v1.0.47/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.idx (deleted)
-
tags/v1.0.47/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack (deleted)
-
tags/v1.0.47/wp-captcha.php (modified) (1 diff)
-
trunk/.gitlab-ci.yml (modified) (2 diffs)
-
trunk/README.krn.md (added)
-
trunk/assets/js/partials/gravityforms.js (modified) (2 diffs)
-
trunk/bin/install-wp-tests.sh (added)
-
trunk/composer.json (modified) (1 diff)
-
trunk/composer.lock (modified) (12 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Admin.php (modified) (2 diffs)
-
trunk/src/FragProtect.php (modified) (1 diff)
-
trunk/tests/phpunit/bootstrap.php (modified) (4 diffs)
-
trunk/tests/test-admin.php (added)
-
trunk/tests/test-captcha.php (modified) (1 diff)
-
trunk/tests/test-core.php (added)
-
trunk/tests/test-fragprotect.php (added)
-
trunk/tests/test-logger.php (added)
-
trunk/tests/test-options.php (added)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installers/.git/index (modified) (previous)
-
trunk/vendor/composer/installers/.git/logs/HEAD (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/logs/refs/heads/main (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/objects/info/packs (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.idx (added)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.pack (added)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.idx (deleted)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack (deleted)
-
trunk/wp-captcha.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
captcha-eu/tags/v1.0.47/.gitlab-ci.yml
r2906160 r3185922 1 stages:2 - wordpress.org3 4 5 1 PluginSVN: 6 stage: wordpress.org7 2 image: registry.krone.at/captcha/wp-deploy 8 3 before_script: … … 34 29 - /^v([0-9]+).*/ 35 30 31 test: 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); 4 13 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 } 11 19 20 KROT.interceptForm($form[0], true); 12 21 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(); 24 24 var form = this; 25 25 26 // Disable all submit and input buttons to prevent multiple submissions27 26 $btn.attr('disabled', true); 28 27 … … 30 29 .then((sol) => { 31 30 form.querySelector('.captcha_at_hidden_field').value = JSON.stringify(sol); 32 form.submit(); // Submit the form programmatically33 $btn.attr('disabled', false); // Re-enable buttons31 form.submit(); 32 $btn.attr('disabled', false); 34 33 }) 35 34 .catch((error) => { 36 // Handle error if necessary37 35 console.error('Error getting solution:', error); 38 $btn.attr('disabled', false); // Re-enable buttons on error36 $btn.attr('disabled', false); 39 37 }); 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 38 38 "scrutinizer/ocular": "^1.5", 39 39 "phpunit/phpunit": ">=8.5.23", 40 "yoast/phpunit-polyfills": "^1.0" 40 "yoast/phpunit-polyfills": "^1.0", 41 "brain/monkey": "^2.6" 41 42 } 42 43 } -
captcha-eu/tags/v1.0.47/composer.lock
r3181755 r3185922 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 251f8d8c4a2c5a50412074726d50b2a0",7 "content-hash": "a187b491ea6a8d1e86baed4b320aa6b3", 8 8 "packages": [ 9 9 { … … 161 161 "packages-dev": [ 162 162 { 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 { 163 281 "name": "clue/ndjson-react", 164 282 "version": "v1.3.0", … … 1182 1300 }, 1183 1301 { 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 { 1184 1353 "name": "jms/metadata", 1185 1354 "version": "2.8.0", … … 1343 1512 }, 1344 1513 { 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 { 1345 1597 "name": "myclabs/deep-copy", 1346 "version": "1.12. 0",1598 "version": "1.12.1", 1347 1599 "source": { 1348 1600 "type": "git", 1349 1601 "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", 1356 1608 "shasum": "" 1357 1609 }, … … 1392 1644 "support": { 1393 1645 "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" 1395 1647 }, 1396 1648 "funding": [ … … 1400 1652 } 1401 1653 ], 1402 "time": "2024- 06-12T14:39:25+00:00"1654 "time": "2024-11-08T17:47:46+00:00" 1403 1655 }, 1404 1656 { … … 4090 4342 { 4091 4343 "name": "symfony/console", 4092 "version": "v5.4.4 5",4344 "version": "v5.4.46", 4093 4345 "source": { 4094 4346 "type": "git", 4095 4347 "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", 4102 4354 "shasum": "" 4103 4355 }, … … 4169 4421 ], 4170 4422 "support": { 4171 "source": "https://github.com/symfony/console/tree/v5.4.4 5"4423 "source": "https://github.com/symfony/console/tree/v5.4.46" 4172 4424 }, 4173 4425 "funding": [ … … 4185 4437 } 4186 4438 ], 4187 "time": "2024-1 0-08T07:27:17+00:00"4439 "time": "2024-11-05T14:17:06+00:00" 4188 4440 }, 4189 4441 { … … 5169 5421 { 5170 5422 "name": "symfony/process", 5171 "version": "v5.4.4 5",5423 "version": "v5.4.46", 5172 5424 "source": { 5173 5425 "type": "git", 5174 5426 "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", 5181 5433 "shasum": "" 5182 5434 }, … … 5211 5463 "homepage": "https://symfony.com", 5212 5464 "support": { 5213 "source": "https://github.com/symfony/process/tree/v5.4.4 5"5465 "source": "https://github.com/symfony/process/tree/v5.4.46" 5214 5466 }, 5215 5467 "funding": [ … … 5227 5479 } 5228 5480 ], 5229 "time": "2024- 09-25T14:11:13+00:00"5481 "time": "2024-11-06T09:18:28+00:00" 5230 5482 }, 5231 5483 { -
captcha-eu/tags/v1.0.47/readme.txt
r3182431 r3185922 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 1.0.4 67 Stable tag: 1.0.47 8 8 License: GPL 9 9 License URI: https://opensource.org/license/gpl/ … … 61 61 62 62 == Changelog == 63 = v1.0.47 = 64 gravity forms: dynamic forms where missed 63 65 = v1.0.46 = 64 66 gravity forms: multi challenge fix -
captcha-eu/tags/v1.0.47/src/Admin.php
r3182098 r3185922 1194 1194 } 1195 1195 1196 p rivatefunction apiFetchLatestVersion()1196 public function apiFetchLatestVersion() 1197 1197 { 1198 1198 // fetch asset version info route … … 1227 1227 } 1228 1228 1229 p rivatefunction apiFetchPersonal($host = '', $restKey = '')1229 public function apiFetchPersonal($host = '', $restKey = '') 1230 1230 { 1231 1231 // fetch personal info route -
captcha-eu/tags/v1.0.47/src/FragProtect.php
r3182098 r3185922 6 6 { 7 7 private $core; 8 private $plugin_dir_url; 9 private $features; 10 private $enabled; 8 11 9 12 public function __construct($core) -
captcha-eu/tags/v1.0.47/tests/phpunit/bootstrap.php
r2985152 r3185922 1 1 <?php 2 /**3 * PHPUnit bootstrap file.4 */5 2 6 3 namespace UNT; … … 12 9 define('KRN_IS_TESTING', 1); 13 10 14 class bootstrap11 class UNTBootstrap 15 12 { 16 13 public function __construct() … … 34 31 public function _manually_load_plugin() 35 32 { 36 require dirname(dirname(__FILE__)) . '../../ kmm-flattable.php';33 require dirname(dirname(__FILE__)) . '../../wp-captcha.php'; 37 34 } 38 35 } … … 40 37 // Start up the WP testing environment. 41 38 42 $unt = new bootstrap();39 $unt = new UNTBootstrap(); -
captcha-eu/tags/v1.0.47/tests/test-captcha.php
r3182098 r3185922 24 24 class TestFlattable extends WP_UnitTestCase 25 25 { 26 private $core; 27 26 28 public function setUp(): void 27 29 { -
captcha-eu/tags/v1.0.47/vendor/autoload.php
r3182431 r3185922 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda28::getLoader();25 return ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e::getLoader(); -
captcha-eu/tags/v1.0.47/vendor/composer/autoload_real.php
r3182431 r3185922 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda285 class ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
captcha-eu/tags/v1.0.47/vendor/composer/autoload_static.php
r3182431 r3185922 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda287 class ComposerStaticInitb64f8d843f3d3a96827822f173085a1e 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 34 34 { 35 35 return \Closure::bind(function () use ($loader) { 36 $loader->prefixLengthsPsr4 = ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::$prefixLengthsPsr4;37 $loader->prefixDirsPsr4 = ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::$prefixDirsPsr4;38 $loader->classMap = ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::$classMap;36 $loader->prefixLengthsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixLengthsPsr4; 37 $loader->prefixDirsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixDirsPsr4; 38 $loader->classMap = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$classMap; 39 39 40 40 }, 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> 173 0817685+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> 173 0817685+0000 checkout: moving from main to v1.12.01 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +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> 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> 173 0817685+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 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> 173 0817685+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 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.pack1 P pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.pack 2 2 -
captcha-eu/tags/v1.0.47/wp-captcha.php
r3182431 r3185922 4 4 * Description: Captcha.eu provides a GDPR compliant protection against bots and spammers. 5 5 * Plugin URI: https://www.captcha.eu 6 * Version: 1.0.4 66 * Version: 1.0.47 7 7 * Author: captchaeu 8 8 * Author URI: https://profiles.wordpress.org/captchaeu/ -
captcha-eu/trunk/.gitlab-ci.yml
r2906160 r3185922 1 stages:2 - wordpress.org3 4 5 1 PluginSVN: 6 stage: wordpress.org7 2 image: registry.krone.at/captcha/wp-deploy 8 3 before_script: … … 34 29 - /^v([0-9]+).*/ 35 30 31 test: 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); 4 13 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 } 11 19 20 KROT.interceptForm($form[0], true); 12 21 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(); 24 24 var form = this; 25 25 26 // Disable all submit and input buttons to prevent multiple submissions27 26 $btn.attr('disabled', true); 28 27 … … 30 29 .then((sol) => { 31 30 form.querySelector('.captcha_at_hidden_field').value = JSON.stringify(sol); 32 form.submit(); // Submit the form programmatically33 $btn.attr('disabled', false); // Re-enable buttons31 form.submit(); 32 $btn.attr('disabled', false); 34 33 }) 35 34 .catch((error) => { 36 // Handle error if necessary37 35 console.error('Error getting solution:', error); 38 $btn.attr('disabled', false); // Re-enable buttons on error36 $btn.attr('disabled', false); 39 37 }); 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 38 38 "scrutinizer/ocular": "^1.5", 39 39 "phpunit/phpunit": ">=8.5.23", 40 "yoast/phpunit-polyfills": "^1.0" 40 "yoast/phpunit-polyfills": "^1.0", 41 "brain/monkey": "^2.6" 41 42 } 42 43 } -
captcha-eu/trunk/composer.lock
r3181755 r3185922 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 251f8d8c4a2c5a50412074726d50b2a0",7 "content-hash": "a187b491ea6a8d1e86baed4b320aa6b3", 8 8 "packages": [ 9 9 { … … 161 161 "packages-dev": [ 162 162 { 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 { 163 281 "name": "clue/ndjson-react", 164 282 "version": "v1.3.0", … … 1182 1300 }, 1183 1301 { 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 { 1184 1353 "name": "jms/metadata", 1185 1354 "version": "2.8.0", … … 1343 1512 }, 1344 1513 { 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 { 1345 1597 "name": "myclabs/deep-copy", 1346 "version": "1.12. 0",1598 "version": "1.12.1", 1347 1599 "source": { 1348 1600 "type": "git", 1349 1601 "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", 1356 1608 "shasum": "" 1357 1609 }, … … 1392 1644 "support": { 1393 1645 "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" 1395 1647 }, 1396 1648 "funding": [ … … 1400 1652 } 1401 1653 ], 1402 "time": "2024- 06-12T14:39:25+00:00"1654 "time": "2024-11-08T17:47:46+00:00" 1403 1655 }, 1404 1656 { … … 4090 4342 { 4091 4343 "name": "symfony/console", 4092 "version": "v5.4.4 5",4344 "version": "v5.4.46", 4093 4345 "source": { 4094 4346 "type": "git", 4095 4347 "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", 4102 4354 "shasum": "" 4103 4355 }, … … 4169 4421 ], 4170 4422 "support": { 4171 "source": "https://github.com/symfony/console/tree/v5.4.4 5"4423 "source": "https://github.com/symfony/console/tree/v5.4.46" 4172 4424 }, 4173 4425 "funding": [ … … 4185 4437 } 4186 4438 ], 4187 "time": "2024-1 0-08T07:27:17+00:00"4439 "time": "2024-11-05T14:17:06+00:00" 4188 4440 }, 4189 4441 { … … 5169 5421 { 5170 5422 "name": "symfony/process", 5171 "version": "v5.4.4 5",5423 "version": "v5.4.46", 5172 5424 "source": { 5173 5425 "type": "git", 5174 5426 "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", 5181 5433 "shasum": "" 5182 5434 }, … … 5211 5463 "homepage": "https://symfony.com", 5212 5464 "support": { 5213 "source": "https://github.com/symfony/process/tree/v5.4.4 5"5465 "source": "https://github.com/symfony/process/tree/v5.4.46" 5214 5466 }, 5215 5467 "funding": [ … … 5227 5479 } 5228 5480 ], 5229 "time": "2024- 09-25T14:11:13+00:00"5481 "time": "2024-11-06T09:18:28+00:00" 5230 5482 }, 5231 5483 { -
captcha-eu/trunk/readme.txt
r3182431 r3185922 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 1.0.4 67 Stable tag: 1.0.47 8 8 License: GPL 9 9 License URI: https://opensource.org/license/gpl/ … … 61 61 62 62 == Changelog == 63 = v1.0.47 = 64 gravity forms: dynamic forms where missed 63 65 = v1.0.46 = 64 66 gravity forms: multi challenge fix -
captcha-eu/trunk/src/Admin.php
r3182098 r3185922 1194 1194 } 1195 1195 1196 p rivatefunction apiFetchLatestVersion()1196 public function apiFetchLatestVersion() 1197 1197 { 1198 1198 // fetch asset version info route … … 1227 1227 } 1228 1228 1229 p rivatefunction apiFetchPersonal($host = '', $restKey = '')1229 public function apiFetchPersonal($host = '', $restKey = '') 1230 1230 { 1231 1231 // fetch personal info route -
captcha-eu/trunk/src/FragProtect.php
r3182098 r3185922 6 6 { 7 7 private $core; 8 private $plugin_dir_url; 9 private $features; 10 private $enabled; 8 11 9 12 public function __construct($core) -
captcha-eu/trunk/tests/phpunit/bootstrap.php
r2985152 r3185922 1 1 <?php 2 /**3 * PHPUnit bootstrap file.4 */5 2 6 3 namespace UNT; … … 12 9 define('KRN_IS_TESTING', 1); 13 10 14 class bootstrap11 class UNTBootstrap 15 12 { 16 13 public function __construct() … … 34 31 public function _manually_load_plugin() 35 32 { 36 require dirname(dirname(__FILE__)) . '../../ kmm-flattable.php';33 require dirname(dirname(__FILE__)) . '../../wp-captcha.php'; 37 34 } 38 35 } … … 40 37 // Start up the WP testing environment. 41 38 42 $unt = new bootstrap();39 $unt = new UNTBootstrap(); -
captcha-eu/trunk/tests/test-captcha.php
r3182098 r3185922 24 24 class TestFlattable extends WP_UnitTestCase 25 25 { 26 private $core; 27 26 28 public function setUp(): void 27 29 { -
captcha-eu/trunk/vendor/autoload.php
r3182431 r3185922 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda28::getLoader();25 return ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e::getLoader(); -
captcha-eu/trunk/vendor/composer/autoload_real.php
r3182431 r3185922 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda285 class ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 89d749ee001d1337ac3d6228f8aeda28', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitb64f8d843f3d3a96827822f173085a1e', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
captcha-eu/trunk/vendor/composer/autoload_static.php
r3182431 r3185922 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda287 class ComposerStaticInitb64f8d843f3d3a96827822f173085a1e 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 34 34 { 35 35 return \Closure::bind(function () use ($loader) { 36 $loader->prefixLengthsPsr4 = ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::$prefixLengthsPsr4;37 $loader->prefixDirsPsr4 = ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::$prefixDirsPsr4;38 $loader->classMap = ComposerStaticInit 89d749ee001d1337ac3d6228f8aeda28::$classMap;36 $loader->prefixLengthsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixLengthsPsr4; 37 $loader->prefixDirsPsr4 = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$prefixDirsPsr4; 38 $loader->classMap = ComposerStaticInitb64f8d843f3d3a96827822f173085a1e::$classMap; 39 39 40 40 }, 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> 173 0817685+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> 173 0817685+0000 checkout: moving from main to v1.12.01 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1731346993 +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> 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> 173 0817685+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 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> 173 0817685+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 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.pack1 P pack-0fa0dcbbc616b4cea638746103915ac39a3bddd2.pack 2 2 -
captcha-eu/trunk/wp-captcha.php
r3182431 r3185922 4 4 * Description: Captcha.eu provides a GDPR compliant protection against bots and spammers. 5 5 * Plugin URI: https://www.captcha.eu 6 * Version: 1.0.4 66 * Version: 1.0.47 7 7 * Author: captchaeu 8 8 * Author URI: https://profiles.wordpress.org/captchaeu/
Note: See TracChangeset
for help on using the changeset viewer.