name = 'commitlog_commit_items'; $view->description = 'VersionControl Commit Items'; $view->tag = 'VersionControl Core'; $view->view_php = ''; $view->base_table = 'versioncontrol_item_revisions'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('fields', array( 'path' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'link_type' => 'log', 'exclude' => 0, 'id' => 'path', 'table' => 'versioncontrol_item_revisions', 'field' => 'path', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'vc_op_id' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'not found', 'break_phrase' => 0, 'not' => 0, 'id' => 'vc_op_id', 'table' => 'versioncontrol_operations', 'field' => 'vc_op_id', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '3' => 0, '4' => 0, '5' => 0, '6' => 0, '7' => 0, '8' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_fixed' => '', 'default_argument_user' => 0, 'default_argument_php' => '', 'validate_argument_node_type' => array( 'forum' => 0, 'project_project' => 0, 'project_release' => 0, 'project_issue' => 0, 'book' => 0, 'page' => 0, 'story' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, '4' => 0, '2' => 0, '3' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_project_term_vocabulary' => array( '2' => 0, ), 'validate_argument_project_term_argument_type' => 'tid', 'validate_argument_project_term_argument_action_top_without' => 'pass', 'validate_argument_project_term_argument_action_top_with' => 'pass', 'validate_argument_project_term_argument_action_child' => 'pass', 'validate_argument_php' => '', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('empty_format', '1'); $handler->override_option('items_per_page', 0); $handler->override_option('style_options', array( 'grouping' => '', )); $handler = $view->new_display('block', 'With name', 'block_2'); $handler->override_option('fields', array( 'name' => array( 'label' => 'Repository Name', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => 'project/[name]', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'name', 'table' => 'versioncontrol_repositories', 'field' => 'name', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'path' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'path', 'table' => 'versioncontrol_item_revisions', 'field' => 'path', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'nothing' => array( 'label' => '', 'alter' => array( 'text' => '[name]: [path]', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'nothing', 'table' => 'views', 'field' => 'nothing', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1); $handler = $view->new_display('block', 'With diffstat', 'block_1'); $handler->override_option('fields', array( 'path' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'path', 'table' => 'versioncontrol_item_revisions', 'field' => 'path', 'relationship' => 'none', ), 'changed_lines' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'changed_lines', 'table' => 'versioncontrol_item_revisions', 'field' => 'changed_lines', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'visual_diffstat' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'visual_diffstat', 'table' => 'versioncontrol_item_revisions', 'field' => 'visual_diffstat', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'places' => '7', ), )); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1); $handler = $view->new_display('block', 'With name & diffstat', 'block_3'); $handler->override_option('fields', array( 'name' => array( 'label' => 'Repository Name', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => 'project/[name]', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'name', 'table' => 'versioncontrol_repositories', 'field' => 'name', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'path' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 1, 'id' => 'path', 'table' => 'versioncontrol_item_revisions', 'field' => 'path', 'relationship' => 'none', 'override' => array( 'button' => 'Use default', ), ), 'nothing' => array( 'label' => 'Custom text', 'alter' => array( 'text' => '[name]: [path]', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'nothing', 'table' => 'views', 'field' => 'nothing', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), 'visual_diffstat' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'visual_diffstat', 'table' => 'versioncontrol_item_revisions', 'field' => 'visual_diffstat', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'places' => '7', ), 'changed_lines' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'link_class' => '', 'alt' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'exclude' => 0, 'id' => 'changed_lines', 'table' => 'versioncontrol_item_revisions', 'field' => 'changed_lines', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', ), )); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1); $handler = $view->new_display('block', 'File only', 'block_4'); $handler->override_option('block_description', ''); $handler->override_option('block_caching', -1);