0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
Sebastian Gierlinger 61e94a6e8b Use current user in models
closes #2058
- fixed apiContext as suggested in the issue
- added user to options object for models
- added api.users.register() for public registration
- changed models to use options.user for created_by, updated_by,
author_id and published_by
- added override to session model to avoid created_by and updated_by
values
- added user (id: 1) to tests
- added user (id: 1) for registration
- added user (id: 1) for import, fixtures and default settings
- added user (id: 1) for user update
- added user (id: 1) for settings update (dbHash, installedApps, update
check)
- updated bookshelf to version 0.6.8
2014-04-16 18:20:09 +02:00
..
api Use current user in models 2014-04-16 18:20:09 +02:00
apps Use current user in models 2014-04-16 18:20:09 +02:00
config Add promise to ghost startup process to allow 2014-03-11 11:41:45 -04:00
controllers Use current user in models 2014-04-16 18:20:09 +02:00
data Use current user in models 2014-04-16 18:20:09 +02:00
helpers Ghost footer outputs minified jquery in production 2014-04-06 08:42:25 -04:00
middleware Fixed check for a theme's custom error.hbs: 2014-03-29 08:19:51 -06:00
models Use current user in models 2014-04-16 18:20:09 +02:00
permissions canThis() improvements 2014-04-16 18:17:43 +02:00
routes Merge pull request #2439 from sebgie/move-slug 2014-03-28 17:12:55 +00:00
storage Build correct path on image upload when config has custom content path 2014-04-07 05:01:39 +00:00
views Add shim for codemirror on touchscreens 2014-03-19 09:26:45 +00:00
api.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
bookshelf-session.js Improvements for models 2014-02-19 14:57:26 +01:00
errorHandling.js Fixed check for a theme's custom error.hbs: 2014-03-29 08:19:51 -06:00
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js Use current user in models 2014-04-16 18:20:09 +02:00
mail.js Update system emails to come from ghost@blog.url 2014-03-06 12:03:00 +01:00
middleware.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js Use current user in models 2014-04-16 18:20:09 +02:00
xmlrpc.js Add XML-RPC ping 2014-03-20 17:53:32 +00:00