=== WBugBoard ===
Tags: issue tracking, support tickets, customer service, project management, WordPress
Requires at least: 6.2
Tested up to: 6.7
Stable tag: 1.0.1
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A professional issue tracking plugin for WordPress to manage and prioritize customer support tickets.

== Description ==

**WBugBoard** is a robust and user-friendly issue tracking and support ticket plugin designed for WordPress. It allows you to create, manage, and prioritize tickets directly in your WordPress dashboard, ideal for customer support or project management.

✨ = Key Features =
* **Ticket Management**: Easily create, update, and manage support tickets with titles, descriptions, and priority levels.
* **Priority Levels**: Set customizable ticket priorities (e.g., Low, Medium, High).
* **User Access Control**: Manage permissions for different user roles.
* **Email Notifications** 📧: Send customizable notifications to admins and users when tickets are created or updated.
* **Comment System** 💬: Facilitate ticket discussions through a built-in commenting system.

== WBugBoard PRO (Coming Soon) ==

🚀 **Introducing WBugBoard PRO**  
The advanced version of WBugBoard is coming soon! Take your support and issue tracking to the next level with these exclusive features:

* **CSV/PDF Export System** 📁: Export your tickets and reports in CSV or PDF format for easier sharing and record-keeping.
* **Advanced Search and Filters** 🔍: Quickly find tickets using multiple criteria, such as status, priority, and creation date.
* **Backend Ticket Creation** 📝: Create and manage tickets directly from the WordPress backend for enhanced admin control.
* **Mobile and Tablet Optimization** 📱: Fully responsive design with mobile and tablet-friendly ticket management.
* **Resolution Time Tracker** ⏱️:  
  - View the total resolution time for all tickets.  
  - See the average resolution time per ticket.  
  - Monitor live resolution time with a dynamic stopwatch for tickets in progress.  
* **Deleted Tickets Management** 🗂️:  
  - **Archive Deleted Tickets**: Automatically archive tickets deleted by the client for record-keeping.  
  - **Visibility Control**: Toggle the visibility of deleted tickets directly in the dashboard.  
* **File Attachments** 📎: Attach files to tickets for better communication and problem resolution.  

Stay tuned for the release of WBugBoard PRO!

== Installation ==

1. 📂 Upload the `wbugboard` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress plugins screen.
2. 🔌 Activate the plugin through the 'Plugins' menu in WordPress.
3. ⚙️ Go to **Settings > WBugBoard** to configure your settings, priorities, and email notifications.

== Frequently Asked Questions ==

= ❓ How do I set up email notifications? =
Navigate to **Settings > WBugBoard > Email Notifications** to enable notifications for admins and users. You can also customize the subject and message content of these notifications.

= 🔒 Can I restrict ticket management to certain user roles? =
Yes. Go to **Settings > WBugBoard > User Roles** to define which roles have access to ticket management functionalities.

= 🔧 How do I add custom priority levels? =
Go to **Settings > WBugBoard > Priorities** to add, edit, or delete priority levels.

= 📎 What types of files can users upload? =
Only JPEG, PNG, and PDF file types are allowed for upload. Files are sanitized and stored in a custom directory for security.

== Screenshots ==

1. ⚙️ **Settings Screen** - Configure plugin settings, email notifications, and role access.
2. 📝 **Ticket List** - View all tickets, with indicators for priority and status.
3. 🔍 **Ticket Details** - Detailed view of each ticket, including comments and attachments.
4. 📊 **Priorities Management** - Manage ticket priority levels.

== Changelog ==

= 1.0.1 =
* Fix: Minor bug fixes and performance improvements.

= 1.0.0 =
* 🎉 Initial release with ticket management, priority levels, email notifications, and role-based access control.


== Custom Upload Directory ==

Uploaded files are stored in `/wp-content/uploads/wbugboard/`. This directory is automatically created on plugin activation and deleted upon plugin deactivation.

== Support ==

For support, please use the [Support Forum](https://wordpress.org/support/plugin/wbugboard) or contact us at contact@melioze.com.

== License ==

WBugBoard is licensed under the GPLv2 or later. For more information, see [https://www.gnu.org/licenses/gpl-2.0.html](https://www.gnu.org/licenses/gpl-2.0.html).

== Contributing ==

If you would like to contribute to the development of WBugBoard, please visit our [GitHub repository](https://github.com/mizou1255) and submit a pull request.

== Credits ==

* **Author:** Moez BETTOUMI
* **Website:** [https://moezbettoumi.fr](https://moezbettoumi.fr)
* **Donate:** [https://buymeacoffee.com/mizou1253](https://buymeacoffee.com/mizou1253)
