summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* reverting mysqli detection in mysql datasourceHEAD2.10origin/masterorigin/HEADmasterChris Cornutt2016-07-141-5/+1
|
* Adding check for mysql vs mysqli extension (mysql removed in PHP 7)Chris Cornutt2016-07-141-1/+5
|
* When the creation of the original record fails, an attempt to create the ↵Bruno Skvorc2016-02-071-7/+6
| | | | relations is still made - this, naturally, fails. By moving this block inside the check, the situation is prevented - at least the relations aren't attempted if the original fails.
* Bug fixesBruno Skvorc2016-02-073-17/+21
|
* Count feature in progressBruno Skvorc2016-02-075-1/+82
|
* Update FindBy.phpBruno Škvorc2016-01-311-2/+2
| | | Typo in namespace breaks the app.
* Fixing check for expired token, ensuring there's actually a date value to ↵2.9.1Chris Cornutt2015-12-151-1/+1
| | | | compare in Remember Me
* Whoops.Bruno Škvorc2015-08-061-1/+3
|
* Altered main class to use new DotenvBruno Skvorc2015-08-061-2/+2
|
* Adding the cloning operation (for users first)2.9Chris Cornutt2015-08-052-1/+50
|
* reverting the change on finding the group by name in inGroupChris Cornutt2015-08-041-1/+1
|
* fixing call inside the inGroup method for getting a group by nameChris Cornutt2015-08-041-1/+1
|
* missed a variable rename, group -> groupIdChris Cornutt2015-07-271-1/+1
|
* allowing inGroup and hasPermission to use "name" as well as "id"Chris Cornutt2015-07-271-10/+18
|
* fixing bug in inGroup where the validation was too strictChris Cornutt2015-07-271-1/+1
|
* adding missing "use" for the Validator class to Laravel service providerChris Cornutt2015-07-211-0/+1
|
* adding a custom validator (gk_unique) to the provider for use with the ↵Chris Cornutt2015-07-211-0/+18
| | | | Gatekeeper find* handling
* adding the "getLastError" method to get the last reported error on the data ↵Chris Cornutt2015-07-212-0/+16
| | | | source
* Updates to get the remember me token handling working with the custom auth ↵Chris Cornutt2015-07-192-12/+41
| | | | provider
* adding docblocks, fixing credentials to pull from .env, authentication now ↵Chris Cornutt2015-07-194-25/+129
| | | | works but "remember me" is still pending
* updating User model with "authTokens" property and adding an ↵Chris Cornutt2015-07-192-0/+35
| | | | AuthTokenCollection instance
* fixing issue where exception was assumed on model location (throttle)Chris Cornutt2015-07-191-3/+3
|
* Initial statges of a custom provider for Laravel5Chris Cornutt2015-07-194-0/+158
|
* removing debugging from the Permissions resolver classChris Cornutt2015-07-171-1/+0
|
* allowing the addition of groups and permissions like the dcs say on user ↵2.6.1Chris Cornutt2015-07-171-0/+14
| | | | register
* return the user model instance on register success, false on failure2.6Chris Cornutt2015-07-171-2/+1
|
* return a false instead of throwing an exception when record is not foundChris Cornutt2015-07-171-2/+1
|
* fixing namespace on model not found exceptions in findby handlerChris Cornutt2015-07-171-2/+2
|
* Merge branch 'master' of git://github.com/psecio/gatekeeperChris Cornutt2015-07-171-2/+2
|\
| * Added "charset=utf8" to PDO initializationSer52015-07-161-2/+2
| | | | | | This way non-latin characters are stored in database as is and not as garbage.
* | adding "save" method shortcut to the mysql base modelChris Cornutt2015-07-171-0/+11
|/
* adding findUsersByPermissionId to user model to get users with a given ↵Chris Cornutt2015-07-132-0/+31
| | | | permission
* adding abstract Resolver classChris Cornutt2015-07-101-0/+8
|
* adding "groups" property to permissions to get related groupsChris Cornutt2015-07-101-0/+9
|
* adding method to get the groups a permission belongs toChris Cornutt2015-07-101-0/+21
|
* Adding method to clear restrictions on authenticate evaluationChris Cornutt2015-07-101-0/+8
|
* adding a method to check if a group has a permissionChris Cornutt2015-07-081-0/+23
|
* adding "expire" timeouts to the grant* handling tooChris Cornutt2015-07-031-9/+20
|
* Merge pull request #16 from jdudley1123/patch-12.5Chris Cornutt2015-07-031-3/+3
|\ | | | | Fix for cookie setting and verification issue
| * Fix for cookie setting and verification issuejdudley11232015-06-161-3/+3
| | | | | | Corrected a mistake in a class name, and added a work around for setting cookies on localhost which requires the domain be 'false'.
* | fixing bug in expire checking in group model, adding testsChris Cornutt2015-07-031-1/+1
| |
* | fixing misspelling in Policy model name in policy collectionChris Cornutt2015-07-031-1/+1
| |
* | adding "is expired" tests for permissionsChris Cornutt2015-07-031-1/+1
| |
* | adding "isExpired" to groupsChris Cornutt2015-07-031-0/+10
| |
* | adding expiration handling to adding user groupsChris Cornutt2015-07-033-3/+17
| |
* | adding support for the "expires" handling in the user permissionsChris Cornutt2015-07-023-4/+15
| |
* | adding expiration to permissions, updating docsChris Cornutt2015-07-021-0/+15
|/
* Updating permission, policy and user models with @property notationsChris Cornutt2015-06-123-0/+35
|
* adding default property for tableNameChris Cornutt2015-06-121-0/+6
|
* fixing calls to self:: and correcting call to modelFactoryChris Cornutt2015-06-121-3/+4
|
* adding "if" check around call to throttle model instanceChris Cornutt2015-06-121-1/+6
|
* adding the "handlers" for the different kinds of requests made to Gatekeeper ↵Chris Cornutt2015-06-126-128/+276
| | | | class (find, save, delete)
* adding logger handling and update last login call for user authenticationChris Cornutt2015-06-121-2/+47
|
* adding lastLogin property and updateLastLogin method to User modelChris Cornutt2015-06-121-0/+18
|
* Merge pull request #15 from psecio/resolverChris Cornutt2015-06-061-0/+29
|\ | | | | adding Permission resolver
| * adding Permission resolverorigin/resolverChris Cornutt2015-06-061-0/+29
| |
* | fixing bug in the permission collection with a bad column nameChris Cornutt2015-06-061-4/+6
| |
* | Fixing issue with find by for multiple resultsChris Cornutt2015-06-041-2/+1
|/
* Adding the "closures as policies" handling2.2Chris Cornutt2015-06-021-2/+32
|
* changing evaluate call to remove redundant optional second paramChris Cornutt2015-05-301-1/+1
|
* adding the evaluatePolicy method to check data against a given policyChris Cornutt2015-05-291-0/+13
|
* Adding a collection to fetch all policiesChris Cornutt2015-05-291-0/+25
|
* Adding the created/updated columns to the Policy modelChris Cornutt2015-05-291-1/+11
|
* adding a model for the Policy tableChris Cornutt2015-05-281-0/+68
|
* adding two exceptions for expressions and policiesChris Cornutt2015-05-282-0/+16
|
* adding support for the DB prefix to all collections and the Mysql base ↵Chris Cornutt2015-05-117-9/+21
| | | | connection
* Adding table prefix check to collection Mysql base classChris Cornutt2015-05-091-1/+3
|
* adding check for table prefix in default Mysql model instanceChris Cornutt2015-05-091-1/+3
|
* changing up the config handling, renaming "getConfig" to "loadConfig" and ↵Chris Cornutt2015-05-081-3/+42
| | | | using "getConfig" for fetching values instead. Adding DB_PREFIX to the values populated into the config
* adding a custom Phinx migration class to help with table prefixesChris Cornutt2015-05-081-0/+58
|
* Minor code style improvements (whitespace, PHPDocs, removed unreachable code).Sid Roberts2015-04-168-29/+30
|
* adding getters for data, user and expire interval on the remember me handlingChris Cornutt2015-02-191-0/+24
|
* adding a check to the addSecurityQuestion method to ensure answer != passwordChris Cornutt2015-02-181-0/+5
|
* adding the model for security questionsChris Cornutt2015-02-181-0/+77
|
* adding the collection for the security questions for a userChris Cornutt2015-02-181-0/+24
|
* adding the addSecurityQuestion method to the UserModelChris Cornutt2015-02-181-0/+20
|
* moving the hash_equals handling out of the UserModel and changing the call to itChris Cornutt2015-02-181-24/+1
|
* adding the security questions relationshipChris Cornutt2015-02-181-0/+9
|
* moving the hash_equals backport out from RememberMe model and updating the ↵Chris Cornutt2015-02-181-20/+1
| | | | call to it
* moving the backport of hash_equals into the main Gatekeeper class (out from ↵Chris Cornutt2015-02-181-0/+24
| | | | UserModel)
* fixing docblocks, removing unneeded paramsChris Cornutt2015-02-062-10/+8
|
* Merge branch 'auth-token'2.1Chris Cornutt2015-02-064-2/+374
|\
| * changing up handling for hashing in db storage, find token by ID and evaluationorigin/auth-tokenChris Cornutt2015-02-061-3/+16
| |
| * fix "find by" to correctly get userChris Cornutt2015-02-061-1/+2
| |
| * adding better hash evaluation for matchingChris Cornutt2015-02-061-2/+22
| |
| * big refactor on the RememberMe class to only use one token for validation ↵Chris Cornutt2015-02-041-35/+28
| | | | | | | | instead of two (cookies)
| * allowing for a username to be input into the rememberMe handling (and ↵Chris Cornutt2015-02-041-2/+5
| | | | | | | | fetching the user from it)
| * adding a "find by user ID" method to the user modelChris Cornutt2015-02-041-0/+13
| |
| * adding "Remember me" handling and flag to enable/disable it on authenticationChris Cornutt2015-02-041-2/+31
| |
| * adding "user" property to the Auth token model and fixing the property name ↵Chris Cornutt2015-02-041-1/+10
| | | | | | | | for expires
| * adding "Remember Me" class handlingChris Cornutt2015-02-041-0/+237
| |
| * adding intial version of auth token modelChris Cornutt2015-02-031-0/+54
| |
* | adding comment on current Laravel provider to mark it as 4.x onlyChris Cornutt2015-02-051-0/+3
|/
* adding remove* methods to the group modelChris Cornutt2015-01-301-0/+45
|
* adding revoke* methods to user model for groups/permissionsChris Cornutt2015-01-301-0/+36
|
* adding docblocks and method to get current restroctions to Gatekeeper classChris Cornutt2015-01-301-0/+14
|
* removing call to loadRestrictions (oops)Chris Cornutt2015-01-301-2/+0
|
* removing loadRestrictions method, adding setDatasourceChris Cornutt2015-01-301-5/+10
|
* converting the throttle checking over to a Restriction, adding the ↵Chris Cornutt2015-01-282-16/+38
| | | | restriction class for it too
* adding Restriction handling and first one: IP-based2.0Chris Cornutt2015-01-273-0/+151
|