Skip to content

Commit

Permalink
v1.2 (#6)
Browse files Browse the repository at this point in the history
* Default the additional_attributes column to an array when in use, since it can be null

* Allow additional attributes to be editable through the API

* Generated docs and update changelog

* Allow additional attribute searching through repository for data models

* Update changelog and docs
  • Loading branch information
tobytwigger authored Feb 4, 2020
1 parent 775331b commit ece0a7e
Show file tree
Hide file tree
Showing 33 changed files with 250 additions and 86 deletions.
2 changes: 1 addition & 1 deletion .phpunit.result.cache

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.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

## [1.1] - (04/02/2020)

### Changed
Expand Down Expand Up @@ -40,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- model/repository contracts


[Unreleased]: https://github.com/bristol-su/control/compare/v1.1...HEAD
[Unreleased]: https://github.com/bristol-su/control/compare/v1.2...HEAD
[1.2]: https://github.com/bristol-su/control/compare/v1.1...v1.2
[1.1]: https://github.com/bristol-su/control/compare/v1.0.2...v1.1
[1.0.2]: https://github.com/bristol-su/control/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/bristol-su/control/compare/v1.0...v1.0.1
Expand Down
8 changes: 4 additions & 4 deletions docs/ControlDBServiceProvider_8php_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Models_1_1Role_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Models_1_1Role.html">BristolSU\ControlDB\Models\Role</a></div><div class="ttdef"><b>Definition:</b> <a href="Models_2Role_8php_source.html#l00014">Role.php:14</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1ControlDBServiceProvider_html_a71e04a96edaa089c98965b9a4d5814ef"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1ControlDBServiceProvider.html#a71e04a96edaa089c98965b9a4d5814ef">BristolSU\ControlDB\ControlDBServiceProvider\bindContracts</a></div><div class="ttdeci">bindContracts()</div><div class="ttdef"><b>Definition:</b> <a href="ControlDBServiceProvider_8php_source.html#l00138">ControlDBServiceProvider.php:138</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Tags_1_1UserTag_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Tags_1_1UserTag.html">UserTag</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataGroup_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataGroup.html">BristolSU\ControlDB\Repositories\DataGroup</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataGroup_8php_source.html#l00005">DataGroup.php:5</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataGroup_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataGroup.html">BristolSU\ControlDB\Repositories\DataGroup</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataGroup_8php_source.html#l00007">DataGroup.php:7</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Models_1_1Tags_1_1PositionTag_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Models_1_1Tags_1_1PositionTag.html">BristolSU\ControlDB\Models\Tags\PositionTag</a></div><div class="ttdef"><b>Definition:</b> <a href="Models_2Tags_2PositionTag_8php_source.html#l00013">PositionTag.php:13</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataRole_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataRole.html">BristolSU\ControlDB\Repositories\DataRole</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataRole_8php_source.html#l00007">DataRole.php:7</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataRole_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataRole.html">BristolSU\ControlDB\Repositories\DataRole</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataRole_8php_source.html#l00009">DataRole.php:9</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1User_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1User.html">BristolSU\ControlDB\Repositories\User</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2User_8php_source.html#l00012">User.php:12</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1Tags_1_1UserTag_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1Tags_1_1UserTag.html">UserTag</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1Group_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1Group.html">BristolSU\ControlDB\Repositories\Group</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2Group_8php_source.html#l00012">Group.php:12</a></div></div>
Expand All @@ -136,7 +136,7 @@
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1Tags_1_1PositionTagCategory_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1Tags_1_1PositionTagCategory.html">PositionTagCategory</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Tags_1_1GroupTagCategory_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Tags_1_1GroupTagCategory.html">GroupTagCategory</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Role_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Role.html">Role</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataUser_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataUser.html">BristolSU\ControlDB\Repositories\DataUser</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataUser_8php_source.html#l00005">DataUser.php:5</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataUser_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataUser.html">BristolSU\ControlDB\Repositories\DataUser</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataUser_8php_source.html#l00008">DataUser.php:8</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1ControlDBServiceProvider_html_a09a5546ce045cc882637d1a5fcee8ace"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1ControlDBServiceProvider.html#a09a5546ce045cc882637d1a5fcee8ace">BristolSU\ControlDB\ControlDBServiceProvider\setupRouteModelBinding</a></div><div class="ttdeci">setupRouteModelBinding()</div><div class="ttdef"><b>Definition:</b> <a href="ControlDBServiceProvider_8php_source.html#l00199">ControlDBServiceProvider.php:199</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1Tags_1_1GroupTag_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1Tags_1_1GroupTag.html">BristolSU\ControlDB\Repositories\Tags\GroupTag</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2Tags_2GroupTag_8php_source.html#l00013">GroupTag.php:13</a></div></div>
<div class="ttc" id="interfaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1DataUser_html"><div class="ttname"><a href="interfaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1DataUser.html">BristolSU\ControlDB\Contracts\Repositories\DataUser</a></div><div class="ttdef"><b>Definition:</b> <a href="Contracts_2Repositories_2DataUser_8php_source.html#l00010">DataUser.php:10</a></div></div>
Expand All @@ -147,7 +147,7 @@
<div class="ttc" id="interfaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1DataPosition_html"><div class="ttname"><a href="interfaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1DataPosition.html">BristolSU\ControlDB\Contracts\Models\DataPosition</a></div><div class="ttdef"><b>Definition:</b> <a href="Contracts_2Models_2DataPosition_8php_source.html#l00012">DataPosition.php:12</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Tags_1_1PositionTagCategory_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Repositories_1_1Tags_1_1PositionTagCategory.html">PositionTagCategory</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1Tags_1_1PositionTag_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Contracts_1_1Models_1_1Tags_1_1PositionTag.html">PositionTag</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataPosition_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataPosition.html">BristolSU\ControlDB\Repositories\DataPosition</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataPosition_8php_source.html#l00007">DataPosition.php:7</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataPosition_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1DataPosition.html">BristolSU\ControlDB\Repositories\DataPosition</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2DataPosition_8php_source.html#l00009">DataPosition.php:9</a></div></div>
<div class="ttc" id="namespaceIlluminate_1_1Database_1_1Eloquent_1_1Factory_html"><div class="ttname"><a href="namespaceIlluminate_1_1Database_1_1Eloquent_1_1Factory.html">Factory</a></div></div>
<div class="ttc" id="namespaceBristolSU_1_1ControlDB_1_1Commands_1_1SeedDatabase_html"><div class="ttname"><a href="namespaceBristolSU_1_1ControlDB_1_1Commands_1_1SeedDatabase.html">SeedDatabase</a></div></div>
<div class="ttc" id="classBristolSU_1_1ControlDB_1_1Repositories_1_1Tags_1_1GroupTagCategory_html"><div class="ttname"><a href="classBristolSU_1_1ControlDB_1_1Repositories_1_1Tags_1_1GroupTagCategory.html">BristolSU\ControlDB\Repositories\Tags\GroupTagCategory</a></div><div class="ttdef"><b>Definition:</b> <a href="Repositories_2Tags_2GroupTagCategory_8php_source.html#l00013">GroupTagCategory.php:13</a></div></div>
Expand Down
Loading

0 comments on commit ece0a7e

Please sign in to comment.