=== Divine Agreement System ===
Contributors: adityasingh
Tags: agreement, digital signature, contract, pdf, e-signature
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create, manage, and sign digital agreements directly in WordPress with digital signatures and automatic PDF generation.

== Description ==

**Divine Agreement System** is a complete agreement management solution for WordPress that lets you create professional agreements, collect digital signatures, and generate PDF documents — all without leaving your website.

Perfect for freelancers, agencies, consultants, and businesses who need a simple yet powerful way to handle agreements and contracts online.

= Key Features =

* **Agreement Templates** - Create reusable templates with dynamic placeholders for client information
* **Digital Signatures** - Collect legally-binding digital signatures with signature pad integration
* **PDF Generation** - Automatically generate professional PDF copies of signed agreements
* **Email Notifications** - Send agreement signing links directly to clients via email
* **Secure Token System** - Unique, time-limited links ensure secure agreement signing
* **Admin Dashboard** - Manage all agreements from a clean, intuitive WordPress interface
* **Bulk Actions** - Send multiple agreement emails at once
* **Status Tracking** - Track agreement status (pending/signed) at a glance
* **IP Logging** - Record IP addresses and timestamps for audit trails
* **Privacy Focused** - All data stored on your server, no third-party services required

= How It Works =

1. **Create Templates** - Design agreement templates with placeholder tags like [COLLABORATOR_NAME] and [COMPENSATION_DETAILS]
2. **Generate Agreements** - Create new agreements from templates and fill in client details
3. **Send to Clients** - Email secure signing links to your clients
4. **Collect Signatures** - Clients sign digitally using an intuitive signature pad
5. **Download PDFs** - Get professionally formatted PDF copies with signatures

= Perfect For =

* Freelancers managing client contracts
* Agencies handling NDAs and service agreements
* Consultants requiring signed proposals
* Businesses needing employment agreements
* Anyone requiring digital signature collection

= Privacy & Security =

* All data stored locally on your WordPress installation
* Secure token-based signing links
* IP address logging for verification
* No external services or API dependencies

== Installation ==

= Automatic Installation =

1. Log in to your WordPress admin panel
2. Go to Plugins > Add New
3. Search for "Divine Agreement System"
4. Click "Install Now" and then "Activate"

= Manual Installation =

1. Download the plugin ZIP file
2. Go to Plugins > Add New > Upload Plugin
3. Choose the downloaded ZIP file and click "Install Now"
4. Activate the plugin after installation

= Getting Started =

1. Go to **Agreement Templates** in your WordPress admin
2. Click "Add New Template" to create your first agreement template
3. Use placeholders like [COLLABORATOR_NAME], [COLLABORATOR_EMAIL], etc.
4. Go to **Agreements** to create a new agreement from your template
5. Fill in the client details and click "Publish"
6. Send the agreement signing link to your client via email

== Frequently Asked Questions ==

= Is this plugin completely free? =

Yes! Divine Agreement System is 100% free with no premium versions or upsells.

= Does it work without external services? =

Absolutely. Everything runs on your WordPress installation. No API keys, external accounts, or third-party services required.

= Are the digital signatures legally binding? =

Digital signatures can be legally binding depending on your jurisdiction. The plugin records signature data, IP addresses, and timestamps to support legal validity. Consult legal counsel for specific requirements in your region.

= Can I customize the agreement templates? =

Yes! Templates support full HTML formatting and dynamic placeholders that automatically populate with client information.

= What happens after a client signs? =

The agreement status updates to "signed", a PDF is automatically generated, and you can download it from the WordPress admin. You can also view the signing timestamp and IP address.

= Can I send agreements to multiple clients at once? =

Yes! Use the bulk action feature to send agreement emails to multiple clients simultaneously.

= Is the signature pad mobile-friendly? =

Yes! The signing interface works perfectly on all devices including smartphones and tablets.

= What file format are the agreements generated in? =

Signed agreements are automatically generated as PDF files, which you can download from the admin panel.

= Can I track which agreements have been signed? =

Yes! The agreements list shows the status of each agreement (pending or signed) along with signing dates.

== Screenshots ==

1. Agreement Templates - Create reusable templates with placeholders
2. Agreement Details - Fill in client information for each agreement
3. Signing Page - Clean, professional signature collection interface
4. Admin Dashboard - Manage all agreements in one place
5. PDF Preview - Automatically generated professional PDF output

== Changelog ==

= 1.0.4 =
* Fixed: Text domain consistency for WordPress.org translation compatibility
* Fixed: Proper escaping for all output functions
* Fixed: Removed external CDN dependency for signature pad library
* Improved: Code quality and WordPress coding standards compliance
* Updated: Version compatibility testing

= 1.0.3 =
* Enhanced security features
* Improved PDF generation
* Bug fixes and performance improvements

= 1.0.2 =
* Added bulk email sending functionality
* Improved admin interface
* Bug fixes

= 1.0.1 =
* Added donation module
* Minor bug fixes

= 1.0.0 =
* Initial release
* Agreement template system
* Digital signature collection
* PDF generation
* Email notifications

== Upgrade Notice ==

= 1.0.4 =
Important update for WordPress.org compatibility. Includes security improvements and code quality enhancements.

== Additional Information ==

= Support =

For support questions, feature requests, or bug reports, please visit the plugin's support forum on WordPress.org.

= Contributing =

Contributions are welcome! This is an open-source project.

= Privacy Policy =

Divine Agreement System does not collect or transmit any data to external servers. All agreement data, signatures, and client information remain on your WordPress installation.

The plugin collects:
* Client names, emails, and addresses (provided by you)
* Digital signatures (stored as images on your server)
* IP addresses and timestamps (for audit trails)

All data is stored in your WordPress database and file system.