=== Pawaposta ===
Contributors: engremeka
Tags: ai, openai, content generation, blogging, scheduler
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.8.26
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn topic lists into scheduled AI-generated WordPress drafts with your own OpenAI API key.

== Description ==

Pawaposta helps you generate WordPress posts from topic lists, save them as drafts, and run publishing campaigns on recurring schedules from inside your dashboard.

The free plugin is built for site owners who want a simple bring-your-own-key workflow without relying on a hosted vendor account.

= Free features =

* Bring your own OpenAI API key
* Test your OpenAI connection from the plugin settings page
* Generate Generic Content campaigns from topic lists
* Save generated posts as drafts for review
* Manage campaigns with add, edit, delete, and run-now controls
* Pause and resume campaigns after they begin running
* Use WordPress WP-Cron for basic scheduling
* Preview prompt structure and text output before saving
* Generate featured images with supported OpenAI image models
* Assign WordPress categories, tags, and authors
* Review basic campaign status and recent activity

= External services =

Pawaposta connects to the OpenAI API when you use AI features.

* Service: OpenAI API
* Purpose: test your API connection, generate article drafts, and optionally generate featured images
* Data sent: your saved OpenAI API key, selected model settings, campaign topics, prompt instructions, preview requests, and image prompts
* When data is sent: only when you click Test API Connection, preview content, or run a campaign
* Terms of Use: https://openai.com/policies/terms-of-use/
* Privacy Policy: https://openai.com/policies/privacy-policy/

= Pro add-on =

Pawaposta can show an Upgrade to Pro screen inside the admin area. The free plugin remains fully usable on its own. A separately distributed premium add-on provides web-sourced content, approvals, advanced scheduling controls, and deeper operational automation. Premium code is not included in this plugin.

== Installation ==

1. Upload the `pawaposta` folder to `/wp-content/plugins/`, or install the plugin through the WordPress Plugins screen.
2. Activate Pawaposta through the Plugins screen in WordPress.
3. Open `Pawaposta > General AI Settings`.
4. Add your OpenAI API key and save the settings (Get API Key by visiting https://platform.openai.com/api-keys).
5. Optionally click `Test API Connection` to confirm the saved key works.
6. Open `Pawaposta > Campaign Manager` to create your first campaign.

== Frequently Asked Questions ==

= Do I need my own OpenAI API key? =

Yes. Pawaposta does not provide API credits. You connect your own OpenAI account and key.

= Does the free plugin auto-publish posts? =

No. The free plugin creates drafts for review. Auto-publish is part of the separate Pro add-on.

= What happens when I uninstall the plugin? =

Pawaposta removes its saved settings, campaign records, logs, and cron hooks during uninstall. Posts created on your site are not deleted.

= Is there a Pro add-on? =

Yes. The free plugin can display an Upgrade to Pro screen, but the add-on is separate and not required to use the free feature set.

== Screenshots ==

1. The Campaign Manager dashboard.
2. General AI settings with OpenAI connection controls.
3. The campaign editor with prompt preview and output preview.
4. The Upgrade to Pro screen inside the plugin menu.

== Changelog ==

= 0.8.26 =
* Resolved WordPress Plugin Check security, query-performance, and naming findings.
* Reused bounded campaign activity records for recent-post checks instead of post-meta queries.

= 0.8.25 =
* Kept the free publishing workflow strictly draft-only and moved add-on execution paths out of the free plugin.
* Replaced scheduler transients with atomic, token-owned campaign and dispatcher locks.
* Sanitized preview and campaign request data before it reaches extension filters.

= 0.8.24 =
* Restored the Run Now progress modal layout and responsive dialog styling.
* Improved modal status accessibility and campaign context display.

= 0.8.23 =
* Matched the Pawaposta admin menu icon to native WordPress icon colors in normal, hover, and active states.

= 0.8.22 =
* Fixed the Pawaposta admin menu icon size and color for current WordPress admin styles.
* Updated the tested WordPress version to 7.1.

= 0.8.21 =

* Removed all premium implementations and plan restrictions from the WordPress.org plugin.
* Enabled unrestricted campaign management in the free plugin.
* Added strict allowed-value validation for image settings.
* Updated the Pro integration to use extension hooks supplied by the separate add-on.

= 0.8.20 =

* Prepared the free plugin for WordPress.org submission with WordPress.org-style metadata and documentation.
* Added translation loading, GPL metadata, and a proper uninstall routine.
* Added clear OpenAI external-service disclosure in the admin settings screen and readme.
* Tightened free defaults so advanced scheduler and premium SEO settings no longer default on.

