瀏覽代碼

updated all features with last database from inline

Bachir Soussi Chiadmi 9 年之前
父節點
當前提交
29079eeb84

+ 0 - 748
materio_administration/materio_administration.features.menu_links.inc

@@ -27,754 +27,6 @@ function materio_administration_menu_default_menu_links() {
     'weight' => -45,
     'customized' => 1,
   );
-  // Exported menu link: navigation_:node/%
-  $menu_links['navigation_:node/%'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/%',
-    'router_path' => 'node/%',
-    'link_title' => '',
-    'options' => array(
-      'identifier' => 'navigation_:node/%',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 0,
-  );
-  // Exported menu link: navigation_add-content:node/add
-  $menu_links['navigation_add-content:node/add'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add',
-    'router_path' => 'node/add',
-    'link_title' => 'Add content',
-    'options' => array(
-      'identifier' => 'navigation_add-content:node/add',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 1,
-    'expanded' => 0,
-    'weight' => -46,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_content:admin/content/materiaux',
-  );
-  // Exported menu link: navigation_add-user:admin/people/create
-  $menu_links['navigation_add-user:admin/people/create'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/people/create',
-    'router_path' => 'admin/people/create',
-    'link_title' => 'Add user',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_add-user:admin/people/create',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -48,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_users:admin/users',
-  );
-  // Exported menu link: navigation_adhsions:node/11186/webform-results
-  $menu_links['navigation_adhsions:node/11186/webform-results'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/11186/webform-results',
-    'router_path' => 'node/%/webform-results',
-    'link_title' => 'Adhésions',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_adhsions:node/11186/webform-results',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -50,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_users:admin/users',
-  );
-  // Exported menu link: navigation_breve:node/add/breve
-  $menu_links['navigation_breve:node/add/breve'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/breve',
-    'router_path' => 'node/add/breve',
-    'link_title' => 'Breve',
-    'options' => array(
-      'identifier' => 'navigation_breve:node/add/breve',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -50,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_companies:admin/content/companies
-  $menu_links['navigation_companies:admin/content/companies'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/content/companies',
-    'router_path' => 'admin/content/companies',
-    'link_title' => 'Companies',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_companies:admin/content/companies',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -49,
-    'customized' => 0,
-    'parent_identifier' => 'navigation_content:admin/content/materiaux',
-  );
-  // Exported menu link: navigation_company:node/add/company
-  $menu_links['navigation_company:node/add/company'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/company',
-    'router_path' => 'node/add/company',
-    'link_title' => 'Company',
-    'options' => array(
-      'identifier' => 'navigation_company:node/add/company',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -49,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_compose-tips:filter/tips
-  $menu_links['navigation_compose-tips:filter/tips'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'filter/tips',
-    'router_path' => 'filter/tips',
-    'link_title' => 'Compose tips',
-    'options' => array(
-      'identifier' => 'navigation_compose-tips:filter/tips',
-    ),
-    'module' => 'system',
-    'hidden' => 1,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -43,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_customers:admin/store/customers
-  $menu_links['navigation_customers:admin/store/customers'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/store/customers',
-    'router_path' => 'admin/store/customers',
-    'link_title' => 'Customers',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_customers:admin/store/customers',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -49,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_boutique:admin/store',
-  );
-  // Exported menu link: navigation_didactique:node/add/didactique
-  $menu_links['navigation_didactique:node/add/didactique'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/didactique',
-    'router_path' => 'node/add/didactique',
-    'link_title' => 'Didactique',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'Nœud didacticiel',
-      ),
-      'identifier' => 'navigation_didactique:node/add/didactique',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -48,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_faq:node/add/faq
-  $menu_links['navigation_faq:node/add/faq'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/faq',
-    'router_path' => 'node/add/faq',
-    'link_title' => 'FAQ',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'A frequently asked question and its answer.',
-      ),
-      'identifier' => 'navigation_faq:node/add/faq',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -47,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_feedback:admin/reports/feedback
-  $menu_links['navigation_feedback:admin/reports/feedback'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/reports/feedback',
-    'router_path' => 'admin/reports/feedback',
-    'link_title' => 'Feedback',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_feedback:admin/reports/feedback',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -47,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_users:admin/users',
-  );
-  // Exported menu link: navigation_frequently-asked-questions:faq-page
-  $menu_links['navigation_frequently-asked-questions:faq-page'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'faq-page',
-    'router_path' => 'faq-page',
-    'link_title' => 'Frequently Asked Questions',
-    'options' => array(
-      'identifier' => 'navigation_frequently-asked-questions:faq-page',
-    ),
-    'module' => 'system',
-    'hidden' => 1,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -40,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_log-out:user/logout
-  $menu_links['navigation_log-out:user/logout'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'user/logout',
-    'router_path' => 'user/logout',
-    'link_title' => 'Log out',
-    'options' => array(
-      'alter' => TRUE,
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_log-out:user/logout',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 10,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_mon-compte:user',
-  );
-  // Exported menu link: navigation_looping-embed-video:node/add/looping-embed-video
-  $menu_links['navigation_looping-embed-video:node/add/looping-embed-video'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/looping-embed-video',
-    'router_path' => 'node/add/looping-embed-video',
-    'link_title' => 'looping embed video',
-    'options' => array(
-      'identifier' => 'navigation_looping-embed-video:node/add/looping-embed-video',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 0,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_mandrill:admin/reports/mandrill
-  $menu_links['navigation_mandrill:admin/reports/mandrill'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/reports/mandrill',
-    'router_path' => 'admin/reports',
-    'link_title' => 'Mandrill',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_mandrill:admin/reports/mandrill',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_materiau:node/add/materiau
-  $menu_links['navigation_materiau:node/add/materiau'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/materiau',
-    'router_path' => 'node/add/materiau',
-    'link_title' => 'Materiau',
-    'options' => array(
-      'identifier' => 'navigation_materiau:node/add/materiau',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -45,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_materio-newsletter:node/add/simplenews/6274
-  $menu_links['navigation_materio-newsletter:node/add/simplenews/6274'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/simplenews/6274',
-    'router_path' => 'node/add/simplenews/6274',
-    'link_title' => 'materiO’ newsletter',
-    'options' => array(
-      'identifier' => 'navigation_materio-newsletter:node/add/simplenews/6274',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 0,
-    'parent_identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
-  );
-  // Exported menu link: navigation_my-sessions:mysessions
-  $menu_links['navigation_my-sessions:mysessions'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'mysessions',
-    'router_path' => 'mysessions',
-    'link_title' => 'My sessions',
-    'options' => array(
-      'identifier' => 'navigation_my-sessions:mysessions',
-    ),
-    'module' => 'system',
-    'hidden' => 1,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -42,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_newletters:admin/content/simplenews
-  $menu_links['navigation_newletters:admin/content/simplenews'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/content/simplenews',
-    'router_path' => 'admin/content/simplenews',
-    'link_title' => 'Newletters',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_newletters:admin/content/simplenews',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -47,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_content:admin/content/materiaux',
-  );
-  // Exported menu link: navigation_orders:admin/store/orders/view
-  $menu_links['navigation_orders:admin/store/orders/view'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/store/orders/view',
-    'router_path' => 'admin/store/orders/view',
-    'link_title' => 'Orders',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_orders:admin/store/orders/view',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -50,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_boutique:admin/store',
-  );
-  // Exported menu link: navigation_page:node/add/page
-  $menu_links['navigation_page:node/add/page'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/page',
-    'router_path' => 'node/add/page',
-    'link_title' => 'Page',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'Use this content type to add static pages like "about" "contact" etc',
-      ),
-      'identifier' => 'navigation_page:node/add/page',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -43,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_pages--didactique--faq:admin/content/pages
-  $menu_links['navigation_pages--didactique--faq:admin/content/pages'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/content/pages',
-    'router_path' => 'admin/content/pages',
-    'link_title' => 'Pages / didactique / faq',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_pages--didactique--faq:admin/content/pages',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -48,
-    'customized' => 0,
-    'parent_identifier' => 'navigation_content:admin/content/materiaux',
-  );
-  // Exported menu link: navigation_panneau:node/add/panel
-  $menu_links['navigation_panneau:node/add/panel'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/panel',
-    'router_path' => 'node/add',
-    'link_title' => 'Panneau',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'Une mise en forme de panel divisée en lignes et colonnes.',
-      ),
-      'identifier' => 'navigation_panneau:node/add/panel',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -42,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_produit:node/add/product
-  $menu_links['navigation_produit:node/add/product'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/product',
-    'router_path' => 'node/add/product',
-    'link_title' => 'Produit',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'Utiliser les <em>produits</em> pour représenter les articles en vente sur le site web, incluant toute l\'information unique qui peut être attribuée à un numéro de modèle spécifique.',
-      ),
-      'identifier' => 'navigation_produit:node/add/product',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -41,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_reports:admin/store/reports
-  $menu_links['navigation_reports:admin/store/reports'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/store/reports',
-    'router_path' => 'admin/store/reports',
-    'link_title' => 'Reports',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_reports:admin/store/reports',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_boutique:admin/store',
-  );
-  // Exported menu link: navigation_shopping-cart:cart
-  $menu_links['navigation_shopping-cart:cart'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'cart',
-    'router_path' => 'cart',
-    'link_title' => 'Shopping cart',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'View/modify the contents of your shopping cart or proceed to checkout.',
-      ),
-      'identifier' => 'navigation_shopping-cart:cart',
-    ),
-    'module' => 'system',
-    'hidden' => 1,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -41,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_simplenews-newsletter:node/add/simplenews
-  $menu_links['navigation_simplenews-newsletter:node/add/simplenews'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/simplenews',
-    'router_path' => 'node/add/simplenews',
-    'link_title' => 'Simplenews newsletter',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'A newsletter issue to be sent to subscribed email addresses.',
-      ),
-      'identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 1,
-    'expanded' => 0,
-    'weight' => -40,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_store:admin/store
-  $menu_links['navigation_store:admin/store'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/store',
-    'router_path' => 'admin/store',
-    'link_title' => 'Store',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_store:admin/store',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 1,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_subscriptions:admin/people/simplenews
-  $menu_links['navigation_subscriptions:admin/people/simplenews'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/people/simplenews',
-    'router_path' => 'admin/people/simplenews',
-    'link_title' => 'Subscriptions',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_subscriptions:admin/people/simplenews',
-    ),
-    'module' => 'menu',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -49,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_users:admin/users',
-  );
-  // Exported menu link: navigation_test:node/add/simplenews/6585
-  $menu_links['navigation_test:node/add/simplenews/6585'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/simplenews/6585',
-    'router_path' => 'node/add/simplenews/6585',
-    'link_title' => 'test',
-    'options' => array(
-      'identifier' => 'navigation_test:node/add/simplenews/6585',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 0,
-    'parent_identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
-  );
-  // Exported menu link: navigation_user-account:user
-  $menu_links['navigation_user-account:user'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'user',
-    'router_path' => 'user',
-    'link_title' => 'User account',
-    'options' => array(
-      'alter' => TRUE,
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_user-account:user',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 1,
-    'expanded' => 0,
-    'weight' => -50,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_users:admin/people
-  $menu_links['navigation_users:admin/people'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/people',
-    'router_path' => 'admin/people',
-    'link_title' => 'Users',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_users:admin/people',
-    ),
-    'module' => 'menu',
-    'hidden' => 1,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -39,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_users:admin/users
-  $menu_links['navigation_users:admin/users'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'admin/users',
-    'router_path' => 'admin/users',
-    'link_title' => 'Users',
-    'options' => array(
-      'attributes' => array(
-        'title' => '',
-      ),
-      'identifier' => 'navigation_users:admin/users',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 1,
-    'expanded' => 0,
-    'weight' => -44,
-    'customized' => 1,
-  );
-  // Exported menu link: navigation_webform:node/add/webform
-  $menu_links['navigation_webform:node/add/webform'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/webform',
-    'router_path' => 'node/add/webform',
-    'link_title' => 'Webform',
-    'options' => array(
-      'attributes' => array(
-        'title' => 'Create a new form or questionnaire accessible to users. Submission results and statistics are recorded and accessible to privileged users.',
-      ),
-      'identifier' => 'navigation_webform:node/add/webform',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => -39,
-    'customized' => 1,
-    'parent_identifier' => 'navigation_ajouter-du-contenu:node/add',
-  );
-  // Exported menu link: navigation_ze-daily-materio039:node/add/simplenews/6374
-  $menu_links['navigation_ze-daily-materio039:node/add/simplenews/6374'] = array(
-    'menu_name' => 'navigation',
-    'link_path' => 'node/add/simplenews/6374',
-    'router_path' => 'node/add/simplenews/6374',
-    'link_title' => 'Ze Daily materiO&#039;',
-    'options' => array(
-      'identifier' => 'navigation_ze-daily-materio039:node/add/simplenews/6374',
-    ),
-    'module' => 'system',
-    'hidden' => 0,
-    'external' => 0,
-    'has_children' => 0,
-    'expanded' => 0,
-    'weight' => 0,
-    'customized' => 0,
-    'parent_identifier' => 'navigation_simplenews-newsletter:node/add/simplenews',
-  );
-  // Translatables
-  // Included for use with string extractors like potx.
-  t('Add content');
-  t('Add user');
-  t('Adhésions');
-  t('Breve');
-  t('Companies');
-  t('Company');
-  t('Compose tips');
-  t('Customers');
-  t('Didactique');
-  t('FAQ');
-  t('Feedback');
-  t('Frequently Asked Questions');
-  t('Log out');
-  t('Mandrill');
-  t('Materiau');
-  t('My sessions');
-  t('Newletters');
-  t('Orders');
-  t('Page');
-  t('Pages / didactique / faq');
-  t('Panneau');
-  t('Produit');
-  t('Reports');
-  t('Shopping cart');
-  t('Simplenews newsletter');
-  t('Store');
-  t('Subscriptions');
-  t('User account');
-  t('Users');
-  t('Webform');
-  t('Ze Daily materiO&#039;');
-  t('looping embed video');
-  t('materiO’ newsletter');
-  t('test');
 
 
   return $menu_links;

+ 2 - 37
materio_administration/materio_administration.info

@@ -4,8 +4,8 @@ package = Materio
 dependencies[] = features
 dependencies[] = menu
 dependencies[] = strongarm
-dependencies[] = views
 dependencies[] = views_bulk_operations
+dependencies[] = views_data_export
 dependencies[] = workflow_actions
 dependencies[] = workflow_views
 features[ctools][] = strongarm:strongarm:1
@@ -13,42 +13,6 @@ features[ctools][] = views:views_default:3.0
 features[features_api][] = api:2
 features[menu_custom][] = navigation
 features[menu_links][] = navigation_:materio_search_api_ajax/actuality
-features[menu_links][] = navigation_:node/%
-features[menu_links][] = navigation_add-content:node/add
-features[menu_links][] = navigation_add-user:admin/people/create
-features[menu_links][] = navigation_adhsions:node/11186/webform-results
-features[menu_links][] = navigation_breve:node/add/breve
-features[menu_links][] = navigation_companies:admin/content/companies
-features[menu_links][] = navigation_company:node/add/company
-features[menu_links][] = navigation_compose-tips:filter/tips
-features[menu_links][] = navigation_customers:admin/store/customers
-features[menu_links][] = navigation_didactique:node/add/didactique
-features[menu_links][] = navigation_faq:node/add/faq
-features[menu_links][] = navigation_feedback:admin/reports/feedback
-features[menu_links][] = navigation_frequently-asked-questions:faq-page
-features[menu_links][] = navigation_log-out:user/logout
-features[menu_links][] = navigation_looping-embed-video:node/add/looping-embed-video
-features[menu_links][] = navigation_mandrill:admin/reports/mandrill
-features[menu_links][] = navigation_materiau:node/add/materiau
-features[menu_links][] = navigation_materio-newsletter:node/add/simplenews/6274
-features[menu_links][] = navigation_my-sessions:mysessions
-features[menu_links][] = navigation_newletters:admin/content/simplenews
-features[menu_links][] = navigation_orders:admin/store/orders/view
-features[menu_links][] = navigation_page:node/add/page
-features[menu_links][] = navigation_pages--didactique--faq:admin/content/pages
-features[menu_links][] = navigation_panneau:node/add/panel
-features[menu_links][] = navigation_produit:node/add/product
-features[menu_links][] = navigation_reports:admin/store/reports
-features[menu_links][] = navigation_shopping-cart:cart
-features[menu_links][] = navigation_simplenews-newsletter:node/add/simplenews
-features[menu_links][] = navigation_store:admin/store
-features[menu_links][] = navigation_subscriptions:admin/people/simplenews
-features[menu_links][] = navigation_test:node/add/simplenews/6585
-features[menu_links][] = navigation_user-account:user
-features[menu_links][] = navigation_users:admin/people
-features[menu_links][] = navigation_users:admin/users
-features[menu_links][] = navigation_webform:node/add/webform
-features[menu_links][] = navigation_ze-daily-materio039:node/add/simplenews/6374
 features[variable][] = editmenu_cache_menu
 features[variable][] = editmenu_css_error
 features[variable][] = editmenu_css_filename
@@ -74,4 +38,5 @@ features[views_view][] = admin_content_node
 features[views_view][] = admin_contents
 features[views_view][] = admin_peoples
 features[views_view][] = taxonomy_companies_manager
+features_exclude[dependencies][views] = views
 project path = sites/all/modules/features

+ 2 - 0
materio_administration/materio_administration.views_default.inc

@@ -2578,6 +2578,8 @@ print user_pass_reset_url($account);
 
   /* Display: Data export */
   $handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
+  $handler->display->display_options['pager']['type'] = 'some';
+  $handler->display->display_options['style_plugin'] = 'views_data_export_csv';
   $translatables['admin_peoples'] = array(
     t('Master'),
     t('Admin Users'),

+ 2 - 2
materio_bookmarks/materio_bookmarks.features.user_permission.inc

@@ -16,7 +16,7 @@ function materio_bookmarks_user_default_permissions() {
     'roles' => array(
       'Student' => 'Student',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'root' => 'root',
     ),
@@ -29,7 +29,7 @@ function materio_bookmarks_user_default_permissions() {
     'roles' => array(
       'Student' => 'Student',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'root' => 'root',
     ),

+ 5 - 5
materio_content_types/materio_content_types.features.user_permission.inc

@@ -498,7 +498,7 @@ function materio_content_types_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'anonymous user' => 'anonymous user',
       'root' => 'root',
@@ -544,7 +544,7 @@ function materio_content_types_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'anonymous user' => 'anonymous user',
       'root' => 'root',
@@ -562,7 +562,7 @@ function materio_content_types_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'anonymous user' => 'anonymous user',
       'root' => 'root',
@@ -629,7 +629,7 @@ function materio_content_types_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'root' => 'root',
     ),
@@ -655,7 +655,7 @@ function materio_content_types_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'administrator' => 'administrator',
       'anonymous user' => 'anonymous user',
       'root' => 'root',

+ 1 - 1
materio_feedback/materio_feedback.features.user_permission.inc

@@ -18,7 +18,7 @@ function materio_feedback_user_default_permissions() {
       'Premium' => 'Premium',
       'Student' => 'Student',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
     ),
     'module' => 'feedback',
   );

+ 706 - 0
materio_search/materio_search.features.inc

@@ -0,0 +1,706 @@
+<?php
+/**
+ * @file
+ * materio_search.features.inc
+ */
+
+/**
+ * Implements hook_ctools_plugin_api().
+ */
+function materio_search_ctools_plugin_api($module = NULL, $api = NULL) {
+  if ($module == "strongarm" && $api == "strongarm") {
+    return array("version" => "1");
+  }
+}
+
+/**
+ * Implements hook_default_search_api_index().
+ */
+function materio_search_default_search_api_index() {
+  $items = array();
+  $items['breves_en'] = entity_import('search_api_index', '{
+    "name" : "Breves EN",
+    "machine_name" : "breves_en",
+    "description" : null,
+    "server" : "materio_solr3_en",
+    "item_type" : "node",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "50",
+      "entity_translation_language" : "en",
+      "fields" : {
+        "type" : { "type" : "string" },
+        "title" : { "type" : "text" },
+        "status" : { "type" : "boolean" },
+        "author" : { "type" : "integer", "entity_type" : "user" },
+        "title_field" : { "type" : "text" },
+        "search_api_language" : { "type" : "string" },
+        "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
+        "body:value" : { "type" : "text" },
+        "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "5000" },
+        "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "5000" },
+        "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "10000" },
+        "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "10000" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } }
+        },
+        "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_language_control" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
+        },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : { "title" : true, "title_field" : true } }
+        },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "1",
+    "read_only" : "0"
+  }');
+  $items['breves_fr'] = entity_import('search_api_index', '{
+    "name" : "Breves FR",
+    "machine_name" : "breves_fr",
+    "description" : null,
+    "server" : "materio_solr3_fr",
+    "item_type" : "node",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "50",
+      "entity_translation_language" : "fr",
+      "fields" : {
+        "type" : { "type" : "string" },
+        "title" : { "type" : "text" },
+        "status" : { "type" : "boolean" },
+        "author" : { "type" : "integer", "entity_type" : "user" },
+        "title_field" : { "type" : "text" },
+        "search_api_language" : { "type" : "string" },
+        "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
+        "body:value" : { "type" : "text" },
+        "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "5000" },
+        "field_tags_libres:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "5000" },
+        "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "10000" },
+        "field_onthologie:name_field" : { "type" : "list\\u003Ctext\\u003E", "boost" : "10000" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : { "default" : "0", "bundles" : { "breve" : "breve" } }
+        },
+        "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_language_control" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
+        },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : { "title" : true, "title_field" : true } }
+        },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "1",
+    "read_only" : "0"
+  }');
+  $items['materiaux_breves'] = entity_import('search_api_index', '{
+    "name" : "Materiaux Breves",
+    "machine_name" : "materiaux_breves",
+    "description" : null,
+    "server" : null,
+    "item_type" : "node",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "25",
+      "fields" : {
+        "type" : { "type" : "text", "boost" : "0.3" },
+        "title" : { "type" : "text" },
+        "status" : { "type" : "boolean" },
+        "author" : { "type" : "integer", "entity_type" : "user" },
+        "field_nature_titre" : { "type" : "text" },
+        "title_field" : { "type" : "text" },
+        "field_reference_materio" : { "type" : "text" },
+        "search_api_language" : { "type" : "string" },
+        "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
+        "field_description:value" : { "type" : "text", "boost" : "0.3" },
+        "field_tags_libres:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
+        "field_tags_libres:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
+        "field_tags_libres:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "2.0" },
+        "field_onthologie:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
+        "field_onthologie:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "2.0" },
+        "field_onthologie:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "2.0" },
+        "field_company_fab:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
+        "field_company_fab:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
+        "field_company_fab:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "3.0" },
+        "field_company_distrib:name" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
+        "field_company_distrib:description" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
+        "field_company_distrib:synonyms_synonym" : { "type" : "list\\u003Clist\\u003Ctext\\u003E\\u003E", "boost" : "0.3" },
+        "field_materiau_ref:title" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.3" },
+        "field_materiau_ref:status" : { "type" : "list\\u003Cinteger\\u003E" },
+        "field_materiau_ref:field_tags_libres" : {
+          "type" : "list\\u003Clist\\u003Cinteger\\u003E\\u003E",
+          "entity_type" : "taxonomy_term"
+        },
+        "field_materiau_ref:field_onthologie" : {
+          "type" : "list\\u003Clist\\u003Cinteger\\u003E\\u003E",
+          "entity_type" : "taxonomy_term"
+        },
+        "field_infos_from_company:value" : { "type" : "text", "boost" : "0.3" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-50",
+          "settings" : {
+            "default" : "0",
+            "bundles" : { "breve" : "breve", "materiau" : "materiau" }
+          }
+        },
+        "search_api_alter_node_access" : { "status" : 1, "weight" : "-49", "settings" : [] },
+        "search_api_alter_language_control" : {
+          "status" : 0,
+          "weight" : "-48",
+          "settings" : { "lang_field" : "", "languages" : [] }
+        },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "-47", "settings" : { "fields" : [] } },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "-46", "settings" : { "mode" : "full" } },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "-45", "settings" : [] },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "-44", "settings" : [] },
+        "search_api_alter_node_status" : { "status" : 0, "weight" : "-43", "settings" : [] }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : {
+              "title" : true,
+              "title_field" : true,
+              "field_reference_materio" : true,
+              "field_tags_libres:name" : true
+            }
+          }
+        },
+        "search_api_html_filter" : {
+          "status" : 1,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "title" : true, "title_field" : true, "field_reference_materio" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : {
+              "title" : true,
+              "title_field" : true,
+              "field_reference_materio" : true,
+              "field_tags_libres:name" : true
+            },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : {
+              "title" : true,
+              "title_field" : true,
+              "field_reference_materio" : true,
+              "field_tags_libres:name" : true
+            },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "0",
+    "read_only" : "0"
+  }');
+  $items['materiaux_breves_en'] = entity_import('search_api_index', '{
+    "name" : "Materiaux Breves EN",
+    "machine_name" : "materiaux_breves_en",
+    "description" : null,
+    "server" : "materio_solr3_en",
+    "item_type" : "node",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "50",
+      "entity_translation_language" : "en",
+      "fields" : {
+        "nid" : { "type" : "integer" },
+        "type" : { "type" : "string" },
+        "status" : { "type" : "boolean" },
+        "author" : { "type" : "integer", "entity_type" : "user" },
+        "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" },
+        "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" },
+        "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" },
+        "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" },
+        "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" },
+        "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" },
+        "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "100" },
+        "title_field" : { "type" : "text", "boost" : "3.0" },
+        "field_nature_titre" : { "type" : "text", "boost" : "0.3" },
+        "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
+        "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
+        "search_api_language" : { "type" : "string" },
+        "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
+        "body:value" : { "type" : "text" },
+        "field_description:value" : { "type" : "text" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : {
+            "default" : "0",
+            "bundles" : { "materiau" : "materiau", "breve" : "breve" }
+          }
+        },
+        "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_language_control" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
+        },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : { "status" : 1, "weight" : "0", "settings" : { "fields" : [] } },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : [],
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : { "fields" : [], "spaces" : "[^[:alnum:]]", "ignorable" : "[\\u0027]" }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : [],
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "1",
+    "read_only" : "0"
+  }');
+  $items['materiaux_breves_fr'] = entity_import('search_api_index', '{
+    "name" : "Materiaux Breves FR",
+    "machine_name" : "materiaux_breves_fr",
+    "description" : null,
+    "server" : "materio_solr3_fr",
+    "item_type" : "node",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "50",
+      "entity_translation_language" : "fr",
+      "fields" : {
+        "nid" : { "type" : "integer" },
+        "type" : { "type" : "string" },
+        "status" : { "type" : "boolean" },
+        "author" : { "type" : "integer", "entity_type" : "user" },
+        "materio_search_api_onthologie_term_1_text" : { "type" : "text", "boost" : "13.0" },
+        "materio_search_api_onthologie_term_2_text" : { "type" : "text", "boost" : "8.0" },
+        "materio_search_api_onthologie_term_3_text" : { "type" : "text", "boost" : "5.0" },
+        "materio_search_api_onthologie_term_4_text" : { "type" : "text", "boost" : "3.0" },
+        "materio_search_api_onthologie_term_5_text" : { "type" : "text", "boost" : "2.0" },
+        "materio_search_api_onthologie_term_others_text" : { "type" : "list\\u003Ctext\\u003E" },
+        "materio_search_api_taglibres_text" : { "type" : "list\\u003Ctext\\u003E", "boost" : "0.1" },
+        "title_field" : { "type" : "text", "boost" : "3.0" },
+        "field_nature_titre" : { "type" : "text", "boost" : "3.0" },
+        "field_reference_materio" : { "type" : "text", "boost" : "0.3" },
+        "materio_search_api_node_propertie_companie" : { "type" : "list\\u003Ctext\\u003E" },
+        "search_api_language" : { "type" : "string" },
+        "search_api_access_node" : { "type" : "list\\u003Cstring\\u003E" },
+        "body:value" : { "type" : "text" },
+        "field_description:value" : { "type" : "text" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : {
+            "default" : "0",
+            "bundles" : { "breve" : "breve", "materiau" : "materiau" }
+          }
+        },
+        "search_api_alter_node_access" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_node_status" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_language_control" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
+        },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : { "title_field" : true, "field_reference_materio" : true } }
+        },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "title_field" : true, "field_reference_materio" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : { "title_field" : true, "field_reference_materio" : true },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : { "title_field" : true, "field_reference_materio" : true },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "1",
+    "read_only" : "0"
+  }');
+  $items['referencement'] = entity_import('search_api_index', '{
+    "name" : "R\\u00e9f\\u00e9rencement",
+    "machine_name" : "referencement",
+    "description" : null,
+    "server" : null,
+    "item_type" : "taxonomy_term",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "1000",
+      "fields" : {
+        "description" : { "type" : "text" },
+        "synonyms_synonym" : { "type" : "list\\u003Ctext\\u003E" },
+        "name_field" : { "type" : "text" },
+        "search_api_language" : { "type" : "string" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : {
+            "default" : "0",
+            "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" }
+          }
+        },
+        "search_api_alter_language_control" : {
+          "status" : 0,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : [] }
+        },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
+        "search_api_alter_add_aggregation" : { "status" : 1, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : { "name" : true, "parent" : true, "synonyms_synonym" : true } }
+        },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : { "name" : true, "synonyms_synonym" : true, "vocabulary:name" : true },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "0",
+    "read_only" : "0"
+  }');
+  $items['referencement_en'] = entity_import('search_api_index', '{
+    "name" : "r\\u00e9f\\u00e9rencement en",
+    "machine_name" : "referencement_en",
+    "description" : null,
+    "server" : "materio_solr3_en",
+    "item_type" : "taxonomy_term",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "50",
+      "entity_translation_language" : "en",
+      "fields" : {
+        "description" : { "type" : "text", "boost" : "0.3" },
+        "synonyms_synonym" : {
+          "type" : "list\\u003Ctext\\u003E",
+          "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
+        },
+        "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
+        "search_api_language" : { "type" : "string" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : {
+            "default" : "0",
+            "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" }
+          }
+        },
+        "search_api_alter_language_control" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : { "und" : "und", "en" : "en" } }
+        },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true } }
+        },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "1",
+    "read_only" : "0"
+  }');
+  $items['referencement_fr'] = entity_import('search_api_index', '{
+    "name" : "r\\u00e9f\\u00e9rencement fr",
+    "machine_name" : "referencement_fr",
+    "description" : null,
+    "server" : "materio_solr3_fr",
+    "item_type" : "taxonomy_term",
+    "options" : {
+      "index_directly" : 0,
+      "cron_limit" : "50",
+      "entity_translation_language" : "fr",
+      "fields" : {
+        "description" : { "type" : "text", "boost" : "0.3" },
+        "materio_search_api_term_property_dup_name" : { "type" : "text", "real_type" : "edge_n2_kw_mapped_text" },
+        "synonyms_synonym" : {
+          "type" : "list\\u003Ctext\\u003E",
+          "real_type" : "list\\u003Cedge_n2_kw_text\\u003E"
+        },
+        "name_field" : { "type" : "text", "real_type" : "edge_n2_kw_text" },
+        "search_api_language" : { "type" : "string" }
+      },
+      "data_alter_callbacks" : {
+        "search_api_alter_bundle_filter" : {
+          "status" : 1,
+          "weight" : "-10",
+          "settings" : {
+            "default" : "0",
+            "bundles" : { "onthologie" : "onthologie", "tag_libres" : "tag_libres" }
+          }
+        },
+        "search_api_alter_language_control" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "lang_field" : "", "languages" : { "und" : "und", "fr" : "fr" } }
+        },
+        "search_api_alter_add_hierarchy" : { "status" : 0, "weight" : "0", "settings" : { "fields" : [] } },
+        "search_api_alter_add_aggregation" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_url" : { "status" : 0, "weight" : "0", "settings" : [] },
+        "search_api_alter_add_viewed_entity" : { "status" : 0, "weight" : "0", "settings" : { "mode" : "full" } }
+      },
+      "processors" : {
+        "search_api_case_ignore" : {
+          "status" : 1,
+          "weight" : "0",
+          "settings" : { "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true } }
+        },
+        "search_api_html_filter" : {
+          "status" : 0,
+          "weight" : "10",
+          "settings" : {
+            "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
+            "title" : 0,
+            "alt" : 1,
+            "tags" : "h1 = 5\\r\\nh2 = 3\\r\\nh3 = 2\\r\\nstrong = 2\\r\\nb = 2\\r\\nem = 1.5\\r\\nu = 1.5"
+          }
+        },
+        "search_api_tokenizer" : {
+          "status" : 0,
+          "weight" : "20",
+          "settings" : {
+            "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
+            "spaces" : "[^[:alnum:]]",
+            "ignorable" : "[\\u0027]"
+          }
+        },
+        "search_api_stopwords" : {
+          "status" : 0,
+          "weight" : "30",
+          "settings" : {
+            "fields" : { "description" : true, "synonyms_synonym" : true, "name_field" : true },
+            "file" : "",
+            "stopwords" : "but\\r\\ndid\\r\\nthe this that those\\r\\netc"
+          }
+        }
+      }
+    },
+    "enabled" : "1",
+    "read_only" : "0"
+  }');
+  return $items;
+}

+ 164 - 0
materio_search/materio_search.features.user_permission.inc

@@ -0,0 +1,164 @@
+<?php
+/**
+ * @file
+ * materio_search.features.user_permission.inc
+ */
+
+/**
+ * Implements hook_user_default_permissions().
+ */
+function materio_search_user_default_permissions() {
+  $permissions = array();
+
+  // Exported permission: 'administer materio_search_api'.
+  $permissions['administer materio_search_api'] = array(
+    'name' => 'administer materio_search_api',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'materio_search_api',
+  );
+
+  // Exported permission: 'administer search_api'.
+  $permissions['administer search_api'] = array(
+    'name' => 'administer search_api',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'search_api',
+  );
+
+  // Exported permission: 'administer search_api_saved_searches'.
+  $permissions['administer search_api_saved_searches'] = array(
+    'name' => 'administer search_api_saved_searches',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'search_api_saved_searches',
+  );
+
+  // Exported permission: 'create field_used_on_advanced_search'.
+  $permissions['create field_used_on_advanced_search'] = array(
+    'name' => 'create field_used_on_advanced_search',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'field_permissions',
+  );
+
+  // Exported permission: 'edit field_used_on_advanced_search'.
+  $permissions['edit field_used_on_advanced_search'] = array(
+    'name' => 'edit field_used_on_advanced_search',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'field_permissions',
+  );
+
+  // Exported permission: 'edit own field_used_on_advanced_search'.
+  $permissions['edit own field_used_on_advanced_search'] = array(
+    'name' => 'edit own field_used_on_advanced_search',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'field_permissions',
+  );
+
+  // Exported permission: 'use materio search api'.
+  $permissions['use materio search api'] = array(
+    'name' => 'use materio search api',
+    'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'materio_search_api',
+  );
+
+  // Exported permission: 'use materio search api autocomplete'.
+  $permissions['use materio search api autocomplete'] = array(
+    'name' => 'use materio search api autocomplete',
+    'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'materio_search_api',
+  );
+
+  // Exported permission: 'use materio search api filters'.
+  $permissions['use materio search api filters'] = array(
+    'name' => 'use materio search api filters',
+    'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'materio_search_api',
+  );
+
+  // Exported permission: 'use materio search api for breves'.
+  $permissions['use materio search api for breves'] = array(
+    'name' => 'use materio search api for breves',
+    'roles' => array(
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+    ),
+    'module' => 'materio_search_api',
+  );
+
+  // Exported permission: 'use materio search api viewmode selection'.
+  $permissions['use materio search api viewmode selection'] = array(
+    'name' => 'use materio search api viewmode selection',
+    'roles' => array(
+      'Adhérent' => 'Adhérent',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'materio_search_api',
+  );
+
+  // Exported permission: 'use search_api_saved_searches'.
+  $permissions['use search_api_saved_searches'] = array(
+    'name' => 'use search_api_saved_searches',
+    'roles' => array(
+      'root' => 'root',
+    ),
+    'module' => 'search_api_saved_searches',
+  );
+
+  // Exported permission: 'view field_used_on_advanced_search'.
+  $permissions['view field_used_on_advanced_search'] = array(
+    'name' => 'view field_used_on_advanced_search',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'field_permissions',
+  );
+
+  // Exported permission: 'view own field_used_on_advanced_search'.
+  $permissions['view own field_used_on_advanced_search'] = array(
+    'name' => 'view own field_used_on_advanced_search',
+    'roles' => array(
+      'administrator' => 'administrator',
+      'root' => 'root',
+    ),
+    'module' => 'field_permissions',
+  );
+
+  return $permissions;
+}

+ 53 - 0
materio_search/materio_search.info

@@ -0,0 +1,53 @@
+name = Materio Search
+core = 7.x
+package = Materio
+dependencies[] = ctools
+dependencies[] = entity
+dependencies[] = entity_translation_search_api
+dependencies[] = features
+dependencies[] = field_permissions
+dependencies[] = materio_search_api
+dependencies[] = materio_search_api_ajax
+dependencies[] = rules
+dependencies[] = search_api
+dependencies[] = search_api_saved_searches
+dependencies[] = search_api_solr
+dependencies[] = strongarm
+dependencies[] = taxonomy
+features[ctools][] = strongarm:strongarm:1
+features[features_api][] = api:2
+features[rules_config][] = rules_update_node_on_term_save
+features[search_api_index][] = breves_en
+features[search_api_index][] = breves_fr
+features[search_api_index][] = materiaux_breves
+features[search_api_index][] = materiaux_breves_en
+features[search_api_index][] = materiaux_breves_fr
+features[search_api_index][] = referencement
+features[search_api_index][] = referencement_en
+features[search_api_index][] = referencement_fr
+features[user_permission][] = administer materio_search_api
+features[user_permission][] = administer search_api
+features[user_permission][] = administer search_api_saved_searches
+features[user_permission][] = create field_used_on_advanced_search
+features[user_permission][] = edit field_used_on_advanced_search
+features[user_permission][] = edit own field_used_on_advanced_search
+features[user_permission][] = use materio search api
+features[user_permission][] = use materio search api autocomplete
+features[user_permission][] = use materio search api filters
+features[user_permission][] = use materio search api for breves
+features[user_permission][] = use materio search api viewmode selection
+features[user_permission][] = use search_api_saved_searches
+features[user_permission][] = view field_used_on_advanced_search
+features[user_permission][] = view own field_used_on_advanced_search
+features[variable][] = advancedsearchindex_en
+features[variable][] = advancedsearchindex_fr
+features[variable][] = advancedsearchvocs
+features[variable][] = autocompletesearchindex
+features[variable][] = autocompletesearchindex_en
+features[variable][] = autocompletesearchindex_fr
+features[variable][] = brevessearchindex_en
+features[variable][] = brevessearchindex_fr
+features[variable][] = googleanalytics_site_search
+features[variable][] = mainsearchindex
+features[variable][] = mainsearchindex_en
+project path = sites/all/modules/features

+ 7 - 0
materio_search/materio_search.module

@@ -0,0 +1,7 @@
+<?php
+/**
+ * @file
+ * Code for the Materio Search feature.
+ */
+
+include_once 'materio_search.features.inc';

+ 52 - 0
materio_search/materio_search.rules_defaults.inc

@@ -0,0 +1,52 @@
+<?php
+/**
+ * @file
+ * materio_search.rules_defaults.inc
+ */
+
+/**
+ * Implements hook_default_rules_configuration().
+ */
+function materio_search_default_rules_configuration() {
+  $items = array();
+  $items['rules_update_node_on_term_save'] = entity_import('rules_config', '{ "rules_update_node_on_term_save" : {
+      "LABEL" : "update search_api indexes on term save",
+      "PLUGIN" : "reaction rule",
+      "TAGS" : [ "search api" ],
+      "REQUIRES" : [ "rules", "search_api", "taxonomy" ],
+      "ON" : [ "taxonomy_term_update" ],
+      "DO" : [
+        { "entity_query" : {
+            "USING" : {
+              "type" : "node",
+              "property" : "field_onthologie",
+              "value" : [ "term" ],
+              "limit" : "9999999"
+            },
+            "PROVIDE" : { "entity_fetched" : { "nodes_to_index" : "Les noeuds \\u00e0 indexer" } }
+          }
+        },
+        { "LOOP" : {
+            "USING" : { "list" : [ "nodes-to-index" ] },
+            "ITEM" : { "node_to_index" : "node a indexer depuis la liste" },
+            "DO" : [
+              { "search_api_index" : {
+                  "entity" : [ "node-to-index" ],
+                  "index" : "materiaux_breves",
+                  "index_immediately" : 0
+                }
+              }
+            ]
+          }
+        },
+        { "search_api_index" : {
+            "entity" : [ "term" ],
+            "index" : "referencement",
+            "index_immediately" : 0
+          }
+        }
+      ]
+    }
+  }');
+  return $items;
+}

+ 93 - 0
materio_search/materio_search.strongarm.inc

@@ -0,0 +1,93 @@
+<?php
+/**
+ * @file
+ * materio_search.strongarm.inc
+ */
+
+/**
+ * Implements hook_strongarm().
+ */
+function materio_search_strongarm() {
+  $export = array();
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'advancedsearchindex_en';
+  $strongarm->value = 'ontologie_en';
+  $export['advancedsearchindex_en'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'advancedsearchindex_fr';
+  $strongarm->value = 'onthologie_fr';
+  $export['advancedsearchindex_fr'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'advancedsearchvocs';
+  $strongarm->value = array(
+    15 => '15',
+  );
+  $export['advancedsearchvocs'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'autocompletesearchindex';
+  $strongarm->value = 'referencement';
+  $export['autocompletesearchindex'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'autocompletesearchindex_en';
+  $strongarm->value = 'referencement_en';
+  $export['autocompletesearchindex_en'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'autocompletesearchindex_fr';
+  $strongarm->value = 'referencement_fr';
+  $export['autocompletesearchindex_fr'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'brevessearchindex_en';
+  $strongarm->value = 'breves_en';
+  $export['brevessearchindex_en'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'brevessearchindex_fr';
+  $strongarm->value = 'breves_fr';
+  $export['brevessearchindex_fr'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'googleanalytics_site_search';
+  $strongarm->value = FALSE;
+  $export['googleanalytics_site_search'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'mainsearchindex';
+  $strongarm->value = 'materiaux_breves';
+  $export['mainsearchindex'] = $strongarm;
+
+  $strongarm = new stdClass();
+  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
+  $strongarm->api_version = 1;
+  $strongarm->name = 'mainsearchindex_en';
+  $strongarm->value = 'materiaux_breves_en';
+  $export['mainsearchindex_en'] = $strongarm;
+
+  return $export;
+}

+ 10 - 1
materio_subscriptions/materio_subscriptions.features.user_permission.inc

@@ -23,7 +23,16 @@ function materio_subscriptions_user_default_permissions() {
   $permissions['access to online payment'] = array(
     'name' => 'access to online payment',
     'roles' => array(
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Adhérent' => 'Adhérent',
+      'Contact opérationnel' => 'Contact opérationnel',
+      'Premium' => 'Premium',
+      'Student' => 'Student',
+      'Unverified' => 'Unverified',
+      'Utilisateur' => 'Utilisateur',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
+      'administrator' => 'administrator',
+      'anonymous user' => 'anonymous user',
+      'authenticated user' => 'authenticated user',
       'root' => 'root',
     ),
     'module' => 'materio_user',

+ 0 - 6
materio_subscriptions/materio_subscriptions.features.user_role.inc

@@ -28,11 +28,5 @@ function materio_subscriptions_user_default_roles() {
     'weight' => 3,
   );
 
-  // Exported role: Utilisateur test UC.
-  $roles['Utilisateur test UC'] = array(
-    'name' => 'Utilisateur test UC',
-    'weight' => 4,
-  );
-
   return $roles;
 }

+ 0 - 1
materio_subscriptions/materio_subscriptions.info

@@ -76,7 +76,6 @@ features[user_permission][] = view reports
 features[user_role][] = Adhérent
 features[user_role][] = Premium
 features[user_role][] = Utilisateur
-features[user_role][] = Utilisateur test UC
 features[variable][] = date_format_uc_store
 features[variable][] = uc_add_item_redirect
 features[variable][] = uc_address_fields

+ 33 - 32
materio_subscriptions/materio_subscriptions.strongarm.inc

@@ -308,7 +308,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_cap_coupon_auto_enabled';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_cap_coupon_auto_enabled'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -322,7 +322,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_cap_coupon_enabled';
-  $strongarm->value = 0;
+  $strongarm->value = 1;
   $export['uc_cap_coupon_enabled'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -478,7 +478,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->name = 'uc_check_address';
   $strongarm->value = array(
     'uc_check_mailing_company' => 'materiO\'',
-    'uc_check_mailing_street1' => '4 rue du faubourg saint antoine',
+    'uc_check_mailing_street1' => '74 rue du Faubourg Saint-Anthoine',
     'uc_check_mailing_street2' => '',
     'uc_check_mailing_city' => 'Paris',
     'uc_check_mailing_zone' => 0,
@@ -512,21 +512,21 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_check_mailing_name';
-  $strongarm->value = 'Quentin Hirsinger';
+  $strongarm->value = '';
   $export['uc_check_mailing_name'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_check_mailing_postal_code';
-  $strongarm->value = '75012';
+  $strongarm->value = '75009';
   $export['uc_check_mailing_postal_code'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_check_mailing_street1';
-  $strongarm->value = '4 rue du faubourg saint antoine';
+  $strongarm->value = '8 rue chaptal';
   $export['uc_check_mailing_street1'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -547,7 +547,7 @@ function materio_subscriptions_strongarm() {
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_check_policy';
-  $strongarm->value = 'Les chèques personnels et professionnels sont soumis à un délai d\'acceptation de 10 jours ouvrés avant validation et envoi de la commande.';
+  $strongarm->value = 'Your account will be activated  when we recieve your payment.';
   $export['uc_check_policy'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -886,27 +886,25 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_existing_user';
-  $strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
-
-<a href="/fr/user">Login</a> to view your current order status and order history. Remember to login when you make your next purchase for a faster checkout experience!';
+  $strongarm->value = 'Thank you for subscribing to [store:name].';
   $export['uc_msg_order_existing_user'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_logged_in';
-  $strongarm->value = 'Thank you for shopping at [store:name]. While logged in, you may continue shopping or <a href="[uc_order:url]">view your current order status</a> and order history.';
+  $strongarm->value = 'Thank you for subscribing to [store:name].';
   $export['uc_msg_order_logged_in'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_new_user';
-  $strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
-
-<a href="/fr/user">Login</a> to your new account using the following information:
-
-<strong>Username:</strong> !new_username
+  $strongarm->value = 'Thank you for subscribing to [store:name]. A new account has been created for you here.
+
+<a href="/fr/user">Login</a> to your new account using the following information:
+
+<strong>Username:</strong> !new_username
 <strong>Password:</strong> !new_password';
   $export['uc_msg_order_new_user'] = $strongarm;
 
@@ -914,18 +912,20 @@ American Express';
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_new_user_logged_in';
-  $strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
-
-Your password and further instructions have been sent to your e-mail address.
-
-For your convenience, you are already logged in with your newly created account.';
+  $strongarm->value = 'Thank you for subscribing to [store:name]. A new account has been created for you here.
+
+Your password and further instructions have been sent to your e-mail address.
+
+For your convenience, you are already logged in with your newly created account.
+
+<a href="[site:url]">Return to the front page.</a>';
   $export['uc_msg_order_new_user_logged_in'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_msg_order_submit';
-  $strongarm->value = 'Your order is complete! Your order number is [uc_order:order-number].';
+  $strongarm->value = 'Your order is complete!';
   $export['uc_msg_order_submit'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1100,7 +1100,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_payment_method_check_weight';
-  $strongarm->value = '1';
+  $strongarm->value = '-9';
   $export['uc_payment_method_check_weight'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1114,7 +1114,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_payment_method_cmcic_weight';
-  $strongarm->value = '3';
+  $strongarm->value = '-10';
   $export['uc_payment_method_cmcic_weight'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1128,7 +1128,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_payment_method_cod_weight';
-  $strongarm->value = '1';
+  $strongarm->value = '-7';
   $export['uc_payment_method_cod_weight'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1142,7 +1142,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_payment_method_credit_weight';
-  $strongarm->value = '2';
+  $strongarm->value = '-6';
   $export['uc_payment_method_credit_weight'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1156,7 +1156,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_payment_method_free_order_weight';
-  $strongarm->value = '0';
+  $strongarm->value = '-8';
   $export['uc_payment_method_free_order_weight'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1170,7 +1170,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_payment_method_other_weight';
-  $strongarm->value = '10';
+  $strongarm->value = '-5';
   $export['uc_payment_method_other_weight'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1266,14 +1266,14 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_roles_default_granularity';
-  $strongarm->value = 'never';
+  $strongarm->value = 'year';
   $export['uc_roles_default_granularity'] = $strongarm;
 
   $strongarm = new stdClass();
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_roles_default_length';
-  $strongarm->value = '';
+  $strongarm->value = '1';
   $export['uc_roles_default_length'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1293,6 +1293,7 @@ For your convenience, you are already logged in with your newly created account.
     8 => '8',
     9 => 0,
     7 => 0,
+    11 => 0,
     5 => 0,
     3 => 0,
     4 => 0,
@@ -1387,7 +1388,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_store_phone';
-  $strongarm->value = '+33 (0)1 40 41 51 15';
+  $strongarm->value = '';
   $export['uc_store_phone'] = $strongarm;
 
   $strongarm = new stdClass();
@@ -1401,7 +1402,7 @@ For your convenience, you are already logged in with your newly created account.
   $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
   $strongarm->api_version = 1;
   $strongarm->name = 'uc_store_street1';
-  $strongarm->value = '4 rue du faubourg Saint Martin';
+  $strongarm->value = '74 rue du faubourg saint antoine';
   $export['uc_store_street1'] = $strongarm;
 
   $strongarm = new stdClass();

+ 6 - 6
materio_user_profiles/materio_user_profiles.features.user_permission.inc

@@ -76,7 +76,7 @@ function materio_user_profiles_user_default_permissions() {
       'Contact opérationnel' => 'Contact opérationnel',
       'Premium' => 'Premium',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'root' => 'root',
     ),
     'module' => 'field_permissions',
@@ -143,7 +143,7 @@ function materio_user_profiles_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'root' => 'root',
     ),
     'module' => 'field_permissions',
@@ -392,7 +392,7 @@ function materio_user_profiles_user_default_permissions() {
       'Contact opérationnel' => 'Contact opérationnel',
       'Premium' => 'Premium',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'root' => 'root',
     ),
     'module' => 'field_permissions',
@@ -458,7 +458,7 @@ function materio_user_profiles_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'root' => 'root',
     ),
     'module' => 'field_permissions',
@@ -718,7 +718,7 @@ function materio_user_profiles_user_default_permissions() {
       'Contact opérationnel' => 'Contact opérationnel',
       'Premium' => 'Premium',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'root' => 'root',
     ),
     'module' => 'field_permissions',
@@ -785,7 +785,7 @@ function materio_user_profiles_user_default_permissions() {
       'Student' => 'Student',
       'Unverified' => 'Unverified',
       'Utilisateur' => 'Utilisateur',
-      'Utilisateur test UC' => 'Utilisateur test UC',
+      'Utilisateur Alpha Tester' => 'Utilisateur Alpha Tester',
       'root' => 'root',
     ),
     'module' => 'field_permissions',