Ghost/core/server/models
Naz Gargol 201bef31f0 Added transaction support to pagination plugin (#11421)
Adds transaction support to `fetchPage` method. This is needed to be able to count members during the post publish transaction. 

This is the next iteration over initial quick-fix: 90905b0212

* Added transaction support to pagination plugin
    - This support is needed to be able to use `fetchPage` method in transactional context (example usecase was counting members when publishing post for emails)
* Passed transaction related options during email creation
    - Without this SQLite would hang in a transaction and eventually timeout
* Updated parameter name for consistency
2019-11-27 10:00:27 +00:00
..
base Merge branch 'master' into v3 2019-10-09 15:04:09 +01:00
plugins Added transaction support to pagination plugin (#11421) 2019-11-27 10:00:27 +00:00
relations Updated author/author_id cleanup notes 2019-09-17 17:26:23 +02:00
action.js Added model implementation for actions 2019-02-06 21:36:09 +01:00
api-key.js Created DB Backup integration (#10974) 2019-08-02 17:28:02 +08:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Updated permittedOptions to correctly call super 2018-09-21 12:15:29 +02:00
author.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
email.js Added default stats object to email model 2019-11-08 17:11:54 +07:00
index.js Added email model 2019-11-06 15:56:56 +07:00
integration.js Ensured Admin API cannot fetch internal integrations (#10501) 2019-07-24 11:52:55 +02:00
invite.js Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
member-stripe-customer.js Added upsert method to stripe models 2019-10-09 16:24:51 +07:00
member.js Added defaults to member model 2019-11-06 15:30:37 +07:00
mobiledoc-revision.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
permission.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
post.js Fixed knex connection pool errors when saving posts with sqlite 2019-11-15 15:11:55 +00:00
posts-meta.js Updated post model url transforms for posts/posts_meta split (#11223) 2019-10-09 13:38:08 +01:00
role.js Updated permissible methods for hasApiKeyPermissions (#9970) 2019-01-18 13:39:53 +01:00
session.js Removed user_id constraint when upserting session (#10085) 2018-10-30 16:15:48 +07:00
settings.js Added members_email_auth_secret setting 2019-10-11 13:47:48 +07:00
stripe-customer-subscription.js Prefixed stripe_customers_subscriptions with members 2019-10-09 16:24:51 +07:00
tag-public.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
tag.js Reverted parent_id removal in tags in toJSON 2019-09-13 20:49:20 +02:00
user.js 🔥 Moved user email removal to API serialization layer (#11110) 2019-09-16 15:42:14 +02:00
webhook.js Updated webhook default to v3 api 2019-10-14 15:50:24 +07:00