updated all features with last database from inline

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-23 11:27:47 +01:00
parent d1b96a77a6
commit 29079eeb84
17 changed files with 1136 additions and 839 deletions

View File

@@ -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',

View File

@@ -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;
}

View File

@@ -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

View File

@@ -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();