0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit
Kevin Ansfield 446993a905
Added additional newsletter customisation settings (#13074)
refs https://github.com/TryGhost/Team/issues/793

New settings added for newsletter customisation options:

- `newsletter_header_image` - `null/"$url"`
- `newsletter_show_header_icon` - `"true/false"`
- `newsletter_show_header_title` - `"true/false"`
- `newsletter_title_alignment` - `"center/left"`
- `newsletter_title_font_category` - `"serif/sans_serif"`
- `newsletter_show_feature_image` - `"true/false"`

`newsletter_show_header` has been dropped because the same functionality can be achieved by setting both `newsletter_show_header_icon` and `newsletter_show_header_title` to `false`

---

- migration to convert and delete `newsletter_show_header` setting
- removed `newsletter_show_header` from default settings to ensure it doesn't get re-created
- replaced main labs template and template settings generation with the labs template
- deleted labs template
2021-06-21 13:40:40 +01:00
..
adapters Refactored scheduling index files into class/initializer pattern 2021-05-25 22:32:41 +04:00
api Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
apps Moved active theme to new theme engine service 2021-04-23 15:28:50 +01:00
data Added additional newsletter customisation settings (#13074) 2021-06-21 13:40:40 +01:00
helpers Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00
lib Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
models Refactored Bookshelf CRUD functions into plugin 2021-06-15 18:27:43 +01:00
server Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
services Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00
shared Removed bind from internal-only config helpers 2021-06-18 21:19:16 +01:00
web Updated to use config-url-helpers in urlUtils 2021-06-18 21:49:28 +01:00