Plugin Directory

Changeset 3052710


Ignore:
Timestamp:
03/17/2024 02:58:12 PM (22 months ago)
Author:
scorialabs
Message:

Update to version 1.4.0 from GitHub

Location:
captchafox-for-forms
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • captchafox-for-forms/tags/1.4.0/assets/js/otter.js

    r3007827 r3052710  
    1 "use strict";var d=(r,o,e)=>new Promise((i,a)=>{var s=n=>{try{t(e.next(n))}catch(c){a(c)}},w=n=>{try{t(e.throw(n))}catch(c){a(c)}},t=n=>n.done?i(n.value):Promise.resolve(n.value).then(s,w);t((e=e.apply(r,o)).next())});document.addEventListener("DOMContentLoaded",function(){var r;!((r=window.themeisleGutenbergForm)!=null&&r.reRecaptchaSitekey)||!window.hasOwnProperty("captchafox")||(window.grecaptcha={},window.captchaFoxLoadOtter())}),window.captchaFoxLoadOtter=()=>{document.querySelectorAll(".wp-block-themeisle-blocks-form").forEach(o=>d(this,null,function*(){var e;(e=o==null?void 0:o.classList)!=null&&e.contains("has-captcha")&&(yield renderCaptchaFoxOnOtterForm(o))}))};const renderCaptchaFoxOnOtterForm=r=>d(this,null,function*(){var s,w;const{id:o}=r,e=document.createElement("div"),i=r.querySelector(".otter-form__container");i==null||i.insertBefore(e,i.lastChild);const a=yield(w=window.captchafox)==null?void 0:w.render(e,{sitekey:(s=window==null?void 0:window.themeisleGutenbergForm)==null?void 0:s.reRecaptchaSitekey,onError:t=>console.error(t),onVerify:t=>{var n;(n=window.themeisleGutenberg)!=null&&n.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[o]={token:t,reset:()=>{var c;return(c=window.captchafox)==null?void 0:c.reset(a)}}},onExpire:()=>{var t;(t=window.themeisleGutenberg)!=null&&t.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[o]={token:null,reset:()=>null}}})});
     1"use strict";var l=(i,t,n)=>new Promise((o,a)=>{var d=e=>{try{r(n.next(e))}catch(s){a(s)}},c=e=>{try{r(n.throw(e))}catch(s){a(s)}},r=e=>e.done?o(e.value):Promise.resolve(e.value).then(d,c);r((n=n.apply(i,t)).next())});document.addEventListener("DOMContentLoaded",function(){var i;if(!((i=window.themeisleGutenbergForm)!=null&&i.reRecaptchaSitekey)){console.warn("Open the Otter Blocks settings to set the sitekey for CaptchaFox");return}window.grecaptcha={},window.captchaFoxLoadOtter()}),window.captchaFoxLoadOtter=()=>{document.querySelectorAll(".wp-block-themeisle-blocks-form").forEach(t=>l(this,null,function*(){var n;(n=t==null?void 0:t.classList)!=null&&n.contains("has-captcha")&&(yield renderCaptchaFoxOnOtterForm(t))}))};const renderCaptchaFoxOnOtterForm=i=>l(this,null,function*(){var c,r;const{id:t}=i,n=document.createElement("div"),o=i.querySelector(".otter-form__container");if(o==null?void 0:o.querySelector(`#${t}`))return;n.id=t,o==null||o.insertBefore(n,o.lastChild);const d=yield(r=window.captchafox)==null?void 0:r.render(n,{sitekey:(c=window==null?void 0:window.themeisleGutenbergForm)==null?void 0:c.reRecaptchaSitekey,onError:e=>console.error(e),onVerify:e=>{var s;(s=window.themeisleGutenberg)!=null&&s.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[t]={token:e,reset:()=>{var w;return(w=window.captchafox)==null?void 0:w.reset(d)}}},onExpire:()=>{var e;(e=window.themeisleGutenberg)!=null&&e.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[t]={token:null,reset:()=>null}}})});
  • captchafox-for-forms/tags/1.4.0/captchafox.php

    r3025079 r3052710  
    77 * Plugin Name:           CaptchaFox for WordPress
    88 * Description:           GDPR compliant bot and spam protection with CaptchaFox.
    9  * Version:               1.3.0
     9 * Version:               1.4.0
    1010 * Requires at least:     5.0
    1111 * Requires PHP:          7.0
     
    1616 *
    1717 * WC requires at least:  3.0
    18  * WC tested up to:       8.5
     18 * WC tested up to:       8.6
    1919 */
    2020
     
    2828
    2929const CAPTCHAFOX_BASE_FILE = __FILE__;
    30 const PLUGIN_VERSION = '1.2.0';
     30const PLUGIN_VERSION = '1.4.0';
    3131
    3232require 'vendor/autoload.php';
  • captchafox-for-forms/tags/1.4.0/readme.txt

    r3025079 r3052710  
    33Tags: captcha, abuse, recaptcha, spam, anti-spam, captchafox, gdpr, comments, block bots
    44Requires at least: 5.0
    5 Tested up to: 6.4
     5Tested up to: 6.5
    66Requires PHP: 7.0
    7 Stable tag: 1.3.0
     7Stable tag: 1.4.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7777== Changelog ==
    7878
     79= 1.4.0 =
     80* Tested on WooCommerce 8.6
     81* Tested on WordPress 6.5
     82
    7983= 1.3.0 =
    8084* Tested on WooCommerce 8.5
  • captchafox-for-forms/tags/1.4.0/src/ts/otter.ts

    r3007827 r3052710  
    2020
    2121document.addEventListener('DOMContentLoaded', function () {
    22   if (
    23     !window.themeisleGutenbergForm?.reRecaptchaSitekey ||
    24     !window.hasOwnProperty('captchafox')
    25   ) {
     22  if (!window.themeisleGutenbergForm?.reRecaptchaSitekey) {
     23    console.warn(
     24      'Open the Otter Blocks settings to set the sitekey for CaptchaFox'
     25    );
    2626    return;
    2727  }
     
    4949  const captchaNode = document.createElement('div');
    5050  const container = form.querySelector('.otter-form__container');
     51  const existingNode = container?.querySelector(`#${id}`);
     52
     53  if (existingNode) {
     54    return;
     55  }
     56
     57  captchaNode.id = id;
    5158  container?.insertBefore(captchaNode, container.lastChild);
    5259
  • captchafox-for-forms/tags/1.4.0/vendor/composer/installed.php

    r3025079 r3052710  
    22    'root' => array(
    33        'name' => 'captchafox/captchafox-wordpress',
    4         'pretty_version' => '1.3.0',
    5         'version' => '1.3.0.0',
    6         'reference' => 'e00395e430141be34f2ac58bc60b8ccb42e2449b',
     4        'pretty_version' => '1.4.0',
     5        'version' => '1.4.0.0',
     6        'reference' => '5e37087bd27eecd9d0f6273564d1cdffdd1ea864',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'captchafox/captchafox-wordpress' => array(
    14             'pretty_version' => '1.3.0',
    15             'version' => '1.3.0.0',
    16             'reference' => 'e00395e430141be34f2ac58bc60b8ccb42e2449b',
     14            'pretty_version' => '1.4.0',
     15            'version' => '1.4.0.0',
     16            'reference' => '5e37087bd27eecd9d0f6273564d1cdffdd1ea864',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • captchafox-for-forms/trunk/assets/js/otter.js

    r3007827 r3052710  
    1 "use strict";var d=(r,o,e)=>new Promise((i,a)=>{var s=n=>{try{t(e.next(n))}catch(c){a(c)}},w=n=>{try{t(e.throw(n))}catch(c){a(c)}},t=n=>n.done?i(n.value):Promise.resolve(n.value).then(s,w);t((e=e.apply(r,o)).next())});document.addEventListener("DOMContentLoaded",function(){var r;!((r=window.themeisleGutenbergForm)!=null&&r.reRecaptchaSitekey)||!window.hasOwnProperty("captchafox")||(window.grecaptcha={},window.captchaFoxLoadOtter())}),window.captchaFoxLoadOtter=()=>{document.querySelectorAll(".wp-block-themeisle-blocks-form").forEach(o=>d(this,null,function*(){var e;(e=o==null?void 0:o.classList)!=null&&e.contains("has-captcha")&&(yield renderCaptchaFoxOnOtterForm(o))}))};const renderCaptchaFoxOnOtterForm=r=>d(this,null,function*(){var s,w;const{id:o}=r,e=document.createElement("div"),i=r.querySelector(".otter-form__container");i==null||i.insertBefore(e,i.lastChild);const a=yield(w=window.captchafox)==null?void 0:w.render(e,{sitekey:(s=window==null?void 0:window.themeisleGutenbergForm)==null?void 0:s.reRecaptchaSitekey,onError:t=>console.error(t),onVerify:t=>{var n;(n=window.themeisleGutenberg)!=null&&n.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[o]={token:t,reset:()=>{var c;return(c=window.captchafox)==null?void 0:c.reset(a)}}},onExpire:()=>{var t;(t=window.themeisleGutenberg)!=null&&t.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[o]={token:null,reset:()=>null}}})});
     1"use strict";var l=(i,t,n)=>new Promise((o,a)=>{var d=e=>{try{r(n.next(e))}catch(s){a(s)}},c=e=>{try{r(n.throw(e))}catch(s){a(s)}},r=e=>e.done?o(e.value):Promise.resolve(e.value).then(d,c);r((n=n.apply(i,t)).next())});document.addEventListener("DOMContentLoaded",function(){var i;if(!((i=window.themeisleGutenbergForm)!=null&&i.reRecaptchaSitekey)){console.warn("Open the Otter Blocks settings to set the sitekey for CaptchaFox");return}window.grecaptcha={},window.captchaFoxLoadOtter()}),window.captchaFoxLoadOtter=()=>{document.querySelectorAll(".wp-block-themeisle-blocks-form").forEach(t=>l(this,null,function*(){var n;(n=t==null?void 0:t.classList)!=null&&n.contains("has-captcha")&&(yield renderCaptchaFoxOnOtterForm(t))}))};const renderCaptchaFoxOnOtterForm=i=>l(this,null,function*(){var c,r;const{id:t}=i,n=document.createElement("div"),o=i.querySelector(".otter-form__container");if(o==null?void 0:o.querySelector(`#${t}`))return;n.id=t,o==null||o.insertBefore(n,o.lastChild);const d=yield(r=window.captchafox)==null?void 0:r.render(n,{sitekey:(c=window==null?void 0:window.themeisleGutenbergForm)==null?void 0:c.reRecaptchaSitekey,onError:e=>console.error(e),onVerify:e=>{var s;(s=window.themeisleGutenberg)!=null&&s.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[t]={token:e,reset:()=>{var w;return(w=window.captchafox)==null?void 0:w.reset(d)}}},onExpire:()=>{var e;(e=window.themeisleGutenberg)!=null&&e.tokens||(window.themeisleGutenberg={},window.themeisleGutenberg.tokens={}),window.themeisleGutenberg.tokens[t]={token:null,reset:()=>null}}})});
  • captchafox-for-forms/trunk/captchafox.php

    r3025079 r3052710  
    77 * Plugin Name:           CaptchaFox for WordPress
    88 * Description:           GDPR compliant bot and spam protection with CaptchaFox.
    9  * Version:               1.3.0
     9 * Version:               1.4.0
    1010 * Requires at least:     5.0
    1111 * Requires PHP:          7.0
     
    1616 *
    1717 * WC requires at least:  3.0
    18  * WC tested up to:       8.5
     18 * WC tested up to:       8.6
    1919 */
    2020
     
    2828
    2929const CAPTCHAFOX_BASE_FILE = __FILE__;
    30 const PLUGIN_VERSION = '1.2.0';
     30const PLUGIN_VERSION = '1.4.0';
    3131
    3232require 'vendor/autoload.php';
  • captchafox-for-forms/trunk/readme.txt

    r3025079 r3052710  
    33Tags: captcha, abuse, recaptcha, spam, anti-spam, captchafox, gdpr, comments, block bots
    44Requires at least: 5.0
    5 Tested up to: 6.4
     5Tested up to: 6.5
    66Requires PHP: 7.0
    7 Stable tag: 1.3.0
     7Stable tag: 1.4.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7777== Changelog ==
    7878
     79= 1.4.0 =
     80* Tested on WooCommerce 8.6
     81* Tested on WordPress 6.5
     82
    7983= 1.3.0 =
    8084* Tested on WooCommerce 8.5
  • captchafox-for-forms/trunk/src/ts/otter.ts

    r3007827 r3052710  
    2020
    2121document.addEventListener('DOMContentLoaded', function () {
    22   if (
    23     !window.themeisleGutenbergForm?.reRecaptchaSitekey ||
    24     !window.hasOwnProperty('captchafox')
    25   ) {
     22  if (!window.themeisleGutenbergForm?.reRecaptchaSitekey) {
     23    console.warn(
     24      'Open the Otter Blocks settings to set the sitekey for CaptchaFox'
     25    );
    2626    return;
    2727  }
     
    4949  const captchaNode = document.createElement('div');
    5050  const container = form.querySelector('.otter-form__container');
     51  const existingNode = container?.querySelector(`#${id}`);
     52
     53  if (existingNode) {
     54    return;
     55  }
     56
     57  captchaNode.id = id;
    5158  container?.insertBefore(captchaNode, container.lastChild);
    5259
  • captchafox-for-forms/trunk/vendor/composer/installed.php

    r3025079 r3052710  
    22    'root' => array(
    33        'name' => 'captchafox/captchafox-wordpress',
    4         'pretty_version' => '1.3.0',
    5         'version' => '1.3.0.0',
    6         'reference' => 'e00395e430141be34f2ac58bc60b8ccb42e2449b',
     4        'pretty_version' => '1.4.0',
     5        'version' => '1.4.0.0',
     6        'reference' => '5e37087bd27eecd9d0f6273564d1cdffdd1ea864',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'captchafox/captchafox-wordpress' => array(
    14             'pretty_version' => '1.3.0',
    15             'version' => '1.3.0.0',
    16             'reference' => 'e00395e430141be34f2ac58bc60b8ccb42e2449b',
     14            'pretty_version' => '1.4.0',
     15            'version' => '1.4.0.0',
     16            'reference' => '5e37087bd27eecd9d0f6273564d1cdffdd1ea864',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.