Changelog for 2.21

Fixes:

- Fixed Preferences / Tools page loading in back-end on Internet Explorer.

Changelog for 2.2

Fixes:

- Fixed email sending error in cron.php
- Default cron SK changed to "19117L9o70uH7r_0L". You can still change this in di-aiosc.php file to a custom string.

Changelog for 2.1.9

Fixes:

- Fixed operator search function
- Improved compatibility with WooCommerce.

Updated:

- Added filters for front-end links.

Changelog for 2.1.8

New:

- Moved "uploads" directory to "wp-content/uploads/aiosc". See "How to update - READ ME!.txt" to see how to move old upload folder to new place.


Fixes:

- Resolved conflict with outdated WooCommerce jQuery.Select2 plugin. Front-end pages must be enabled and properly selected in AIOSC Preferences.
- Fixed issue with bulk user role update

Changelog for 2.1.7

Update:

- Fixed issue with email templates (html templates were displaying in 1 line, ignoring initial formatting)
- Fixed issue with e-mail piping (script was not decoding 'quote-printable' mails properly) 

Changelog for 2.1.6

Update:

- Fixed User column display

Changelog for 2.1.5

Update:

- Fixed ticket count for operators.

Changelog for 2.1.4

Update:

- Added support for BuddyPress user registration

Changelog for 2.1.3

Fixes:

- Fixed compatibility with WooCommerce

Changelog for 2.1.2

Fixes:

- Fixed the issue when "Edit Reply" form wouldn't open if TinyMCE editor was set to "Text" previously.

Updates:
- Minor front-end template updates (both .php and .css)
- Better user selection field in ticket list filters, ticket creation and ticket editing based on Select2 jQuery plugin.

New:
- Added new post-installer for websites with over 300 registered users (at the time of activating the plugin).

Changelog for 2.1.1

Fixes:

- User's public tickets were not showing in "My Tickets".

Changelog for 2.1.0

Fixes:

- Front-end replies were not loading via ajax due to undefined variable.
- New template files for ticket list. Public tickets make more sense now.

Updates:

- When pressing RETURN key in TinyMCE editor, it will act as a line break instead of new paragraph (except for E-mail Templates editor).

Changelog for 2.0.5

Fixes:

- E-mail template tags fix - {%operator%} tags were always refering to original ticket operator instead of the one sending notifications.
- Fixed SQL queries for counting tickets when logged in as Operator.

Changelog for 2.0.4

Fixes:

- CRITICAL: Users were able to see other tickets using built-in search form.

Changelog for 2.0.3

Fixes:

- CRITICAL: When deleting tickets, there was a chance that wrong replies (from other tickets) would be deleted.

Changelog for 2.0.2

Updates:

# Added new filters in aiosc_TicketManager::ticket_update() for pre-filtering subject / content & other params.

Fixes:

- Fixed Last Update sorting in ticket list
- Fixed general sorting issues in ticket list (front-end)
- Cron table creation query is fixed.
- "Re-Open ticket" button in front-end template was visible only to staff members. It is now visible to customer as well.
- Fixed "Post reply" button. It was missing if "Allow Attachments" option was disabled.
- Single-reply template (shortcodes/single/reply/single.php) was loading only from plugin directory, even if you had it in theme's directory.

Changelog for 2.0.1

Fixes:

- Fixed the issue with changing ticket author, all replies were assigned to new author, including staff replies.
- "Re-Open ticket" button in front-end template was visible only to staff members. It is now visible to customer as well.
- Fixed "Post reply" button. It was missing if "Allow Attachments" option was disabled.

Changelog for 2.0.0

New:

* E-Mail piping feature now accepts ticket creation via e-mail, but only from registered user e-mails.
* "Awaiting staff reply" filter is added and you can use it to display tickets where last reply was posted by customer.
* "Requested closure" filter is added and you can use it to display tickets where customers requested closure.
* Tags are shown under each ticket in ticket list and you can modify this in Screen Options. (Attachments, Awaiting staff reply, Requested closure)
* You may choose not to send e-mail notification for ticket closure to customer directly from Ticket Closure form.
* Customers are able to re-open tickets, if Allow Re-Opening option is enabled in Preferences.
* Configurable CRON for Auto-closing tickets.
* 2 new e-mail templates for CRON tasks.

Updates:

# Documentation updated.
# Minor GUI update in backend.
# Reply box on Single Ticket preview page is hidden by default for easier reading except on tickets with "Awaiting reply" tag.
# Search is improved, it now searches for terms in replies as well.
# Added new content tags for use in e-mail templates:
    Dynamic URL - (ticket.dynamic_url) URL will change accordingly to whether ticket / reply was posted from front-end or back-end. Works only for customer-side creation & reply e-mail templates.
    Scheduled Closure (Day / Date / Date & Time) - (ticket.scheduled_closure.day / date / datetime) how many days are left until automated closure (if cron is enabled)
# Changed template structure for both back-end & front-end. Read documentation for more info.
# Changed Add-Ons structure (hooks & filters).
# Updated [aiosc_ticket_list] shortcode. Read documentation for more info.

Fixes:

- Fixed "Last Update" column, now it's updated regularly whenever someone replies to ticket.
- Fixed aiosc_Capabilities::role_has_cap() function, now it returns correct result.
- Fixed javascript issue when you try to insert pre-made response while TinyMCE editor is in Text mode.
- Fixed javascript issue where new reply was not shown in the list of replies in front-end.

Changelog for 1.0.9

New:

* Ticket count next to each user in the "User" list. If count is more than 0, link will be shown and once clicked, page with all user's tickets will be displayed.
* Added new capability to Supervisor and Moderator role: create_tickets. It is used to check if role can create tickets for other users (set Author on ticket creation).
* Added new field "Author" when creating new ticket and editing existing.
* Added new field in "My Account" called "Hide Create New page", only available to staff members. If checked, you will not see "Create New" item in the main menu.
* New hooks:
  1) aiosc_ticket_removed
  2) aiosc_reply_removed
  3) aiosc_attachment_removed
* Added "last_update" DATETIME field in AIOSC_TICKETS table which is updated whenever ticket is updated.
* Back-end ticket preview has got responsive design for smaller screens and template file is updated as well.

Updates:

# Updated Plugin URI

Fixes:

- Custom AIOSC roles were not updating on user update event.
- On some installations, "Support Center" menu item was leading to non-existing URL. This is fixed now.

Changelog for 1.0.81

New:

*

Updates:

# When updating ticket, there's no need for reinitializing whole ticket again. Variables are updated on-the-go.

Fixes:

- Fixed critical error when admin was not getting AIOSC Supervisor role on plugin activation so he could not access AIOSC at all.

Changelog for 1.0.8

New:

*

Updates:

#

Fixes:

- Fixed conflict between bbPress and other plugins that use wp_get_current_user.

Changelog for 1.0.7

Changelog for AIOSC 1.0.7

New:

*

Updates:

#

Fixes:

- Fixed "class 'aiosc_Pages' does not have a method 'admin_page_sc_main'" PHP error.

Changelog for 1.0.6

Changelog for AIOSC 1.0.6

New:

*

Updates:

#

Fixes:

- Fixed shortcode issue. You could not put any content ABOVE shortcode before, now you can.

Changelog for 1.0.5

Changelog for AIOSC 1.0.5

New:

*

Updates:

# Added new info about Add-Ons, such as check if add-on is compatible with current AIOSC version and if it is already installed.

Fixes:

- Fixed table display in "My Tickets".

Changelog for 1.0.4

Changelog for AIOSC 1.0.4

New:

*

Updates:

# Added jquery.browser.js jQuery plugin for those who use jQuery 1.9+

Fixes:

- Fixed javascript issue in Firefox (tab switching did not work because of known Firefox bug)
- Fixed uploader when RTL is enabled

Changelog for 1.0.3

Changelog for AIOSC 1.0.3

New:

* Added new hooks related to Ticket Preview templates.
* Add Mass-Notifications, operators can receive e-mail notifications related to any ticket from any department they are connected to,
  regardless if they are assigned to ticket or not. This option can be enabled / disabled in "My Account" page.

Updates:

# Updated Ticket meta filters.
# Updated META behaviour on tickets, replies, departments and priorities.

Fixes:

- Fixed default settings filter.
- Changed the order of fields in ticket creation form for both front-end and back-end. Custom fields are displayed just over "Attachments".
- Fixed "Loading screen..." on My Tickets page (issue was present in Firefox).
- Fixed issue when Operators could not reply to tickets from their department (they only could if tickets were assigned directly to them).
- Reset uploader and remove attachments from control when ticket and reply is posted.
- Every AIOSC role stays the same after plugin re-activation but Supervisor role. Every time you now re-activate AIOSC, all your admin
  accounts will get Supervisor role.

Changelog for 1.0.2

Changelog for AIOSC 1.0.2

New in 1.0.2

* Added new filter in settings

Fixes:

- Fixed critical Javascript errors in front-end
- Fixed filters in priority class
- Fixed settings where you lose them if you re-activate plugin. Now they stay saved.

Changelog for 1.0.1

Changelog for AIOSC 1.0.1

New in 1.0.1:

* Added META for departments and hooks
* Added META for replies and hooks
* Added META for priorities and hooks

- Added more AIOSC hooks and filters

Fixes:

- Fixed Download links for files attached to replies.
- Fixed closure note content (displaying and using default string if operator left empty note)
- Fixed piper.php
- Fixed User Update hooks
- Fixed "//silence is golden" in auto-created index.php files