Plugin Directory

Changeset 3134512


Ignore:
Timestamp:
08/12/2024 10:35:36 PM (20 months ago)
Author:
magicoli69
Message:

version 2.7.8

Location:
w4os-opensimulator-web-interface
Files:
902 added
15 deleted
27 edited

Legend:

Unmodified
Added
Removed
  • w4os-opensimulator-web-interface/trunk/.version

    r3059837 r3134512  
    1 2.7.6
     12.7.8
  • w4os-opensimulator-web-interface/trunk/blocks/avatar-profile.php

    r3052977 r3134512  
    263263            }
    264264
    265             function shortcode_callback( $atts, $content = null, $function_name ) {
     265            function shortcode_callback( $atts, $content = null, $function_name = null ) {
    266266                $atts = wp_parse_args(
    267267                    $atts,
  • w4os-opensimulator-web-interface/trunk/blocks/avatar-profile/avatar-profile.asset.php

    r3052977 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '7aac309cc21d4306311d');
     1<?php return array('dependencies' => array(), 'version' => '24d57b93537cf2c037b0');
  • w4os-opensimulator-web-interface/trunk/blocks/avatar-profile/avatar-profile.js

    r3052977 r3134512  
    1 (()=>{var e,t={546:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,r=wp.blockEditor.InspectorControls,a=wp.components.PanelBody,n=wp.components.SelectControl,i=wp.components.ToggleControl;t("w4os/avatar-profile",{title:__("OpenSimulator Avatar Profile","w4os"),icon:"admin-users",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"},mini:{type:"boolean",default:!1}},edit:function(t){var s=t.attributes.title,u=t.attributes.level,v=t.attributes.mini,p=t.setAttributes;return l("div",{className:t.className},l(r,null,l(a,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:s,onChange:function(e){p({title:e||void 0})}}),l(n,{label:__("Title Level","w4os"),value:u,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){p({level:e})}}),l(i,{label:__("Mini Profile","w4os"),checked:v,onChange:function(e){p({mini:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/avatar-profile",attributes:t.attributes})))},save:function(){return null}})},841:(e,t,l)=>{"use strict";l(546)}},l={};function o(e){var r=l[e];if(void 0!==r)return r.exports;var a=l[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.m=t,e=[],o.O=(t,l,r,a)=>{if(!l){var n=1/0;for(v=0;v<e.length;v++){for(var[l,r,a]=e[v],i=!0,s=0;s<l.length;s++)(!1&a||n>=a)&&Object.keys(o.O).every((e=>o.O[e](l[s])))?l.splice(s--,1):(i=!1,a<n&&(n=a));if(i){e.splice(v--,1);var u=r();void 0!==u&&(t=u)}}return t}a=a||0;for(var v=e.length;v>0&&e[v-1][2]>a;v--)e[v]=e[v-1];e[v]=[l,r,a]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var l in t)o.o(t,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={54:0,84:0};o.O.j=t=>0===e[t];var t=(t,l)=>{var r,a,[n,i,s]=l,u=0;if(n.some((t=>0!==e[t]))){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(s)var v=s(o)}for(t&&t(l);u<n.length;u++)a=n[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(v)},l=globalThis.webpackChunkw4os=globalThis.webpackChunkw4os||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=o.O(void 0,[84],(()=>o(841)));r=o.O(r)})();
     1(()=>{var e,t={8:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,r=wp.blockEditor.InspectorControls,n=wp.components.PanelBody,a=wp.components.SelectControl,i=wp.components.ToggleControl;t("w4os/avatar-profile",{title:__("OpenSimulator Avatar Profile","w4os"),icon:"admin-users",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"},mini:{type:"boolean",default:!1}},edit:function(t){var s=t.attributes.title,u=t.attributes.level,v=t.attributes.mini,p=t.setAttributes;return l("div",{className:t.className},l(r,null,l(n,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:s,onChange:function(e){p({title:e||void 0})}}),l(a,{label:__("Title Level","w4os"),value:u,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){p({level:e})}}),l(i,{label:__("Mini Profile","w4os"),checked:v,onChange:function(e){p({mini:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/avatar-profile",attributes:t.attributes})))},save:function(){return null}})},713:(e,t,l)=>{"use strict";l(8)}},l={};function o(e){var r=l[e];if(void 0!==r)return r.exports;var n=l[e]={exports:{}};return t[e](n,n.exports,o),n.exports}o.m=t,e=[],o.O=(t,l,r,n)=>{if(!l){var a=1/0;for(v=0;v<e.length;v++){l=e[v][0],r=e[v][1],n=e[v][2];for(var i=!0,s=0;s<l.length;s++)(!1&n||a>=n)&&Object.keys(o.O).every((e=>o.O[e](l[s])))?l.splice(s--,1):(i=!1,n<a&&(a=n));if(i){e.splice(v--,1);var u=r();void 0!==u&&(t=u)}}return t}n=n||0;for(var v=e.length;v>0&&e[v-1][2]>n;v--)e[v]=e[v-1];e[v]=[l,r,n]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var l in t)o.o(t,l)&&!o.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={648:0,876:0};o.O.j=t=>0===e[t];var t=(t,l)=>{var r,n,a=l[0],i=l[1],s=l[2],u=0;if(a.some((t=>0!==e[t]))){for(r in i)o.o(i,r)&&(o.m[r]=i[r]);if(s)var v=s(o)}for(t&&t(l);u<a.length;u++)n=a[u],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(v)},l=self.webpackChunkw4os=self.webpackChunkw4os||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))})();var r=o.O(void 0,[876],(()=>o(713)));r=o.O(r)})();
  • w4os-opensimulator-web-interface/trunk/blocks/grid-info.php

    r3052977 r3134512  
    248248            }
    249249
    250             function shortcode_callback( $atts, $content = null, $function_name ) {
     250            function shortcode_callback( $atts, $content = null, $function_name = null ) {
    251251                $atts = wp_parse_args(
    252252                    $atts,
  • w4os-opensimulator-web-interface/trunk/blocks/grid-info/grid-info.asset.php

    r2944920 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '10fadd320e880e7bcb8d');
     1<?php return array('dependencies' => array(), 'version' => '4db24eba680591bb83fb');
  • w4os-opensimulator-web-interface/trunk/blocks/grid-info/grid-info.js

    r2944920 r3134512  
    1 (()=>{var e={229:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,n=wp.blockEditor.InspectorControls,r=wp.components.PanelBody,a=wp.components.SelectControl;t("w4os/grid-info",{title:__("OpenSimulator Grid Info","w4os"),icon:"info",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"}},edit:function(t){var i=t.attributes.title,s=t.attributes.level,u=t.setAttributes;return l("div",{className:t.className},l(n,null,l(r,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:i,onChange:function(e){u({title:e||void 0})}}),l(a,{label:__("Title Level","w4os"),value:s,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){u({level:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/grid-info",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(229)})()})();
     1(()=>{var e={990:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,n=wp.blockEditor.InspectorControls,r=wp.components.PanelBody,a=wp.components.SelectControl;t("w4os/grid-info",{title:__("OpenSimulator Grid Info","w4os"),icon:"info",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"}},edit:function(t){var i=t.attributes.title,s=t.attributes.level,u=t.setAttributes;return l("div",{className:t.className},l(n,null,l(r,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:i,onChange:function(e){u({title:e||void 0})}}),l(a,{label:__("Title Level","w4os"),value:s,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){u({level:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/grid-info",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(990)})()})();
  • w4os-opensimulator-web-interface/trunk/blocks/grid-status.php

    r3052977 r3134512  
    200200            }
    201201
    202             function shortcode_callback( $atts, $content = null, $function_name ) {
     202            function shortcode_callback( $atts, $content = null, $function_name = null ) {
    203203                $atts = wp_parse_args(
    204204                    $atts,
  • w4os-opensimulator-web-interface/trunk/blocks/grid-status/grid-status.asset.php

    r2944920 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '48d9e7d610e1ade4dd1e');
     1<?php return array('dependencies' => array(), 'version' => '8d81df7710a8e4162475');
  • w4os-opensimulator-web-interface/trunk/blocks/grid-status/grid-status.js

    r2944920 r3134512  
    1 (()=>{var e={664:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,a=wp.blockEditor.InspectorControls,r=wp.components.PanelBody,n=wp.components.SelectControl;t("w4os/grid-status",{title:__("OpenSimulator Grid Status","w4os"),icon:"visibility",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"}},edit:function(t){var s=t.attributes.title,i=t.attributes.level,u=t.setAttributes;return l("div",{className:t.className},l(a,null,l(r,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:s,onChange:function(e){u({title:e||void 0})}}),l(n,{label:__("Title Level","w4os"),value:i,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){u({level:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/grid-status",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(664)})()})();
     1(()=>{var e={16:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,a=wp.blockEditor.InspectorControls,r=wp.components.PanelBody,n=wp.components.SelectControl;t("w4os/grid-status",{title:__("OpenSimulator Grid Status","w4os"),icon:"visibility",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"}},edit:function(t){var s=t.attributes.title,i=t.attributes.level,u=t.setAttributes;return l("div",{className:t.className},l(a,null,l(r,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:s,onChange:function(e){u({title:e||void 0})}}),l(n,{label:__("Title Level","w4os"),value:i,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){u({level:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/grid-status",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(16)})()})();
  • w4os-opensimulator-web-interface/trunk/blocks/popular-places.php

    r3052977 r3134512  
    316316            }
    317317
    318             function shortcode_callback( $atts, $content = null, $function_name ) {
     318            function shortcode_callback( $atts, $content = null, $function_name = null ) {
    319319                $atts = wp_parse_args(
    320320                    $atts,
  • w4os-opensimulator-web-interface/trunk/blocks/popular-places/popular-places.asset.php

    r3052977 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '52960a63eb91248e67ae');
     1<?php return array('dependencies' => array(), 'version' => '2bebb657a6f627be40e3');
  • w4os-opensimulator-web-interface/trunk/blocks/popular-places/popular-places.js

    r3052977 r3134512  
    1 (()=>{var e={931:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,a=wp.components.TextControl,n=wp.blockEditor.InspectorControls,o=wp.components.PanelBody,r=wp.components.SelectControl,s=wp.components.ToggleControl;t("w4os/popular-places",{title:__("OpenSimulator Popular Places","w4os"),icon:"location",category:"widgets",attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"},max:{type:"number",default:5},include_hypergrid:{type:"boolean",default:!1},include_landsales:{type:"boolean",default:!1}},edit:function(t){var i=t.attributes.title,u=t.attributes.level,c=t.attributes.max||0,p=t.attributes.include_hypergrid,d=t.attributes.include_landsales,b=t.setAttributes;return l("div",{className:t.className},l(n,null,l(o,{title:__("Block Settings","w4os"),initialOpen:!0},l(a,{label:__("Title","w4os"),value:i,onChange:function(e){b({title:e||void 0})}}),l(r,{label:__("Title Level","w4os"),value:u,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){b({level:e})}}),l(a,{label:__("Max Results","w4os"),type:"number",value:c.toString(),onChange:function(e){var t=parseInt(e)<0?0:parseInt(e);b({max:t})}}),l(s,{label:__("Include Hypergrid","w4os"),checked:p,onChange:function(e){b({include_hypergrid:e})}}),l(s,{label:__("Include Land for Sale","w4os"),checked:d,onChange:function(e){b({include_landsales:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/popular-places",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var a in t)l.o(t,a)&&!l.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(931)})()})();
     1(()=>{var e={271:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,a=wp.components.TextControl,n=wp.blockEditor.InspectorControls,o=wp.components.PanelBody,r=wp.components.SelectControl,s=wp.components.ToggleControl;t("w4os/popular-places",{title:__("OpenSimulator Popular Places","w4os"),icon:"location",category:"widgets",attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"},max:{type:"number",default:5},include_hypergrid:{type:"boolean",default:!1},include_landsales:{type:"boolean",default:!1}},edit:function(t){var i=t.attributes.title,u=t.attributes.level,c=t.attributes.max||0,p=t.attributes.include_hypergrid,d=t.attributes.include_landsales,b=t.setAttributes;return l("div",{className:t.className},l(n,null,l(o,{title:__("Block Settings","w4os"),initialOpen:!0},l(a,{label:__("Title","w4os"),value:i,onChange:function(e){b({title:e||void 0})}}),l(r,{label:__("Title Level","w4os"),value:u,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){b({level:e})}}),l(a,{label:__("Max Results","w4os"),type:"number",value:c.toString(),onChange:function(e){var t=parseInt(e)<0?0:parseInt(e);b({max:t})}}),l(s,{label:__("Include Hypergrid","w4os"),checked:p,onChange:function(e){b({include_hypergrid:e})}}),l(s,{label:__("Include Land for Sale","w4os"),checked:d,onChange:function(e){b({include_landsales:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/popular-places",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(a){var n=t[a];if(void 0!==n)return n.exports;var o=t[a]={exports:{}};return e[a](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var a in t)l.o(t,a)&&!l.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(271)})()})();
  • w4os-opensimulator-web-interface/trunk/blocks/web-search.php

    r3052977 r3134512  
    340340            }
    341341
    342             function shortcode_callback( $atts, $content = null, $function_name ) {
     342            function shortcode_callback( $atts, $content = null, $function_name = null ) {
    343343                $atts = wp_parse_args(
    344344                    $atts,
  • w4os-opensimulator-web-interface/trunk/blocks/web-search/web-search.asset.php

    r3052977 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '3197b3b28c858431b1c0');
     1<?php return array('dependencies' => array(), 'version' => '90c6812d775b59d528ba');
  • w4os-opensimulator-web-interface/trunk/blocks/web-search/web-search.js

    r3052977 r3134512  
    1 (()=>{var e={107:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,n=wp.components.TextControl,a=wp.blockEditor.InspectorControls,o=wp.components.PanelBody,r=wp.components.SelectControl,s=wp.components.ToggleControl;t("w4os/web-search",{title:__("OpenSimulator Web Search","w4os"),icon:"location",category:"widgets",attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"},max:{type:"number",default:5},include_hypergrid:{type:"boolean",default:!1},include_landsales:{type:"boolean",default:!1}},edit:function(t){var i=t.attributes.title,u=t.attributes.level,c=t.attributes.max||0,p=t.attributes.include_hypergrid,d=t.attributes.include_landsales,b=t.setAttributes;return l("div",{className:t.className},l(a,null,l(o,{title:__("Block Settings","w4os"),initialOpen:!0},l(n,{label:__("Title","w4os"),value:i,onChange:function(e){b({title:e||void 0})}}),l(r,{label:__("Title Level","w4os"),value:u,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){b({level:e})}}),l(n,{label:__("Max Results","w4os"),type:"number",value:c.toString(),onChange:function(e){var t=parseInt(e)<0?0:parseInt(e);b({max:t})}}),l(s,{label:__("Include Hypergrid","w4os"),checked:p,onChange:function(e){b({include_hypergrid:e})}}),l(s,{label:__("Include Land for Sale","w4os"),checked:d,onChange:function(e){b({include_landsales:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/web-search",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(107)})()})();
     1(()=>{var e={356:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,n=wp.components.TextControl,a=wp.blockEditor.InspectorControls,o=wp.components.PanelBody,r=wp.components.SelectControl,s=wp.components.ToggleControl;t("w4os/web-search",{title:__("OpenSimulator Web Search","w4os"),icon:"location",category:"widgets",attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"},max:{type:"number",default:5},include_hypergrid:{type:"boolean",default:!1},include_landsales:{type:"boolean",default:!1}},edit:function(t){var i=t.attributes.title,u=t.attributes.level,c=t.attributes.max||0,p=t.attributes.include_hypergrid,d=t.attributes.include_landsales,b=t.setAttributes;return l("div",{className:t.className},l(a,null,l(o,{title:__("Block Settings","w4os"),initialOpen:!0},l(n,{label:__("Title","w4os"),value:i,onChange:function(e){b({title:e||void 0})}}),l(r,{label:__("Title Level","w4os"),value:u,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){b({level:e})}}),l(n,{label:__("Max Results","w4os"),type:"number",value:c.toString(),onChange:function(e){var t=parseInt(e)<0?0:parseInt(e);b({max:t})}}),l(s,{label:__("Include Hypergrid","w4os"),checked:p,onChange:function(e){b({include_hypergrid:e})}}),l(s,{label:__("Include Land for Sale","w4os"),checked:d,onChange:function(e){b({include_landsales:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/web-search",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(356)})()})();
  • w4os-opensimulator-web-interface/trunk/includes/admin/admin.asset.php

    r3052977 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '224463d24848d21aac25');
     1<?php return array('dependencies' => array(), 'version' => 'ca175c620bc7a0fa9693');
  • w4os-opensimulator-web-interface/trunk/includes/admin/admin.css

    r3052977 r3134512  
    1 .w4os-settings .inside ul ul{padding-left:1em}.rwmb-input input[type=checkbox],.rwmb-input input[type=radio]{margin-right:.5em}.w4os-settings .rwmb-label{width:20em}@media(min-width:1200px){.w4os-settings:not(.no-hints) .rwmb-field:not(.rwmb-group-wrapper) .rwmb-input{grid-gap:20px;box-sizing:border-box;display:grid;grid-auto-flow:row;grid-template-columns:30em 1fr}.rwmb-switch-label{width:2em}}
     1.w4os-settings .inside ul ul{padding-left:1em}.rwmb-input input[type=checkbox],.rwmb-input input[type=radio]{margin-right:.5em}.w4os-settings .rwmb-label{width:20em}@media(min-width:1200px){.w4os-settings:not(.no-hints) .rwmb-field:not(.rwmb-group-wrapper) .rwmb-input{display:grid;grid-template-columns:30em 1fr;grid-gap:20px;box-sizing:border-box;grid-auto-flow:row}.rwmb-switch-label{width:2em}}
    22.w4os-settings .copyable .rwmb-input{position:relative}.w4os-settings .copyable .rwmb-input input.form-control{padding-left:30px}.w4os-settings .copyable .rwmb-input .copy-icon{color:#999;cursor:pointer;left:.4em;position:absolute;top:.8em;transform:translateY(-50%)}
    33.rwmb-group-wrapper.inline .rwmb-input .w4osdb-field-group>*,.rwmb-w4osdb_field_type-wrapper .rwmb-input .w4osdb-field-group>*{max-width:30em}.rwmb-group-wrapper.inline .rwmb-input .w4osdb-field-group>.db-field-use_default,.rwmb-w4osdb_field_type-wrapper .rwmb-input .w4osdb-field-group>.db-field-use_default{max-width:3em}.rwmb-group-wrapper.inline .rwmb-input .w4osdb-field-group>.db-field-type,.rwmb-w4osdb_field_type-wrapper .rwmb-input .w4osdb-field-group>.db-field-type{max-width:12em}.rwmb-group-wrapper.inline .rwmb-input .w4osdb-field-group>.db-field-port,.rwmb-w4osdb_field_type-wrapper .rwmb-input .w4osdb-field-group>.db-field-port{max-width:6em}@media(min-width:768px){.rwmb-group-wrapper.inline .rwmb-field,.w4osdb-field-group{display:block}.rwmb-group-wrapper.inline .rwmb-field>*,.w4osdb-field-group>*{width:auto}.rwmb-group-wrapper.inline .rwmb-field .rwmb-input,.w4osdb-field-group{align-content:flex-start;display:flex;flex:1;flex-flow:row wrap;gap:20px;grid-column-end:3;grid-column-start:1}.rwmb-group-wrapper.inline .rwmb-field .rwmb-input>*,.w4osdb-field-group>*{width:15em}.rwmb-group-wrapper.inline .rwmb-field .rwmb-input>.db-field-use_default,.w4osdb-field-group>.db-field-use_default{width:3em}.rwmb-group-wrapper.inline .rwmb-field .rwmb-input>.db-field-type,.w4osdb-field-group>.db-field-type{width:12em}.rwmb-group-wrapper.inline .rwmb-field .rwmb-input>.db-field-port,.w4osdb-field-group>.db-field-port{width:6em}}
    4 .w4os-table{border-collapse:collapse;font-size:14px;text-align:left}.w4os-table :first-child{margin-top:0}.w4os-table>*>*>td,.w4os-table>*>*>th{padding:10px;vertical-align:top}.w4os-table>thead>tr>th{font-weight:400;padding:10px 10px 0;text-align:center}.w4os-table>tbody>tr>th{padding-left:0;width:200px}.w4os-table>tbody>tr>th p{font-weight:400}.w4os-table.user-sync{border-collapse:separate;border-spacing:10px;margin:-10px -10px 0}.w4os-table.user-sync caption{caption-side:bottom;padding:10px}.w4os-table.user-sync tr:not(.notes) td:not(:empty){background:#fff;border:1px solid #d3d3d3;border-radius:5px;min-width:4em;text-align:center;vertical-align:middle}.w4os-table.user-sync tr.notes td{padding:0}.w4os-table.user-sync td.error{color:red}.w4os-table.user-sync td.success{color:green}.w4os-table.shortcodes{border-collapse:separate;border-spacing:10px;margin:-10px}.w4os-table.shortcodes>tbody>tr>td{background:#fff}.w4os-status-page.wrap>.content{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.iniconfig{background:#d3d3d3;padding:10px 10px 1px}.w4os-status-page.wrap>.content>div{flex-basis:960px;flex-grow:2}.w4os-status-page.wrap>.content>div.shortcodes{flex-basis:480px;flex-grow:2}.w4os-table.requested-pages td{vertical-align:top}.w4os-table.requested-pages td:not(:first-child){width:50%}.requested-pages p.submit{margin-top:0}.w4os-shortcode td,table.gridinfo td,table.gridstatus td{vertical-align:bottom}.w4os-shortcode td:first-child,table.gridinfo td:first-child,table.gridstatus td:first-child{min-width:12em;padding-right:10px}.recent-users li{grid-gap:10px;clear:both;display:grid;grid-template-columns:32px 1fr;line-height:16px;overflow:hidden}.recent-users li span.row-actions{display:block}.recent-users li span.row-actions>:not(:first-child):before{content:" | "}.recent-users li:hover span.row-actions{left:0}.recent-users .profile-pic{display:inline-block;float:left;max-width:25%;padding-right:5em;vertical-align:top}.recent-users .avatar-name{font-weight:700}.notice .warning-list{list-style:none;padding-left:1.5em}.notice .warning-list li:before{color:red;content:"⚠";display:inline-block;font-weight:700;margin-left:-1.5em;width:1.5em}@media screen and (max-width:480px){.w4os-table.shortcodes,.w4os-table.shortcodes>*>*>td,.w4os-table.shortcodes>*>*>th,.w4os-table.shortcodes>*>tr,.w4os-table.shortcodes>tbody{display:block;max-width:100%}.w4os-table.shortcodes{margin:0}.w4os-table.shortcodes>tbody>tr>th{margin:20px 0 0;width:calc(100% - 10px)}.w4os-table.shortcodes>tbody>tr>th p{margin-bottom:0}}
    5 .models-list{grid-gap:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));padding:0}.models-list,.models-list .model,.models-list li{list-style:none;margin:0}.models-list .model-picture{height:auto;width:100%}.models-list figcaption{text-align:center}.models-list figure{margin:0;padding:0}.models-list .model input[type=radio]{opacity:0;pointer-events:none;position:absolute}.models-list label.model [type=radio]+figure{cursor:pointer;opacity:.5}.models-list label.model [type=radio]+figure:hover{opacity:.75}.models-list label.model [type=radio]:checked+figure{opacity:1;outline:2px solid #000}.opensimulator_page_w4os-shortcodes .places{display:flex;gap:10px}.opensimulator_page_w4os-shortcodes .places .place{max-width:32%}.opensimulator_page_w4os-shortcodes .places img{max-width:100%;width:256px}
     4.w4os-table{border-collapse:collapse;font-size:14px;text-align:left}.w4os-table :first-child{margin-top:0}.w4os-table>*>*>td,.w4os-table>*>*>th{padding:10px;vertical-align:top}.w4os-table>thead>tr>th{font-weight:400;padding:10px 10px 0;text-align:center}.w4os-table>tbody>tr>th{padding-left:0;width:200px}.w4os-table>tbody>tr>th p{font-weight:400}.w4os-table.user-sync{border-collapse:separate;border-spacing:10px;margin:-10px -10px 0}.w4os-table.user-sync caption{caption-side:bottom;padding:10px}.w4os-table.user-sync tr:not(.notes) td:not(:empty){background:#fff;border:1px solid #d3d3d3;border-radius:5px;min-width:4em;text-align:center;vertical-align:middle}.w4os-table.user-sync tr.notes td{padding:0}.w4os-table.user-sync td.error{color:red}.w4os-table.user-sync td.success{color:green}.w4os-table.shortcodes{border-collapse:separate;border-spacing:10px;margin:-10px}.w4os-table.shortcodes>tbody>tr>td{background:#fff}.w4os-status-page.wrap>.content{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.iniconfig{background:#d3d3d3;padding:10px 10px 1px}.w4os-status-page.wrap>.content>div{flex-basis:960px;flex-grow:2}.w4os-status-page.wrap>.content>div.shortcodes{flex-basis:480px;flex-grow:2}.w4os-table.requested-pages td{vertical-align:top}.w4os-table.requested-pages td:not(:first-child){width:50%}.requested-pages p.submit{margin-top:0}.w4os-shortcode td,table.gridinfo td,table.gridstatus td{vertical-align:bottom}.w4os-shortcode td:first-child,table.gridinfo td:first-child,table.gridstatus td:first-child{min-width:12em;padding-right:10px}.recent-users li{clear:both;display:grid;grid-template-columns:32px 1fr;overflow:hidden;grid-gap:10px;line-height:16px}.recent-users li span.row-actions{display:block}.recent-users li span.row-actions>:not(:first-child):before{content:" | "}.recent-users li:hover span.row-actions{left:0}.recent-users .profile-pic{display:inline-block;float:left;max-width:25%;padding-right:5em;vertical-align:top}.recent-users .avatar-name{font-weight:700}.notice .warning-list{list-style:none;padding-left:1.5em}.notice .warning-list li:before{color:red;content:"⚠";display:inline-block;font-weight:700;margin-left:-1.5em;width:1.5em}@media screen and (max-width:480px){.w4os-table.shortcodes,.w4os-table.shortcodes>*>*>td,.w4os-table.shortcodes>*>*>th,.w4os-table.shortcodes>*>tr,.w4os-table.shortcodes>tbody{display:block;max-width:100%}.w4os-table.shortcodes{margin:0}.w4os-table.shortcodes>tbody>tr>th{margin:20px 0 0;width:calc(100% - 10px)}.w4os-table.shortcodes>tbody>tr>th p{margin-bottom:0}}
     5.models-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:20px;padding:0}.models-list,.models-list .model,.models-list li{list-style:none;margin:0}.models-list .model-picture{height:auto;width:100%}.models-list figcaption{text-align:center}.models-list figure{margin:0;padding:0}.models-list .model input[type=radio]{opacity:0;pointer-events:none;position:absolute}.models-list label.model [type=radio]+figure{cursor:pointer;opacity:.5}.models-list label.model [type=radio]+figure:hover{opacity:.75}.models-list label.model [type=radio]:checked+figure{opacity:1;outline:2px solid #000}.opensimulator_page_w4os-shortcodes .places{display:flex;gap:10px}.opensimulator_page_w4os-shortcodes .places .place{max-width:32%}.opensimulator_page_w4os-shortcodes .places img{max-width:100%;width:256px}
    66.profile-php .avatar_profile,.profile-php .avatar_profile p{font-size:14px;line-height:1.3}.profile-php .avatar_profile label{display:inline-block;font-weight:700;margin-right:20px;width:200px}.profile-pic>img,.profileImage>img,img.avatar{aspect-ratio:4/3}.profileImage>img{height:auto;width:512px}.avatar-profile-table td,.avatar-profile-table th{vertical-align:top}@media screen and (max-width:480px){.avatar-profile-table,.avatar-profile-table td,.avatar-profile-table th{border:none;padding:0}.avatar-profile-table .gridvar,.avatar-profile-table th{font-weight:700;margin-top:.5em}}
  • w4os-opensimulator-web-interface/trunk/includes/public/public.asset.php

    r2944920 r3134512  
    1 <?php return array('dependencies' => array(), 'version' => '5bfb95a4475e9577c856');
     1<?php return array('dependencies' => array(), 'version' => '4289e7beab94fd958383');
  • w4os-opensimulator-web-interface/trunk/includes/public/public.css

    r2944920 r3134512  
    11a[href*="hop://"]{white-space:nowrap}a[href*="hop://"]:after{content:url(data:image/svg+xml;base64,PHN2ZyBhcmlhLWhpZGRlbj0idHJ1ZSIgZm9jdXNhYmxlPSJmYWxzZSIgZGF0YS1wcmVmaXg9ImZhciIgZGF0YS1pY29uPSJwb3J0YWwtZW50ZXIiIGNsYXNzPSJzdmctaW5saW5lLS1mYSBmYS1wb3J0YWwtZW50ZXIgZmEtdy0xNiIgcm9sZT0iaW1nIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik00MTYsMGMtMzguNjg3NTEsMC04My44NzcsMzQuODY4MDgtOTMuOTA0MywxODguODEyNmwtLjAwMi0uMDA1ODZhODguMTk0MjgsODguMTk0MjgsMCwwLDAtNjQuODEyNS02MC4yMzI1NGwtNzguMjUtMTcuNzAyNThhODcuNDY1Nyw4Ny40NjU3LDAsMCwwLTczLjI1LDE2LjIxODI1bC00OC4zNzUsMzcuMzU4MjRhMjQuMDA4NDEsMjQuMDA4NDEsMCwxLDAsMjkuMzc1LDM3Ljk4MzIxbDQ4LjM3NS0zNy4zNzM4NmE0MC4zNDE4OCw0MC4zNDE4OCwwLDAsMSwzMy4zMTI1LTcuMzc0NzdsMTQuODc1LDMuMzc0ODktMzUuMzEyNSw4Ny4zNDEwOWE1NS43NzExMyw1NS43NzExMywwLDAsMCwyMyw2OC45MDQxNWw4My43ODEyNCw1MC41OTIyYTguODQyODQsOC44NDI4NCwwLDAsMSwzLjg0Mzc2LDYuODQzNTQsOC43MjA0MSw4LjcyMDQxLDAsMCwxLS4zMTI1LDIuMjAzMDZMMjI1LjA2MjQ5LDQ4MS40MDcxOGEyMy45NzQzNiwyMy45NzQzNiwwLDAsMCwxNi40Njg3NiwyOS42NzEsMjQuOTk1NjUsMjQuOTk1NjUsMCwwLDAsNi42MjUuOTIxODUsMjMuOTg2NjIsMjMuOTg2NjIsMCwwLDAsMjMuMDYyNS0xNy40MjEzNGwzMy4zMTI1LTEwNC40NjU1N0E1Ni4xMDM0MSw1Ni4xMDM0MSwwLDAsMCwyNzkuNjI1LDMyNi43ODY5TDIyNy43ODEyNSwyOTUuNDkxbDQxLjkzNzUtMTA0Ljc5MzY3YTM5LjA5Mzc4LDM5LjA5Mzc4LDAsMCwxLDYuNDA2MjUsMTIuMDYyMTNsMTMuOTY4NzUsNDUuOTM2MWM3LjIxODc0LDIzLjY3MTE1LDI4LjY4NzUsMzkuMDQ1NjgsNTMuNDA2MjUsMzkuMTM5NDNsNDguNDA2MjUuMTU2MjRIMzkyYTIzLjk4NiwyMy45ODYsMCwwLDAsMjQtMjMuOTA1NTJjLjA2MjQ5LTEzLjI2NTIyLTEwLjY1NjI1LTIzLjQ4MzY2LTIzLjkzNzUxLTIzLjUzMDUzbC0yMy44ODA4NS0uMDg0QzM3MC4wMTk1MywxMzIuODc0ODUsMzkwLjY5OTIyLDQ3Ljk5ODU0LDQxNiw0Ny45OTg1NGMyNi41MDk3NywwLDQ4LDkzLjEyMjE1LDQ4LDIwNy45OTM2NXMtMjEuNDkwMjMsMjA3Ljk5MzY1LTQ4LDIwNy45OTM2NWMtMjEuMzUzNTIsMC0zOS40Mjc3My02MC40NTkwOS00NS42NjAxNi0xNDMuOTk1NjFoLTQ4LjQzNzVDMzI4LjAxMzY3LDQxOC4xODQ1LDM1MC44NzMwNSw1MTEuOTg0MzgsNDE2LDUxMS45ODQzOGM0My43OTQ5MiwwLDk2LTQ0LjQxMjcxLDk2LTI1NS45OTIxOUM1MTIsMTM5LjIwODY0LDQ5NS4zNDU3LDAsNDE2LDBaTTI3Mi4xNTYyNSw5NS45OTcwN0E0Ny45OTg1NSw0Ny45OTg1NSwwLDEsMCwyMjQuMTI1LDQ3Ljk5ODU0LDQ4LjAyODMyLDQ4LjAyODMyLDAsMCwwLDI3Mi4xNTYyNSw5NS45OTcwN1ptLTE0NiwyMjAuODUyNjRMMTA2LjMxMjUsMzYzLjEyOTU0YTguMDEzMiw4LjAxMzIsMCwwLDEtNy4zNDM3NSw0Ljg1OTIzSDI0YTIzLjk5OTI3LDIzLjk5OTI3LDAsMSwwLDAsNDcuOTk4NTRIOTguOTY4NzVhNTUuOTk2NDUsNTUuOTk2NDUsMCwwLDAsNTEuNS0zMy45MzY0N0wxNjQsMzUwLjQ0MjQzbC05LjU2MjUtNS43NjU0NUE4Ny41NTg4MSw4Ny41NTg4MSwwLDAsMSwxMjYuMTU2MjUsMzE2Ljg0OTcxWiI+PC9wYXRoPjwvc3ZnPg==);display:inline-block;height:1em;margin-left:.15em;width:1em}#dashboard-widgets table.gridinfo,#dashboard-widgets table.gridstatus{width:100%}.w4os-status-page table.gridinfo,.w4os-status-page table.gridstatus{max-width:100%;width:360px}table.gridinfo td,table.gridstatus td{width:50%}td.gridval,td.gridvar,th.gridvar{padding-right:20px;vertical-align:top}.page div.notice{background:#f0f0f0;border:1px solid #ccc;border-left:4px solid #666;box-shadow:0 1px 1px rgba(0,0,0,.04);margin:0 0 10px;padding:1px 12px}.page div.notice-success{background:#f0fff0;border-color:#9d9 #9d9 #9d9 #090}.page div.notice-error,.page div.notice-fail{background:#fff0f0;border-color:#f99 #f99 #f99 #c00}.page div.notice-code{background:#f9f9f9;border:1px solid #ccc;font-family:monospace;font-size:.8em;padding:6px 12px 0;white-space:pre}.form-wrap p,p.description,p.help,span.description{display:block;font-style:italic;line-height:1.2em;margin-top:0;margin-top:4px}.w4os-login p{margin:1em 0}.w4os-login p label{display:block;margin-bottom:.25em}body.w4os-welcome #page{font-size:14px;padding:2%}body.w4os-welcome #main,body.w4os-welcome .entry-content,body.w4os-welcome .site-main{margin:0;padding:0}body.w4os-welcome .entry-header,body.w4os-welcome .site-header,body.w4os-welcome .widget-area,body.w4os-welcome aside,body.w4os-welcome footer{display:none}@media screen and (max-width:480px){.avatar-profile-table,.avatar-profile-table td,.avatar-profile-table th,.avatar-profile-table tr,.w4os-table.shortcodes,.w4os-table.shortcodes>*>*>td,.w4os-table.shortcodes>*>*>th,.w4os-table.shortcodes>*>tr,.w4os-table.shortcodes>tbody{display:block;max-width:100%}.w4os-table.shortcodes{margin:0}.w4os-table.shortcodes>tbody>tr>th{margin:20px 0 0;width:calc(100% - 10px)}.w4os-table.shortcodes>tbody>tr>th p{margin-bottom:0}}
    22.profile-php .avatar_profile,.profile-php .avatar_profile p{font-size:14px;line-height:1.3}.profile-php .avatar_profile label{display:inline-block;font-weight:700;margin-right:20px;width:200px}.profile-pic>img,.profileImage>img,img.avatar{aspect-ratio:4/3}.profileImage>img{height:auto;width:512px}.avatar-profile-table td,.avatar-profile-table th{vertical-align:top}@media screen and (max-width:480px){.avatar-profile-table,.avatar-profile-table td,.avatar-profile-table th{border:none;padding:0}.avatar-profile-table .gridvar,.avatar-profile-table th{font-weight:700;margin-top:.5em}}
    3 .models-list{grid-gap:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));padding:0}.models-list,.models-list .model,.models-list li{list-style:none;margin:0}.models-list .model-picture{height:auto;width:100%}.models-list figcaption{text-align:center}.models-list figure{margin:0;padding:0}.models-list .model input[type=radio]{opacity:0;pointer-events:none;position:absolute}.models-list label.model [type=radio]+figure{cursor:pointer;opacity:.5}.models-list label.model [type=radio]+figure:hover{opacity:.75}.models-list label.model [type=radio]:checked+figure{opacity:1;outline:2px solid #000}.opensimulator_page_w4os-shortcodes .places{display:flex;gap:10px}.opensimulator_page_w4os-shortcodes .places .place{max-width:32%}.opensimulator_page_w4os-shortcodes .places img{max-width:100%;width:256px}
     3.models-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:20px;padding:0}.models-list,.models-list .model,.models-list li{list-style:none;margin:0}.models-list .model-picture{height:auto;width:100%}.models-list figcaption{text-align:center}.models-list figure{margin:0;padding:0}.models-list .model input[type=radio]{opacity:0;pointer-events:none;position:absolute}.models-list label.model [type=radio]+figure{cursor:pointer;opacity:.5}.models-list label.model [type=radio]+figure:hover{opacity:.75}.models-list label.model [type=radio]:checked+figure{opacity:1;outline:2px solid #000}.opensimulator_page_w4os-shortcodes .places{display:flex;gap:10px}.opensimulator_page_w4os-shortcodes .places .place{max-width:32%}.opensimulator_page_w4os-shortcodes .places img{max-width:100%;width:256px}
  • w4os-opensimulator-web-interface/trunk/languages/w4os.pot

    r3133811 r3134512  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: w4os - OpenSimulator Web Interface 2.7.6\n"
     5"Project-Id-Version: w4os - OpenSimulator Web Interface 2.7.7\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/w4os-dev\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  • w4os-opensimulator-web-interface/trunk/legacy/functions.php

    r3052977 r3134512  
    443443    // Avoid concurrent checks
    444444    if ( get_transient( 'w4os_get_urls_statuses_lock' ) ) {
     445        // w4os_get_urls_statuses_lock is already processing, skipping
    445446        return;
    446447    }
     
    454455            if ( esc_url_raw( $url ) == $url ) {
    455456                w4os_get_url_status( $url, null, $force );
    456             }
    457         }
    458     }
     457            } else {
     458                error_log( __METHOD__ . ' Invalid URL: ' . $url );
     459            }
     460        }
     461    } else {
     462        error_log( __METHOD__ . ' Empty URLs array' );
     463    }
     464
    459465    if ( $force ) {
    460466        delete_transient( 'w4os_get_urls_statuses_lock' );
    461467    }
     468
     469    if ( ! empty( $errors ) ) {
     470        $messages[] = '<p class=sync-errors><ul><li>' . join( '</li><li>', $errors ) . '</p>';
     471    }
     472    // $messages[] = w4os_array2table($accounts, 'accounts', 2);
     473    if ( ! empty( $messages ) ) {
     474        return '<div class=messages><p>' . join( '</p><p>', $messages ) . '</div>';
     475    }
     476
     477    w4os_clean_previous_scheduled_actions( __FUNCTION__ );
     478}
     479
     480function w4os_clean_previous_scheduled_actions( $hook ) {
     481    // Use the same logic as ActionScheduler_WPCLI_Clean_Command.php
     482    // DO NOT USE as_unschedule_action, it has already been tested and it does not clean the actions Scheduled Actions admin page
     483
     484    $batch_size = 20; // Number of actions to delete per batch
     485    $status     = ActionScheduler_Store::STATUS_COMPLETE;
     486
     487    // $before = '31 days ago'; // Delete actions older than this date
     488    // try {
     489    // $lifespan = as_get_datetime_object( $before );
     490    // } catch ( Exception $e ) {
     491    // $lifespan = null;
     492    // }
     493
     494    // Instance of the action store
     495    $store_args = array(
     496        'hooks' => array( $hook ),
     497    );
     498    $store      = ActionScheduler::store();
     499
     500    // Retrieve actions associated with the specified hook
     501    $args = array(
     502        'hook'   => $hook,
     503        'status' => $status,
     504        // 'date'   => $lifespan ? $lifespan->format( 'Y-m-d H:i:s' ) : null,
     505    );
     506    $actions = as_get_scheduled_actions( $args );
     507    if ( empty( $actions ) ) {
     508        // No actions to check for $hook, stopping
     509        return;
     510    }
     511
     512    foreach ( $actions as $action_id => $action ) {
     513        try {
     514            $store->delete_action( $action_id );
     515        } catch ( Exception $e ) {
     516            error_log( __METHOD__ . " Error while deleting $hook action $action_id : " . $e->getMessage() . ' (File: ' . $e->getFile() . ', Line: ' . $e->getLine() . ')' );
     517        }
     518    }
    462519}
    463520
    464521function register_w4os_get_urls_statuses_async_cron() {
    465     if ( false === as_next_scheduled_action( 'w4os_get_urls_statuses' ) & ! get_transient( 'w4os_get_urls_statuses_lock' ) ) {
     522    // Schedule a new instance of the action only if it is not already running or scheduled
     523    if ( false === as_has_scheduled_action( 'w4os_get_urls_statuses' ) && ! get_transient( 'w4os_get_urls_statuses_lock' ) ) {
    466524        as_schedule_cron_action( time(), '*/5 * * * *', 'w4os_get_urls_statuses' );
    467525    }
    468526}
    469527add_action( 'init', 'register_w4os_get_urls_statuses_async_cron' );
     528add_action( 'w4os_get_urls_statuses', 'w4os_get_urls_statuses' );
    470529
    471530function w4os_sanitize_login_uri( $login_uri ) {
  • w4os-opensimulator-web-interface/trunk/legacy/users.php

    r3052977 r3134512  
    215215            // w4os_profile_dereference($account['user_id']);
    216216        }
     217        w4os_clean_previous_scheduled_actions( __FUNCTION__ );
    217218    }
    218219
     
    387388}
    388389
     390// Enregistrer l'action planifiée
    389391function register_w4os_sync_users_async_cron() {
    390     if ( false === as_next_scheduled_action( 'w4os_sync_users' ) ) {
    391         as_schedule_cron_action( time(), '0 * * * *', 'w4os_sync_users' );
     392    // as_unschedule_all_actions('w4os_sync_users');
     393    if ( false === as_has_scheduled_action( 'w4os_sync_users' ) ) {
     394        as_schedule_cron_action( time(), '*/5 * * * *', 'w4os_sync_users' );
    392395    }
    393396}
    394397add_action( 'init', 'register_w4os_sync_users_async_cron' );
     398add_action( 'w4os_sync_users', 'w4os_sync_users' );
  • w4os-opensimulator-web-interface/trunk/readme.txt

    r3133811 r3134512  
    66Requires PHP: 7.3
    77Tested up to: 6.6.1
    8 Stable tag: 2.7.7
     8Stable tag: 2.7.8
    99License: AGPLv3
    1010License URI: https://www.gnu.org/licenses/agpl-3.0.txt
     
    200200== Changelog ==
    201201
     202= 2.7.8 =
     203* fix scheduled jobs list growing indefinitely
     204* fix w4os_get_urls_statuses and w4os_sync_users scheduled action failng (not properly registered)
     205* fix empty content passed to ImageMagic
     206* fix PHP Fatal error  Zero size image string passed to Imagick
     207* fix deprecation warnings Optional parameter  declared before required parameter
     208
    202209= 2.7.7 =
    203210* Tested up to WP 6.6.1 (fix #78)
  • w4os-opensimulator-web-interface/trunk/templates/assets-render.php

    r2944920 r3134512  
    116116
    117117        $data = base64_decode( $xml->Data );
     118        if ( $data === false ) {
     119            error_log( "Failed to decode base64 data for asset UUID: $asset_uuid" );
     120            return w4os_asset_get_zero( $format );
     121        }
    118122        w4os_cache_write( $asset_uuid, $data, W4OS_ASSETS_CACHE_JP2 );
    119123    } else {
    120         $h    = fopen( W4OS_ASSETS_CACHE_JP2 . $asset_uuid, 'rb' );
    121         $data = fread( $h, filesize( W4OS_ASSETS_CACHE_JP2 . $asset_uuid ) );
     124        $h = fopen( W4OS_ASSETS_CACHE_JP2 . $asset_uuid, 'rb' );
     125        if ( $h === false ) {
     126            error_log( "Failed to open cache file for asset UUID: $asset_uuid" );
     127            return w4os_asset_get_zero( $format );
     128        }
     129
     130        $filesize = filesize( W4OS_ASSETS_CACHE_JP2 . $asset_uuid );
     131        if ( $filesize > 0 ) {
     132            $data = fread( $h, $filesize );
     133            if ( $data === false ) {
     134                error_log( "Failed to read data from cache file for asset UUID: $asset_uuid" );
     135                fclose( $h );
     136                return w4os_asset_get_zero( $format );
     137            }
     138        } else {
     139            error_log( "Cache file for asset UUID: $asset_uuid is empty" );
     140            fclose( $h );
     141            return w4os_asset_get_zero( $format );
     142        }
    122143        fclose( $h );
     144        if ( $data === false ) {
     145            error_log( "Failed to read data from cache file for asset UUID: $asset_uuid" );
     146            return w4os_asset_get_zero( $format );
     147        }
    123148    }
    124149
    125150    /* Convert original jp2 image to requested format :  */
    126151    $_img = new Imagick();
    127     $_img->readImageBlob( $data ); // TODO : error checking
     152    try {
     153        $_img->readImageBlob( $data );
     154    } catch ( ImagickException $e ) {
     155        $error_message = $e->getMessage();
     156        if ( ! preg_match( '/Zero size image string passed/', $error_message ) || ( defined( 'WP_DEBUG' ) && WP_DEBUG ) ) {
     157            error_log( 'ImagickException: ' . $e->getMessage() . ' in ' . $e->getFile() . ' on line ' . $e->getLine() . ' (Error code: ' . $e->getCode() . ')' );
     158        }
     159        return w4os_asset_get_zero( $format );
     160    }
    128161    $_img->setImageFormat( $format ); // TODO : check for error
    129162
     
    160193    $cache_file   = $cachedir . $asset_uuid;
    161194    $file_max_age = time() - W4OS_ASSETS_CACHE_TTL;
     195
    162196    if ( ! file_exists( $cache_file ) ) {
    163         return ( false );
    164     }
     197        return false;
     198    }
     199
     200    if ( filesize( $cache_file ) == 0 ) {
     201        // empty file, removing:
     202        unlink( $cache_file );
     203        return false;
     204    }
     205
    165206    if ( filemtime( $cache_file ) < $file_max_age ) {
    166207        // expired, removing old file:
    167208        unlink( $cache_file );
    168         return ( false );
    169     }
    170 
    171     return ( true );
     209        return false;
     210    }
     211
     212    return true;
    172213}
    173214
  • w4os-opensimulator-web-interface/trunk/vendor/composer/installed.php

    r3133811 r3134512  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => 'f483fa77d2ca63665769ace1a3c449c8882e0c27',
     6        'reference' => '972f8f65dc21ecbc453ce82e77b72513b6618948',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    7777            'pretty_version' => 'dev-master',
    7878            'version' => 'dev-master',
    79             'reference' => 'f483fa77d2ca63665769ace1a3c449c8882e0c27',
     79            'reference' => '972f8f65dc21ecbc453ce82e77b72513b6618948',
    8080            'type' => 'wordpress-plugin',
    8181            'install_path' => __DIR__ . '/../../',
  • w4os-opensimulator-web-interface/trunk/w4os.php

    r3133811 r3134512  
    33 * Plugin Name:       w4os - OpenSimulator Web Interface
    44 * Description:       WordPress interface for OpenSimulator (w4os).
    5  * Version:           2.7.7
     5 * Version:           2.7.8
    66 * Author:            Speculoos World
    77 * Author URI:        https://speculoos.world
Note: See TracChangeset for help on using the changeset viewer.