0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server
Gabor Javorszky 52299998e2 Removed API dependency from mailer and api/mail
Fixes #2836.

* Mailer now only handles sending email and initializing settings. Instead of adding new notifications there, it just sets flags on its own object.
* Mailer now checks for the presence of "to". If there is none, it fails. You should really pass a full mail object complete with "to", "subject" and "html", otherwise it's partial content.
* Therefore Mail API doesn't check for the existence of the "to", and doesn't get the email from settings and substitute that
* index.js now has a method that adds the notifications. I figured adding those THERE is probably better than individually in every module. It is, as the comments say, can be made extensible
2014-06-08 17:41:07 +01:00
..
api Merge pull request #2876 from halfdan/2833-rasperize-cache 2014-06-05 13:44:22 +01:00
apps correct settings.edit call signature for installedApps 2014-05-24 08:21:17 +02:00
config Refactor API arguments 2014-05-15 10:41:05 +01:00
controllers refreshless user logout 2014-06-02 17:12:02 -04:00
data Export backup prior to migration 2014-05-31 18:56:09 -05:00
errors Improve status codes 2014-05-24 08:05:12 +02:00
helpers escapes meta title/description 2014-05-31 11:08:09 -05:00
middleware Ember redirect to signup 2014-06-03 19:21:45 +01:00
models Update slug API to work with additional types 2014-06-04 05:54:03 +00:00
permissions Refactor API arguments 2014-05-15 10:41:05 +01:00
routes Merge pull request #2877 from jaswilli/2866-slugs 2014-06-05 13:43:46 +01:00
storage Add distinct error classes 2014-05-09 12:11:29 +02:00
views Added error link on 404 pages 2014-06-01 19:02:48 +01:00
api.js
bookshelf-session.js
filters.js Implement filter context 2014-04-06 15:43:11 +00:00
index.js Removed API dependency from mailer and api/mail 2014-06-08 17:41:07 +01:00
mail.js Removed API dependency from mailer and api/mail 2014-06-08 17:41:07 +01:00
middleware.js
require-tree.js Error handling for require-tree 2014-03-25 22:38:48 +00:00
update-check.js Refactor API arguments 2014-05-15 10:41:05 +01:00
xmlrpc.js Add distinct error classes 2014-05-09 12:11:29 +02:00