0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server
Aileen Nowak d4b6390fd6 Improved importer logic for password in users (#9161)
refs #9150

- move data manipulation for importing users from `importers/data/users` to `model/user` for more consistency (see behaviour of post imports)
- changed importing logic in `onSaving` fn for user model:
   - when importing, we set the password to a random uid and don't validate, just hash it and lock the user
   - when importing with `importPersistUser` we check if the password is a bcrypt hash already and fall back to normal behaviour if not (set random password, lock user, and hash password)
   - don't run validations when importing
2017-10-19 10:43:52 +01:00
..
adapters Debug: LocalStorage response time 2017-10-04 10:05:35 +01:00
admin API express app routing & middleware improvements (#8883) 2017-08-17 17:52:58 +07:00
api Prev & next post filtering, with primary tag support (#9141) 2017-10-13 15:44:39 +01:00
apps 🐛 Fixed internal links converting to absolute URLs (#9143) 2017-10-18 17:54:17 +01:00
auth Improved debug logs for auth utils (#9015) 2017-09-18 16:23:47 +01:00
blog Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
config 🐛 Fixed redirects upload for various browsers/systems (#9042) 2017-09-22 21:57:43 +02:00
controllers Always use our redirects utility (#9132) 2017-10-12 14:36:50 +02:00
data Improved importer logic for password in users (#9161) 2017-10-19 10:43:52 +01:00
events
helpers support prev/next filtering by author (#9149) 2017-10-18 18:12:20 +01:00
mail Improved log output for welcome email error (#9016) 2017-09-19 14:24:20 +01:00
middleware 🐛 HTML page error: correct templateData (#9144) 2017-10-13 14:26:42 +01:00
models Improved importer logic for password in users (#9161) 2017-10-19 10:43:52 +01:00
permissions Permissions: minor refactors (#9104) 2017-10-05 21:01:34 +02:00
public 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
settings Used ghost-ignition.debug, removed debug dep (#8881) 2017-08-15 18:29:27 +07:00
themes 🐛 Fixed showing "theme missing" error incorrectly (#9129) 2017-10-11 15:19:12 +02:00
translations Increase minimum password length to 10 characters (#9152) 2017-10-18 17:45:41 +01:00
utils 🐛 Fixed internal links converting to absolute URLs (#9143) 2017-10-18 17:54:17 +01:00
views 🎨 gscan 1.1.0 & optimisations 2017-06-06 13:07:50 +07:00
analytics-events.js Add segment analytics for blog data (#8912) 2017-08-22 12:23:23 +01:00
app.js API express app routing & middleware improvements (#8883) 2017-08-17 17:52:58 +07:00
errors.js 🐛 Added 409 UpdateCollisionError for the editor (#8899) 2017-08-15 12:06:40 +02:00
filters.js
ghost-server.js Used ghost-ignition.debug, removed debug dep (#8881) 2017-08-15 18:29:27 +07:00
i18n.js Improved the usage of missing translation keys (#9081) 2017-10-03 09:47:48 +02:00
index.js Removed defunct Ghost OAuth code (#9014) 2017-09-18 13:01:58 +01:00
logging.js
overrides.js
update-check.js 🐛 Fixed persistent upgrade notifications showing for the currently installed version (#9048) 2017-09-25 12:22:56 +01:00