Skip to content

Releases

DataDeck v1.1.2 — Round-2 Bug Hunt & Security Hardening

Choose a tag to compare

@duhanguler duhanguler released this 24 Nov 00:30

Security Hardening

  • Enforced delete_shop_orders capability inside WooOrderEntityAdapter::delete_records().
  • Enforced publish_posts downgrade and status whitelisting on post/product creation (PostEntityAdapter, WooProductEntityAdapter).
  • Scoped multi-author visibility in SmartQueryPlanner so low-privilege contributors cannot view other authors' private posts or unpublished drafts.
  • Enforced object-level checks on GET /history/record/{entity}/{id} and GET /records/{entity}/{id}, required moderate_comments for the Comments grid, verified can_read() on native list toggle pills, and enforced promote_user + get_editable_roles() on user role edits.
  • Added atomic scheduled -> running claim lock in CampaignScheduler::run_campaign() to prevent duplicate execution under overlapping workers, refused capability bypass when the scheduling user was deleted, restricted revertAt in bulk mode to elevated roles, and blocked rolling back non-applied batches.

Bug Fixes & Data Integrity

  • Fixed WooCommerce sale_price/regular_price filters and woo_margin_audit lens false positives caused by wc_product_meta_lookup.min_price/max_price storing effective _price on simple products.
  • Included wcl.sku in numeric searches (EAN/UPC barcodes), fixed MySQL numeric isempty (0 = '') and empty-string postmeta decimal casts, added boolean meta filters + Yes/No UI selector, preserved onbackorder when stock reaches 0 with backorders enabled, cleared unique _sku/sales stats on duplicated WooCommerce products, prevented sanitize_email() from wiping existing emails on invalid input, protected serialized PHP arrays from plain-text overwrites, fixed HPOS order matching in CSV import, and fixed Plain Permalink CSV/JSON export URLs.
  • Enforced compile-time function whitelist & if() arity validation in AST ExpressionEngine, fixed empty-string + addition & false == 0 equality, preserved pending auto-revert batches during daily pruning, prevented partial rollback lockout, and booted Abilities API on /wp-json/wp-abilities/ requests.
  • Frontend UX: fixed locale currency parsing ($1,250.00, 1.250,99) across inline edit, paste, and live aggregations; fixed WordPress Media Modal cancel freezing keyboard navigation; added single-commit guard on Enter/Tab/Escape; added full-record hydration in Inspector Drawer; initialized case_transform/round_ending bulk defaults; auto-refreshed visible computed columns after inline edits; and fixed multiline CSV analyze sampling.

DataDeck v1.1.1 — Security Hardening & Bug-Hunt Release

Choose a tag to compare

@duhanguler duhanguler released this 22 Nov 01:04

Security & Bug-Hunt Fixes in DataDeck v1.1.1

Security Hardening

  • Restricted scheduled campaigns, global Saved Views, and global Computed Columns to elevated roles (manage_options, edit_others_posts, or manage_woocommerce), and executed scheduled campaigns under the scheduling user's original capability context.
  • Enforced entity-level read checks on /history and /history/{uuid} and prevented unauthorized rollback attempts from marking batches as rolled_back.
  • Enforced publish_posts, delete_post, and edit_others_posts checks in CorePostFieldProvider to prevent low-privilege draft publication or author reassignment.
  • Added entity read permission check to datadeck/preview-bulk-edit and editor/admin guard to datadeck/rollback-batch Abilities.

Critical & High Bug Fixes

  • MySQL 8 ONLY_FULL_GROUP_BY compatibility: Switched joined sorting in SmartQueryPlanner to GROUP BY p.ID ORDER BY MAX/MIN(...) to prevent SQL error 3065 on strict MySQL 8 servers.
  • Streaming export & bulk cursors: Fixed WooOrderEntityAdapter::stream_ids() truncation past 500 orders, preserved OR filters across chunks in SmartQueryPlanner::stream_post_ids(), and preserved search/lens/filters in User and Comment streaming cursors.
  • AST Tokenizer: Excluded - from identifiers so expressions without spaces like regular_price-sale_price or regular_price-10 evaluate accurately as subtraction.
  • Colon-namespaced field sorting & history: Preserved : in sort_field, Saved View sortField, and cell-history field filters (acf:*, meta:*).
  • Right-click context menu filtering: Emitted canonical is / isnot operators across all field types.
  • Bulk engine & Grid UX: Fixed comma-separated taxonomy bulk transforms, skipped empty prices in math_percent/round_ending, caught duplicate-SKU WC_Data_Exception on product creation, unscheduled Action Scheduler actions on cancel, added PHP 8.4-safe fputcsv escape param, fixed Shift+Arrow range anchor drift, formatted Taxonomy/Media cleanly on Ctrl+C, protected Media cells on Ctrl+V, synced InspectorDrawer on record updates, and defined missing --rc-accent-soft / --rc-danger-soft CSS tokens.

DataDeck v1.1.0 — Smart CSV Import, Computed Formulas & Excel Grid

Choose a tag to compare

@duhanguler duhanguler released this 22 Nov 00:47

What's New in DataDeck v1.1.0

Smart CSV / JSON Import Wizard + Dry-Run Diff + One-Click Rollback

  • Upload or paste CSV/JSON spreadsheets with automatic delimiter detection (comma, semicolon, tab) and UTF-8 BOM stripping.
  • Auto-map headers to DataDeck fields and match existing records by ID, SKU, Slug, or Email in a single batch SQL query.
  • Preview exact row-by-row Before → After diffs before applying in safe chunks—with full One-Click Rollback and wp datadeck import WP-CLI support.

Virtual Computed AST Formula Columns (fx)

  • Built-in WooCommerce Discount % and Inventory Value virtual columns plus custom user-defined AST formula columns that evaluate live without writing to the database and auto-hydrate hidden dependencies.

Excel-Grade Grid Ergonomics

  • Corner Fill Handle (.rc-fill-handle) with smart series inference (SKU-001 → SKU-002, arithmetic progressions, repeat fill).
  • Right-Click Context Menu: Filter by this value (=), Exclude this value (!=), Copy cell value, Apply to selected rows, View cell audit history, Duplicate row, Open in Classic Editor.
  • Sticky Aggregation Footer Bar: Real-time SUM, AVG, MIN, MAX, COUNT with zero extra SQL queries.
  • Drag-and-Drop Column Header Reordering directly on the grid.

Safety, Ecosystem & Quality Gates

  • Optimistic Concurrency Guard (_modifiedAt conflict detection with server vs. local diff resolution).
  • Cell-Level Audit History & Single-Cell Rollback directly in the Inspector drawer.
  • WordPress Comments & WooCommerce Reviews entity adapter with inline moderation lenses.
  • SEOPress & All in One SEO (AIOSEO) auto-detection alongside Yoast SEO and Rank Math.
  • PHPStan Level 6 (0 errors) + Frontend Unit Tests enforced in GitHub Actions CI.

Quick Install: Download datadeck.zip below and upload via Plugins → Add New → Upload Plugin.

DataDeck v1.0.0 — Initial Public Release

Choose a tag to compare

@duhanguler duhanguler released this 21 Nov 23:47

DataDeck v1.0.0

100% Free & Open Source (GPLv2+). No Pro Version. No Paywalls. No Dashboard Ads.

Highlights

  • Universal Entity Engine: Posts, Pages, Custom Post Types, Media Library, Users, WooCommerce Products (with inline expandable Variations), and HPOS Orders.
  • Zero-Paywall Integrations: Core, Native Meta, ACF & Secure Custom Fields (SCF), Meta Box, WooCommerce CRUD, Yoast SEO, and Rank Math.
  • Zero-Shift Spreadsheet Grid: Built on WordPress 7.0 --wpds-* design tokens with 0px layout-shift inline cell editing, 3 density modes, Excel/Google Sheets Ctrl+C/Ctrl+V matrix paste, Fill Down (⌘D), and ⌘K Command Palette.
  • Safe AST Bulk Formula Engine (Zero eval()): Dry-Run Before/After diff previews, adaptive chunking, and Scheduled Auto-Reverting Campaigns.
  • Audit History & One-Click Rollback: Compact delta snapshots for every inline edit, paste, and bulk batch.
  • Performance Verified: 0 B frontend footprint · 25.4 KB gzip initial bundle · 6–8 SQL queries/page · 0 official WordPress Plugin Check (PCP) errors & 0 trademark warnings.

Quick Install

Download datadeck.zip below and upload via WordPress Admin → Plugins → Add New → Upload Plugin, or try live in WordPress Playground.