0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core
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
..
client Implement the Tag Editor view 2014-06-06 23:02:56 -04:00
clientold Clean up routes. Use new slug endpoint in admin. 2014-05-28 03:59:06 +00:00
server Removed API dependency from mailer and api/mail 2014-06-08 17:41:07 +01:00
shared Improving the showdown extensions 2014-03-20 17:08:13 +00:00
test Merge pull request #2876 from halfdan/2833-rasperize-cache 2014-06-05 13:44:22 +01:00
bootstrap.js Fix up unit tests. Check config url with isURL. 2014-05-29 21:06:40 +00:00
index.js Add try-catch to startup 2014-05-11 17:33:18 +01:00
server.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00