=== MediaTasker ===
Contributors: mediaTaskerPro
Donate link: https://paypal.me/MeisterMeissner
Tags: media, task management, team, gallery
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Media & task management hub for teams and clients.

== Description ==

MediaTasker is a comprehensive media and task management hub designed for teams and clients. It provides a centralized location to manage assets, track tasks, and facilitate communication around media items.

= Key Features =

* Upload images and treat each one as a trackable task with its own status, comments and history.
* Status workflow for every task — pending, in progress, downloaded, not yet downloaded.
* Per-task comment thread so collaborators and clients can discuss each image in context. Comments run through the standard WordPress comment pipeline (Akismet, disallowed-list, Discussion settings).
* Frontend gallery via the `[mediat_gallery]` shortcode — embed the task board on any page for logged-in users.
* Filter the gallery by status (and by tag in the Pro version).
* Bulk operations on selected tasks: change status, delete, or download as a ZIP archive that includes a generated `info.txt` summary.
* Work log that records every status change, comment, upload and deletion with a timestamp.
* Image metadata at a glance: filename, dimensions, file size, upload date.

= Pro Features =

* Powerful tag system for organising and filtering tasks.
* Priority management with sortable priority levels and visual indicators.
* Email notifications for uploads, status changes and comments.
* Role-based access control beyond admin-only.
* Advanced bulk operations.
* Work log PDF exports with filters.
* Priority support.

== Frequently Asked Questions ==

= Does the free version stay free? =

Yes. The free version is fully functional for single-administrator workflows. The Pro upgrade adds team features (role-based access, notifications, tags, priorities, advanced bulk operations and PDF exports).

= How do I display the gallery to my users? =

Place the `[mediat_gallery]` shortcode on any page or post. Logged-in users with the `read` capability will see the gallery and can filter and interact with tasks.

= Does the plugin send any data to a third party? =

Not until you choose to. The plugin uses Freemius for licensing and account services, but until you click "Allow & Continue" on the Freemius opt-in screen the plugin does not contact api.freemius.com at all. Plugin updates in the default (anonymous) state are delivered through WordPress's standard update mechanism (wordpress.org), same as any other plugin hosted on WordPress.org. See the "External services" section below for the full disclosure.

= What happens to my data if I uninstall the plugin? =

When you delete the plugin from the Plugins screen, MediaTasker drops its custom `{prefix}mediat_work_logs` table and removes the `mediat_options` option. Tasks (stored as a custom post type) and their attached images remain in your media library — delete them manually first if you want them gone.

= Who can post comments on a task? =

Any logged-in user with the `read` capability can comment through the frontend gallery. Comments go through WordPress's standard comment pipeline (including Akismet if installed) and respect your Discussion settings, so they can be held for moderation if your site is configured that way.

= Does it work on multisite? =

The plugin activates per site. Network activation is not currently supported.

== Screenshots ==

1. Frontend gallery rendered by the `[mediat_gallery]` shortcode, showing tasks grouped by status.
2. Task details lightbox with image metadata and the comment thread.
3. Bulk operations toolbar — change status, delete, or download selected tasks as a ZIP.
4. MediaTasker admin overview page.
5. Work log entries with timestamps and action types.

== External services ==

This plugin uses Freemius, operated by Freemius, Inc., for plugin update delivery and — only after the user explicitly opts in — account, licensing and usage services. Until opt-in, the plugin does not contact api.freemius.com. Each interaction is described below with the trigger that causes it.

1. Default state — no opt-in, or the user clicked "Skip". The plugin does NOT contact api.freemius.com. Plugin update checks go through WordPress's standard update mechanism (wordpress.org). No site URL, plugin version, email, or any other data is sent to Freemius in this state.

2. Opt-in (only when the user clicks "Allow & Continue" on the Freemius opt-in screen). At that moment, and on a daily cron afterwards while opt-in remains active, the plugin sends to api.freemius.com: the administrator's name, email address, website URL, WordPress and PHP versions, the active theme slug, the active plugins list, and the plugin's own version and activation state. Freemius uses this to provide account services, license delivery, and update notifications. The user can opt out from the plugin settings at any time, which stops further requests.

3. License activation and validation (only relevant on installs that activate a paid license). When the user enters a license key, the plugin sends the key, the site URL and the WordPress version to api.freemius.com to validate the license, and re-validates periodically while the license is active. The free build submitted here does not collect license keys.

4. Uninstall feedback (optional dialog). When the plugin is deleted, Freemius shows an optional feedback dialog. If the user picks a reason and submits it, the chosen reason code and any free-text feedback is sent to api.freemius.com. Anonymous users send only an anonymous installation ID alongside the reason — no name, email, or site URL. Opted-in users additionally include the install identifier so the install can be marked removed. Users who close the dialog send nothing.

5. Support requests. If the user submits a support message through the plugin UI, the message body and the user's contact details are sent to api.freemius.com so the support team can reply. This only runs when the user actively submits a request.

Service provider: Freemius, Inc. — [Terms of Service](https://freemius.com/terms/), [Privacy Policy](https://freemius.com/privacy/).

== Installation ==

1. Upload the `mediatasker` folder to the `/wp-content/plugins/` directory, or install through the WordPress Plugins screen.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Add the `[mediat_gallery]` shortcode to any page or post to display the task board to logged-in users.

== Upgrade Notice ==

= 1.0.1 =
Internal build-script change only. No database, options or hook changes — safe to update with no action required.

= 1.0.0 =
Initial release.

== Changelog ==

 = 1.0.1 =
 * Internal build script: renamed inconsistent prefixes to match the `mediat_` namespace.
 * No database schema changes, no saved options renamed, no public hook names changed. No action required when upgrading.
 * Updated readme.txt to include faq, key features, screenshots and correct external services disclosure.

 = 1.0.0 =
 * Initial release.
