Plugin Directory

Changeset 3167201


Ignore:
Timestamp:
10/11/2024 02:01:44 PM (18 months ago)
Author:
Tarosky
Message:

Update to version 1.1.3 from GitHub

Location:
for-your-eyes-only
Files:
2 deleted
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • for-your-eyes-only/tags/1.1.3/app/Hametuha/ForYourEyesOnly.php

    r3166983 r3167201  
    6060            'capabilities' => $this->capability->capabilities_list(),
    6161            'default'      => $this->capability->default_capability(),
     62            'dynamic'      => apply_filters( 'fyeo_default_render_style', '' ),
    6263            'placeholder'  => $this->parser->tag_line(),
    6364        ] );
  • for-your-eyes-only/tags/1.1.3/assets/js/block.js

    r3166983 r3167201  
    1 (()=>{"use strict";const e=window.wp.element,{registerBlockType:l}=wp.blocks,{__}=wp.i18n,{Fragment:t}=wp.element,{InnerBlocks:a,InspectorControls:i}=wp.blockEditor,{PanelBody:o,SelectControl:n,RadioControl:s,TextareaControl:c}=wp.components,r=[];let y="";for(const e in FyeoBlockVars.capabilities)if(FyeoBlockVars.capabilities.hasOwnProperty(e)){let l=FyeoBlockVars.capabilities[e];e===FyeoBlockVars.default&&(l+=__("(Default)","fyeo"),y=l),r.push({value:e,label:l})}l("fyeo/block",{title:__("Restricted Block","fyeo"),icon:"hidden",category:"common",keywords:[__("Restricted","fyeo"),__("For Your Eyes Only","fyeo")],description:__("This block will be displayed only for specified users.","fyeo"),attributes:{tag_line:{type:"string",default:""},capability:{type:"string",default:""},dynamic:{type:"string",default:""}},edit:({attributes:l,className:p,setAttributes:d})=>(0,e.createElement)(t,null,(0,e.createElement)(i,null,(0,e.createElement)(o,{title:__("Visibility Setting","fyeo"),icon:"admin-users",initialOpen:!0},(0,e.createElement)(n,{label:__("Capability","fyeo"),value:l.capability,options:r,onChange:e=>{d({capability:e})},help:__("This block will be displayed only for users specified above.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(s,{label:__("Rendering Style","fyeo"),selected:l.dynamic,options:[{label:__("Asynchronous(JavaScript + REST API)","fyeo"),value:""},{label:__("Dynamic(PHP)","fyeo"),value:"dynamic"}],onChange:e=>{d({dynamic:e})},help:__("If WordPress is under cache, Asynchronous is recommended.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(c,{label:__("Tagline","fyeo"),value:l.tag_line,rows:5,placeholder:"e.g."+FyeoBlockVars.placeholder,onChange:e=>d({tag_line:e}),help:__("This instruction will be displayed to users who have no capability. %s will be replaced with login URL.","fyeo")}))),(0,e.createElement)("div",{className:p},(0,e.createElement)("span",{className:"wp-block-fyeo-block__label"},l.capability?r.filter((e=>l.capability===e.value)).map((e=>e.label)).join(" "):y),(0,e.createElement)(a,null))),save:()=>(0,e.createElement)(a.Content,null)})})();
     1(()=>{"use strict";const e=window.wp.element,{registerBlockType:l}=wp.blocks,{__}=wp.i18n,{Fragment:t}=wp.element,{InnerBlocks:a,InspectorControls:o}=wp.blockEditor,{PanelBody:i,SelectControl:n,RadioControl:c,TextareaControl:s}=wp.components,r=[];let y="";for(const e in FyeoBlockVars.capabilities)if(FyeoBlockVars.capabilities.hasOwnProperty(e)){let l=FyeoBlockVars.capabilities[e];e===FyeoBlockVars.default&&(l+=__("(Default)","fyeo"),y=l),r.push({value:e,label:l})}l("fyeo/block",{title:__("Restricted Block","fyeo"),icon:"hidden",category:"common",keywords:[__("Restricted","fyeo"),__("For Your Eyes Only","fyeo")],description:__("This block will be displayed only for specified users.","fyeo"),attributes:{tag_line:{type:"string",default:""},capability:{type:"string",default:FyeoBlockVars.default},dynamic:{type:"string",default:FyeoBlockVars.dynamic}},edit:({attributes:l,className:p,setAttributes:d})=>(0,e.createElement)(t,null,(0,e.createElement)(o,null,(0,e.createElement)(i,{title:__("Visibility Setting","fyeo"),icon:"admin-users",initialOpen:!0},(0,e.createElement)(n,{label:__("Capability","fyeo"),value:l.capability,options:r,onChange:e=>{d({capability:e})},help:__("This block will be displayed only for users specified above.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(c,{label:__("Rendering Style","fyeo"),selected:l.dynamic,options:[{label:__("Asynchronous(JavaScript + REST API)","fyeo"),value:""},{label:__("Dynamic(PHP)","fyeo"),value:"dynamic"}],onChange:e=>{d({dynamic:e})},help:__("If WordPress is under cache, Asynchronous is recommended.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(s,{label:__("Tagline","fyeo"),value:l.tag_line,rows:5,placeholder:"e.g."+FyeoBlockVars.placeholder,onChange:e=>d({tag_line:e}),help:__("This instruction will be displayed to users who have no capability. %s will be replaced with login URL.","fyeo")}))),(0,e.createElement)("div",{className:p},(0,e.createElement)("span",{className:"wp-block-fyeo-block__label"},l.capability?r.filter((e=>l.capability===e.value)).map((e=>e.label)).join(" "):y),(0,e.createElement)(a,null))),save:()=>(0,e.createElement)(a.Content,null)})})();
  • for-your-eyes-only/tags/1.1.3/for-your-eyes-only.php

    r3167188 r3167201  
    66Author: Tarosky INC.
    77Author URI: https://tarosky.co.jp
    8 Version: 1.1.2
     8Version: 1.1.3
    99Text Domain: fyeo
    1010Domain Path: /languages/
  • for-your-eyes-only/tags/1.1.3/readme.txt

    r3167188 r3167201  
    55Requires at least: 6.1 
    66Tested up to: 6.6 
    7 Stable tag: 1.1.2
     7Stable tag: 1.1.3
    88Requires PHP: 7.2 
    99License: GPLv3 or later 
  • for-your-eyes-only/tags/1.1.3/src/js/block.js

    r3166983 r3167201  
    5252        capability: {
    5353            type: 'string',
    54             default: '',
     54            default: FyeoBlockVars.default,
    5555        },
    5656        dynamic: {
    5757            type: 'string',
    58             default: '',
     58            default: FyeoBlockVars.dynamic,
    5959        },
    6060    },
  • for-your-eyes-only/tags/1.1.3/vendor/composer/installed.php

    r3167188 r3167201  
    22    'root' => array(
    33        'name' => 'tarosky/for-your-eyes-only',
    4         'pretty_version' => '1.1.2',
    5         'version' => '1.1.2.0',
    6         'reference' => 'f93d199afb54c6ccb8e017bbc0c5e54aba981a51',
     4        'pretty_version' => '1.1.3',
     5        'version' => '1.1.3.0',
     6        'reference' => '53862da51e1eaba29617b57585e8e9a86e1c10d4',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'tarosky/for-your-eyes-only' => array(
    23             'pretty_version' => '1.1.2',
    24             'version' => '1.1.2.0',
    25             'reference' => 'f93d199afb54c6ccb8e017bbc0c5e54aba981a51',
     23            'pretty_version' => '1.1.3',
     24            'version' => '1.1.3.0',
     25            'reference' => '53862da51e1eaba29617b57585e8e9a86e1c10d4',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • for-your-eyes-only/tags/1.1.3/wp-dependencies.json

    r3166983 r3167201  
    44        "path": "assets/js/block.js",
    55        "ext": "js",
    6         "hash": "bf51b2af331ab80d53c6bd15f6114b21",
     6        "hash": "a8c8d10210276250c6eeb764edbda151",
    77        "version": "0.0.0",
    88        "deps": [
  • for-your-eyes-only/trunk/app/Hametuha/ForYourEyesOnly.php

    r3166983 r3167201  
    6060            'capabilities' => $this->capability->capabilities_list(),
    6161            'default'      => $this->capability->default_capability(),
     62            'dynamic'      => apply_filters( 'fyeo_default_render_style', '' ),
    6263            'placeholder'  => $this->parser->tag_line(),
    6364        ] );
  • for-your-eyes-only/trunk/assets/js/block.js

    r3166983 r3167201  
    1 (()=>{"use strict";const e=window.wp.element,{registerBlockType:l}=wp.blocks,{__}=wp.i18n,{Fragment:t}=wp.element,{InnerBlocks:a,InspectorControls:i}=wp.blockEditor,{PanelBody:o,SelectControl:n,RadioControl:s,TextareaControl:c}=wp.components,r=[];let y="";for(const e in FyeoBlockVars.capabilities)if(FyeoBlockVars.capabilities.hasOwnProperty(e)){let l=FyeoBlockVars.capabilities[e];e===FyeoBlockVars.default&&(l+=__("(Default)","fyeo"),y=l),r.push({value:e,label:l})}l("fyeo/block",{title:__("Restricted Block","fyeo"),icon:"hidden",category:"common",keywords:[__("Restricted","fyeo"),__("For Your Eyes Only","fyeo")],description:__("This block will be displayed only for specified users.","fyeo"),attributes:{tag_line:{type:"string",default:""},capability:{type:"string",default:""},dynamic:{type:"string",default:""}},edit:({attributes:l,className:p,setAttributes:d})=>(0,e.createElement)(t,null,(0,e.createElement)(i,null,(0,e.createElement)(o,{title:__("Visibility Setting","fyeo"),icon:"admin-users",initialOpen:!0},(0,e.createElement)(n,{label:__("Capability","fyeo"),value:l.capability,options:r,onChange:e=>{d({capability:e})},help:__("This block will be displayed only for users specified above.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(s,{label:__("Rendering Style","fyeo"),selected:l.dynamic,options:[{label:__("Asynchronous(JavaScript + REST API)","fyeo"),value:""},{label:__("Dynamic(PHP)","fyeo"),value:"dynamic"}],onChange:e=>{d({dynamic:e})},help:__("If WordPress is under cache, Asynchronous is recommended.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(c,{label:__("Tagline","fyeo"),value:l.tag_line,rows:5,placeholder:"e.g."+FyeoBlockVars.placeholder,onChange:e=>d({tag_line:e}),help:__("This instruction will be displayed to users who have no capability. %s will be replaced with login URL.","fyeo")}))),(0,e.createElement)("div",{className:p},(0,e.createElement)("span",{className:"wp-block-fyeo-block__label"},l.capability?r.filter((e=>l.capability===e.value)).map((e=>e.label)).join(" "):y),(0,e.createElement)(a,null))),save:()=>(0,e.createElement)(a.Content,null)})})();
     1(()=>{"use strict";const e=window.wp.element,{registerBlockType:l}=wp.blocks,{__}=wp.i18n,{Fragment:t}=wp.element,{InnerBlocks:a,InspectorControls:o}=wp.blockEditor,{PanelBody:i,SelectControl:n,RadioControl:c,TextareaControl:s}=wp.components,r=[];let y="";for(const e in FyeoBlockVars.capabilities)if(FyeoBlockVars.capabilities.hasOwnProperty(e)){let l=FyeoBlockVars.capabilities[e];e===FyeoBlockVars.default&&(l+=__("(Default)","fyeo"),y=l),r.push({value:e,label:l})}l("fyeo/block",{title:__("Restricted Block","fyeo"),icon:"hidden",category:"common",keywords:[__("Restricted","fyeo"),__("For Your Eyes Only","fyeo")],description:__("This block will be displayed only for specified users.","fyeo"),attributes:{tag_line:{type:"string",default:""},capability:{type:"string",default:FyeoBlockVars.default},dynamic:{type:"string",default:FyeoBlockVars.dynamic}},edit:({attributes:l,className:p,setAttributes:d})=>(0,e.createElement)(t,null,(0,e.createElement)(o,null,(0,e.createElement)(i,{title:__("Visibility Setting","fyeo"),icon:"admin-users",initialOpen:!0},(0,e.createElement)(n,{label:__("Capability","fyeo"),value:l.capability,options:r,onChange:e=>{d({capability:e})},help:__("This block will be displayed only for users specified above.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(c,{label:__("Rendering Style","fyeo"),selected:l.dynamic,options:[{label:__("Asynchronous(JavaScript + REST API)","fyeo"),value:""},{label:__("Dynamic(PHP)","fyeo"),value:"dynamic"}],onChange:e=>{d({dynamic:e})},help:__("If WordPress is under cache, Asynchronous is recommended.","fyeo")}),(0,e.createElement)("hr",null),(0,e.createElement)(s,{label:__("Tagline","fyeo"),value:l.tag_line,rows:5,placeholder:"e.g."+FyeoBlockVars.placeholder,onChange:e=>d({tag_line:e}),help:__("This instruction will be displayed to users who have no capability. %s will be replaced with login URL.","fyeo")}))),(0,e.createElement)("div",{className:p},(0,e.createElement)("span",{className:"wp-block-fyeo-block__label"},l.capability?r.filter((e=>l.capability===e.value)).map((e=>e.label)).join(" "):y),(0,e.createElement)(a,null))),save:()=>(0,e.createElement)(a.Content,null)})})();
  • for-your-eyes-only/trunk/for-your-eyes-only.php

    r3167188 r3167201  
    66Author: Tarosky INC.
    77Author URI: https://tarosky.co.jp
    8 Version: 1.1.2
     8Version: 1.1.3
    99Text Domain: fyeo
    1010Domain Path: /languages/
  • for-your-eyes-only/trunk/readme.txt

    r3167188 r3167201  
    55Requires at least: 6.1 
    66Tested up to: 6.6 
    7 Stable tag: 1.1.2
     7Stable tag: 1.1.3
    88Requires PHP: 7.2 
    99License: GPLv3 or later 
  • for-your-eyes-only/trunk/src/js/block.js

    r3166983 r3167201  
    5252        capability: {
    5353            type: 'string',
    54             default: '',
     54            default: FyeoBlockVars.default,
    5555        },
    5656        dynamic: {
    5757            type: 'string',
    58             default: '',
     58            default: FyeoBlockVars.dynamic,
    5959        },
    6060    },
  • for-your-eyes-only/trunk/vendor/composer/installed.php

    r3167188 r3167201  
    22    'root' => array(
    33        'name' => 'tarosky/for-your-eyes-only',
    4         'pretty_version' => '1.1.2',
    5         'version' => '1.1.2.0',
    6         'reference' => 'f93d199afb54c6ccb8e017bbc0c5e54aba981a51',
     4        'pretty_version' => '1.1.3',
     5        'version' => '1.1.3.0',
     6        'reference' => '53862da51e1eaba29617b57585e8e9a86e1c10d4',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'tarosky/for-your-eyes-only' => array(
    23             'pretty_version' => '1.1.2',
    24             'version' => '1.1.2.0',
    25             'reference' => 'f93d199afb54c6ccb8e017bbc0c5e54aba981a51',
     23            'pretty_version' => '1.1.3',
     24            'version' => '1.1.3.0',
     25            'reference' => '53862da51e1eaba29617b57585e8e9a86e1c10d4',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • for-your-eyes-only/trunk/wp-dependencies.json

    r3166983 r3167201  
    44        "path": "assets/js/block.js",
    55        "ext": "js",
    6         "hash": "bf51b2af331ab80d53c6bd15f6114b21",
     6        "hash": "a8c8d10210276250c6eeb764edbda151",
    77        "version": "0.0.0",
    88        "deps": [
Note: See TracChangeset for help on using the changeset viewer.