From 2e0a3e06938f159ebe3729a8d488de928e3230a5 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 16 Jan 2011 17:56:26 -0800 Subject: birthday notifications: missing div close --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 9715f9cfd..5184a833c 100644 --- a/boot.php +++ b/boot.php @@ -2168,7 +2168,8 @@ function get_birthdays() { $o .= '
' . $rr['name'] . ' ' - . day_translate(datetime_convert('UTC', $a->timezone, $rr['start'], $bd_format)) . (($today) ? ' ' . t('[today]') : '') ; + . day_translate(datetime_convert('UTC', $a->timezone, $rr['start'], $bd_format)) . (($today) ? ' ' . t('[today]') : '') + . '
' ; } $o .= ''; -- cgit v1.2.3 From 1002f9dc96e5dc7d387cf7eb8489bcc2fc7c966d Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 16 Jan 2011 19:01:13 -0800 Subject: there were some bug fixes, roll version number --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 5184a833c..2be34a529 100644 --- a/boot.php +++ b/boot.php @@ -3,7 +3,7 @@ set_time_limit(0); define ( 'BUILD_ID', 1031 ); -define ( 'FRIENDIKA_VERSION', '2.01.1000' ); +define ( 'FRIENDIKA_VERSION', '2.01.1001' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "
\r\n" ); -- cgit v1.2.3 From d5ac7e938bf5a8737a2afdcf69f095b13bb7e5af Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 16 Jan 2011 23:48:44 -0800 Subject: newlines were getting stripped --- boot.php | 1 - 1 file changed, 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 2be34a529..ac577887c 100644 --- a/boot.php +++ b/boot.php @@ -910,7 +910,6 @@ function xmlify($str) { case "'" : $buffer .= '''; break; - case "\"" : $buffer .= '"'; break; -- cgit v1.2.3 From 46c4bb6d4c885d232b255bb60066e3aaa4dfe8f4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 17 Jan 2011 02:51:26 -0800 Subject: ensure birthday "today" calculation is relative to UTC. --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index ac577887c..d8549d5c0 100644 --- a/boot.php +++ b/boot.php @@ -2163,7 +2163,7 @@ function get_birthdays() { foreach($r as $rr) { $now = strtotime('now'); - $today = (((strtotime($rr['start']) < $now) && (strtotime($rr['finish']) > $now)) ? true : false); + $today = (((strtotime($rr['start'] . ' +00:00') < $now) && (strtotime($rr['finish'] . ' +00:00') > $now)) ? true : false); $o .= '
' . $rr['name'] . ' ' -- cgit v1.2.3 From 710cb7d13c005b244cf50d2f33479b68596d1330 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 17 Jan 2011 16:06:22 -0800 Subject: activity object link had incorrect attribute, highlight critical install steps --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index d8549d5c0..d168a2b8e 100644 --- a/boot.php +++ b/boot.php @@ -3,7 +3,7 @@ set_time_limit(0); define ( 'BUILD_ID', 1031 ); -define ( 'FRIENDIKA_VERSION', '2.01.1001' ); +define ( 'FRIENDIKA_VERSION', '2.01.1002' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "
\r\n" ); -- cgit v1.2.3 From 050618a2b690ad2e2d8e84afbada8b12f9da0f01 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 17 Jan 2011 16:28:32 -0800 Subject: repair any bad links in activity objects --- boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index d168a2b8e..13e1e1793 100644 --- a/boot.php +++ b/boot.php @@ -2,8 +2,8 @@ set_time_limit(0); -define ( 'BUILD_ID', 1031 ); -define ( 'FRIENDIKA_VERSION', '2.01.1002' ); +define ( 'BUILD_ID', 1032 ); +define ( 'FRIENDIKA_VERSION', '2.01.1003' ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "
\r\n" ); -- cgit v1.2.3 From 028460a5c1de4833bb1dcfaa945c1292952bf923 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 17 Jan 2011 21:08:16 -0800 Subject: tracking errant bin2hex call --- boot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 13e1e1793..85e159883 100644 --- a/boot.php +++ b/boot.php @@ -945,6 +945,11 @@ function unxmlify($s) { if(! function_exists('hex2bin')) { function hex2bin($s) { + if(! ctype_xdigit($s)) { + logger('hex2bin: illegal input: ' . print_r(debug_backtrace(), true)); + return($s); + } + return(pack("H*",$s)); }} -- cgit v1.2.3