Skip to content
Browse files

Merge branch 'dev'

  • Loading branch information...
2 parents 277fc2c + 83b946b commit e4922451aa39ff3e965ca6151f7639e8e9709244 @FatherShawn FatherShawn committed Dec 6, 2011
View
4 profiles/cod/modules/contrib/cod_support/cod_base/cod_base.features.uuid_node.inc
@@ -19,7 +19,7 @@ function cod_base_uuid_features_default_content() {
'sticky' => '0',
'tnid' => '0',
'translate' => '0',
- 'revision_uid' => '1',
+ 'revision_uid' => '0',
'title' => 'COD help',
'body' => '<em>For the latest documentation, please visit <a href="http://drupal.org/documentation/build/cod">http://drupal.org/documentation/build/cod</a>.</em>
@@ -163,6 +163,7 @@ COD is the Conference Organizing Distribution, used for building conference and
'name' => '',
'picture' => '',
'data' => NULL,
+ 'path' => 'content/cod-help',
'field_illustration' => array(),
'signup' => 0,
'uc_order_product_id' => FALSE,
@@ -173,7 +174,6 @@ COD is the Conference Organizing Distribution, used for building conference and
'uuid' => '79f090a8-755e-102e-a8fe-4040db1cdced',
'revision_uuid' => '79f12ce8-755e-102e-a8fe-4040db1cdced',
'pathauto_perform_alias' => FALSE,
- 'date' => '2011-01-19 15:54:23 -0500',
'date' => '2011-01-19 15:54:23 -0500',
);
return $nodes;
View
1 profiles/cod/modules/contrib/cod_support/cod_base/cod_base.info
@@ -4,6 +4,7 @@ dependencies[] = "admin"
dependencies[] = "features"
dependencies[] = "menu"
dependencies[] = "profile"
+dependencies[] = "signup"
dependencies[] = "strongarm"
dependencies[] = "uc_order"
dependencies[] = "uuid_features"
View
477 profiles/cod/modules/contrib/cod_support/cod_base/cod_base.views_default.inc
@@ -16,6 +16,24 @@ function cod_base_views_default_views() {
$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('relationships', array(
+ 'nid' => array(
+ 'label' => 'Signup node',
+ 'required' => 1,
+ 'id' => 'nid',
+ 'table' => 'signup_log',
+ 'field' => 'nid',
+ 'relationship' => 'none',
+ ),
+ 'uid' => array(
+ 'label' => 'Signup user',
+ 'required' => 1,
+ 'id' => 'uid',
+ 'table' => 'signup_log',
+ 'field' => 'uid',
+ 'relationship' => 'none',
+ ),
+ ));
$handler->override_option('fields', array(
'value' => array(
'label' => '',
@@ -49,28 +67,92 @@ function cod_base_views_default_views() {
'relationship' => 'none',
),
));
- $handler->override_option('filters', array(
- 'value' => array(
- 'id' => 'value',
- 'table' => 'profile_values_profile_diet',
- 'field' => 'value',
+ $handler->override_option('arguments', array(
+ 'nid' => array(
+ 'default_action' => 'default',
+ 'style_plugin' => 'default_summary',
+ 'style_options' => array(),
+ 'wildcard' => 'all',
+ 'wildcard_substitution' => 'All',
+ 'title' => '',
+ 'breadcrumb' => '',
+ 'default_argument_type' => 'fixed',
+ 'default_argument' => '',
+ 'validate_type' => 'signup_status',
+ 'validate_fail' => 'not found',
+ 'break_phrase' => 0,
+ 'not' => 0,
+ 'id' => 'nid',
+ 'table' => 'node',
+ 'field' => 'nid',
+ 'relationship' => 'nid',
+ 'validate_user_argument_type' => 'uid',
+ 'validate_user_roles' => array(
+ 2 => 0,
+ 11 => 0,
+ 4 => 0,
+ 10 => 0,
+ 7 => 0,
+ 12 => 0,
+ 5 => 0,
+ 3 => 0,
+ 6 => 0,
+ 8 => 0,
+ ),
+ 'default_options_div_prefix' => '',
+ 'default_taxonomy_tid_term_page' => 0,
+ 'default_taxonomy_tid_node' => 0,
+ 'default_taxonomy_tid_limit' => 0,
+ 'default_taxonomy_tid_vids' => array(),
+ 'default_argument_user' => 0,
+ 'default_argument_fixed' => '44',
+ 'validate_argument_node_type' => array(
+ 'news' => 0,
+ 'page' => 0,
+ 'room' => 0,
+ 'schedule_item' => 0,
+ 'session' => 0,
+ 'time_slot' => 0,
+ 'product' => 0,
+ 'event' => 0,
+ 'sponsorship' => 0,
+ 'faq' => 0,
+ 'sponsor' => 0,
+ 'supporter' => 0,
+ 'webform' => 0,
+ ),
+ 'validate_argument_node_access' => 0,
+ 'validate_argument_nid_type' => 'nid',
+ 'validate_argument_vocabulary' => array(),
+ 'validate_argument_type' => 'tid',
+ 'validate_argument_transform' => 0,
+ 'validate_user_restrict_roles' => 0,
+ 'validate_argument_node_flag_name' => '*relationship*',
+ 'validate_argument_node_flag_test' => 'flaggable',
+ 'validate_argument_node_flag_id_type' => 'id',
+ 'validate_argument_user_flag_name' => '*relationship*',
+ 'validate_argument_user_flag_test' => 'flaggable',
+ 'validate_argument_user_flag_id_type' => 'id',
+ 'validate_argument_signup_status' => 'any',
+ 'validate_argument_signup_node_access' => 0,
),
- 'rid' => array(
- 'operator' => 'or',
+ ));
+ $handler->override_option('filters', array(
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
+ 'relationship' => 'uid',
),
));
$handler->override_option('access', array(
@@ -144,25 +226,6 @@ function cod_base_views_default_views() {
),
),
));
- $handler->override_option('filters', array(
- 'rid' => array(
- 'operator' => 'or',
- 'value' => array(
- 11 => '11',
- ),
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
- 'label' => '',
- ),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
- ),
- ));
$handler->override_option('items_per_page', 0);
$handler->override_option('path', 'conference-admin/diet');
$handler->override_option('menu', array(
@@ -181,44 +244,40 @@ function cod_base_views_default_views() {
));
$handler = $view->new_display('attachment', 'Vegan', 'attachment_1');
$handler->override_option('filters', array(
- 'value' => array(
- 'operator' => 'in',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 'Vegan' => 'Vegan',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'value',
- 'table' => 'profile_values_profile_diet',
- 'field' => 'value',
- 'override' => array(
- 'button' => 'Use default',
- ),
- 'relationship' => 'none',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'value' => array(
+ 'operator' => 'in',
'value' => array(
- 11 => '11',
+ 'Vegan' => 'Vegan',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'value',
+ 'table' => 'profile_values_profile_diet',
+ 'field' => 'value',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Vegan Options Selected');
@@ -236,44 +295,40 @@ function cod_base_views_default_views() {
));
$handler = $view->new_display('attachment', 'Vegetarian', 'attachment_2');
$handler->override_option('filters', array(
- 'value' => array(
- 'operator' => 'in',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 'Vegetarian' => 'Vegetarian',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'value',
- 'table' => 'profile_values_profile_diet',
- 'field' => 'value',
- 'override' => array(
- 'button' => 'Use default',
- ),
- 'relationship' => 'none',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'value' => array(
+ 'operator' => 'in',
'value' => array(
- 11 => '11',
+ 'Vegetarian' => 'Vegetarian',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'value',
+ 'table' => 'profile_values_profile_diet',
+ 'field' => 'value',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Vegetarian Options Selected');
@@ -291,44 +346,40 @@ function cod_base_views_default_views() {
));
$handler = $view->new_display('attachment', 'Kosher / Hallal', 'attachment_3');
$handler->override_option('filters', array(
- 'value' => array(
- 'operator' => 'in',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 'Kosher / Hallal' => 'Kosher / Hallal',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'value',
- 'table' => 'profile_values_profile_diet',
- 'field' => 'value',
- 'override' => array(
- 'button' => 'Use default',
- ),
- 'relationship' => 'none',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'value' => array(
+ 'operator' => 'in',
'value' => array(
- 11 => '11',
+ 'Kosher / Hallal' => 'Kosher / Hallal',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'value',
+ 'table' => 'profile_values_profile_diet',
+ 'field' => 'value',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Kosher / Hallal Options Selected');
@@ -346,44 +397,40 @@ function cod_base_views_default_views() {
));
$handler = $view->new_display('attachment', 'Gluten Free', 'attachment_4');
$handler->override_option('filters', array(
- 'value' => array(
- 'operator' => 'in',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 'Gluten Free' => 'Gluten Free',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'value',
- 'table' => 'profile_values_profile_diet',
- 'field' => 'value',
- 'override' => array(
- 'button' => 'Use default',
- ),
- 'relationship' => 'none',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'value' => array(
+ 'operator' => 'in',
'value' => array(
- 11 => '11',
+ 'Gluten Free' => 'Gluten Free',
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'value',
+ 'table' => 'profile_values_profile_diet',
+ 'field' => 'value',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Gluten Free Options Selected');
@@ -412,6 +459,24 @@ function cod_base_views_default_views() {
$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('relationships', array(
+ 'nid' => array(
+ 'label' => 'Signup node',
+ 'required' => 1,
+ 'id' => 'nid',
+ 'table' => 'signup_log',
+ 'field' => 'nid',
+ 'relationship' => 'none',
+ ),
+ 'uid' => array(
+ 'label' => 'Signup user',
+ 'required' => 1,
+ 'id' => 'uid',
+ 'table' => 'signup_log',
+ 'field' => 'uid',
+ 'relationship' => 'none',
+ ),
+ ));
$handler->override_option('fields', array(
'value' => array(
'label' => '',
@@ -448,43 +513,95 @@ function cod_base_views_default_views() {
'relationship' => 'none',
),
));
- $handler->override_option('filters', array(
- 'value' => array(
- 'operator' => 'not in',
- 'value' => array(
- 'No thanks!' => 'No thanks!',
- 'Small' => 'Small',
- 'Medium' => 'Medium',
- 'Large' => 'Large',
- 'X-Large' => 'X-Large',
- ),
- 'group' => '0',
- 'exposed' => FALSE,
- 'expose' => array(
- 'operator' => FALSE,
- 'label' => '',
+ $handler->override_option('arguments', array(
+ 'nid' => array(
+ 'default_action' => 'default',
+ 'style_plugin' => 'default_summary',
+ 'style_options' => array(),
+ 'wildcard' => 'all',
+ 'wildcard_substitution' => 'All',
+ 'title' => '',
+ 'breadcrumb' => '',
+ 'default_argument_type' => 'fixed',
+ 'default_argument' => '',
+ 'validate_type' => 'signup_status',
+ 'validate_fail' => 'not found',
+ 'break_phrase' => 0,
+ 'not' => 0,
+ 'id' => 'nid',
+ 'table' => 'node',
+ 'field' => 'nid',
+ 'relationship' => 'nid',
+ 'validate_user_argument_type' => 'uid',
+ 'validate_user_roles' => array(
+ 2 => 0,
+ 11 => 0,
+ 4 => 0,
+ 10 => 0,
+ 7 => 0,
+ 12 => 0,
+ 5 => 0,
+ 3 => 0,
+ 6 => 0,
+ 8 => 0,
+ ),
+ 'default_options_div_prefix' => '',
+ 'default_taxonomy_tid_term_page' => 0,
+ 'default_taxonomy_tid_node' => 0,
+ 'default_taxonomy_tid_limit' => 0,
+ 'default_taxonomy_tid_vids' => array(),
+ 'default_argument_user' => 0,
+ 'default_argument_fixed' => '44',
+ 'validate_argument_node_type' => array(
+ 'news' => 0,
+ 'page' => 0,
+ 'room' => 0,
+ 'schedule_item' => 0,
+ 'session' => 0,
+ 'time_slot' => 0,
+ 'product' => 0,
+ 'event' => 0,
+ 'sponsorship' => 0,
+ 'faq' => 0,
+ 'sponsor' => 0,
+ 'supporter' => 0,
+ 'webform' => 0,
+ ),
+ 'validate_argument_node_access' => 0,
+ 'validate_argument_nid_type' => 'nid',
+ 'validate_argument_vocabulary' => array(),
+ 'validate_argument_type' => 'tid',
+ 'validate_argument_transform' => 0,
+ 'validate_user_restrict_roles' => 0,
+ 'validate_argument_node_flag_name' => '*relationship*',
+ 'validate_argument_node_flag_test' => 'flaggable',
+ 'validate_argument_node_flag_id_type' => 'id',
+ 'validate_argument_user_flag_name' => '*relationship*',
+ 'validate_argument_user_flag_test' => 'flaggable',
+ 'validate_argument_user_flag_id_type' => 'id',
+ 'validate_argument_signup_status' => 'any',
+ 'validate_argument_signup_node_access' => 0,
+ 'override' => array(
+ 'button' => 'Override',
),
- 'id' => 'value',
- 'table' => 'profile_values_profile_shirt',
- 'field' => 'value',
- 'relationship' => 'none',
),
- 'rid' => array(
- 'operator' => 'or',
+ ));
+ $handler->override_option('filters', array(
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'relationship' => 'none',
- 'reduce_duplicates' => 0,
),
));
$handler->override_option('access', array(
@@ -523,25 +640,24 @@ function cod_base_views_default_views() {
));
$handler = $view->new_display('page', 'Total', 'page_1');
$handler->override_option('filters', array(
- 'rid' => array(
- 'operator' => 'or',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('items_per_page', 0);
@@ -579,27 +695,26 @@ function cod_base_views_default_views() {
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of "No thanks!" Selected');
@@ -634,27 +749,26 @@ function cod_base_views_default_views() {
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Small Selected');
@@ -689,27 +803,26 @@ function cod_base_views_default_views() {
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Medium Selected');
@@ -744,27 +857,26 @@ function cod_base_views_default_views() {
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of Large Selected');
@@ -799,27 +911,26 @@ function cod_base_views_default_views() {
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
+ 'relationship' => 'uid',
),
- 'rid' => array(
- 'operator' => 'or',
+ 'uid' => array(
+ 'operator' => 'not in',
'value' => array(
- 11 => '11',
+ 0 => 0,
),
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
- 'id' => 'rid',
- 'table' => 'users_roles',
- 'field' => 'rid',
+ 'id' => 'uid',
+ 'table' => 'users',
+ 'field' => 'uid',
'override' => array(
'button' => 'Use default',
),
- 'relationship' => 'none',
- 'reduce_duplicates' => 0,
+ 'relationship' => 'uid',
),
));
$handler->override_option('title', 'Total Number of X-Large Selected');

0 comments on commit e492245

Please sign in to comment.
Something went wrong with that request. Please try again.