=== Kybern HR ===
Contributors: kybern
Tags: hr, recruitment, candidates, csv, rest-api
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 6.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage HR candidates with admin tools, CSV import/export, Fluent Forms integration, and a protected REST API.

== Description ==

Kybern HR helps teams manage HR candidates inside WordPress with a focused admin dashboard, CSV import/export tools, and a protected REST API for internal integrations.

Features include:

* Candidate archive with search, filtering, and pagination
* CSV import and CSV export tools
* Fluent Forms submission support when available
* Consent log for GDPR-related candidate records
* Protected REST API endpoint for candidate retrieval
* Admin UI that follows the site language with English-first defaults

The REST API endpoint is available at:

`/wp-json/kybern-hr/v1/candidates`

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install it through the WordPress admin.
2. Activate `Kybern HR` through the Plugins screen.
3. Open `Kybern HR` in the WordPress admin.
4. Optionally configure the Fluent Forms mapping in the Settings screen.

== Frequently Asked Questions ==

= Does this plugin require Fluent Forms? =

No. The plugin works with its CSV archive tools even if Fluent Forms is not installed.

= Is the REST API public? =

No. The candidate endpoint is protected by WordPress permissions and is intended for authorized internal use.

== Screenshots ==

1. Review the candidate archive with totals, source filters, search tools, GDPR flags, CV access, and quick actions for each submission collected from Fluent Forms or CSV imports.
2. Import candidate records from a CSV file by dragging in a spreadsheet, checking the recognized columns, optionally overwriting duplicates by email, and downloading the template when needed.
3. Configure the Fluent Forms integration by selecting the form, previewing the latest submission fields, and reviewing the raw field names available for mapping.
4. Map Fluent Forms fields to the Kybern HR candidate archive, connect uploaded CV files and GDPR consent fields, and review the protected REST API endpoint parameters used for internal integrations.

== Changelog ==

= 6.6 =

* Moved the admin screens under Tools to better follow the WordPress admin menu hierarchy.
* Updated plugin metadata and review-readiness cleanup.

= 6.5 =

* Replaced the generic `wkhr` plugin-owned identifiers with `kybern_hr` / `KYBERN_HR` names and added migration for legacy settings and custom tables.
* Updated the protected REST namespace to `/wp-json/kybern-hr/v1/candidates`.

= 6.4 =

* Preserved imported CSV dates as date-first values in the HR list when the source file contains a date without a time.

= 6.3 =

* Fixed CSV import parsing for multiline quoted fields such as candidate experience text.
* Added English header aliases so exported files with columns like `First Name`, `Last Name`, `Phone`, `Address`, `City`, `ZIP`, `Experience`, and `CV URL` import correctly.
* Improved import date parsing for localized values such as Italian month names.

= 6.2 =

* Switched the release numbering to a two-part version format.
* Replaced the remaining dynamic Fluent Forms today-count query with explicit prepared branches.
* Cleared the final prepared-SQL scan issues reported in the latest plugin check.

= 6.1.5 =

* Updated the contributor metadata to `kybern.ai`.
* Removed the `wp` package prefix from the distributable ZIP naming.
* Refined marketplace-facing metadata and release packaging.

= 6.1.3 =

* Rebranded the plugin as Kybern HR.
* Added marketplace-ready metadata and readme.
* Improved English-first admin copy with site-locale-aware Italian fallback.
* Prepared icon and banner assets.
