WP Manifestindependent plugin directory
manifest / developer / tec-ext-et-data-generator

Event Tickets Extension: Test Data Generator WP Registry grade B. Medium-severity findings · 2 findingsWP RegistryMedium-severity findings · 2 findingsOpen the reportB

This extension aims to provide an automated tool to generate high quality, life-like data for the Event Tickets suite of plugins.

★ 0stars
76release downloads
≈10active sites
v1.1.0latest · 3 years ago

Install

Download tec-ext-et-data-generator.1.1.0.zip From the v1.1.0 release on GitHub, Jun 22, 2023

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mt-support/tec-ext-et-data-generator/releases/download/v1.1.0/tec-ext-et-data-generator.1.1.0.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Event Tickets Test Data Generator

This extension aims to provide an automated tool to generate high quality, life-like data for the Event Tickets suite of plugins.

Setting it up

Setting up the extension is simple, just install it and activate it on your WordPress site, alongside Event Tickets (v5.5.10+) and The Events Calendar (v6.0.11+).

You can access all the available features in Tickets > Test Data.

What you can do:

  1. Create Tickets for an existing event: you can automatically generate any specified number of tickets for a specific event ID.
  2. Create Attendees for a specific RSVP: you can automatically generate any specified number of RSVP attendeees for a specific RSVP ticket ID.
  3. Create Attendees for a specific Ticket: you can automatically generate any specified number of Ticket attendeees for a specific Ticket ID.
PLEASE NOTE that the amount of RSVPs, Tickets and Attendees you can create might be limited by your site's server setup (Available memory, timeout, processing power, etc.)

WP-CLI Support

Example:

wp et-test-data rsvps generate 5 --eventid=95
wp et-test-data rsvps generate 7 --eventid=99 --capacity=50
wp et-test-data rsvps generate 2 --eventid=86 --capacity=20 --stock=10
wp et-test-data rsvps generate 1 --eventid=72 --unlimitedcapacity
wp et-test-data tickets generate 4 --eventid=104
wp et-test-data tickets generate 7 --eventid=42 --capacity=25 --stock=5
wp et-test-data tickets generate 23 --eventid=80 --capacity=50 --sharedcapacity
wp et-test-data attendees generate 10 --ticket-id=88

The commands above will:

  • (1) Generate 5 RSVPs for Event ID 95 (Capacity assigned randomly).
  • (2) Generate 7 RSVPs for Event ID 99, each RSVP with a capacity of 50.
  • (3) Generate 2 RSVPs for Event ID 86, each RSVP with a capacity of 20 and a stock of 10.
  • (4) Generate 1 RSVP for Event ID 72, with unlimited capacity.
  • (5) Generate 4 Tickets for Event ID 104 (Capacity assigned randomly).
  • (6) Generate 7 Tickets for Event ID 42, each Ticket with a capacity of 25 and a stock of 5.
  • (7) Generate 23 Tickets for Event ID 80, each Ticket with Shared capacity of 50 across tickets.
  • (8) Generate 10 Attendees for Ticket ID 88.

To specify a value for each available option via the built-in prompt, use:

wp et-test-data tickets generate --prompt 

For a full list of supported capabilities, check out src/Tribe/Cli/Command.php

Releases

2 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.1.0 latest
Jun 22, 2023 3 years ago
tec-ext-et-data-generator.1.1.0.zip
63
Apr 11, 2023 3 years ago
tec-ext-et-data-generator-v1.0.0.zip
13

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

B grade

Security

Event Tickets Extension: Test Data Generator 1.1.0 · audited by WP Registry

Medium-severity findings.

2 medium
Audited release
1.1.0
Findings
2
Worst severity
medium
Content hash
ac03f750193d11ce759e4c27…

Findings

  • medium Test Data Generator reachable by edit_posts (Authors+) without manage_options

    missing_capability

    The Test Data submenu is registered with capability edit_posts and parse_request() only verifies a nonce before calling Generator\RSVP|Ticket|Attendee::create(). Any Author/Editor who can access Tickets admin can mass-create tickets (including unlimited capacity) and attendees on live events.

    src/Tribe/Page.php:87-149

    Recommendation

    Require manage_options (or a dedicated capability), and refuse to load generators unless WP_DEBUG/a constant enables the tool.

  • medium QA/test data generator extension intended for production installs

    dev_tool_in_production

    Plugin name and generators exist solely to fabricate Event Tickets commerce data. Shipping it as a normal extension leaves a high-impact write surface on production sites; there is no environment guard preventing use outside staging.

    plugin.php:1-60

    Recommendation

    Gate activation behind a define (e.g. TEC_ENABLE_TEST_DATA_GENERATOR) or document/require removal on production; default capability should be manage_options.

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.