Commit Graph

625 Commits

Author SHA1 Message Date
Ritchie Martori ebe874188c Merge pull request #106 from strongloop/docs/jsdoc
Add reference documentation using sdocs
2013-12-20 18:59:57 -08:00
Ritchie Martori 029b012f98 Merge pull request #112 from strongloop/docs/destroyall
Fix destroyAll reference
2013-12-20 15:03:57 -08:00
Ritchie Martori 20e28e07e4 Fix destroyAll reference 2013-12-20 13:37:18 -08:00
Ritchie fcc4bba82d Add reference documentation using sdocs 2013-12-19 17:49:47 -08:00
Raymond Feng a47317de0d Update README for application model 2013-12-19 13:42:12 -08:00
Ritchie Martori 7c4737f397 1.4.0 2013-12-18 21:43:01 -08:00
Ritchie Martori 52f58b7bb6 Merge pull request #101 from strongloop/feature/load-boot-dir
app.boot() now loads the "boot" directory
2013-12-18 21:42:06 -08:00
Ritchie Martori 981bdd4c81 app.boot() now loads the "boot" directory 2013-12-18 21:41:41 -08:00
Ritchie Martori 16b790a93a Merge pull request #102 from strongloop/fix/user
Various Fixes and Behavioral Changes to the User Model
2013-12-18 21:34:30 -08:00
Raymond Feng 3652c1584a Merge pull request #105 from strongloop/feature/push-settings
Allow cert/key data to be shared by push/feedback
2013-12-18 12:34:00 -08:00
Raymond Feng 40cd71c4c6 Clean up the test case 2013-12-18 12:28:58 -08:00
Raymond Feng ac2f4de9d3 Remove the default values for gateway/port 2013-12-18 12:28:48 -08:00
Raymond Feng 598b1e6b61 Reformat the code using 2 space identation 2013-12-18 11:49:09 -08:00
Raymond Feng 95ad3e8c04 Allow cert/key data to be shared by push/feedback 2013-12-18 10:58:34 -08:00
Ritchie Martori 9f2651578b fixup - Include accessToken in user logout tests 2013-12-17 21:34:30 -08:00
Ritchie Martori 98ed38302a Logout now automatically pulls the accessToken from the request 2013-12-17 21:22:05 -08:00
Ritchie Martori 939df463fe Fix tests depending on old behavior of default User ACLs 2013-12-17 21:10:05 -08:00
Ritchie Martori 3152960336 Add default user ACLs 2013-12-17 20:42:28 -08:00
Miroslav Bajtoš 0557237fa7 Merge pull request #100 from strongloop/feature/simplify-gcm-settings
Define schema for GCM push-notification settings
2013-12-17 09:54:34 -08:00
Miroslav Bajtoš d09e3225cd Define schema for GCM push-notification settings
Remove unused property PushNotificationSettingSchema.platform.

Flatten GCM settings schema. There is no need to distinquish between
pushOptions and feedback, as there is only single HTTP channel shared
by both.
2013-12-17 18:44:13 +01:00
Ritchie Martori 09fbb8a850 Merge pull request #99 from strongloop/refactor/acl
Improve debug statements for access control
2013-12-16 20:10:41 -08:00
Ritchie Martori 0794f141c1 Improve debug statements for access control 2013-12-16 18:12:13 -08:00
Rand McKinney d075821c32 Fixed some broken links and added ACL example in createModel() 2013-12-16 13:54:17 -08:00
Ritchie Martori 9841a86a46 1.3.4 2013-12-13 11:39:23 -08:00
Ritchie Martori 5a154072a1 Merge pull request #96 from strongloop/feature/config
Make all app config values available from `app.get()`
2013-12-12 16:01:43 -08:00
Ritchie Martori 591ed86444 Merge pull request #97 from strongloop/bug/check-access
Dont attempt access checking on models without a check access method
2013-12-12 16:01:33 -08:00
Ritchie Martori 00190227f8 Merge pull request #95 from strongloop/fix/owner-delete-user
Fix/owner delete user
2013-12-11 19:51:29 -08:00
Ritchie Martori 4619a143f5 Dont attempt access checking on models without a check access method 2013-12-11 19:46:56 -08:00
Ritchie Martori ea7c9216d7 App config settings are now available from app.get() 2013-12-11 19:31:16 -08:00
Ritchie Martori b62b8fa47d Fix user not allowed to delete itself if user
**Note: the only code required for the fix is in role.js:203**. The
other changes are to help organize debug output.
2013-12-11 19:15:19 -08:00
Ritchie Martori ad58a8ec13 Only look at cookies if they are available 2013-12-11 16:43:23 -08:00
Raymond Feng 0f4e9e1d1c Merge pull request #94 from strongloop/feature/access-context
Refactor to the code use wrapper classes
2013-12-11 16:26:01 -08:00
Raymond Feng 0f86f69880 Remove the empty comment and set default token 2013-12-11 16:21:37 -08:00
Raymond Feng 97dc0aa441 Refactor to the code use wrapper classes
Add AccessContext, Principal, and AccessRequest
Add debug information
2013-12-11 16:03:48 -08:00
Raymond Feng f8a03ad010 Merge pull request #93 from strongloop/fix/owner
Various ACL fixes
2013-12-11 11:09:53 -08:00
Raymond Feng 178674ec9a Enhance getRoles() to support smart roles 2013-12-11 09:06:21 -08:00
Raymond Feng 82eeaeee6b Fix the algorithm for Role.isInRole and ACL.checkAccess 2013-12-10 23:33:57 -08:00
Ritchie Martori 4560ec0964 Various ACL fixes 2013-12-10 21:49:18 -08:00
Ritchie Martori f08b09823d Merge pull request #92 from strongloop/feature/token-acl
Allow requests without auth tokens
2013-12-10 19:44:24 -08:00
Ritchie Martori b0f51e20f7 Add user default ACLs 2013-12-10 19:43:59 -08:00
Ritchie Martori dfcb43e613 Allow requests without auth tokens 2013-12-10 15:57:55 -08:00
Ritchie Martori 2885d3c08f Merge pull request #91 from strongloop/bug/base-model
Fix base class not being actual base class
2013-12-09 17:19:38 -08:00
Ritchie Martori e7cc30ee03 Fix base class not being actual base class 2013-12-09 17:11:01 -08:00
Raymond Feng 2efd2b1e2f Merge pull request #90 from strongloop/feature/fix-acl-resolution
Fix the ACL resolution against rules by matching score
2013-12-09 15:41:33 -08:00
Raymond Feng 7f51c28539 Fix the ACL resolution against rules by matching score 2013-12-09 15:26:53 -08:00
Ritchie Martori af2b8dd4ff Merge feature/password-reset 2013-12-06 17:35:14 -08:00
Ritchie Martori a6a135ab18 Merge pull request #87 from strongloop/feature/model-access-type
Add access type checking
2013-12-06 17:08:19 -08:00
Ritchie Martori 216fee3015 Add access type checking 2013-12-06 17:04:47 -08:00
Ritchie Martori 4e1e3afb74 Merge pull request #86 from strongloop/feature/model-require-token
Feature/model require token
2013-12-06 13:03:24 -08:00
Ritchie Martori bc27f07472 Add Model.requireToken for disabling token requirement 2013-12-06 12:09:52 -08:00