summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* adding exceptions for data not found and restriction failsChris Cornutt2015-01-272-0/+16
|
* updating user group collection to add new model instances to the collection ↵Chris Cornutt2015-01-251-1/+3
| | | | (was just saving and not adding)
* refactoring the grant handling (again? yes, again)1.9.1Chris Cornutt2015-01-241-18/+51
|
* adding return for the grant method and refactoring configurationChris Cornutt2015-01-242-11/+30
|
* moving the datasource creation logic out of the initChris Cornutt2015-01-231-13/+25
|
* fixing return type in the find method on data sourceChris Cornutt2015-01-231-1/+1
|
* removing a few things found by scrutinizerChris Cornutt2015-01-231-2/+1
|
* commenting the grant method1.9Chris Cornutt2015-01-231-0/+5
|
* Merge branch 'master' of git://github.com/psecio/gatekeeperChris Cornutt2015-01-233-4/+79
|\
| * fixing check for id in inGroup on user modelChris Cornutt2015-01-191-1/+1
| |
| * updating mysql data source with additional checks for model/collection switchChris Cornutt2015-01-191-1/+2
| |
| * adding fix when user/group match is not foundChris Cornutt2015-01-191-0/+3
| |
| * adding a getter for the main datasource1.8Chris Cornutt2015-01-191-0/+10
| |
| * adding option to force return as multiple or singleChris Cornutt2015-01-192-3/+5
| |
| * updating findBy* and datasource find() to return collection instead of a ↵Chris Cornutt2015-01-192-3/+62
| | | | | | | | single record if more than one result is found
* | adding adding the "grant" function and docs for the User modelChris Cornutt2015-01-231-0/+24
|/
* fixing bug in inGroup checking1.7Chris Cornutt2015-01-181-1/+1
|
* fixing getUserThrottle call to remove throttle model as first param in ↵1.6Chris Cornutt2015-01-181-2/+1
| | | | findThrottleByUserId call
* fixing fetch statement to correctly use $dbDataChris Cornutt2015-01-161-1/+1
|
* moving the user relation for groups over to user group collection (from just ↵Chris Cornutt2015-01-161-1/+1
| | | | group collection)
* fixing properties on the UserGroupModel for groupId and userIdChris Cornutt2015-01-161-2/+2
|
* moving the findByUserId to the UserGroupCollectionChris Cornutt2015-01-161-20/+0
|
* adding the user group collection and matching test, updating group ↵Chris Cornutt2015-01-161-0/+57
| | | | collection test to move method
* adding UserPermissionCollectionChris Cornutt2015-01-161-0/+57
|
* moving relation for permissions over to UserPermissionCollectionChris Cornutt2015-01-161-1/+1
|
* removing the findByUserId from Permission collection, moved to findByUserIdChris Cornutt2015-01-161-20/+0
|
* Updating Mysql model to check for relation and allow add to property valuesChris Cornutt2015-01-161-7/+12
|
* adding relation handling (create)Chris Cornutt2015-01-161-3/+21
|
* fixing call to find to add in a modelChris Cornutt2015-01-151-1/+2
|
* Merge branch 'master' of https://github.com/psecio/gatekeeperChris Cornutt2015-01-155-1/+141
|\
| * adding "children" property to permission modelChris Cornutt2015-01-111-0/+9
| |
| * adding findChildrenByPermissionId method to permission collectionChris Cornutt2015-01-111-0/+20
| |
| * adding the permission "parent" migration and model handlingChris Cornutt2015-01-112-0/+88
| |
| * adding removeChild methodChris Cornutt2015-01-111-0/+23
| |
| * fixing handleFindBy method to correctly be staticChris Cornutt2015-01-111-1/+1
| |
* | catching and rethrowing exception when datasource creation failsChris Cornutt2015-01-151-1/+6
|/
* adding hierarchical group supportChris Cornutt2015-01-093-0/+94
|
* fixing case-sensitive name in Mysql data source classChris Cornutt2015-01-091-1/+1
|
* allow constructor injection of the PDO object in mysql data sourceChris Cornutt2015-01-091-8/+18
|
* fixing the fundByUserId method to work with data source, removing extra ↵1.3Chris Cornutt2015-01-071-2/+3
| | | | return statement
* allowing mysql model to load based on property name tooChris Cornutt2015-01-071-2/+3
|
* removing errant senicolonChris Cornutt2015-01-071-1/+1
|
* updating Stub data source to shorten it a bit;Chris Cornutt2015-01-071-23/+12
|
* adding more Group model tests, updating model to fix a bugChris Cornutt2015-01-061-1/+1
|
* fixing the property names in the Group Permission modelChris Cornutt2015-01-061-2/+2
|
* fixing Datasource in stub class (case change)Chris Cornutt2015-01-061-1/+1
|
* adding lots more tests for the User model, updates to the model for issues ↵Chris Cornutt2015-01-061-5/+5
| | | | found during testing
* fixing the property names on the user permission modelChris Cornutt2015-01-051-2/+2
|
* updating user model to check for object instances on addGroup and addPermissionChris Cornutt2015-01-051-6/+12
|
* adding initial unit test handling and first testChris Cornutt2015-01-051-0/+72
|
* updating spots in User and Group model to make find work with data source ↵Chris Cornutt2015-01-052-6/+8
| | | | handling againt
* updating Gatekeeper class to allow models to be passed in to methodsChris Cornutt2015-01-051-4/+9
|
* removing errant return on code generationChris Cornutt2015-01-051-1/+1
|
* code formatting issue1.1Chris Cornutt2015-01-051-2/+1
|
* lots of updates for the data source handling, also added handleSave methodChris Cornutt2015-01-051-18/+44
|
* changing user model over to data source handling, adding "addGroup" method tooChris Cornutt2015-01-051-5/+20
|
* updating Group and Throttle models to use new data source handlingChris Cornutt2015-01-052-5/+5
|
* updating collections to use new data source handlingChris Cornutt2015-01-053-4/+4
|
* updating Mysql collections and models to remove DB handling and defer to ↵Chris Cornutt2015-01-052-275/+14
| | | | data source
* Adding datasource classes (and mysql instance)Chris Cornutt2015-01-052-0/+341
|
* adding check for update values before appending to the where in Mysql modelChris Cornutt2014-12-171-1/+5
|
* adding the "throttle" property to users and updating docs1.0Chris Cornutt2014-12-172-0/+20
|
* adding throttle status and enable methods, updating docs to reflectChris Cornutt2014-12-171-0/+18
|
* don't reset the number of attempts on a successful loginChris Cornutt2014-12-171-1/+0
|
* adding the "loginAttempts" property to the user modelChris Cornutt2014-12-171-0/+26
|
* adding the "isBanned" methodChris Cornutt2014-12-171-0/+13
|
* adding throttle handling, allow for config option to disable tooChris Cornutt2014-12-161-3/+80
|
* adding exception when throttling record is not foundChris Cornutt2014-12-161-0/+8
|
* adding throttling modelChris Cornutt2014-12-161-0/+138
|
* updating the Gatekeeper class with delete handlingChris Cornutt2014-12-161-0/+43
|
* adding delete() method to the Mysql modelChris Cornutt2014-12-161-0/+23
|
* fixing the handling of arguments in the create handlingChris Cornutt2014-12-161-2/+2
|
* removing the manual "findById" method in favor of the more dynamic findBy ↵Chris Cornutt2014-12-161-36/+49
| | | | handling (using __callStatic)
* see if we need to change a column given over from a property name to a MySQL ↵Chris Cornutt2014-12-161-0/+5
| | | | column name
* adding in missing "host" value for PDO instance creationChris Cornutt2014-12-151-1/+2
|
* adding a Laravel data provider to work with Gatekeeper0.6Chris Cornutt2014-12-151-0/+107
|
* updating Gatekeeper class to allow for DB config injection and added ↵0.5Chris Cornutt2014-12-151-5/+52
| | | | "makeModel" factory method
* updating Group model to use description/name propertyChris Cornutt2014-12-141-3/+8
|
* adding permission relationship and addPermission method to Group model0.4Chris Cornutt2014-12-141-1/+32
|
* adding findByGroupId method to permission collectionChris Cornutt2014-12-141-0/+20
|
* adding model gor the group->permission relationshipChris Cornutt2014-12-141-0/+44
|
* adding docblock on permission collectionChris Cornutt2014-12-131-0/+5
|
* changing the SQL for the find by user ID in permission collectionChris Cornutt2014-12-131-1/+1
|
* adding permission collectionChris Cornutt2014-12-131-0/+21
|
* adding permissions property to userChris Cornutt2014-12-131-0/+9
|
* adding password add and check methods to user model, docblock for ↵Chris Cornutt2014-12-131-0/+37
| | | | getResetPasswordCode
* adding model for user -> permission relationshipChris Cornutt2014-12-131-0/+44
|
* adding inGroup method to the user modelChris Cornutt2014-12-121-0/+16
|
* adding the User collection and linking it to the Group modelChris Cornutt2014-12-122-0/+35
|
* overwriting the makeModelInstance method instead of all of __get0.2Chris Cornutt2014-12-121-35/+6
|
* removing no longer needed __get methodChris Cornutt2014-12-121-40/+0
|
* adding the "groups" relation to the User modelChris Cornutt2014-12-121-0/+9
|
* overriding the __get from the main modelChris Cornutt2014-12-121-0/+41
|
* adding Groups collectionChris Cornutt2014-12-121-0/+26
|
* adding Mysql collection typeChris Cornutt2014-12-121-0/+150
|
* refacotring to make __callStatic handle creates tooChris Cornutt2014-12-121-27/+24
|
* refactoring to move the logic for the "find*ById" method out of __callStaticChris Cornutt2014-12-121-1/+16
|
* refactoring to remove manual "find*ById" methods in favor of __callStaticChris Cornutt2014-12-121-41/+25
|
* adding exception when model isn't found in find*ById handlingChris Cornutt2014-12-121-0/+8
|
* adding methods to create permissionsChris Cornutt2014-12-121-0/+29
|