Organizations
Version 3.2.3
April 10, 2024
Fixed
- Query with relations not handling the value 'false' correctly.
Version 3.2.2
February 23, 2021
Fixed
- Various PHP 8 typing issues
Version 3.2.1
October 27, 2020
Fixed
- PSR-4 autoloading issue w/ Composer v2 #18
Version 3.2.0
July 14, 2020
Changed
- Addressed minor issues w/ 3.4 styling
Version 3.1.1
January 9, 2020
Added
- Access to the organization type switcher can be made via
window.OrganizationTypeSwitcher
Version 3.1.0
December 17, 2019
Changed
- Project config is referencing the entire field layout instead of just the field layout id.
Added
- UserAssociation query can be filtered by user type.
Version 3.0.2
December 13, 2019
Changed
- Relaxing explicit '!==' id checks to '!='.
Version 3.0.1
November 22, 2019
Fixed
- Migration typo in class name
Version 3.0.0
November 20, 2019
Changed
- Refactored getters and setters used to access/manage relationships directly from
Organization
andUser
elements. As a result,Organization::getUsers()
,Organization::getTypes()
,User::getOrganizations()
andUser::getUserTypes()
return aRelationshipInterface
which is used to access and manage relationships.
Added
- Craft Project config support.
Version 2.0.2
June 12, 2019
Added
- Associations can bypass child association saving
Fixed
- Validation issue when checking a newly created organization that has been associated to a user
Version 2.0.1
June 10, 2019
Added
- Ability to disable sort order enforcement for organization/user associations.
Version 2.0.0
June 5, 2019
Added
- Many-to-many relationships have a 'manager' class attached to the object where 'relational' logic resides
- CP organization user list management enhancements
Removed
- Various methods used to access/manage relationships directly from
Organization
andUser
elements. Organization::getUsers()
,Organization::getTypes()
,User::getOrganizations()
andUser::getUserTypes()
now return aCollection
(not a query).- It is no longer recommended to
Query::setCachedResults()
in order to set new relations, use the relationship manager
Version 1.0.9
May 13, 2019
Fixed
- Removing all user types would result in a Postgres query error #17
Version 1.0.8
April 28, 2019
Fixed
- When passing 'false' to query params, throw an exception to halt query execution #13
Version 1.0.7
February 6, 2019
Fixed
- Ordering of associated users by title would result in a query error.
Version 1.0.6
February 4, 2019
Added
- User State filters to applicable queries
Version 1.0.5
February 2, 2019
Fixed
- Scenarios when saving a user would delete all their associated organizations.
Version 1.0.4.1
January 29, 2019
Fixed
- UserAssociation asset bundle was restored after accidentally being removed.
Version 1.0.4
January 29, 2019
Changed
- Managing organization user roles has moved to an element action.
Added
- Added a 'state' to Organization Users
Version 1.0.3
January 25, 2019
Changed
- Query params are prepared in a more simple and direct way
Version 1.0.2
January 15, 2019
Changed
- Gracefully handle looking up a record by the unique handle or id.
Version 1.0.1
January 11, 2019
Changed
- Passing an element to Organization::findOne() will check and return the element
Version 1.0.0
January 10, 2019
Added
- GA release
Version 1.0.0-rc.25
August 1, 2018
Changed
- Reset query relations table joins on new execution of query.
Version 1.0.0-rc.24
July 26, 2018
Fixed
- Rare instance when multiple of the same relations could be added to a User Query
Version 1.0.0-rc.23
July 25, 2018
Added
- User type association HUD is grouped by source headings
- Sidebar navigation to easily get to/from settings and elements
Version 1.0.0-rc.22
July 6, 2018
Added
- Organization Type field type can customize the drop down first option
Version 1.0.0-rc.21
June 25, 2018
Fixed
- User's organization list should appear even if no organizations are present.
Version 1.0.0-rc.20
June 21, 2018
Changed
- User detail sidebar can add/remove organizations.
Version 1.0.0-rc.19
June 20, 2018
Added
- User detail sidebar lists the organizations that a user is associated to.
Version 1.0.0-rc.18
June 20, 2018
Fixed
- Bug when saving a user association another association may get deleted.
Version 1.0.0-rc.17
June 19, 2018
Fixed
- Issue where saving a new organization without a type associated would throw and exception.
Version 1.0.0-rc.16
June 18, 2018
Fixed
- Issue where 'organizationId' and or 'userId' were not getting applied properly to user association queries.
Version 1.0.0-rc.15
June 18, 2018
Removed
- The concept of state from elements per #4.
Version 1.0.0-rc.14
June 13, 2018
Fixed
- User Type associations were not saving correctly when all associations were un-selected.
Added
- Intro to unit tests
Version 1.0.0-rc.13
June 7, 2018
Added
- Services have a configurable cache duration and dependency that can be set via the plugin's settings config.
Removed
- OrganizationQuery no longer automatically adds 'types' as an eager loading key
Version 1.0.0-rc.12
May 24, 2018
Fixed
- Error when passed attempting to set types on an organization with a null value
- Removing user from organization was causing an error
- Organization type urls on listing page and handle slug on detail page
Version 1.0.0-rc.11
May 17, 2018
Fixed
- Reference to legacy sort order property
Version 1.0.0-rc.10
May 8, 2018
Fixed
- Typo in migration file renaming which prevented the migration from running
Version 1.0.0-rc.9
May 7, 2018
Changed
- User associations can be sorted by user and organization.
Version 1.0.0-rc.8
May 1, 2018
Added
- Organization Type single select field type
Version 1.0.0-rc.7
April 30, 2018
Fixed
- Element and Query behaviors were not getting set due to new Craft CMS register behaviors event.
Version 1.0.0-rc.6
April 28, 2018
Fixed
- Default field layout was being deleted with organization type layout was selected
- Organization type field layout defaults to main default if null (instead of loading an empty layout).
Version 1.0.0-rc.5
April 28, 2018
Changed
- Renamed the concept of user categories to user types (not backwards compatible)
Version 1.0.0-rc.4
April 23, 2018
- Updated dependencies
Version 1.0.0-rc.3
April 17, 2018
Changed
- load more action when viewing more than associated organization users
- fixed issue where Join Date was not getting updated correctly.
Version 1.0.0-rc.2
March 28, 2018
Changed
- dependency templates were not registered in admin views
Version 1.0.0-rc.1
March 26, 2018
Changed
- Renamed plugin class to
Organizations
- Namespace is now using
organizations
instead oforganization
Version 1.0.0-rc
March 25, 2018
Initial release.