0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server
Fabien O'Carroll 5880edd722 Replaced members 'comped' status with 'paid'
refs https://github.com/TryGhost/Team/issues/693

Since we've got rid of the concept of Complimentary with the Custom
Prices work, we're removing the 'comped' status from members. This
involves a migration for existing members, a schema update for the
validation, and a bump to members-api to no longer use the 'comped'
status for new members.

We also update the aggregation of the MemberStatusEvent to consider the
'comped' status as 'paid', and that there are 0 'comped' status events
in the database.

We can consider a migration for this data in the future, either adding
new status events moving from 'comped' to 'paid', or by modifying
existing status events. However both of these are very difficulty to
write a down migration for, and might be best saved for a major version.

- @tryghost/members-api@1.7.0 is the version that includes the required
  changes, however we have already bumped to 1.8.0 in Ghost
2021-05-19 18:49:18 +01:00
..
adapters Moved i18n to shared 2021-05-04 13:03:38 +01:00
api Updated comped flag for v3 Members Admin API 2021-05-19 18:49:18 +01:00
data Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
lib Moved getLocalSize() from mobiledoc to image-size lib 2021-05-14 11:57:37 +01:00
models Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Filtered selected prices in Portal settings 2021-05-18 20:27:20 +05:30
views
web Disable CSRF on the oauth callback route 2021-05-18 20:44:21 +02:00
analytics-events.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
ghost-server.js Refactored urlUtils out of ghost-server 2021-05-05 14:24:59 +01:00
notify.js
overrides.js
update-check.js Moved i18n to shared 2021-05-04 13:03:38 +01:00