Ghost/core/server
Katharina Irrgang 8cd5d9f6fe 🎨 register events in base model (#7560)
refs #7432

- all models implemented it's own initialize fn to register events
- we can register all events in the base model
- important: we only listen on the event, if the model has defined a hook for it
- this is just a small clean up PR
- register more bookshelf events
2016-10-14 13:37:01 +01:00
..
admin 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
api 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
apps 🎉 Middleware refactor: Give the API its own express App (#7537) 2016-10-11 10:36:00 +02:00
auth 🎨 Ghost OAuth improvements (#7550) 2016-10-12 12:11:56 +01:00
blog 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
config Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
controllers/frontend 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
data migrations: seeding is part of init db task (#7545) 2016-10-12 16:18:57 +01:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
logging 🐛 logging: error output format (#7546) 2016-10-11 19:03:14 +01:00
mail 🎨 change how we get and set config 2016-09-20 15:59:34 +01:00
middleware 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
models 🎨 register events in base model (#7560) 2016-10-14 13:37:01 +01:00
permissions Error creation (#7477) 2016-10-06 13:27:35 +01:00
scheduling 🎨 decrease timeout for scheduling (#7556) 2016-10-13 09:49:10 +01:00
storage Error creation (#7477) 2016-10-06 13:27:35 +01:00
themes 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
translations 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
utils add token utils (#7554) 2016-10-13 13:54:44 +01:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
errors.js migrations: seeding is part of init db task (#7545) 2016-10-12 16:18:57 +01:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00