0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/unit
Aileen Nowak d2f2888da0 Favicon URI (#7700)
closes #7688

- Use `/favicon.ico` and `/favicon.png` in blog app. Depending on type of storage (custom upload = local file storage), serves either from storage adapter with `read()` method or reads the bytes via `fs`.
- Redirects requests for `favicon.ico` to `favicon.png` if custom `png` icon is uploaded and vice versa.
- Redirect requests for `favicon.png` to `favicon.ico` if default icon is used (in `core/shared`).
- Changes the `{{asset}}` helper for favicon to not serve from theme assets anymore. It will either be served the custom blog-icon or the default one.
- The `{{@blog.icon}}` helper renders the url of the **uploaded** blog icon. It won't render the default icon.
2017-01-26 18:01:19 +00:00
..
api 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
auth Fix brute for token exchanges (#7725) 2016-11-17 14:02:56 +01:00
config Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
controllers/frontend Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
mail 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
metadata Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
middleware Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
models/base improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
models_plugins change default order of posts (#7096) 2016-07-15 11:04:10 +01:00
scheduling Error creation (#7477) 2016-10-06 13:27:35 +01:00
server_helpers Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
sitemap 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
storage add read method to local file storage 2016-11-09 11:31:56 +01:00
utils More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
api_utils_spec.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
apps_filters_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
apps_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
errors_spec.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
exporter_spec.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
filters_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
ghost_url_spec.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
importer_spec.js feature: upload validation middleware (#7208) 2016-08-18 20:25:51 +01:00
migration_fixture_utils_spec.js 🔥 😎 remove old migrations (#7887) 2017-01-25 13:47:49 +00:00
migration_spec.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
permissions_spec.js 🎨 configurable logging with bunyan (#7431) 2016-10-04 16:33:43 +01:00
rss_spec.js replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
server_helpers_index_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
server_helpers_template_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
server_utils_spec.js 🎨 change gravatar file design (#7553) 2016-10-13 13:52:22 +01:00
showdown_client_integrated_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
slack_spec.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
social-urls_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
utils_pipeline_spec.js Update mocha to version 3.0.2 🚀 (#7165) 2016-08-11 08:51:19 +01:00
validation_spec.js 🔑 Update Validator to 6.2.1 (#7823) 2017-01-10 13:05:25 +01:00
xmlrpc_spec.js 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00