=== PhotoShelter Importer ===
Contributors: scottmweaver
Tags: galleries, gallery, gutenberg, image, images, photo, photographer, photography, photos, DAM
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.3.0
Version: 1.3.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
PhotoShelter Importer is a Digital Asset Manager plugin to import digital assets from PhotoShelter.com into WordPress.

== Description ==

With the plugin, easily browse and search your PhotoShelter Library and embed supported files to any page or post on your WordPress site. PhotoShelter customers can copy files to their WordPress media Library or browse their Brands Library within the WordPress page editor and embed files directly into pages and posts. Plus, metadata automatically imports from PhotoShelter and can be edited without affecting anything in your PhotoShelter Library.
Don't have a PhotoShelter account? Sign up for a free demo.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/` folder.
1. Activate the plugin through the 'Plugins' screen in WordPress admin.
1. Under Settings > PS Importer, enter your API Key and save it.
1. Under Settings > PS Importer, enter your PhotoShelter Org. ID to access your Library.

== Frequently Asked Questions ==

= Does this replace the older PhotoShelter WordPress Plugin? =
Yes, this is a completely new plugin.

= What are PhotoShelter's Terms and Conditions? =
See our full info: https://www.photoshelter.com/support/terms

== Screenshots ==

1. Use the PhotoShelter block to add files from PhotoShelter into your post. (You can also move images into your WP Library.)
1. Navigate your PhotoShelter library from the PhotoShelter block modal and insert assets directly into your post.
1. Get your Organization ID from your account under Admin > Account Settings.
1. Enter your API key under Settings > PS Importer.
1. Install the plugin from inside WordPress.

== Changelog ==

= 1.3.0 =
* Tested with WordPress 6.9.
* Improved error messages for PhotoShelter API permission errors.
* Fixed import error handling in block editor.
* Updated OAuth flow. Added OAuth token expiration tracking and automatic refresh.

= 1.2.1 =
* Tested with WordPress 6.8.3.

= 1.2.0 =
* Tested with WordPress 6.8.

= 1.1.0 =
* Updated for and tested with WordPress 6.7.2.
* Migrated to React Router (MemoryRouter).
* Replaced FILTER_SANITIZE_STRING with FILTER_SANITIZE_FULL_SPECIAL_CHARS.
* Refactored asset build scripts and included settings.js.
* Updated asset registration to filter style dependencies.
* Refactored store.js and index.js to use createReduxStore.
* Updated library.js for safe rendering.
* Refactored Breadcrumbs component to use CSS module.
* Refactored SVG components and updated ps-media block imports.
* Removed lodash from externals; added to package.json and switched to require().
* Removed unused files and old config (admin.js, _breadcrumbs.scss, Babel, ESLint, PostCSS).
* Reformatted JavaScript files.
* Regenerated POT file for translations.

= 1.0.5 =
* Fixed error where application_name was too long.
* Updated minimum WordPress version.
* Updated license to GPLv3.
* Tested with WordPress 6.4
* Fixed warnings.
* Cleaned up code.

= 1.0.4 =
* Tested with WordPress 6.1.1
* Fixed block replacement on media insert.

= 1.0.3 =
* Tested with WordPress 6.0.2
* Fixed block registration.
* Fixed block category registration issue.

= 1.0.2 =
* Fixed search for users without an org.
* Added invited user support.
* Tested with WordPress 5.8.1

= 1.0.1 =
* Updated media search and broken images.
* Tested with WordPress 5.7.2

= 1.0.0 =
* Initial beta release.

== Upgrade Notice ==

= 1.0.0 =
New plugin with support for PhotoShelter for Photographers and PhotoShelter for Brands.
