Jacob Gable
13d2d04c72
App Permissions from package.json
...
Progress on #2095
- Add new AppPermissions class with read() method
- has default permissions to read and browse posts
- uses default permissions if no package.json
- uses default permissions if no ghost object in package.json
- errors when reading malformed package.json
- uses ghost.permissions if found in package.json
2014-04-16 18:14:56 +02:00
Fabian Becker
3993b676b6
Rename unregisterFilter to deregisterFilter
...
fixes #2167
- Rename functions
- Adjust tests
2014-02-10 12:44:07 +00:00
Fabian Becker
3950c8b30a
Fix for broken filters where this
context was lost.
...
fixes #2157
- Change tests to only check for existance
- Properly bind helpers/filters to their instance
2014-02-10 01:45:24 +01:00
Jacob Gable
e3affff713
Install App Dependencies
...
- Spawns an npm install command from the App root
- Has some special OS checks for windows command spawning
2014-02-08 16:58:13 -06:00
John-David Dalton
6eab7b3f92
Replace underscore with lodash.
2014-02-06 14:08:34 +00:00
Hannah Wolfe
ca01b732b2
Fixing App unit test on Windows
...
- switched test from exact string to regex to match both types of paths
2014-02-06 11:58:58 +00:00
Jacob Gable
c7713c1d27
Load Apps Sandboxed
...
- Based on suggestions from hswolff loading with a Module class approach
- Loads relative modules in child sandboxes
2014-02-04 15:46:31 -06:00