Skip to content

Releases: bristol-su/control

v2.1.2

28 Apr 11:58
94f430b
Compare
Choose a tag to compare

v2.1.2 - 28/04/2020

Fixed

  • DataUser::getAllWhere matched any base attributes not all base attributes
  • DataGroup::getAllWhere matched any base attributes not all base attributes
  • DataRole::getAllWhere matched any base attributes not all base attributes
  • DataPosition::getAllWhere matched any base attributes not all base attributes

v2.1.1

27 Apr 16:44
224e534
Compare
Choose a tag to compare

v2.1.1 - 27/04/2020

Changed

  • Return date format of Y-m-d h:i:s for data user date of birth

v2.1

27 Apr 14:28
5cc6ab6
Compare
Choose a tag to compare

v2.1 - 27/04/2020

Overview

  • Repositories to cache all get repository calls
  • Observer framework for repositories
  • Clear cache when needed
  • Cascade deletes to preserve data integrity

Added

  • \BristolSU\ControlDB\Contracts\Repositories\DataGroup::update
  • \BristolSU\ControlDB\Contracts\Repositories\DataUser::update
  • \BristolSU\ControlDB\Contracts\Repositories\DataRole::update
  • \BristolSU\ControlDB\Contracts\Repositories\DataPosition::update
  • \BristolSU\ControlDB\Contracts\Repositories\Group::update
  • \BristolSU\ControlDB\Contracts\Repositories\Position::update
  • \BristolSU\ControlDB\Contracts\Repositories\Role::update
  • \BristolSU\ControlDB\Contracts\Repositories\User::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\GroupTag::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\GroupTagCategory::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\PositionTag::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\PositionTagCategory::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\RoleTag::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\RoleTagCategory::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\UserTag::update
  • \BristolSU\ControlDB\Contracts\Repositories\Tags\UserTagCategory::update

v2.0

22 Apr 13:35
Compare
Choose a tag to compare

v2.0 - 22/04/2020

Overview

  • Added pagination functions to non-tag repositories
  • Added pagination responses from index functions of the API
  • Added logging of export timings

Added

  • \BristolSU\ControlDB\Contracts\Repositories\User::paginate()
  • \BristolSU\ControlDB\Contracts\Repositories\User::count()
  • \BristolSU\ControlDB\Contracts\Repositories\DataUser::getAllWhere()
  • \BristolSU\ControlDB\Contracts\Repositories\Group::paginate()
  • \BristolSU\ControlDB\Contracts\Repositories\Group::count()
  • \BristolSU\ControlDB\Contracts\Repositories\DataGroup::getAllWhere()
  • \BristolSU\ControlDB\Contracts\Repositories\Role::paginate()
  • \BristolSU\ControlDB\Contracts\Repositories\Role::count()
  • \BristolSU\ControlDB\Contracts\Repositories\DataRole::getAllWhere()
  • \BristolSU\ControlDB\Contracts\Repositories\Position::paginate()
  • \BristolSU\ControlDB\Contracts\Repositories\Position::count()
  • \BristolSU\ControlDB\Contracts\Repositories\DataPosition::getAllWhere()
  • \BristolSU\ControlDB\Http\Controllers\Controller::paginate to slice and paginate through a list of items
  • \BristolSU\ControlDB\Http\Controllers\Controller::paginationResponse to paginate through a sliced list of items
  • Add timings of formatters to logs when exporting

Changed

  • \BristolSU\ControlDB\Http\Controllers\Group\GroupController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Group\GroupGroupTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Group\GroupRoleController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Group\GroupUserController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\GroupTag\GroupTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\GroupTag\GroupTagGroupController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\GroupTagCategory\GroupTagCategoryController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\GroupTagCategory\GroupTagCategoryGroupTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Position\PositionController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Position\PositionPositionTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Position\PositionRoleController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\PositionTag\PositionTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\PositionTag\PositionTagPositionController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\PositionTagCategory\PositionTagCategoryController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\PositionTagCategory\PositionTagCategoryPositionTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Role\RoleController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Role\RoleRoleTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\Role\RoleUserController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\RoleTag\RoleTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\RoleTag\RoleTagRoleController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\RoleTagCategory\RoleTagCategoryController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\RoleTagCategory\RoleTagCategoryRoleTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\User\UserController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\User\UserGroupController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\User\UserRoleController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\User\UserUserTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\UserTag\UserTagController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\UserTag\UserTagUserController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\UserTagCategory\UserTagCategoryController::index returns a LengthAwarePaginator

  • \BristolSU\ControlDB\Http\Controllers\UserTagCategory\UserTagCategoryUserTagController::index returns a LengthAwarePaginator

v1.3.0

08 Apr 15:58
3487816
Compare
Choose a tag to compare

v1.3.0 - 08/04/2020

Changed

  • Return a full_reference attribute in the tag model by default

v1.2.4

03 Apr 14:33
18e39da
Compare
Choose a tag to compare

v1.2.4 - 03/04/2020

Changed

  • Return a full_reference attribute in the tag model by default

v1.2.3

02 Apr 17:23
Compare
Choose a tag to compare

v1.2.3 - 02/04/2020

Changed

  • Updated repositories to use findOrFail

Added

  • Role Caching

v1.2.2

26 Mar 16:54
27ed08c
Compare
Choose a tag to compare

v1.2.2 - 26/03/2020

Removed

  • Always loading control factories

Changed

  • Only load control factories when the faker class exists

v1.2.1

18 Mar 12:11
9e1a890
Compare
Choose a tag to compare

v1.2.1 - 18/03/2020

Added

  • .gitattributes file

Fixed

  • Reference correct config file when publishing

v1.2

04 Feb 22:27
ece0a7e
Compare
Choose a tag to compare

v1.2 - 04/02/2020

Changed

  • DataGroupRepository::getWhere allows searching with additional attributes
  • DataUserRepository::getWhere allows searching with additional attributes
  • DataRoleRepository::getWhere allows searching with additional attributes
  • DataPositionRepository::getWhere allows searching with additional attributes