Ghost/core/server
Daniel Lockyer 8fcb57bd6a Disabled new Bookshelf fetch behaviour across models
- as per https://github.com/bookshelf/bookshelf/wiki/Migrating-from-0.15.1-to-1.0.0#default-to-require-true-on-modelfetch-and-collectionfetchone, models will now default to `{require:true}` during a fetch, which changes how Bookshelf will respond when a models yields no results
- instead of passing a `null` result, it will reject with an error, so we'd need to switch to `.catch`ing everything
- our code is set up to handle all these null results and switching style is not currently on the cards so we want to use the existing behaviour for now
- to enable this, the `requireFetch` option needs to be added to the model definitions
2021-09-10 16:59:11 +01:00
..
adapters Swapped to American English spellings 2021-07-27 12:15:19 +04:00
api Fixed Complimentary subscriptions being created twice 2021-09-10 14:29:20 +02:00
data Fixed MemberStatusEvents for free members (#13287) 2021-09-07 15:02:59 +02:00
lib Removed unused internal request lib 2021-08-26 14:21:27 +02:00
models Disabled new Bookshelf fetch behaviour across models 2021-09-10 16:59:11 +01:00
public Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
services Fixed segmented email content being sent to all members 2021-09-10 11:36:42 +01:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Added Members bulk actions endpoint 2021-08-23 16:38:21 +02:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js Moved sqlite3 override rules to db connection lib 2021-02-05 11:51:56 +00:00
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Fixed critical alerts sending to admin users 2021-07-07 11:29:18 +04:00