...
 
Commits (369)
......@@ -6,24 +6,6 @@
function boinc_standard_menu_default_menu_links() {
$menu_links = array();
// Exported menu link: menu-footer-links:https://boinc.berkeley.edu/
$menu_links['menu-footer-links:https://boinc.berkeley.edu/'] = array(
'menu_name' => 'menu-footer-links',
'link_path' => 'https://boinc.berkeley.edu/',
'router_path' => '',
'link_title' => 'BOINC',
'options' => array(
'attributes' => array(
'title' => '',
),
),
'module' => 'menu',
'hidden' => '0',
'external' => '1',
'has_children' => '0',
'expanded' => '0',
'weight' => '10',
);
// Exported menu link: primary-links:<front>
$menu_links['primary-links:<front>'] = array(
'menu_name' => 'primary-links',
......@@ -34,6 +16,7 @@ function boinc_standard_menu_default_menu_links() {
'attributes' => array(
'title' => '',
),
'alter' => TRUE,
),
'module' => 'menu',
'hidden' => '0',
......@@ -52,6 +35,7 @@ function boinc_standard_menu_default_menu_links() {
'attributes' => array(
'title' => '',
),
'alter' => TRUE,
),
'module' => 'menu',
'hidden' => '0',
......@@ -71,6 +55,7 @@ function boinc_standard_menu_default_menu_links() {
'attributes' => array(
'title' => '',
),
'alter' => TRUE,
),
'module' => 'menu',
'hidden' => '0',
......
......@@ -80,7 +80,6 @@ features[flag][] = "abuse_node"
features[flag][] = "abuse_user"
features[flag][] = "subscriptions"
features[menu_custom][] = "menu-footer-links"
features[menu_links][] = "menu-footer-links:https://boinc.berkeley.edu/"
features[menu_links][] = "primary-links:<front>"
features[menu_links][] = "primary-links:dashboard"
features[menu_links][] = "primary-links:user/me/edit"
......
......@@ -161,7 +161,7 @@ function boinc_standard_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'comment_page';
$strongarm->value = 0;
$strongarm->value = '0';
$export['comment_page'] = $strongarm;
$strongarm = new stdClass;
......@@ -356,18 +356,18 @@ function boinc_standard_strongarm() {
),
),
2 => array(
'name' => 'Sample profile',
'name' => 'Editor',
'usertab' => 1,
'filesize' => 1,
'quota' => 2,
'tuquota' => 0,
'filesize' => '2',
'quota' => '0',
'tuquota' => '0',
'extensions' => 'gif png jpg jpeg',
'dimensions' => '800x600',
'filenum' => 1,
'dimensions' => '0',
'filenum' => '0',
'directories' => array(
0 => array(
'name' => 'u%uid',
'subnav' => 0,
'name' => 'content',
'subnav' => 1,
'browse' => 1,
'upload' => 1,
'thumb' => 1,
......@@ -377,31 +377,43 @@ function boinc_standard_strongarm() {
),
'thumbnails' => array(
0 => array(
'name' => 'Thumb',
'name' => 'Small',
'dimensions' => '90x90',
'prefix' => 'thumb_',
'prefix' => 'small_',
'suffix' => '',
),
1 => array(
'name' => 'Medium',
'dimensions' => '120x120',
'prefix' => 'medium_',
'suffix' => '',
),
2 => array(
'name' => 'Large',
'dimensions' => '180x180',
'prefix' => 'large_',
'suffix' => '',
),
),
),
3 => array(
'name' => 'Editor',
'name' => 'Administrator',
'usertab' => 1,
'filesize' => '1',
'quota' => '2',
'filesize' => '2',
'quota' => '0',
'tuquota' => '0',
'extensions' => 'gif png jpg jpeg',
'dimensions' => '800x600',
'filenum' => '1',
'dimensions' => '0',
'filenum' => '0',
'directories' => array(
0 => array(
'name' => 'u%uid',
'subnav' => 0,
'name' => 'content',
'subnav' => 1,
'browse' => 1,
'upload' => 1,
'thumb' => 1,
'delete' => 0,
'resize' => 0,
'delete' => 1,
'resize' => 1,
),
),
'thumbnails' => array(
......@@ -433,13 +445,13 @@ function boinc_standard_strongarm() {
$strongarm->api_version = 1;
$strongarm->name = 'imce_roles_profiles';
$strongarm->value = array(
3519698132 => array(
1110965548 => array(
'weight' => '0',
'pid' => '0',
),
1110965548 => array(
3519698132 => array(
'weight' => '0',
'pid' => '0',
'pid' => '3',
),
268174006 => array(
'weight' => '0',
......@@ -447,9 +459,9 @@ function boinc_standard_strongarm() {
),
2938987599 => array(
'weight' => '0',
'pid' => '3',
'pid' => '2',
),
1257454314 => array(
933038561 => array(
'weight' => '0',
'pid' => '0',
),
......@@ -457,10 +469,6 @@ function boinc_standard_strongarm() {
'weight' => '0',
'pid' => '0',
),
933038561 => array(
'weight' => '0',
'pid' => '0',
),
2 => array(
'weight' => 11,
'pid' => '0',
......@@ -1880,11 +1888,11 @@ function boinc_standard_strongarm() {
'default_logo' => 1,
'logo_path' => '',
'logo_upload' => '',
'default_favicon' => 1,
'favicon_path' => '',
'default_favicon' => 0,
'favicon_path' => 'sites/default/files/einstein_favicon.ico',
'favicon_upload' => '',
'boinc_stats_chart_color' => '#009CDB',
'boinc_stats_chart_bcolor' => '#EEEEEE',
'boinc_stats_chart_color' => '#0091CD',
'boinc_stats_chart_bcolor' => '#FFFFFF',
);
$export['theme_einstein_settings'] = $strongarm;
......
......@@ -21,7 +21,7 @@ function news_menu_default_menu_links() {
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'has_children' => '1',
'expanded' => '1',
'weight' => '-48',
);
......
......@@ -73,7 +73,7 @@ function spam_controls_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'recaptcha_theme';
$strongarm->value = 'clean';
$strongarm->value = 'light';
$export['recaptcha_theme'] = $strongarm;
return $export;
......
......@@ -25,25 +25,6 @@ function user_profiles_menu_default_menu_links() {
'weight' => '-49',
'parent_path' => 'dashboard',
);
// Exported menu link: primary-links:moderate/profiles
$menu_links['primary-links:moderate/profiles'] = array(
'menu_name' => 'primary-links',
'link_path' => 'moderate/profiles',
'router_path' => 'moderate/profiles',
'link_title' => 'Queue',
'options' => array(
'attributes' => array(
'title' => '',
),
),
'module' => 'menu',
'hidden' => '0',
'external' => '0',
'has_children' => '0',
'expanded' => '0',
'weight' => '-50',
'parent_path' => 'moderate',
);
// Translatables
// Use bts() function to translate additional strings.
bts('Queue', array(), NULL, 'boinc:menu-link');
......
......@@ -35,7 +35,6 @@ features[ctools][] = "context:context:3"
features[ctools][] = "panels_mini:panels_default:1"
features[ctools][] = "strongarm:strongarm:1"
features[menu_links][] = "primary-links:account/profile"
features[menu_links][] = "primary-links:moderate/profiles"
features[node][] = "profile"
features[panels_mini][] = "user_profile"
features[rules_categories][] = "moderation queue"
......
......@@ -3207,7 +3207,7 @@ function work_and_host_stats_views_default_views() {
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'exclude' => 0,
'exclude' => 1,
'id' => 'nothing',
'table' => 'views',
'field' => 'nothing',
......
......@@ -13,7 +13,7 @@
// Thread -> Content node
// Post -> Comment
ini_set('memory_limit', '256M');
ini_set('memory_limit', '512M');
/**
* Implementation of hook_menu()
......
......@@ -955,7 +955,7 @@ function _boinctranslate_locale_import_read_po($op, $file, $mode = NULL, $lang =
$lineno = 0; // Current line
while (!feof($fd)) {
$line = fgets($fd, 10 * 1024); // A line should not be this long
$line = fgets($fd, 100 * 1024); // A line should not be this long
if ($lineno == 0) {
// The first line might come with a UTF-8 BOM, which should be removed.
$line = str_replace("\xEF\xBB\xBF", '', $line);
......
<?php
$base_url = 'https://einsteinathome.org';
$db_charset = array(
'boinc_rw' => 'latin1',
'boinc_ro' => 'latin1',
);
$conf = array(
'maintenance_theme' => 'einstein',
);
......@@ -120,6 +120,9 @@ $db_url = array(
'boinc_rw' => "{$boinc_rw_dbtype}://{$boinc_rw_dbuser}:".urlencode($boinc_rw_dbpass)."@{$boinc_rw_dbserver}/{$boinc_rw_dbname}"
);
$db_prefix = '';
$db_charset = array(
'boinc' => 'latin1'
);
// Set boinc_ro if variables are present, otherwise duplicate
// 'boinc_rw' entry as 'boinc_ro'.
......