0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/models
Nazar Gargol af93e95fdd Reverted parent_id removal in tags in toJSON
no issue

- Partial rever of changes from https://github.com/TryGhost/Ghost/pull/11107/files#diff-792e00d413994563a1607b2be123da13L67-L68
- This code has effects how updated_at is behaving and broke "can\'t edit dates and authors of existing tag" test
- Based on bda76acba6 comment this removal should be moved into API layer but a more appropriate place then output serializer should be chosen (or original breaking test corrected)
2019-09-13 20:49:20 +02:00
..
base 🔥 Removed v0.1 leftover code in model layer (#11107) 2019-09-12 17:39:16 +02:00
plugins Revert post.page->post.type handling 2019-08-19 12:02:14 +01:00
relations 🐛 Fixed field filtering for /authors/:id endpoints 2019-03-05 15:18:32 +08: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
app-setting.js
app.js
author.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
index.js Removed all accesstokens and refreshtokens related code 2019-09-12 15:45:27 +01: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.js Added members related db changes and models 2018-12-11 11:53:55 +07:00
mobiledoc-revision.js Added mobiledoc revisions functionality 2018-10-09 15:31:09 +02:00
permission.js
post.js 🔥 Removed v0.1 leftover code in model layer (#11107) 2019-09-12 17:39:16 +02: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 Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
subscriber.js Ensured consistency for event handlers in the model layer 2019-02-07 11:02:35 +01: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 🔥 Removed v0.1 leftover code in model layer (#11107) 2019-09-12 17:39:16 +02:00
webhook.js Ensured consistency for event handlers in the model layer 2019-02-07 11:02:35 +01:00