=== GravityView - Magic Links Extension ===
Contributors: gravityview
Tags: gravityview, gravity forms
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.2.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allow users to edit entries using secure magic links in GravityView.

== Description ==

This extension adds Magic Link functionality to GravityView, allowing users to edit entries using secure, time-limited links without requiring login.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/gravityview-magic-links`
2. Activate the plugin through the 'Plugins' screen in WordPress
3. GravityView must be installed and activated

== Changelog ==

= 1.2.1 on January 22, 2026 =

This update fixes the magic link request form on embedded Views.

#### 🐛 Fixed
* Magic link request form not working when the View is embedded on a page or post.

= 1.2.0 on January 15, 2026 =

This release introduces entry deletion via magic links and the ability to restrict link reuse with one-time access, and resolves multiple issues affecting magic link functionality.

#### 🚀 Added
* Ability for users to delete entries via magic links. Requires GravityView 2.50.1 or newer.
* Support for the `action` parameter in the `{gv_magic_link}` merge tag to generate delete links (e.g., `{gv_magic_link view_id="123" action="delete"}`).
* One-Time Access View setting to invalidate magic links after a successful edit, requiring a new link for subsequent edits.

#### 🐛 Fixed
* "You are not allowed to view this content" error when using magic links with a custom Entry Slug configured in View settings.
* Edit Entry fields not displaying when editing via magic links.
* Magic link access failing when the "Don't validate by email" option was selected in View settings.
* "Cancel" and "Request Control" links not working when entry locking is enabled. Requires GravityView 2.50.1 or newer.

= 1.1.0 on August 18, 2025 =

This update makes Magic Links faster and more reliable, while enhancing security and improving log privacy for safer debugging.

#### ✨ Improved
* Performance with caching to prevent redundant Magic Link validation checks.
* Error handling throughout the Magic Links system.
* Privacy by masking email addresses in debug logs (e.g., j***@e***.com).

= 1.0.1 on July 17, 2025 =

This hotfix resolves an issue where users could not request edit access to entries when Views were embedded within pages or posts.

#### 🐛 Fixed
* It was not possible to request edit access when Views are embedded in pages or posts.

= 1.0.0 on April 3, 2025 =

* Liftoff! 🚀
