mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
Added auditLog
labs flag
refs https://github.com/TryGhost/Toolbox/issues/356 - allows work on the Audit Log project whilst in alpha
This commit is contained in:
parent
d493fd7bf1
commit
70aa1dd3c8
4 changed files with 17 additions and 2 deletions
|
@ -56,6 +56,7 @@ export default class FeatureService extends Service {
|
|||
nightShift;
|
||||
|
||||
// labs flags
|
||||
@feature('auditLog') auditLog;
|
||||
@feature('urlCache') urlCache;
|
||||
@feature('beforeAfterCard') beforeAfterCard;
|
||||
@feature('newsletterPaywall') newsletterPaywall;
|
||||
|
|
|
@ -187,6 +187,19 @@
|
|||
<div class="gh-main-section">
|
||||
<h4 class="gh-main-section-header small bn">Alpha Features</h4>
|
||||
<div class="gh-expandable">
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Audit Log</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Allow visibility into Staff actions
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="auditLog" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
|
|
|
@ -25,6 +25,7 @@ const BETA_FEATURES = [
|
|||
];
|
||||
|
||||
const ALPHA_FEATURES = [
|
||||
'auditLog',
|
||||
'urlCache',
|
||||
'beforeAfterCard',
|
||||
'freeTrial'
|
||||
|
|
|
@ -230,7 +230,7 @@ Object {
|
|||
},
|
||||
Object {
|
||||
"key": "labs",
|
||||
"value": "{\\"activitypub\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"freeTrial\\":true,\\"newsletterPaywall\\":true,\\"members\\":true}",
|
||||
"value": "{\\"activitypub\\":true,\\"auditLog\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"freeTrial\\":true,\\"newsletterPaywall\\":true,\\"members\\":true}",
|
||||
},
|
||||
Object {
|
||||
"key": "slack_url",
|
||||
|
@ -280,7 +280,7 @@ exports[`Settings API Browse Can request all settings 2: [headers] 1`] = `
|
|||
Object {
|
||||
"access-control-allow-origin": "http://127.0.0.1:2369",
|
||||
"cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0",
|
||||
"content-length": "3407",
|
||||
"content-length": "3425",
|
||||
"content-type": "application/json; charset=utf-8",
|
||||
"etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,
|
||||
"vary": "Origin, Accept-Encoding",
|
||||
|
|
Loading…
Add table
Reference in a new issue