=== Plugopolis Shipping Center ===
Contributors: plugopolis
Tags: woocommerce, shipping, shippo, tracking, labels
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.3.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Streamline your shipping workflow with Shippo integration, label creation, and tracking management.

== Description ==

Plugopolis Shipping Center provides a complete shipping management solution with direct Shippo API integration:

* Create shipping labels directly from orders
* Real-time shipping rates from major carriers
* Automatic tracking number detection
* Multiple tracking numbers per order
* Email notifications with tracking info
* Support for major carriers (USPS, UPS, FedEx, DHL, OnTrac)
* Secure API key encryption (AES-256-CBC)
* Compatible with WooCommerce High-Performance Order Storage (HPOS)

**Pro Features (available separately):**

* Automated label generation workflows
* Bulk label creation
* Advanced tracking dashboard
* Custom email templates with tracking links
* Package template management

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/plugopolis-shipping-center`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to Shipping Center > Settings to configure your options
4. Enter your Shippo API key to enable label creation

== Frequently Asked Questions ==

= Do I need a Shippo account? =

Yes. You'll need a free Shippo API account to use label creation and live rates. Sign up at [goshippo.com](https://goshippo.com).

= Is my API key stored securely? =

Yes. All API keys are encrypted using AES-256-CBC before being stored in the database. Keys are never displayed in full after saving.

= Does this work with WooCommerce HPOS? =

Yes. The plugin is fully compatible with WooCommerce High-Performance Order Storage (Custom Order Tables).

== Changelog ==

= 2.3.1 =
* Fixed: Mismatches in stable tag version and deployment configurations

= 2.3.0 =
* Improved: Admin settings page layout and design compatibility
* Improved: JavaScript interactions and validation in the shipping dashboard
* Improved: Card layout styling and asset management
* Fixed: Minor style refinements for metaboxes and fields

= 2.2.0 =
* Major: Complete prefix renaming from `wc` to `plugopolis` across all PHP, JS, and CSS files (28 files updated, 15 files renamed) to satisfy WordPress.org plugin review requirements
* Major: Removed all Pro licensing infrastructure from core plugin (orphaned license properties, methods, hooks, and UI elements)
* Security: Removed development script (fix_translations.py) from plugin directory
* Fixed: Missing translators comments on internationalized strings with placeholders
* Fixed: Unordered placeholders in translatable strings now use numbered format
* Fixed: Unescaped output in metabox template
* Fixed: File naming — renamed image files to remove spaces from filenames
* Fixed: Readme.txt `Tested up to` value now matches plugin header
* Fixed: Removed dead `init_hooks()` method and redundant HPOS declaration from core class
* Fixed: Duplicate phpcs:ignore comments in main plugin file and logger
* Fixed: Stale license reference comment in admin settings API key display
* Fixed: Missing directory listing protection (index.html) in assets/images/carriers/
* Improved: Admin CSS consolidated into single admin.css file (replaced framework, modern, and styling files)
* Improved: Admin scripts properly scoped — enqueued only on relevant admin pages
* Improved: Debug logging disabled by default and properly gated behind WooCommerce logger
* Improved: Removed development markdown files from plugin directory
* Improved: Added index.html directory listing guards to all subdirectories
* Improved: All AJAX actions now use unique `plugopolis_sc_` prefixed action names
* Improved: General code cleanup and WordPress.org review compliance

= 2.1.0 =
* Added: Plugopolis Suite integration with cross-plugin discovery cards
* Improved: Admin UI consistency with unified Plugopolis design system
* Improved: Debug logging now properly gated behind WooCommerce logger
* Fixed: Minor code cleanup and removal of dead code

= 2.0.0 =
* Major: Rebranded to Plugopolis Shipping Center
* Added: Modern admin UI with Plugopolis design system
* Added: Pro plugin extensibility hooks and filters
* Added: AES-256-CBC encryption for API key storage
* Enhanced: Complete dark mode compatibility
* Improved: HPOS compatibility throughout

= 1.3.1 =
* Refined: Restored Plugopolis Blue for buttons and refined neutral Zinc grey scheme.
* Improved: Consistency across all admin UI components.

= 1.3.0 =
* Major: New Premium Grey design scheme replacing the previous blue palette.
* Enhanced: Updated "Package template" tables with modern grey aesthetic.
* Improved: Refined "Custom Message" editor styling for better dark mode consistency.
* Fixed: Standardized CSS variables across framework and admin interfaces.

= 1.2.0 =
* Major: Complete dark mode compatibility for the order metabox.
* Enhanced: Premium glassmorphism design for the shipping center dashboard.
* Improved: Consistent styling across all admin interfaces.
* Fixed: Various UI/UX refinements in the tracking management section.

= 1.1.2 =
* Enhanced: Improved settings page styling with consistent rounded corners
* Synced version with Pro update.

= 1.1.0 =
* Enhanced: Improved settings page styling with consistent rounded corners
* Enhanced: Blue gradient section headers now display on all core settings sections
* Enhanced: Added shine animation to Save Changes button
* Security: Implemented industry-standard API key security (keys never shown after save)
* Improved: API key fields now use best practice obfuscation (show only last 4 characters)
* Fixed: Text padding issues in core tab panels
* Fixed: Main header border-radius now matches section headers (16px)
* Cleanup: Removed unused dark mode placeholder code

= 1.0.0 =
* Major Release: Complete UI modernization with professional design system
* Added: Modern CSS framework with design tokens and variables
* Added: Enhanced JavaScript with real-time form validation and interactions
* Improved: All form fields now have modern rounded corners and subtle shadows
* Improved: Consistent button styling throughout the interface
* Improved: Responsive design optimized for mobile and tablet devices
* Improved: Enhanced accessibility with better focus states and keyboard navigation
* Fixed: Form field styling consistency between free and Pro versions
* Performance: Optimized CSS and JavaScript for faster load times

= 0.8.0 =
* Major UI/UX improvements with unified blue gradient headers
* Added carrier logo support in live rates display
* Improved settings card structure and CSS architecture

= 0.7.3 =
* Fixed: WooCommerce High-Performance Order Storage (HPOS) compatibility
* Added: HPOS-compatible order data handling

= 0.0.1 =
* Initial release

== External services ==

This plugin connects to one external service to provide its functionality:

= Shippo API =

This plugin connects to the Shippo API (https://goshippo.com) to provide shipping rate calculation, shipping label creation, package tracking, label refunding, and pickup requests. Shippo is a third-party shipping API aggregator that connects to major carriers (USPS, UPS, FedEx, DHL, OnTrac).

**When data is sent:**
* When a store administrator requests shipping rates from the order edit screen
* When a store administrator purchases a shipping label
* When a store administrator requests a label refund
* When a store administrator requests a pickup
* When a store administrator validates their address configuration

**What data is sent:**
* Sender and recipient shipping addresses (name, street, city, state, postal code, country, phone, email)
* Package dimensions and weight
* Selected shipping rate and carrier information
* Your Shippo API key for authentication

**A free Shippo account is required.** You can create one at [goshippo.com](https://goshippo.com).

* Shippo Terms of Service: https://goshippo.com/terms
* Shippo Privacy Policy: https://goshippo.com/privacy

== Upgrade Notice ==

= 2.3.1 =
Minor fix to version declarations. Recommended for all users.

= 2.3.0 =
Updated admin settings interfaces and UI interactions. Recommended for all users.

= 2.2.0 =
Major compliance update: complete prefix renaming, Pro licensing removal, PHPCS fixes, and deployment cleanup. Recommended for all users.

= 2.1.0 =
Plugopolis Suite integration update. Recommended for all users.

= 2.0.0 =
Major rebrand to Plugopolis. API keys are now encrypted at rest. Existing values are automatically migrated.
