0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/unit
Naz 49ba26373d 🏗 Added "labs" setting enabling feature flags
refs https://github.com/TryGhost/Team/issues/757
refs https://github.com/TryGhost/Team/issues/332
refs ea6d656457

- We have a need a quick way to add features behind flags. The old way of "labs" is the quickest way to achieve this. It has ready tooling around it and well understood pitfalls. This change reintroduces "labs" group & key in settings table in the same shape it used to be (see reffed commit)
- Next step will be introducing very basic guard rails to protect from pitfalls previous implementation of "labs" had. This will include an allowlist based input validation for lab's object's data
-  The labs being an "object" type is an EXCEPTION. Even though it's an antipattern we aim to move away from, for now it's the lowest impact solution that will unblock the use of flags in the system. A proper solution will come at some point.
2021-06-08 02:18:17 +12: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
data 🏗 Added "labs" setting enabling feature flags 2021-06-08 02:18:17 +12:00
helpers Swapped _.escape for proxy.escapeExpression 2021-06-04 20:07:44 +01:00
lib Extracted package-json lib to Utils 2021-05-07 12:35:06 +01:00
models
server
services Removed update check service in favor of external package 2021-06-03 13:24:19 +04:00
shared Added fake logging to i18n tests 2021-05-06 19:38:01 +01:00
web