=== Fluidity Document Library ===
Contributors: sightfactory
Tags: document library, vuejs, glassmorphism, file manager
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modern document library plugin for WordPress featuring a sleek design and a fast, responsive user experience.


== Description ==

A modern document library plugin for WordPress featuring a sleek design and a fast, responsive user experience.

Features include:
- Drag & Drop Bulk Upload
- Pagination (Load More or Numeric)
- Search and Category Filtering
- Custom Post Type for Documents
- Mobile Responsive Design

== Installation ==

1. Upload the `fluidity-document-library` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Use the `[fluidity_dl_library]` shortcode on any page or post.

== Shortcode Options ==

`[fluidity_dl_library layout="grid" limit="12" pagination="true" pagination_type="load_more"]`

- `layout`: "grid" or "table" (Default: grid)
- `category`: Comma separated folder/category slugs to limit display
- `limit`: Number of documents per page
- `pagination`: "true" or "false"
- `pagination_type`: "load_more" or "numeric"
- `color`: Primary color, optionally followed by hover color (e.g. "#ff0000" or "#ff0000,#cc0000")
- `show_search`: "true" or "false" (Default: true)
- `show_filter`: "true" or "false" (Default: true) to show/hide category dropdown

== Changelog ==

= 1.0.5 =
* Security: Hardened Javascript entity decoding using a safe `DOMParser` implementation to prevent XSS.
* Security: Added direct file access protection to PHP files to prevent unauthorized execution.
* Feature: Introduced Document Status functionality, allowing documents to be marked as Draft or Private.
* Feature: Added Pin to Top (Sticky) prioritization on the frontend.
* Fix: Resolved HTML entity rendering regression in document titles.
* Best Practice: Implemented internationalization for all AJAX response strings.
* UI: Adjusted admin menu position to sit prominently after 'Media' for better dashboard hierarchy.

= 1.0.4 =
* Maintenance: Provided non-minified source for Vue.js to comply with repository requirements.
* Feature: Implemented smart version switching for libraries based on SCRIPT_DEBUG.

= 1.0.3 =
* Fix: Adjusted admin menu position to comply with WordPress repository hierarchy guidelines.
* Security: Refactored dynamic style escaping to strictly follow WordPress.Security.EscapeOutput standards.
* Maintenance: Updated file headers and source URLs across the codebase.

= 1.0.2 =
* Refactor: Standardized all CSS and JavaScript prefixes to `fluidity-dl-` for better naming consistency.
* Refactor: Prefixed all core database keys, post types, and taxonomies to prevent collisions.
* Fix: Resolved HTML entity decoding issues in the admin document title field.
* Fix: Hardened state management to prevent missing document links in the admin interface.

= 1.0.1 =
* Security: Implemented redundant nonce and capability checks for all admin AJAX endpoints.
* Security: Hardened file path resolution in metadata extraction to prevent path traversal.
* Security: Added post type verification to document CRUD operations to ensure data integrity.

= 1.0.0 =
* Initial Release.
