=== Diadem One – CRM, Invoicing & Email Marketing ===
Contributors: diademwebmaster
Tags: crm, invoicing, contacts, email marketing, woocommerce
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 0.9.51
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

CRM, contacts, products, invoicing, tasks, and basic email marketing for WordPress.

== Description ==

Run more of your business without leaving WordPress.

Diadem One brings customer relationship management, invoicing, email marketing, task tracking, products, services, and business data together in one streamlined WordPress workspace.

Designed for small businesses, freelancers, agencies, consultants, nonprofits, ministries, and growing teams, Diadem One helps you organize customer information, manage daily follow-ups, create professional invoices, and communicate with your audience from the WordPress dashboard you already know.

= Need More? Upgrade to OneSuite Enterprise =

Diadem One gives you essential business-management tools at no cost. When your organization needs more advanced capabilities, you can move to OneSuite Enterprise and expand into the broader OneSuite business platform.

[Explore OneSuite Enterprise](https://onesuite.diadembusiness.com/)

Diadem One and OneSuite are developed by Diadem Technologies.

[Visit Diadem Technologies](https://diademtechnologies.com/)

= Manage Contacts and Customer Relationships =

Turn WordPress into a practical customer relationship management system.

Create detailed contact and company records, organize relationships with tags, assign lifecycle stages, add custom fields, record notes, and keep important customer information accessible in one place.

Diadem One can help you manage:

* Leads and prospects
* Customers and clients
* Companies and organizations
* Vendors and business partners
* Members, donors, and supporters
* Contact notes and history
* Customer statuses and lifecycle stages

= Create and Send Professional Invoices =

Prepare customer invoices directly from WordPress using saved contacts, products, and services.

Add billing details, due dates, descriptions, quantities, and pricing through a simple invoice editor. Generate printable PDF invoices, email them to customers, and update their status as they move through your billing workflow.

Invoice features include:

* Customer billing information
* Reusable products and services
* Multiple invoice line items
* Quantities and unit pricing
* Due-date management
* Printable and downloadable PDFs
* Email invoice delivery
* Sent, paid, and void status tracking

= Build Email Marketing Campaigns =

Create customer newsletters, promotions, announcements, and follow-up campaigns from your WordPress dashboard.

Diadem One includes a visual HTML email composer, media support, personalized contact fields, audience selection, campaign previews, and plain-text backup content. Your marketing contacts remain connected to the customer records already stored in your CRM.

Use email marketing to send:

* Customer newsletters
* Product and service announcements
* Special offers and promotions
* Company updates
* Educational content
* Event announcements
* Customer follow-ups

= Track Tasks and Important Follow-Ups =

Keep customer-related work from falling through the cracks.

Create tasks, assign priorities, set due dates, update progress, and organize the actions your business needs to complete. Track proposals, invoice reminders, customer calls, campaign preparation, and other responsibilities from one central workspace.

= Organize Products and Services =

Maintain a reusable catalog of the products and services your business offers.

Save product names, service descriptions, SKUs, pricing, product types, and tax settings. Catalog items can then be used when preparing invoices, helping you reduce repetitive data entry and maintain consistent pricing.

= Customize Your CRM =

Every business collects different information. Diadem One includes custom fields that allow you to extend contact and company records with details that match your organization and workflow.

Whether you need to track customer preferences, account information, membership details, service requirements, or internal classifications, custom fields help you adapt Diadem One to the way you work.

= Import and Export Your Business Data =

Bring existing information into Diadem One and maintain portable copies of your records with built-in import and export tools.

This makes it easier to migrate customer information, update records in bulk, and retain control of your business data.

= Diadem One Features =

* WordPress CRM
* Contact management
* Company management
* Lead and customer tracking
* Lifecycle stages and statuses
* Contact tags, notes, and history
* Custom contact and company fields
* Product and service catalog
* Customer invoice creation
* PDF invoice generation
* Invoice email delivery
* Invoice status tracking
* Email marketing campaign builder
* Visual HTML email composer
* Personalized email fields
* Plain-text email alternatives
* Marketing contact management
* Task and follow-up tracking
* Task priorities, statuses, and due dates
* Data import and export
* Unified WordPress admin interface

= Built for Small Businesses and Growing Organizations =

Diadem One is a strong fit for:

* Small businesses
* Freelancers and independent professionals
* Consultants and coaches
* Creative and marketing agencies
* Local service providers
* Nonprofit organizations
* Churches and ministries
* Membership organizations
* Customer-focused teams

= One Connected Business Workspace =

Stop piecing together disconnected tools for contacts, invoices, email campaigns, products, and tasks.

Diadem One gives you a connected WordPress business management experience that helps your organization stay informed, organized, and ready to serve customers.

Install Diadem One and start managing your customer relationships and everyday business operations directly from WordPress.

Diadem One stores its business records in OneSuite's canonical local WordPress tables so compatible records can remain available when moving to OneSuite by Diadem Enterprise.

WooCommerce catalog synchronization is not included in Diadem One. Diadem One can retain and use compatible shared product records created by another OneSuite edition, while its own products and services remain native OneSuite records for invoicing.

The included Diadem One functionality does not expire and does not require a paid license.

== Email delivery and external services ==

Email campaigns use WordPress mail or an SMTP server explicitly configured by a WordPress administrator.

When an administrator configures and enables SMTP, recipient addresses, message subjects, message content, and the configured sender credentials are transmitted to that administrator-selected SMTP provider as necessary to deliver email. Diadem One does not select or contact an SMTP provider automatically.

The SMTP password is stored locally in encrypted form using a key derived from the site's WordPress authentication salt. It is never displayed back in the browser. OneSuite preserves the administrator-configured sender settings during edition transitions so replacing Diadem One does not silently disable an established mail transport.

OneSuite plugin administration pages contain optional links to Diadem websites for information about OneSuite Enterprise and payment-processing services. These links are user-initiated navigation only; the plugin does not contact those sites merely because it is installed or activated.

== Data retention ==

Uninstalling Diadem One intentionally preserves canonical OneSuite business records, including CRM and invoice data, so uninstalling or changing editions does not destroy business data used by another OneSuite edition.

Transient Free-only mail locks and transport observations are removed on uninstall; the administrator-configured sender settings are preserved for OneSuite edition continuity.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin, or install it from the WordPress.org directory when available.
2. Activate Diadem One.
3. Open Diadem One and configure company and invoice information before sending invoices or email campaigns.
4. Optionally configure the single SMTP sender if the site-wide WordPress mail transport is not appropriate.

Do not activate Diadem One and another OneSuite edition at the same time.

== Frequently Asked Questions ==

= Is Diadem One trialware? =

No. The functionality included in Diadem One does not expire and does not require a paid license.

= Is paid OneSuite Enterprise code included but locked inside this plugin? =

No. OneSuite Enterprise is a separate distribution. Diadem One may show informational upgrade links, but paid-only application modules are not unlocked by a license key inside this plugin.

= Does Diadem One synchronize WooCommerce products? =

No. WooCommerce catalog synchronization is not included in this plugin. Diadem One can preserve and use compatible shared product records without performing catalog synchronization.

= Does uninstalling Diadem One delete my CRM and invoice data? =

No. Canonical OneSuite business records are intentionally preserved so they are not destroyed during edition changes. Transient Free-only mail locks and transport observations are removed, while the administrator-configured sender settings are preserved for OneSuite edition continuity.

= How is email delivered? =

Campaigns use WordPress mail or the single SMTP sender explicitly configured by the administrator. Delivery policies, quotas, privacy terms, and acceptable-use rules are controlled by the selected hosting or SMTP provider.


== Development / Source ==

Diadem One includes human-readable source for the custom JavaScript files that are whitespace-compressed for distribution.

Readable source mappings:

* `src/js/free-invoice-editor.js` -> `assets/free-invoice-editor.js`
* `src/js/free-email-composer.js` -> `assets/free-email-composer.js`

No transpiler, npm package, webpack configuration, proprietary compiler, or external build dependency is required for these files. The production files are whitespace-compressed equivalents of the readable source and are kept in the plugin package together with their source for review.

To verify that the documented source and production files are present, run this command from the plugin directory with Node.js installed:

`node build/verify-js-source.js`

For release maintenance, changes should be made first in the corresponding file under `src/js/`, reviewed in human-readable form, and then whitespace-compressed into the matching file under `assets/` without changing behavior.

== Screenshots ==

1. Diadem One dashboard providing an overview of contacts, companies, products and services, tasks, and invoices.
2. Contacts management for viewing and managing CRM contact records.
3. Task management for organizing and tracking business tasks.
4. Diadem One settings for configuring business and invoice information.
5. Products & Services management for maintaining items used in business records and invoicing.
6. Diadem One dashboard and business-management workspace.
7. Invoice management for creating, viewing, and managing customer invoices.

== Changelog ==

= 0.9.51 =
* Preserved composer left/center/right image alignment in delivered email without reintroducing text wrapping.
* Left-aligned images remain left, centered images remain centered, and right-aligned images remain right.
* Retained responsive image width, auto-height, blank-line spacing, SMTP diagnostics, and WordPress.org hardening.

= 0.9.50 =
* Preserved the campaign editor-selected image width in delivered email while retaining responsive shrink behavior.
* Kept images block-level, non-floating, centered, and auto-height across email clients.
* Preserved intentional blank-line spacing and the WordPress.org Plugin Check hardening baseline.

= 0.9.49 =
* Normalized delivered campaign image layout for consistent email-client rendering.
* Preserved intentional blank-line spacing from the campaign editor during delivery.
* Made delivered campaign images responsive, block-level, non-floating, and auto-height without changing saved campaign content.
* Preserved SMTP diagnostics and the WordPress.org Plugin Check hardening baseline.

= 0.9.48 =
* Normalized legacy SMTP encryption settings without undefined-key warnings.
* Restored redacted Email Marketing workflow diagnostics when WordPress debugging is enabled.
* Preserved the Plugin Check-hardened campaign, database, nonce, escaping, SMTP, suppression, unsubscribe, and sent-history paths.

= 0.9.47 =
* Corrected Email Marketing KPI card HTML rendering.
* Protected administrator-configured SMTP sender settings during plugin replacement/edition transitions.
* Preserved the existing campaign queue, suppression, unsubscribe, sent-history, and mail transport workflow.

= 0.9.46 =
* Completed WordPress.org submission hardening and Plugin Check remediation.
* Preserved canonical Free-to-Enterprise CRM, company, product, task, invoice, activity, and custom-field data compatibility.
* Retained structured invoice PDF generation, browser printing, sender and billing address fields, and Invoice Details.
* Retained Free Email Marketing, single-sender SMTP support, suppression/unsubscribe controls, and sent-campaign read-only behavior.
* Retained WooCommerce CRM interoperability while keeping catalog synchronization outside Diadem One.
* Added explicit uninstall cleanup for Free-only SMTP credentials and operational mail settings while preserving shared business records.
* Expanded WordPress.org readme disclosures for data retention, SMTP delivery, external links, and Free-versus-Enterprise boundaries.
* Tested with WordPress 7.1.

== License ==

Copyright © 2026 Diadem Technologies. Licensed under the GNU General Public License v2 or later.

Diadem One is licensed under GPLv2 or later. Original plugin code and original bundled plugin graphics are distributed under the same GPL-compatible terms. Third-party components, where present, retain their original copyright and compatible license notices.
