Plugin Directory

Changeset 2821641


Ignore:
Timestamp:
11/21/2022 04:19:59 PM (3 years ago)
Author:
pubydoc
Message:

version 2.0.0

Location:
pubydoc-data-tables-and-charts/trunk
Files:
1073 added
10 edited

Legend:

Unmodified
Added
Removed
  • pubydoc-data-tables-and-charts/trunk/classes/frame.php

    r2674491 r2821641  
    487487    }
    488488    public function isPro() {
    489         //return false;
     489        return true;
    490490        return $this->moduleExists('license') && $this->getModule('license') && $this->moduleExists('tablespro') && $this->getModule('tablespro');
    491491    }
  • pubydoc-data-tables-and-charts/trunk/classes/installer.php

    r2658739 r2821641  
    2828                (NULL, 'adminmenu',1,1,'Admin Menu'),
    2929                (NULL, 'options',1,1,'Options'),
    30                 (NULL, 'tables',1,1,'Tables');");
     30                (NULL, 'tables',1,1,'Tables'),
     31                (NULL, 'optionspro',1,1,'Options Pro'),
     32                (NULL, 'tablespro',1,1,'Tables Pro'),
     33                (NULL, 'import',1,1,'Import'),
     34                (NULL, 'export',1,1,'Export'),
     35                (NULL, 'diagrams',1,1,'Diagrams');");
     36        } else {
     37            DbPyt::query( "DELETE FROM `@__modules` WHERE code='license'" );
     38            DbPyt::query( "UPDATE `@__modules` SET active=1, type_id=1, ex_plug_dir=null" );
    3139        }
    3240       
     
    5058                PRIMARY KEY (`id`)
    5159            ) DEFAULT CHARSET=utf8;"));
     60        }
     61       
     62        /**
     63         * Table diagrams
     64         */
     65        if (!DbPyt::exist("@__diagrams")) {
     66            //require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
     67            dbDelta(DbPyt::prepareQuery("CREATE TABLE IF NOT EXISTS `@__diagrams` (
     68                `id` int(11) NOT NULL AUTO_INCREMENT,
     69                `title` varchar(128) NULL DEFAULT NULL,
     70                `type` tinyint(1) NOT NULL DEFAULT '0',
     71                `table_id` int(11) NOT NULL,
     72                `table_range` varchar(15) NULL,
     73                `status` tinyint(1) NOT NULL DEFAULT '0',
     74                `options` mediumtext NULL DEFAULT NULL,
     75                `config` mediumtext NULL DEFAULT NULL,
     76                PRIMARY KEY (`id`)
     77             ) DEFAULT CHARSET=utf8;"));
    5278        }
    5379        InstallerDbUpdaterPyt::runUpdate();
  • pubydoc-data-tables-and-charts/trunk/classes/installerDbUpdater.php

    r2658739 r2821641  
    22class InstallerDbUpdaterPyt {
    33    public static function runUpdate() {
    4 
     4        if ( DbPyt::get( "SELECT 1 FROM `@__modules` WHERE code='diagrams'", 'one' ) != 1 ) {
     5            DbPyt::query( "INSERT INTO `@__modules` (id, code, active, type_id, label) VALUES (NULL, 'optionspro', 1, 1, 'Options Pro');" );
     6            DbPyt::query( "INSERT INTO `@__modules` (id, code, active, type_id, label) VALUES (NULL, 'tablespro', 1, 1, 'Tables Pro');" );
     7            DbPyt::query( "INSERT INTO `@__modules` (id, code, active, type_id, label) VALUES (NULL, 'import', 1, 1, 'Import');" );
     8            DbPyt::query( "INSERT INTO `@__modules` (id, code, active, type_id, label) VALUES (NULL, 'export', 1, 1, 'Export');" );
     9            DbPyt::query( "INSERT INTO `@__modules` (id, code, active, type_id, label) VALUES (NULL, 'diagrams', 1, 1, 'Diagrams');" );
     10        }
    511    }
    612}
  • pubydoc-data-tables-and-charts/trunk/config.php

    r2774240 r2821641  
    4343define('PYT_DEFAULT', 'default');
    4444
    45 define('PYT_VERSION', '1.3.1');
     45define('PYT_VERSION', '2.0.0');
    4646
    4747define('PYT_CLASS_PREFIX', 'pytc');
  • pubydoc-data-tables-and-charts/trunk/modules/tables/assets/js/admin.builder.js

    r2658739 r2821641  
    772772        _this.formulaInput.val('');
    773773        var cell = _this.getSelectedFirstCell(true, ui.selection);
    774         if (cell) {
     774        if (cell && cell.row) {
    775775            var row = cell.row,
    776776                di = cell.dataIndx;
    777777            _this.formulaInput.val(row.pq_fn && di in row.pq_fn ? '=' + row.pq_fn[di].fn : row[di]);
    778         }
     778        } else _this.formulaInput.val('');
    779779    }
    780780
  • pubydoc-data-tables-and-charts/trunk/modules/tables/assets/js/admin.builder.toolbar.js

    r2658739 r2821641  
    752752                $button.on(event, function (e) {
    753753                    e.preventDefault();
    754 
    755                     methods[method].apply(_this, [e]);
    756                     // Close toolbar
    757                     $('body').trigger('click');
     754                    if (!$(this).hasClass('disabled')) {
     755                        methods[method].apply(_this, [e]);
     756                        // Close toolbar
     757                        $('body').trigger('click');
     758                    }
    758759                });
    759760            }
  • pubydoc-data-tables-and-charts/trunk/modules/tables/mod.php

    r2658739 r2821641  
    196196            'label' => esc_html__('Tables', 'publish-your-table'), 'callback' => array($this, 'getTabAllTables'), 'fa_icon' => 'pyt-visibility', 'sort_order' => 20, //'is_main' => true,
    197197        );
    198         $tabs[$code . '-diagrams'] = array(
     198        /*$tabs[$code . '-diagrams'] = array(
    199199            'label' => esc_html__('Diagrams', 'publish-your-table'), 'callback' => array($this, 'getTabAllDiagrams'), 'fa_icon' => 'pyt-diagram' . $icon, 'sort_order' => 21, 'add_bread' => $this->getCode(),
    200         );
     200        );*/
    201201        return $tabs;
    202202    }
     
    205205        return $this->getView()->getTabAllTables();
    206206    }
    207     public function getTabAllDiagrams() {
     207    /*public function getTabAllDiagrams() {
    208208        return DispatcherPyt::applyFilters('getTabAllDiagrams', $this->getView()->getTabAllDiagrams());
    209209        //return $this->getView()->getTabAllDiagrams();
    210     }
     210    }*/
    211211    public function getTabNewTable() {
    212212        return $this->getView()->getTabNewTable();
  • pubydoc-data-tables-and-charts/trunk/modules/tables/views/shortcode.php

    r2674491 r2821641  
    6767        $assets = AssetsPyt::_();
    6868        $assets->loadCoreJs();
     69        $assets->loadFontAwesome();
    6970        if (!UtilsPyt::getArrayValue($options, 'loader_disable', false)) {
    7071            $assets->loadLoaders();
  • pubydoc-data-tables-and-charts/trunk/publish-your-table.php

    r2774240 r2821641  
    44 * Plugin URI: https://pubydoc.com/
    55 * Description: Create and manage beautiful data tables and charts with custom design.
    6  * Version: 1.3.1
     6 * Version: 2.0.0
    77 * Author: PubyDoc
    88 * Text Domain: publish-your-table
  • pubydoc-data-tables-and-charts/trunk/readme.txt

    r2774240 r2821641  
    33Tags: data table, charts, table, table builder, spreadsheet, excell
    44Requires at least: 3.4.0
    5 Tested up to: 6.0.1
    6 Stable tag: 1.3.1
     5Tested up to: 6.1.1
     6Stable tag: 2.0.0
    77
    88Create responsive data tables & charts with Table Builder, Excel spreadsheet or CSV. Searching, pagination, custom data table design, media support
     
    1010== Description ==
    1111[PubyDoc Data Table and Charts WordPress plugin](https://pubydoc.com "Data Tale and Charts WordPress plugin") is the data table creation platform for WordPress that allows you to create professional Data Tables and customize them with pixel-perfect precision using an intuitive visual builder. Quickly create amazing Data Tables for your users or your business with full control over every part without writing a single line of code.
     12
     13== Now all PRO options are completely free and included in the FREE version ==
     14Our team has decided to provide all the premium options of the plugin for all our users absolutely free of charge. Now you can use a truly powerful Data Table plugin without any fees.
    1215
    1316[Showcase](https://pubydoc.com/showcase/ "Data Tale Showcase") | [Detailed Features](https://pubydoc.com/features/ "PubyDoc Features") | [Documentation and FAQs](https://pubydoc.com/documentation/ "Documentation and FAQs")
     
    211214== Changelog ==
    212215
    213 = 1.3.1 =
    214 *Added compatibility with WordPress 6.0.1
     216= 2.0.0 =
     217*All Pro Data Table plugin options are now free.
    215218
    216219= 1.3.0 =
Note: See TracChangeset for help on using the changeset viewer.