added piwik stats module

This commit is contained in:
2017-03-11 13:15:39 +01:00
parent ce12d087df
commit 9abd8c5635
16 changed files with 3397 additions and 2 deletions
@@ -223,6 +223,121 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-documentair-body'.
$field_instances['node-documentair-body'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 2,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 1,
),
),
'entity_type' => 'node',
'field_name' => 'body',
'label' => 'Body',
'required' => FALSE,
'settings' => array(
'display_summary' => TRUE,
'entity_translation_sync' => FALSE,
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 5,
),
);
// Exported field_instance: 'node-documentair-field_description'.
$field_instances['node-documentair-field_description'] = array(
'bundle' => 'documentair',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 4,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
),
'entity_type' => 'node',
'field_name' => 'field_description',
'label' => 'Description',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'linkit' => array(
'button_text' => 'Recherche',
'enable' => 0,
'profile' => '',
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 103,
),
);
// Exported field_instance: 'node-documentair-field_doc'.
$field_instances['node-documentair-field_doc'] = array(
'bundle' => 'documentair',
@@ -553,6 +668,127 @@ function clameurs_field_default_field_instances() {
),
);
// Exported field_instance: 'node-episode-body'.
$field_instances['node-episode-body'] = array(
'bundle' => 'episode',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 6,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
),
'teaser' => array(
'label' => 'hidden',
'module' => 'text',
'settings' => array(
'trim_length' => 600,
),
'type' => 'text_summary_or_trimmed',
'weight' => 1,
),
),
'entity_type' => 'node',
'field_name' => 'body',
'label' => 'Body',
'required' => 0,
'settings' => array(
'display_summary' => 1,
'entity_translation_sync' => FALSE,
'linkit' => array(
'button_text' => 'Recherche',
'enable' => 0,
'profile' => '',
),
'text_processing' => 1,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 20,
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => 2,
),
);
// Exported field_instance: 'node-episode-field_description'.
$field_instances['node-episode-field_description'] = array(
'bundle' => 'episode',
'default_value' => NULL,
'deleted' => 0,
'description' => '',
'display' => array(
'accueil' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 7,
),
'attente' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 2,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 5,
),
),
'entity_type' => 'node',
'field_name' => 'field_description',
'label' => 'Description',
'required' => 0,
'settings' => array(
'entity_translation_sync' => FALSE,
'linkit' => array(
'button_text' => 'Recherche',
'enable' => 0,
'profile' => '',
),
'text_processing' => 0,
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => 5,
),
'type' => 'text_textarea',
'weight' => 103,
),
);
// Exported field_instance: 'node-episode-field_emvideo'.
$field_instances['node-episode-field_emvideo'] = array(
'bundle' => 'episode',
@@ -10,6 +10,15 @@
function clameurs_user_default_permissions() {
$permissions = array();
// Exported permission: 'add JS snippets for piwik'.
$permissions['add JS snippets for piwik'] = array(
'name' => 'add JS snippets for piwik',
'roles' => array(
'root' => 'root',
),
'module' => 'piwik',
);
// Exported permission: 'administer advanced pane settings'.
$permissions['administer advanced pane settings'] = array(
'name' => 'administer advanced pane settings',
@@ -109,6 +118,15 @@ function clameurs_user_default_permissions() {
'module' => 'panels',
);
// Exported permission: 'administer piwik'.
$permissions['administer piwik'] = array(
'name' => 'administer piwik',
'roles' => array(
'root' => 'root',
),
'module' => 'piwik',
);
// Exported permission: 'bypass access in place editing'.
$permissions['bypass access in place editing'] = array(
'name' => 'bypass access in place editing',
@@ -331,6 +349,24 @@ function clameurs_user_default_permissions() {
'module' => 'workflow',
);
// Exported permission: 'opt-in or out of tracking'.
$permissions['opt-in or out of tracking'] = array(
'name' => 'opt-in or out of tracking',
'roles' => array(
'root' => 'root',
),
'module' => 'piwik',
);
// Exported permission: 'use PHP for tracking visibility'.
$permissions['use PHP for tracking visibility'] = array(
'name' => 'use PHP for tracking visibility',
'roles' => array(
'root' => 'root',
),
'module' => 'piwik',
);
// Exported permission: 'use ipe with page manager'.
$permissions['use ipe with page manager'] = array(
'name' => 'use ipe with page manager',
@@ -314,7 +314,7 @@ function clameurs_field_group_info() {
$field_groups['group_right|node|thematique|accueil'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_texte|node|documentair|form';
$field_group->group_name = 'group_texte';
@@ -342,7 +342,7 @@ function clameurs_field_group_info() {
$field_groups['group_texte|node|documentair|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = TRUE; /* Edit this to true to make a default field_group disabled initially */
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_texte|node|episode|form';
$field_group->group_name = 'group_texte';
@@ -31,6 +31,7 @@ dependencies[] = page_manager
dependencies[] = panels
dependencies[] = panels_extra_styles
dependencies[] = panels_mini
dependencies[] = piwik
dependencies[] = rules
dependencies[] = strongarm
dependencies[] = styles
@@ -102,11 +103,15 @@ features[field_instance][] = cer-cer-cer_left
features[field_instance][] = cer-cer-cer_right
features[field_instance][] = cer-cer-cer_weight
features[field_instance][] = file-image-field_legende
features[field_instance][] = node-documentair-body
features[field_instance][] = node-documentair-field_description
features[field_instance][] = node-documentair-field_doc
features[field_instance][] = node-documentair-field_emvideo
features[field_instance][] = node-documentair-field_thematique
features[field_instance][] = node-documentair-field_vignette
features[field_instance][] = node-documentair-title_field
features[field_instance][] = node-episode-body
features[field_instance][] = node-episode-field_description
features[field_instance][] = node-episode-field_emvideo
features[field_instance][] = node-episode-field_habiter
features[field_instance][] = node-episode-field_thematique
@@ -135,6 +140,7 @@ features[rules_config][] = clameurs_habiter
features[rules_config][] = rules_ecouter
features[rules_config][] = rules_episode_th_matique
features[taxonomy][] = actions
features[user_permission][] = add JS snippets for piwik
features[user_permission][] = administer advanced pane settings
features[user_permission][] = administer cer settings
features[user_permission][] = administer custom content
@@ -146,6 +152,7 @@ features[user_permission][] = administer panels layouts
features[user_permission][] = administer panels pane styles
features[user_permission][] = administer panels region styles
features[user_permission][] = administer panels styles
features[user_permission][] = administer piwik
features[user_permission][] = bypass access in place editing
features[user_permission][] = change layouts in place editing
features[user_permission][] = clone node
@@ -170,6 +177,8 @@ features[user_permission][] = edit own episode content
features[user_permission][] = edit own field_poid
features[user_permission][] = edit own thematique content
features[user_permission][] = edit workflow comment
features[user_permission][] = opt-in or out of tracking
features[user_permission][] = use PHP for tracking visibility
features[user_permission][] = use ipe with page manager
features[user_permission][] = use page manager
features[user_permission][] = use panels caching features
@@ -207,6 +216,32 @@ features[variable][] = pathauto_node_documentair_pattern
features[variable][] = pathauto_node_episode_pattern
features[variable][] = pathauto_node_thematique_pattern
features[variable][] = pathauto_taxonomy_term_actions_pattern
features[variable][] = piwik_cache
features[variable][] = piwik_codesnippet_after
features[variable][] = piwik_codesnippet_before
features[variable][] = piwik_custom
features[variable][] = piwik_custom_var
features[variable][] = piwik_domain_mode
features[variable][] = piwik_js_scope
features[variable][] = piwik_page_title_hierarchy
features[variable][] = piwik_page_title_hierarchy_exclude_home
features[variable][] = piwik_pages
features[variable][] = piwik_privacy_donottrack
features[variable][] = piwik_roles
features[variable][] = piwik_site_id
features[variable][] = piwik_site_search
features[variable][] = piwik_track
features[variable][] = piwik_trackcolorbox
features[variable][] = piwik_trackfiles_extensions
features[variable][] = piwik_trackmailto
features[variable][] = piwik_trackmessages
features[variable][] = piwik_trackuserid
features[variable][] = piwik_translation_set
features[variable][] = piwik_url_http
features[variable][] = piwik_url_https
features[variable][] = piwik_url_skiperror
features[variable][] = piwik_visibility_pages
features[variable][] = piwik_visibility_roles
features[variable][] = workflow_documentair
features[variable][] = workflow_episode
features[variable][] = workflow_thematique
@@ -563,6 +563,235 @@ function clameurs_strongarm() {
$strongarm->value = '';
$export['pathauto_taxonomy_term_actions_pattern'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_cache';
$strongarm->value = 1;
$export['piwik_cache'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_codesnippet_after';
$strongarm->value = '';
$export['piwik_codesnippet_after'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_codesnippet_before';
$strongarm->value = '';
$export['piwik_codesnippet_before'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_custom';
$strongarm->value = '0';
$export['piwik_custom'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_custom_var';
$strongarm->value = array(
'slots' => array(
1 => array(
'slot' => 1,
'name' => '',
'value' => '',
'scope' => 'visit',
),
2 => array(
'slot' => 2,
'name' => '',
'value' => '',
'scope' => 'visit',
),
3 => array(
'slot' => 3,
'name' => '',
'value' => '',
'scope' => 'visit',
),
4 => array(
'slot' => 4,
'name' => '',
'value' => '',
'scope' => 'visit',
),
5 => array(
'slot' => 5,
'name' => '',
'value' => '',
'scope' => 'visit',
),
),
);
$export['piwik_custom_var'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_domain_mode';
$strongarm->value = '0';
$export['piwik_domain_mode'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_js_scope';
$strongarm->value = 'header';
$export['piwik_js_scope'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_pages';
$strongarm->value = 'admin
admin/*
batch
node/add*
node/*/*
user/*/*';
$export['piwik_pages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_page_title_hierarchy';
$strongarm->value = 1;
$export['piwik_page_title_hierarchy'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_page_title_hierarchy_exclude_home';
$strongarm->value = 1;
$export['piwik_page_title_hierarchy_exclude_home'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_privacy_donottrack';
$strongarm->value = 1;
$export['piwik_privacy_donottrack'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_roles';
$strongarm->value = array(
1 => 0,
2 => 0,
3 => 0,
4 => 0,
);
$export['piwik_roles'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_site_id';
$strongarm->value = '1';
$export['piwik_site_id'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_site_search';
$strongarm->value = FALSE;
$export['piwik_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 = 'piwik_track';
$strongarm->value = 1;
$export['piwik_track'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_trackcolorbox';
$strongarm->value = 1;
$export['piwik_trackcolorbox'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_trackfiles_extensions';
$strongarm->value = '7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip';
$export['piwik_trackfiles_extensions'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_trackmailto';
$strongarm->value = 1;
$export['piwik_trackmailto'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_trackmessages';
$strongarm->value = array(
'status' => 'status',
'warning' => 'warning',
'error' => 'error',
);
$export['piwik_trackmessages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_trackuserid';
$strongarm->value = 0;
$export['piwik_trackuserid'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_translation_set';
$strongarm->value = 0;
$export['piwik_translation_set'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_url_http';
$strongarm->value = 'http://piwik.figureslibres.io/';
$export['piwik_url_http'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_url_https';
$strongarm->value = '';
$export['piwik_url_https'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_url_skiperror';
$strongarm->value = '';
$export['piwik_url_skiperror'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_visibility_pages';
$strongarm->value = '0';
$export['piwik_visibility_pages'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'piwik_visibility_roles';
$strongarm->value = '0';
$export['piwik_visibility_roles'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;