0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server
Katharina Irrgang 90fc7a6c06 🐛 respect owner user id references when importing (#8693)
closes #8691 

There was a condition added when i've refactored the importer.

> if (models.User.isOwnerUser(obj[key])) {

This condition is absolutely wrong! If you import an owner user, this owner user get's imported as administrator. But the original owner user id reference must be updated as well, so that the reference points to the new administrator id ✌🏻
2017-07-20 11:11:56 +01:00
..
adapters 🐛 Fix double slash in scheduling API URL (#8574) 2017-06-14 16:26:28 +02:00
admin 🐛 Modify regex to allow subdir/ghost urls. (#8627) 2017-06-27 09:08:59 +02:00
api 🐛 invite existing users 2017-07-18 18:24:36 +01:00
apps 🐛 Update amp.hbs image helper and meta (#8659) 2017-07-06 10:23:50 +02:00
auth 🚑 Disable remote authentication (#8346) 2017-04-24 18:56:49 +01:00
blog 🐛 Fix custom robots.txt via template directory. (#8648) 2017-07-06 00:14:35 +02:00
config fix(config): cleanup absolute path config function (#8641) 2017-07-06 00:04:18 +02:00
controllers/frontend Posts per page as theme-config (#8149) 2017-03-14 18:03:36 +01:00
data 🐛 respect owner user id references when importing (#8693) 2017-07-20 11:11:56 +01:00
events
helpers 📖 replace any support.ghost.org link (#8555) 2017-06-08 20:34:20 +01:00
mail 🐛 escape blog title for mail header (#8453) 2017-05-12 15:09:45 +02:00
middleware 🎨 gscan 1.1.0 & optimisations 2017-06-06 13:07:50 +07:00
models 🐛 fix unknown user id on deactivated event 2017-07-18 18:20:10 +01:00
permissions 🐛 fix invite permissions for editor (#7889) 2017-01-25 12:07:31 +00:00
public 🎨 Use svg icons in default templates (#8343) 2017-05-15 13:43:58 +02:00
settings 🐛 fix settings cache (#8506) 2017-06-04 17:52:22 +07:00
themes 🐛 Remove trailing slash for {{@blog.url}} (#8596) 2017-06-19 16:11:53 +02:00
translations 🎨 transform console.log into logging (#8671) 2017-07-11 09:00:07 +01:00
utils 🐛 Remove trailing slash for {{@blog.url}} (#8596) 2017-06-19 16:11:53 +02:00
views 🎨 gscan 1.1.0 & optimisations 2017-06-06 13:07:50 +07:00
app.js 🐛 Fix the config for compression (#8226) 2017-04-03 10:58:07 +02:00
errors.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
filters.js
ghost-server.js 🔥 remove beta mentioning's (#8673) 2017-07-11 14:05:55 +01:00
i18n.js 🎨 rename language to locale and use en as default locale (#8490) 2017-05-31 16:05:49 +01:00
index.js 🎨 Move scheduling and storage in adapters/ (#8435) 2017-05-15 12:52:01 +02:00
logging.js 🐛 forward missing logging config: rotation 2017-02-17 18:24:14 +01:00
overrides.js
update-check.js 📖 replace any support.ghost.org link (#8555) 2017-06-08 20:34:20 +01:00