From 0514aa0c17d275110a51f63f1a0f28eafed8e37c Mon Sep 17 00:00:00 2001
From: gloas <gloas@afi-sa.fr>
Date: Wed, 18 Apr 2018 16:17:30 +0200
Subject: [PATCH] dev #74368 start adding old features

---
 VERSIONS_WIP/74368             |   2 +
 library/Class/Feature/List.php | 280 ++++++++++++++++++++++++++++++++-
 2 files changed, 280 insertions(+), 2 deletions(-)
 create mode 100644 VERSIONS_WIP/74368

diff --git a/VERSIONS_WIP/74368 b/VERSIONS_WIP/74368
new file mode 100644
index 00000000000..1417ea804c7
--- /dev/null
+++ b/VERSIONS_WIP/74368
@@ -0,0 +1,2 @@
+ - ticket #74368 : Liste des fonctionnalités : ajout de fonctionnalités marquantes à la liste.
+ 
\ No newline at end of file
diff --git a/library/Class/Feature/List.php b/library/Class/Feature/List.php
index 8629c524c83..26b011e58c2 100644
--- a/library/Class/Feature/List.php
+++ b/library/Class/Feature/List.php
@@ -26,6 +26,282 @@ class Class_Feature_List {
   public function getFeatures() {
     return [
 
+            '713' =>
+            ['Label' => $this->_('Workflow'),
+             'Desc' => $this->_('L\'activation d\'un workflow sur les articles permet de gérer leur cycle de vie. Ils pourront passer par plusieurs états, en commençant par un état par défaut (brouillon) puis jusqu\'à la publication (validé).'),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=RRO8ngDHQcY',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=Articles_-_Workflow',
+             'Test' => '',
+             'Date' => '2011-02-18'],
+
+            '15226' =>
+            ['Label' => $this->_('Droits sur les dossiers de gestion d\'articles'),
+             'Desc' => $this->_('Les permissions sont données aux groupes d\'utilisateurs pour une catégorie d\'articles.'),
+             'Image' => '',
+             'Video' => '',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=Articles_-_Permissions',
+             'Test' => '',
+             'Date' => '2014-07-18'],
+
+            '12992' =>
+            ['Label' => $this->_('Champs personnalisés'),
+             'Desc' => $this->_('La gestion des champs personnalisés permet de définir et d\'ajouter des données à un modèle de saisie de formulaire (article, bibliothèque...)'),
+             'Image' => '',
+             'Video' => '',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=Gestion_des_champs_personnalisés',
+             'Test' => '',
+             'Date' => '2014-08-13'],
+
+            '21436' =>
+            ['Label' => $this->_('Facettes dynamiques)'),
+             'Desc' => $this->_('Ajouter de nouveaux critères pour les domaines, et/ou de nouvelles facettes à partir de champs Unimarc supplémentaires (créés dans le SIGB)'),
+             'Image' => '',
+             'Video' => '',
+             'Category' => $this->_('Intégration'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=Facettes_dynamiques',
+             'Test' => '',
+             'Date' => '2015-02-17'],
+
+            '39936' =>
+            ['Label' => $this->_('Carte interactive des bibliothèques et services'),
+             'Desc' => $this->_('Présenter une carte dynamique des lieux et services (géolocalisation, horaires d\'ouvertures...)'),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=aDBhA6iOFps',
+             'Category' => $this->_('Mise en page'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=Informations_pratiques',
+             'Test' => '',
+             'Date' => '2015-06-02'],
+
+            '17782' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+            '' =>
+            ['Label' => $this->_(''),
+             'Desc' => $this->_(''),
+             'Image' => '',
+             'Video' => 'https://www.youtube.com/watch?v=',
+             'Category' => $this->_('Rédaction'),
+             'Right' => function($feature_description, $user) {return true;},
+             'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=',
+             'Test' => '',
+             'Date' => ''],
+
+
             '65075' =>
             ['Label' => $this->_('Nouvelles fonctionnalités'),
              'Desc' => $this->_('Bienvenue dans votre votre liste des nouvelles fonctionnalités'),
@@ -45,7 +321,7 @@ class Class_Feature_List {
              'Category' => $this->_('Administration'),
              'Right' => function($feature, $user) {
                 return  $user->canAccessBackend();
-             },
+              },
              'Wiki' => 'http://wiki.bokeh-library-portal.org/index.php?title=Explorateur_de_fichiers',
              'Test' => '/admin/file-manager/full_screen/1/display_mode_browser/wall?browser=userfiles/image',
              'Date' => '2017-09-22'],
@@ -196,7 +472,7 @@ class Class_Feature_List {
             '68179' =>
             ['Label' => $this->_('Connecteur StoryPlay*r'),
              'Desc' => $this->_('%s est une ressource numérique proposant des centaines d\'albums jeunesse à lire ou à écouter.',
-	     '<a href="https://www.storyplayr.com/">StoryPlay*R</a>'),
+                                '<a href="https://www.storyplayr.com/">StoryPlay*R</a>'),
              'Image' => 'https://www.storyplayr.com/images/v2/logo.png',
              'Video' => 'https://www.youtube.com/watch?v=tmcT39fZDos',
              'Category' => $this->_('Bibliothèque numérique'),
-- 
GitLab