0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/unit
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
..
admin_spec.js Further grunt & test cleanup 2013-11-11 21:38:52 +00:00
apps_spec.js Rename unregisterFilter to deregisterFilter 2014-02-10 12:44:07 +00:00
bootstrap_spec.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
client_ghostdown_spec.js add test for allowing 4 underscores in markdown 2013-11-24 17:38:12 +01:00
client_showdown_int_spec.js Removed mailto auto-linking. 2014-02-06 15:34:13 +00:00
config_spec.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
errorHandling_spec.js Added handling for undefined errors and test coverage 2014-01-03 15:07:08 -05:00
export_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
filters_spec.js Ensure filters get default priority if priority is null 2014-02-10 18:14:47 +00:00
frontend_spec.js Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
import_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
mail_spec.js Improve bootstrap flow of a Ghost application 2014-02-07 17:34:21 -05:00
middleware_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
permissions_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
server_helpers_index_spec.js Allow HTML inside tag prefix/suffix 2014-02-08 22:27:36 +01:00
server_helpers_template_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
server_spec.js Remove ghost.js 2013-12-07 10:10:02 -05:00
shared_gfm_spec.js Removed mailto auto-linking. 2014-02-06 15:34:13 +00:00
storage_localfilesystem_spec.js Merge branch '0.4-maintenance' 2014-01-26 16:11:02 +00:00