=== Tickera - CSV Export Add-on ===
Contributors: tickera, freemius
Requires at least: 4.1
Tested up to: 6.8.1
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

CSV Data Export add-on is a user-friendly exporter which will export Attendee List with a minimum of hassle.

== Description ==

CSV Data Export add-on is a user-friendly exporter which will export Attendee List with a minimum of hassle.

It allows you to use the list for external accounting system or other third party systems. The add-on will simplified the data transfer to other systems by providing a data exporter that outputs CSV formatted files.
csv-option-screen


== Changelog ==

= 1.3.2 14/07/2025 =
* Sanitize the Document Title by removing commas (,) to prevent filename-related errors during file generation.
* Patches for Woocommerce High-Performance Order Storage compatibility.

= 1.3.1 24/04/2025 =
* Unable to export csv, call to undefined function set_time_limit(). [Fixed]
* PHP compliance for Deprecated fputcsv(), required $escape parameter.

= 1.3.0 12/02/2025 =
* Persistent "all" value in Events and Ticket Types filters. [Fixed]
* Unable to export API Keys. [Fixed]
* Ability to skip cart_item validation loop via "tc_skip_cart_item_loop" filter hook. This is to help establish compatibility across other plugins that recreates the default Woocommerce cart_item object.
* Additional "Order Notes" column
* Additional "Ticket Download Url" column
* Ability filter multiple order statuses.
* Woocommerce High-Performance Order Storage compatibility.

= 1.2.9 03/09/2024 =
* Tickera 3.5.3.6 compatibility.
* Export process stuck on some point. Issue intermittently occurs whenever either of the ticket total columns (e.g Ticket Tax, Ticket Total, etc) is selected. [Fixed]
* Load plugin dependencies first.

= 1.2.8.6 08/11/2024 =
* Load plugin dependencies first.

= 1.2.8.5 =
* Populate all ticket types in the select filter regardless the configured visibility and status.

= 1.2.8.4 =
* Event Filter not working. [Fixed]
* Additional Event Name column.

= 1.2.8.3 =
* Multiple select events and ticket types filter.

= 1.2.8.2 =
- Clearing out PHP8.2 deprecated errors.

= 1.2.8.1 =
- Additional "tc_csv_export_filtered_ticket_type_ids" filter hook.

= 1.2.8.0 =
- Checked-in column returns "Yes" regardless the checkin status. [Fixed]

= 1.2.7.0 =
- Set error_reporting with E_ALL level if TC_DEBUG is defined. Otherwise, error_reporting inherit the default level.

= 1.2.6.9 =
- Additional "tc_export_skip_ticket_type_filter" filter hook.

= 1.2.6.8 =
- Tested up to: WordPress 6.1.1
- Fixed licensing issue

= 1.2.6.7 =
- Ticket Type title prints encoded html (e.g dash(-) &#8211;). [Fixed]

= 1.2.6.6 =
- Additional "tc_export_csv_enable_string_enclosures" filter which allows developers to disable string enclosure in exported csv (default: double quotes). Parameters #1: Boolean, Return: Boolean

= 1.2.6.5 =
- Clearing "MySQL Server Has Gone Away" error on some sites specific configuration. [Fixed]
- Revert "Order Total" computation to base from the actual Woocommerce order total value. Discrepancy occurred when using third party add-on that recalculates the total values.
- Additional "Ticket Discount" field for Bridge for Woocommerce v1.3.3.

= 1.2.6.4 =
- Total (Shown Once) of an order is being generated multiple times. [Fixed]
- Missing ticket instances' item_id meta interrupts the export process, resulting to unsuccessful csv export. [Fixed]

= 1.2.6.3 =
- Clear Session data after a successful export process.
- Additional "Check-outs" field
- Empty csv file if API Key field is selected. [Fixed]
- Calculate "Order Total" base from the selected Event. Exclude items that are not related to the selected event.
- Additional "Ticket Subtotal", "Ticket Tax" and "Ticket Total" fields for Bridge for Woocommerce v1.3.2.
- Missing order meta interrupts the export process, resulting to unsuccessful csv export. [Fixed]

= 1.2.6.2 =
- Selecting the checked-in and check-ins columns makes the export button occasionally unresponsive. [Fixed]
- Include all attendees tickets ( that are currently associated to "Private" products/ticket types ) in the export process.
- Changed "From" and "To" date selector labels

= 1.2.6.1 =
- Admin area redesign

= 1.2.6.0 =
- Additional Columns for individual tickets/owners total values
- Added minimum requirement of Tickera version

= 1.2.5.9 =
- Bug fixed: Progress bar not working properly during export csv.
- Bug fixed: Ticket Type field reverting back to "all" after selecting a specific Ticket Type

= 1.2.5.8 =
- Bug fixed: Ticket Type field discrepancy on page load
- Bug fixed: Intermittent undefined session during ajax call, resulting to csv export errors.

= 1.2.5.7 =
- Bug fixed: Missing ticket type when event field is being updated
- Bug fixed: Ticket type field not showing when it exceeds 10 items
- Fixed issue when add-on is activated on multisite

= 1.2.5.6 =
- Additional order status (Refunded) in filter
- Bug Fixed: Unable to export csv file for some sites
- Bug fixed: Missing options in Ticket Type Filters
- Better license update / license check handling

= 1.2.5.5 - 07/04/2020 =
- Added api key in csv export feature
- Added ticket type in csv export feature
- Added csv export from-to date
- Added keep selection of the exporting fields in csv export feature
- Added woocommerce's discount code export with bridge for woocommerce
- Move csv export into main menu
- Added export price in csv export feature
- Remember export fields in csv export addon

= 1.2.5.4 =
- Fixed issue with order date format and timezones

= 1.2.5.3 =
- Small performance improvements

= 1.2.5.2 =
- Fixed issue with Multisite site wide activation
- Added improved plugin update option
- Added compatibility with Tickera 3.4

= 1.2.5.1 - 03/12/2018 =
- Fixed order total (shown once) for WooCommerce
- Added hooks for developers

= 1.2.5.0 - 15/10/2018 =
- Added hooks for developers
- Added better debug mode (when TC_DEBUG is on)

= 1.2.4.9 - 12/09/2018 =
- Added new admin styling to support latest Custom Forms add-on changes
- Added event date indication in the select box

= 1.2.4.8 - 29/AVG/2018 =
- Added more hooks for developers
- Add-on DOM update

= 1.2.4.7 - 18/JULY/2018 =
- Updated language file

= 1.2.4.6 - 05/JULY/2018 =
- Fixed issue with date time zones
- Added select all option
- Added more parameters for ticket type

= 1.2.4.5 - 21/NOV/2017 =
- WordPress 4.9 Compatibility

= 1.2.4.4 - 02/SEP/2017 =
- Added Order Total that is shown only once in the column
- Additional argument added to the query

= 1.2.4.3 - 06/JUN/2017 =
- Added translation files

= 1.2.4.2 - 27/APR/2017 =
- Added API Key name information for checkins column

= 1.2.4.1 - 13/MAR/2017 =
- Fixed issue with "checked-in" column

= 1.2.4 - 19/JAN/2017 =
- Performance improvements

= 1.2.3.9 - 29/NOV/2016 =
- Added Ticket ID

= 1.2.3.8 - 21/APR/2016 =
- Added list of check-ins to the CSV Export

= 1.2.3.7 - 04/APR/2016 =
- Added additional columns (attendee first name, attendee last name, buyer first name and buyer last name)
- Added plugin updater support for new licensing server

= 1.2.3.6 - 16/MAR/2016 =
- Fixed issue with WooCommerce variations when Bridge for WooCommerce add-on is active
- Added support for PHP 7

= 1.2.3.5 - 23/FEB/2016 =
- Fixed possible issues with plugins and/or themes which modify admin_url via filters

= 1.2.3.4 - 06/JAN/2016 =
- Added owner email column

= 1.2.3.3 - 23/NOV/2015 =
- Added automatic updater

= 1.2.3.2 - 06/NOV/2015 =
- Added order total column

= 1.2.3.1 - 05/NOV/2015 =
- Added additional hooks for developers
- Fixes issues with export when notice in the WP occurs

= 1.2.3 - 17/SEP/2015 =
- Added additional columns for the export (Order Number, Payment Gateway, Discount Code, Checked-in)

= 1.2.2 - 09/SEP/2015 =
- Added ajax export functionality to avoid various server issues, memory leaks and limited execution time on some servers
