Ghost/core/server
Katharina Irrgang fb79f24316
Fixed model events and transactions (#9524)
no issue

- if multiple queries run in a transaction, the model events are triggered before the txn finished
- if the txn rolls back, the events are anyway emitted
- the events are triggered too early
- solution:
  - `emitChange` needs to detect that a transaction is happening
  - it listens on a txn event to determine if events should be triggered
2018-04-06 18:19:45 +02:00
..
adapters Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
api Simplify destroy post API endpoint implementation 2018-04-06 15:49:25 +02:00
apps Redirected /amp links to original post when AMP is disabled (#9496) 2018-03-19 16:11:48 +07:00
config Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
controllers Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
data Fixed migration script 1.22 for invalid authors 2018-04-02 12:27:06 +02:00
helpers Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
lib Fix Node.js 4.x compatibility (#9503) 2018-03-15 09:50:25 +00:00
models Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
public 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
services Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
translations Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
ghost-server.js Always require fs-extra - consistency change 2017-12-13 20:57:11 +01:00
index.js Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
overrides.js Set Promise to be Bluebird globally 2017-12-13 20:57:11 +01:00
update-check.js Update Notification improvements (#9123) 2018-01-09 15:20:00 +01:00