From 8bd8af7d16d6b4fb40680bd33b99bbfd582a1208 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 22 Nov 2017 11:49:28 -0800 Subject: initial articles feature --- include/features.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/features.php') diff --git a/include/features.php b/include/features.php index d8d98dbaa..ace1b01c3 100644 --- a/include/features.php +++ b/include/features.php @@ -126,6 +126,15 @@ function get_features($filtered = true) { feature_level('cards',1), ], + [ + 'articles', + t('Articles'), + t('Create interactive articles'), + false, + get_config('feature_lock','articles'), + feature_level('articles',1), + ], + [ 'nav_channel_select', t('Navigation Channel Select'), -- cgit v1.2.3 From 4fc8416c3cecb3ece3523a1c5e36ab4d8cd8eb73 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 22 Nov 2017 15:41:09 -0800 Subject: disable until completed --- include/features.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/features.php') diff --git a/include/features.php b/include/features.php index ace1b01c3..8601ff79e 100644 --- a/include/features.php +++ b/include/features.php @@ -126,6 +126,7 @@ function get_features($filtered = true) { feature_level('cards',1), ], +/* reserved, work in progress [ 'articles', t('Articles'), @@ -134,7 +135,7 @@ function get_features($filtered = true) { get_config('feature_lock','articles'), feature_level('articles',1), ], - +*/ [ 'nav_channel_select', t('Navigation Channel Select'), -- cgit v1.2.3 From 91db66b32d2c469a6d0292712666614b48b4c62e Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 14 Jan 2018 18:22:58 -0800 Subject: move markdown-in-posts/comments feature to plugin --- include/features.php | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'include/features.php') diff --git a/include/features.php b/include/features.php index 8601ff79e..69eeed3e8 100644 --- a/include/features.php +++ b/include/features.php @@ -373,15 +373,6 @@ function get_features($filtered = true) { t('Post/Comment Tools'), - [ - 'markdown', - t('Markdown'), - t('Use markdown for editing posts'), - false, - get_config('feature_lock','markdown'), - feature_level('markdown',2), - ], - [ 'commtag', t('Community Tagging'), @@ -490,6 +481,8 @@ function get_features($filtered = true) { else { $narr = $arr; } - call_hooks('get_features',$narr); - return $narr; + + $x = [ 'features' => $narr, 'filtered' => $filtered, 'techlevel' => $techlevel ]; + call_hooks('get_features',$x); + return $x['features']; } -- cgit v1.2.3 From 03f692f24fe543c740e5443223d8084b9ca0c4de Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 15 Jan 2018 21:46:27 -0800 Subject: surface the article feature --- include/features.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/features.php') diff --git a/include/features.php b/include/features.php index 69eeed3e8..36eb74a9d 100644 --- a/include/features.php +++ b/include/features.php @@ -126,7 +126,7 @@ function get_features($filtered = true) { feature_level('cards',1), ], -/* reserved, work in progress + [ 'articles', t('Articles'), @@ -135,7 +135,7 @@ function get_features($filtered = true) { get_config('feature_lock','articles'), feature_level('articles',1), ], -*/ + [ 'nav_channel_select', t('Navigation Channel Select'), -- cgit v1.2.3