From 742e2686cad3935fc3fed30ffda03cdc57cfb552 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 11 Apr 2014 14:53:18 +0100 Subject: Don't explicitly deny our strongest features existence. --- install/INSTALL.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/install/INSTALL.txt b/install/INSTALL.txt index c23cf740e..c5b560679 100644 --- a/install/INSTALL.txt +++ b/install/INSTALL.txt @@ -29,9 +29,6 @@ issues. Before you begin: Choose a domain name or subdomain name for your server. -Put some thought into this - because changing it is currently not-supported. -Things will break, and some of your friends may have difficulty communicating -with you. We plan to address this limitation in a future release. Decide if you will use SSL and obtain an SSL certificate before software installation. You SHOULD use SSL. If you use SSL, you MUST use a -- cgit v1.2.3 From 4582b8dd64a5f4dadc0406e047e441b238087584 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 11 Apr 2014 14:54:07 +0100 Subject: Bring BBCode to profiles --- include/identity.php | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/include/identity.php b/include/identity.php index e773bb314..ad787c22c 100644 --- a/include/identity.php +++ b/include/identity.php @@ -976,7 +976,7 @@ function advanced_profile(&$a) { if($a->profile['marital']) $profile['marital'] = array( t('Status:'), $a->profile['marital']); - if($a->profile['with']) $profile['marital']['with'] = $a->profile['with']; + if($a->profile['with']) $profile['marital']['with'] = bbcode($a->profile['with']); if(strlen($a->profile['howlong']) && $a->profile['howlong'] !== '0000-00-00 00:00:00') { $profile['howlong'] = relative_date($a->profile['howlong'], t('for %1$d %2$s')); @@ -994,32 +994,32 @@ function advanced_profile(&$a) { if($a->profile['religion']) $profile['religion'] = array( t('Religion:'), $a->profile['religion']); - if($txt = prepare_text($a->profile['about'])) $profile['about'] = array( t('About:'), $txt ); + if($txt = bbcode($a->profile['about'])) $profile['about'] = array( t('About:'), $txt ); - if($txt = prepare_text($a->profile['interest'])) $profile['interest'] = array( t('Hobbies/Interests:'), $txt); + if($txt = bbcode($a->profile['interest'])) $profile['interest'] = array( t('Hobbies/Interests:'), $txt); - if($txt = prepare_text($a->profile['likes'])) $profile['likes'] = array( t('Likes:'), $txt); + if($txt = bbcode($a->profile['likes'])) $profile['likes'] = array( t('Likes:'), $txt); - if($txt = prepare_text($a->profile['dislikes'])) $profile['dislikes'] = array( t('Dislikes:'), $txt); + if($txt = bbcode($a->profile['dislikes'])) $profile['dislikes'] = array( t('Dislikes:'), $txt); - if($txt = prepare_text($a->profile['contact'])) $profile['contact'] = array( t('Contact information and Social Networks:'), $txt); + if($txt = bbcode($a->profile['contact'])) $profile['contact'] = array( t('Contact information and Social Networks:'), $txt); - if($txt = prepare_text($a->profile['channels'])) $profile['channels'] = array( t('My other channels:'), $txt); + if($txt = bbcode($a->profile['channels'])) $profile['channels'] = array( t('My other channels:'), $txt); - if($txt = prepare_text($a->profile['music'])) $profile['music'] = array( t('Musical interests:'), $txt); + if($txt = bbcode($a->profile['music'])) $profile['music'] = array( t('Musical interests:'), $txt); - if($txt = prepare_text($a->profile['book'])) $profile['book'] = array( t('Books, literature:'), $txt); + if($txt = bbcode($a->profile['book'])) $profile['book'] = array( t('Books, literature:'), $txt); - if($txt = prepare_text($a->profile['tv'])) $profile['tv'] = array( t('Television:'), $txt); + if($txt = bbcode($a->profile['tv'])) $profile['tv'] = array( t('Television:'), $txt); - if($txt = prepare_text($a->profile['film'])) $profile['film'] = array( t('Film/dance/culture/entertainment:'), $txt); + if($txt = bbcode($a->profile['film'])) $profile['film'] = array( t('Film/dance/culture/entertainment:'), $txt); - if($txt = prepare_text($a->profile['romance'])) $profile['romance'] = array( t('Love/Romance:'), $txt); + if($txt = bbcode($a->profile['romance'])) $profile['romance'] = array( t('Love/Romance:'), $txt); - if($txt = prepare_text($a->profile['work'])) $profile['work'] = array( t('Work/employment:'), $txt); + if($txt = bbcode($a->profile['work'])) $profile['work'] = array( t('Work/employment:'), $txt); - if($txt = prepare_text($a->profile['education'])) $profile['education'] = array( t('School/education:'), $txt ); + if($txt = bbcode($a->profile['education'])) $profile['education'] = array( t('School/education:'), $txt ); $things = get_things($a->profile['profile_guid'],$a->profile['profile_uid']); @@ -1277,4 +1277,4 @@ function identity_selector() { } return ''; -} \ No newline at end of file +} -- cgit v1.2.3 From 81b06754a42685d9e8cad8e5301ceb50175849b6 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 11 Apr 2014 15:11:22 +0100 Subject: Don't count deleted channels when figuring out where to send a user on login. --- include/security.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/security.php b/include/security.php index 282c8ab73..0edbf854d 100644 --- a/include/security.php +++ b/include/security.php @@ -53,8 +53,9 @@ function authenticate_success($user_record, $login_initial = false, $interactive /* This account has never created a channel. Send them to new_channel by default */ if($a->module === 'login') { - $r = q("select count(channel_id) as total from channel where channel_account_id = %d", - intval($a->account['account_id']) + $r = q("select count(channel_id) as total from channel where channel_account_id = %d and not ( channel_pageflags & %d)", + intval($a->account['account_id']), + intval(PAGE_REMOVED) ); if(($r) && (! $r[0]['total'])) goaway(z_root() . '/new_channel'); -- cgit v1.2.3 From 2fdcd0c27eac389709f48d6b40723e153c1492e6 Mon Sep 17 00:00:00 2001 From: Thomas Willingham Date: Fri, 11 Apr 2014 20:02:52 +0100 Subject: Never set background or color unless you set both. If this is needed in future, it should probably be reimplmented with the class anyway. --- view/theme/redbasic/css/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 2b4314fdb..8f8a126a7 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1721,7 +1721,6 @@ header { div#pagelist-content-wrapper { width: 80%; -background: #fff; margin-left: auto; margin-right: auto; } -- cgit v1.2.3