Ghost/core/server
Gabor Javorszky 212711d896 Added package.js support for themes (and plugins)
Closes #2081
* Amended require-tree to populate availableThemes and availablePlugins to use full file names (`basename.ext`) as keys instead of just basename. This way `image.jpg`, `image.png`, `image.gif` won't overwrite the `image` key.
* Amended require-tree to allow package.json file parsing to return the contents of the file as json on the `package.json` key.
* settings api populates theme data `package` if it exists. Otherwise it assigns `false` to it
* `general.hbs` (salute) was reworked to if there is the package key on the theme is not false, it will use the `name` and `version` keys of that. You can break it by not having a `name` or `version` in the package.json file.
* Added error and warning messages for package.json file parse errors and misses
2014-02-13 23:57:58 +00:00
..
api Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
apps Rename unregisterFilter to deregisterFilter 2014-02-10 12:44:07 +00:00
config Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
controllers Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
data Adds support for additional permalink structures 2014-02-10 12:07:43 -05:00
helpers Allow HTML inside tag prefix/suffix 2014-02-08 22:27:36 +01:00
middleware Improve bootstrap flow of a Ghost application 2014-02-07 17:34:21 -05:00
models Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
permissions Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
routes Adds support for additional permalink structures 2014-02-10 12:07:43 -05:00
storage Improve bootstrap flow of a Ghost application 2014-02-07 17:34:21 -05:00
views Merge pull request #2054 from ErisDS/issue-1995 2014-01-28 00:53:45 -08:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
bookshelf-session.js Merge branch '0.4-maintenance' 2014-01-26 16:11:02 +00:00
errorHandling.js Improve bootstrap flow of a Ghost application 2014-02-07 17:34:21 -05:00
filters.js Ensure filters get default priority if priority is null 2014-02-10 18:14:47 +00:00
index.js Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
mail.js Don't require mail.options to be set 2014-02-07 11:17:22 +01:00
middleware.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
require-tree.js Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
update-check.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00