0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/test/unit
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
..
admin_spec.js Cleanup naming & order in admin controller 2014-02-25 10:51:12 +00:00
apps_spec.js App Permissions from package.json 2014-04-16 18:14:56 +02:00
bootstrap_spec.js Adds ability to pass in configFile path when loading 2014-02-08 10:41:15 -05:00
config_spec.js Fixing config unit test for Windows 2014-02-24 16:39:07 +00:00
errorHandling_spec.js Fixed check for a theme's custom error.hbs: 2014-03-29 08:19:51 -06:00
export_spec.js Add app permission checking to canThis 2014-04-16 18:06:39 +02:00
filters_spec.js Implement filter context 2014-04-06 15:43:11 +00:00
frontend_spec.js Move post API to primary document format 2014-04-16 12:09:03 +02:00
import_spec.js Use current user in models 2014-04-16 18:20:09 +02:00
mail_spec.js Update system emails to come from ghost@blog.url 2014-03-06 12:03:00 +01:00
middleware_spec.js Replace underscore with lodash. 2014-02-06 14:08:34 +00:00
permissions_spec.js Use current user in models 2014-04-16 18:20:09 +02:00
server_helpers_index_spec.js Ghost footer outputs minified jquery in production 2014-04-06 08:42:25 -04:00
server_helpers_template_spec.js Custom Page Templates 2014-02-22 21:17:02 -05:00
server_spec.js Remove ghost.js 2013-12-07 10:10:02 -05:00
showdown_client_integrated_spec.js Improving the showdown extensions 2014-03-20 17:08:13 +00:00
showdown_ghostGFM_spec.js Improving the showdown extensions 2014-03-20 17:08:13 +00:00
showdown_ghostimagepreview_spec.js Improving the showdown extensions 2014-03-20 17:08:13 +00:00
storage_localfilesystem_spec.js Build correct path on image upload when config has custom content path 2014-04-07 05:01:39 +00:00
xmlrpc_spec.js Add XML-RPC ping 2014-03-20 17:53:32 +00:00