0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00
ghost/core/test/unit
Aileen Nowak 7cb57bff3d Find favicon in Ghost (#7713)
refs #7688

Adds logic in theme settings api to either serve an uploaded favicon and give it the type `upload` or use the default settings `default`, which will serve the favicon from our shared directory.

TODOs for #7688:
- [X] Figure out, which favicon should be used (uploaded or default) -> this PR
- [ ] Serve and redirect the favicon for any browser requests, incl. redirects
- [ ] Upload favicon via `general/settings` and implement basic admin validations -> [WIP] TryGhost/Ghost-Admin#397
- [ ] Built server side validations
2017-01-23 10:13:52 +01: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 Find favicon in Ghost (#7713) 2017-01-23 10:13:52 +01:00
controllers/frontend Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
logging 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
mail 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
metadata 🎨 escape sameAs for structured data (#7833) 2017-01-10 12:21:37 +00:00
middleware Replace memory spam prevention with brute-express (#7579) 2016-11-08 12:33:19 +01: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 Make AMP optional (#7830) 2017-01-17 16:40:06 +01: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 small error improvements 2016-11-09 09:22:33 +01:00
exporter_spec.js Error creation (#7477) 2016-10-06 13:27:35 +01: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 replace auto increment id's by object id (#7495) 2016-11-17 09:09:11 +00:00
migration_spec.js knex-migrator v2 (#7605) 2016-11-07 11:39:49 +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_spec.js 🎨 make settings cache available (#7692) 2016-11-08 13:37:19 +00: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
versioning_spec.js migrations: seeding is part of init db task (#7545) 2016-10-12 16:18:57 +01:00
xmlrpc_spec.js 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00