0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test/unit
Katharina Irrgang c070c9722d 🐛 re-run init migrations protection (#7899)
no issue

- if re-running the init scripts (for example: you lost the init rows in the migrations table), then it was throwing errors
- 1. the owner slug and email can change -> no match and it tried to reinsert the user with id 1, which failed
- 2. querying an inactive user is not allowed, because the user model protects against it
2017-01-25 22:08:09 +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 🐷 Rename 'favicon' to 'icon' (#7888) 2017-01-25 11:02:02 +01: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 🎨 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 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00: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 🔥 😎 remove old migrations (#7887) 2017-01-25 13:47:49 +00:00
migration_spec.js 🐛 re-run init migrations protection (#7899) 2017-01-25 22:08:09 +01: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
versioning_spec.js 🔥 😎 remove old migrations (#7887) 2017-01-25 13:47:49 +00:00
xmlrpc_spec.js 🎨 replace process.env.NODE_ENV usages by config.get('env') (#7544) 2016-10-11 13:53:52 +01:00