=== Almighty Support  ===
Contributors: JaworskiMatt, rsusanto, justmatt
Plugin Name: Almighty Support
Tags: support, tickets, customer care
Requires PHP: 7.4
Requires at least: 6.0
Tested up to: 6.4
Stable tag: 1.2.0
License: GPLv2 or later

TBD
== Description ==
TBD

== Changelog ==


= 1.3.4 =
* Feb 27, 2023
* IMP • Private Note: indicate whether content was added without the need to open the Note
* IMP • On Behalf: "create accounts" setting should never be higher than the main roles selector
* IMP • WordPress "displayname" handling
* IMP • Session timeouts in REST API calls
* IMP • General UI/UX & language improvements
* FIX • EDD: Client Ticket list not working properly when opening from the EDD backend link

= 1.3.3 =
* Feb 14, 2023
* NEW • Button to easily trash a Ticket
* NEW • Button to easily empty trash
* NEW • Cron job to empty trash automatically
* NEW • Forgot password link on login screen
* IMP • Better handling of trashed Tickets count and trashed tab visibility
* IMP • Replace all pop-up alerts with a custom pop-up
* IMP • Custom pop-up now has a contrast background
* IMP • Clicking anywhere outside a custom pop-up is considered a "cancel" action

= 1.3.2 =
* Feb 5, 2023
* NEW • On Behalf: option to create a client account if an email is searched and not found
* NEW • On Behalf: the entire feature can now be disabled globally or limited to specific Almighty Support roles
* NEW • On Behalf: client creation can now be disabled globally or limited to specific Almighty Support roles
* IMP • On Behalf: tickets created by Staff now display the opening Agent name
* IMP • On Behalf: better rendering of search results
* IMP • Deactivate "submit" button if  "new ticket" form is not complete
* IMP • LoginPress compatibility


= 1.3.1 =
* Jan 23, 2023
* NEW • Agents now have the ability to open tickets "on behalf" of existing clients

= 1.3.0 =
* Jan 22, 2023
* NEW • Login with username
* NEW • Agent-only department
* IMP • Private not now expands when anywhere in the top bar is clicked
* IMP • Missing translation strings
* IMP • PHP 8.3 compatibility
* IMP • Hide Private Notes configuration if the master switch is disabled
* FIX • Prevent previous ticket from displaying for a split second when loading a new one
* FIX • Replying to a new, unassigned ticket does not trigger client notification
* FIX • "Clear" button out of position when private note contains long lines with no spaces

= 1.2.0 =
* Nov 21, 2023
* NEW • WooCommerce profile integration: show client's own tickets in their Woo profile
* NEW • WooCommerce ticket integration: show client's purchases to agents in ticket view
* IMP • Private note is now collapsed by default
* IMP • Private note colors are now more neutral
* IMP • Private note now handles long links better
* IMP • Private note now has a "clear" button
* IMP • Add "are you sure" check when changing ticket status to "closed"
* IMP • Better validation logic when adding agents
* FIX • Signature duplicates itself when changing assignee and replying


= 1.1.0 =
* Oct 25, 2023
* NEW • Private Client Note - a Ticket field for sensitive information such as passwords that gets deleted after the ticket is closed.
* NEW • Staff Notes - Staff members can now leave notes on Clients and Tickets, visible only to Staff.
* IMP • Reply notification emails now expand the thread and scroll directly to a specific message
* IMP • Shortcut icon for plugin configuration for site administrators
* FIX • Block preview in block editor

= 1.0.6 =
* Oct 3, 2023
* NEW • Loading indicator for ticket replies
* IMP • Departments can now be reordered
* IMP • Add ticket number to title, browser tab title, and sidebar ticket list
* IMP • If an agent replies to an unassigned ticket, assign it to them
* IMP • Update the browser tab title while/after adding a new ticket

= 1.0.5 =
* Sep 21, 2023
* NEW • Agent Signatures
* NEW • Email notifications now contain a list of attachments added to a ticket/reply
* NEW • The browser tab title now reflects the view (ticket list name or ticket title)
* NEW • Email Piping: ability to pick a default department for new tickets imported from email
* IMP • "All Open" is now sorted by status by default
* IMP • Ticket sidebar: added shortcuts to Client's Tickets
* IMP • Ticket sidebar: improved sorting of recent Tickets
* IMP • Text formatting and email import improvements
* IMP • Relative dates under one hour are now rounded to five minute increments
* IMP • Added tooltips with absolute dates
* IMP • Configuration: added a warning about unsaved changes when navigating away from a config tab
* FIX • EDD: & symbol renders wrong in product names

= 1.0.4 =
* Sep 12, 2023
* NEW • Improved rich text (HTML) handling and autolinking
* NEW • Client data section is now a link to wp-admin user editor
* NEW • Added a "Client Tickets" link to wp-admin EDD user area
* NEW • Added a "load all and jump to bottom" button to help load tickets with many replies
* IMP • Email Piping: removed preferred format setting (HTML/text). Instead HTML is prioritized automatically.
* IMP • Linebreak / whitespace handling on copy-paste from MS Word / Apple Pages & importing HTML from emails
* IMP • Use "last reply" timestamp instead of "last update"
* IMP • Max message length should not be less than 100 characters
* IMP • New ticket "last reply" should default to the Client/author
* IMP • Ensure custom roles have customer-level access to tickets
* IMP • Email Piping: make sure all config is saved when "check" is clicked
* FIX • EDD: if the Client has no EDD profile, do not show the EDD link
* FIX • Wrong colspan in "no tickets" template

= 1.0.3 =
* Sep 1, 2023
* NEW • Request user confirmation before closing/reopening a ticket
* NEW • Request user confirmation before navigating away from unsaved reply
* IMP • More intuitive cancel/submit button positions
* IMP • Better sorting of all Client tickets in the sidebar
* IMP • Exclude managers and agents from attachment size/count limits
* IMP • Unify email notifications templates
* IMP • EDD - add links to URLs assigned to Licenses
* IMP • EDD - better total calculations
* IMP • EDD - add a link to EDD profile from ticket view
* FIX • Attachment button interferes with reply button in Safari
* FIX • Reopened ticket must be "pending" if last reply was by Client and "answered" if last reply was by agent

= 1.0.2 =
* Aug 24, 2023
* NEW • Warn user before navigating away from unsaved changes
* IMP • Middle-click and right-click shoukd work on all UI elements to open things in new tabs
* IMP • More informative "auto-close" cron configuration label
* IMP • Links in ticket body should always open in new tab
* IMP • Ticket status should stay "new" if Client replies and there are no agent replies
* IMP • Ensure auto-close mechanic applies to tickets set manually to "answered" state
* IMP • Separate purchases from licenses in the EDD box
* FIX • Automatic updates

= 1.0.1 =
* Aug 17, 2023
* IMP • Add Client-facing feedback about allowed attachment sizes and types
* IMP • Allow setting admins as default assignees for departments
* IMP • "Mine" agent view should show all tickets that are not trashed or closed
* IMP • Link highlighting
* IMP • Display emails when searching for users in agent management screen
* IMP • Track timestamps of last reply (Agent & Client) for future sorting implementation
* IMP • Better feedback when setting up IMAP connection in email piping
* FIX • Ticket status should auto-change only on reply, not any other action
* FIX • Changing departments should not reassign tickets if the existing assignee has access to the new department
* FIX • Attachment button disappears after visiting a closed ticket


= 1.0.0 =
* Aug 14, 2023
* NEW • Hello World!


== Screenshots ==
1. TBD
2. TBD