Plugin Directory

Changeset 3487384


Ignore:
Timestamp:
03/20/2026 06:03:38 PM (11 days ago)
Author:
bookiflex
Message:

release: v1.1.0

Location:
bookiflex
Files:
18 added
12 deleted
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • bookiflex/tags/1.1.0/assets/manifest.json

    r3483888 r3487384  
    11{
    2   "version": "1.0.2",
    3   "generated": "2026-03-16T13:12:07.963Z",
     2  "version": "1.1.0",
     3  "generated": "2026-03-20T18:01:17.663Z",
    44  "external": {
    55    "vue": "assets/vendor/vue/vue.global.prod.js",
     
    2020    "widgets": {
    2121      "controller": {
    22         "js": "assets/common/widgets/controller/index.X5wCS8iR.js"
     22        "js": "assets/common/widgets/controller/index.B2RbsrGV.js"
    2323      },
    2424      "booking": {
    25         "js": "assets/common/widgets/booking/index.DJ72HPHQ.js",
    26         "css": "assets/common/widgets/booking/style.DLYn80qi.css"
     25        "js": "assets/common/widgets/booking/index.hjFU8Tbh.js",
     26        "css": "assets/common/widgets/booking/style.Dtk2uNy-.css"
    2727      },
    2828      "search-bar": {
    29         "js": "assets/common/widgets/searchbar/index.CjmTKlWc.js",
    30         "css": "assets/common/widgets/searchbar/style.eRAHhK-s.css"
     29        "js": "assets/common/widgets/searchbar/index.CZ8R2Zsh.js",
     30        "css": "assets/common/widgets/searchbar/style.yDxM3dYi.css"
    3131      },
    3232      "button": {
    33         "js": "assets/common/widgets/button/index.CJH5xbz-.js"
     33        "js": "assets/common/widgets/button/index.CTFUDEv3.js"
    3434      }
    3535    },
  • bookiflex/tags/1.1.0/bookiflex.php

    r3483888 r3487384  
    66 * Description: Direct Booking Widget for Apartments and Short-Term Rentals
    77 * Plugin URI: https://bookiflex.com
    8  * Version: 1.0.2
     8 * Version: 1.1.0
    99 * Author: BookiFlex
    1010 * License: GPL-2.0-or-later
     
    8080}
    8181// Define plugin constants
    82 define( 'BOOKIFLEX_VERSION', '1.0.2' );
     82define( 'BOOKIFLEX_VERSION', '1.1.0' );
    8383define( 'BOOKIFLEX_FILE', __FILE__ );
    8484define( 'BOOKIFLEX_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • bookiflex/tags/1.1.0/readme.txt

    r3483888 r3487384  
    55Tested up to: 6.9
    66Requires PHP: 8.1
    7 Stable tag: 1.0.2
     7Stable tag: 1.1.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    154154* Room setup, pricing, availability, and email notifications
    155155
     156= 1.0.2 =
     157* Fix onboarding flow
     158
     159= 1.1.0 =
     160* Improve interface behavior (search widget)
     161* Fix minor bugs
     162
    156163== Installation ==
    157164
     
    169176Initial public release.
    170177
    171 = 1.0.1 =
    172 Fix onboarding flow.
    173 
    174178== Use Cases ==
    175179
  • bookiflex/tags/1.1.0/src/Admin/AssetsManager.php

    r3478607 r3487384  
    127127    public function printFrontendModules() : void {
    128128        $config = $this->container->get( 'config' );
    129         if ( ($config->isBookingButtonActive() || current_user_can( 'manage_options' )) && $GLOBALS['pagenow'] !== 'wp-login.php' ) {
     129        $isBookingButtonActive = $config->isBookingButtonActive();
     130        $canManageOptions = current_user_can( 'manage_options' );
     131        $isAdminPreview = !$isBookingButtonActive && $canManageOptions;
     132        if ( ($isBookingButtonActive || $canManageOptions) && $GLOBALS['pagenow'] !== 'wp-login.php' ) {
    130133            ?>
    131134            <booking-widget-button
     
    142145            echo esc_attr( $config->isBookingButtonPulse() );
    143146            ?>"
     147                <?php
     148            if ( $isAdminPreview ) {
     149                ?>admin-preview="true"<?php
     150            }
     151            ?>
    144152            ></booking-widget-button>
    145153            <?php
  • bookiflex/tags/1.1.0/src/Core/ORM/DataProvider/CustomPostTypeDataProvider.php

    r3478607 r3487384  
    383383
    384384            if ($nestedData === null) {
     385                // No active nested posts found — clear raw IDs to prevent ORM cast errors
     386                $propertyNames = $this->getPropertyByNestedKey($customPostType, $nestedCPT);
     387                foreach ($result as &$item) {
     388                    foreach ($propertyNames as $propertyName) {
     389                        $item[$propertyName] = [];
     390                    }
     391                }
     392                unset($item);
    385393                continue;
    386394            }
  • bookiflex/tags/1.1.0/src/Core/Repository/BaseCPTRepository.php

    r3478607 r3487384  
    8484    {;
    8585        $data = $this->findRawData($scope, $orderBy);
    86 //        var_dump($data); die;
     86//        var_dump($data);
    8787        try {
    8888            return Iterator::createWithOrm($this->orm, static::$class, $data, false, true);
  • bookiflex/tags/1.1.0/vendor/composer/installed.php

    r3483888 r3487384  
    22    'root' => array(
    33        'name' => 'bookiflex/plugin',
    4         'pretty_version' => 'v1.0.2',
    5         'version' => '1.0.2.0',
    6         'reference' => '84117adc6357015d083084d99706a811d332c75f',
     4        'pretty_version' => 'v1.1.0',
     5        'version' => '1.1.0.0',
     6        'reference' => '2cb90f98360f60d3cd4d5eab1a07aafb226f4791',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'bookiflex/plugin' => array(
    23             'pretty_version' => 'v1.0.2',
    24             'version' => '1.0.2.0',
    25             'reference' => '84117adc6357015d083084d99706a811d332c75f',
     23            'pretty_version' => 'v1.1.0',
     24            'version' => '1.1.0.0',
     25            'reference' => '2cb90f98360f60d3cd4d5eab1a07aafb226f4791',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • bookiflex/trunk/assets/manifest.json

    r3483888 r3487384  
    11{
    2   "version": "1.0.2",
    3   "generated": "2026-03-16T13:12:07.963Z",
     2  "version": "1.1.0",
     3  "generated": "2026-03-20T18:01:17.663Z",
    44  "external": {
    55    "vue": "assets/vendor/vue/vue.global.prod.js",
     
    2020    "widgets": {
    2121      "controller": {
    22         "js": "assets/common/widgets/controller/index.X5wCS8iR.js"
     22        "js": "assets/common/widgets/controller/index.B2RbsrGV.js"
    2323      },
    2424      "booking": {
    25         "js": "assets/common/widgets/booking/index.DJ72HPHQ.js",
    26         "css": "assets/common/widgets/booking/style.DLYn80qi.css"
     25        "js": "assets/common/widgets/booking/index.hjFU8Tbh.js",
     26        "css": "assets/common/widgets/booking/style.Dtk2uNy-.css"
    2727      },
    2828      "search-bar": {
    29         "js": "assets/common/widgets/searchbar/index.CjmTKlWc.js",
    30         "css": "assets/common/widgets/searchbar/style.eRAHhK-s.css"
     29        "js": "assets/common/widgets/searchbar/index.CZ8R2Zsh.js",
     30        "css": "assets/common/widgets/searchbar/style.yDxM3dYi.css"
    3131      },
    3232      "button": {
    33         "js": "assets/common/widgets/button/index.CJH5xbz-.js"
     33        "js": "assets/common/widgets/button/index.CTFUDEv3.js"
    3434      }
    3535    },
  • bookiflex/trunk/bookiflex.php

    r3483888 r3487384  
    66 * Description: Direct Booking Widget for Apartments and Short-Term Rentals
    77 * Plugin URI: https://bookiflex.com
    8  * Version: 1.0.2
     8 * Version: 1.1.0
    99 * Author: BookiFlex
    1010 * License: GPL-2.0-or-later
     
    8080}
    8181// Define plugin constants
    82 define( 'BOOKIFLEX_VERSION', '1.0.2' );
     82define( 'BOOKIFLEX_VERSION', '1.1.0' );
    8383define( 'BOOKIFLEX_FILE', __FILE__ );
    8484define( 'BOOKIFLEX_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • bookiflex/trunk/readme.txt

    r3483888 r3487384  
    55Tested up to: 6.9
    66Requires PHP: 8.1
    7 Stable tag: 1.0.2
     7Stable tag: 1.1.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    154154* Room setup, pricing, availability, and email notifications
    155155
     156= 1.0.2 =
     157* Fix onboarding flow
     158
     159= 1.1.0 =
     160* Improve interface behavior (search widget)
     161* Fix minor bugs
     162
    156163== Installation ==
    157164
     
    169176Initial public release.
    170177
    171 = 1.0.1 =
    172 Fix onboarding flow.
    173 
    174178== Use Cases ==
    175179
  • bookiflex/trunk/src/Admin/AssetsManager.php

    r3478607 r3487384  
    127127    public function printFrontendModules() : void {
    128128        $config = $this->container->get( 'config' );
    129         if ( ($config->isBookingButtonActive() || current_user_can( 'manage_options' )) && $GLOBALS['pagenow'] !== 'wp-login.php' ) {
     129        $isBookingButtonActive = $config->isBookingButtonActive();
     130        $canManageOptions = current_user_can( 'manage_options' );
     131        $isAdminPreview = !$isBookingButtonActive && $canManageOptions;
     132        if ( ($isBookingButtonActive || $canManageOptions) && $GLOBALS['pagenow'] !== 'wp-login.php' ) {
    130133            ?>
    131134            <booking-widget-button
     
    142145            echo esc_attr( $config->isBookingButtonPulse() );
    143146            ?>"
     147                <?php
     148            if ( $isAdminPreview ) {
     149                ?>admin-preview="true"<?php
     150            }
     151            ?>
    144152            ></booking-widget-button>
    145153            <?php
  • bookiflex/trunk/src/Core/ORM/DataProvider/CustomPostTypeDataProvider.php

    r3478607 r3487384  
    383383
    384384            if ($nestedData === null) {
     385                // No active nested posts found — clear raw IDs to prevent ORM cast errors
     386                $propertyNames = $this->getPropertyByNestedKey($customPostType, $nestedCPT);
     387                foreach ($result as &$item) {
     388                    foreach ($propertyNames as $propertyName) {
     389                        $item[$propertyName] = [];
     390                    }
     391                }
     392                unset($item);
    385393                continue;
    386394            }
  • bookiflex/trunk/src/Core/Repository/BaseCPTRepository.php

    r3478607 r3487384  
    8484    {;
    8585        $data = $this->findRawData($scope, $orderBy);
    86 //        var_dump($data); die;
     86//        var_dump($data);
    8787        try {
    8888            return Iterator::createWithOrm($this->orm, static::$class, $data, false, true);
  • bookiflex/trunk/vendor/composer/installed.php

    r3483888 r3487384  
    22    'root' => array(
    33        'name' => 'bookiflex/plugin',
    4         'pretty_version' => 'v1.0.2',
    5         'version' => '1.0.2.0',
    6         'reference' => '84117adc6357015d083084d99706a811d332c75f',
     4        'pretty_version' => 'v1.1.0',
     5        'version' => '1.1.0.0',
     6        'reference' => '2cb90f98360f60d3cd4d5eab1a07aafb226f4791',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'bookiflex/plugin' => array(
    23             'pretty_version' => 'v1.0.2',
    24             'version' => '1.0.2.0',
    25             'reference' => '84117adc6357015d083084d99706a811d332c75f',
     23            'pretty_version' => 'v1.1.0',
     24            'version' => '1.1.0.0',
     25            'reference' => '2cb90f98360f60d3cd4d5eab1a07aafb226f4791',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.