From 366e735ad87c30cf6562e496e3e6a158148a035e Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 3 Dec 2015 14:44:03 -0800 Subject: [PATCH 1/7] time to tag the sucker --- boot.php | 2 +- version.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 2b1f3cb4e..3a012300e 100755 --- a/boot.php +++ b/boot.php @@ -48,7 +48,7 @@ require_once('include/AccessList.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'H'); -define ( 'STD_VERSION', '0.11.1' ); +define ( 'STD_VERSION', '1.0' ); define ( 'ZOT_REVISION', 1 ); define ( 'DB_UPDATE_VERSION', 1160 ); diff --git a/version.inc b/version.inc index 71564ad0d..8282941e1 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-12-02.1234 +2015-12-03.1235 From ca55bbdaed8c361fe9203c9823b67dd91f3b7741 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 3 Dec 2015 17:09:05 -0800 Subject: [PATCH 2/7] use the std_version where applicable instead of matching to the git. --- include/network.php | 10 ++++++---- mod/siteinfo.php | 4 +--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/network.php b/include/network.php index e906fc7cb..f386afc8e 100644 --- a/include/network.php +++ b/include/network.php @@ -1764,12 +1764,14 @@ function get_site_info() { $site_name = get_config('system','sitename'); if(! get_config('system','hidden_version_siteinfo')) { $version = RED_VERSION; + $tag = get_std_version(); + if(@is_dir('.git') && function_exists('shell_exec')) { $commit = trim( @shell_exec('git log -1 --format="%h"')); - if(! get_config('system','hidden_tag_siteinfo')) - $tag = trim( @shell_exec('git describe --tags --abbrev=0')); - else - $tag = ''; +// if(! get_config('system','hidden_tag_siteinfo')) +// $tag = trim( @shell_exec('git describe --tags --abbrev=0')); +// else +// $tag = ''; } if(! isset($commit) || strlen($commit) > 16) $commit = ''; diff --git a/mod/siteinfo.php b/mod/siteinfo.php index 4c5782abe..52d014de1 100644 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -1,8 +1,6 @@ 16) $commit = ''; From 5217d89543912aec870f27282b99d8e5e7920c57 Mon Sep 17 00:00:00 2001 From: ken restivo Date: Thu, 3 Dec 2015 18:21:25 -0800 Subject: [PATCH 3/7] srand() is for seeding the PRNG. You want rand() here. --- mod/invite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/invite.php b/mod/invite.php index bda808142..1af5fc1f8 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -51,7 +51,7 @@ function invite_post(&$a) { } if($invonly && ($x || is_site_admin())) { - $code = autoname(8) . srand(1000,9999); + $code = autoname(8) . rand(1000,9999); $nmessage = str_replace('$invite_code',$code,$message); $r = q("INSERT INTO `register` (`hash`,`created`) VALUES ('%s', '%s') ", From 70c5f347c4104c9cd64617630d2772821c83ad37 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 3 Dec 2015 18:27:49 -0800 Subject: [PATCH 4/7] remove non-working directory server from the project fallback list. --- boot.php | 1 - 1 file changed, 1 deletion(-) diff --git a/boot.php b/boot.php index 3a012300e..36031f537 100755 --- a/boot.php +++ b/boot.php @@ -84,7 +84,6 @@ $DIRECTORY_FALLBACK_SERVERS = array( 'https://hubzilla.site', 'https://red.zottel.red', 'https://gravizot.de', - 'https://blablanet.com', 'https://my.federated.social' ); From 615c97132d37027833744a6a00da4ebc08840309 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 3 Dec 2015 19:18:12 -0800 Subject: [PATCH 5/7] add hubzilla.nl as fallback --- boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 36031f537..48d81ff59 100755 --- a/boot.php +++ b/boot.php @@ -84,7 +84,8 @@ $DIRECTORY_FALLBACK_SERVERS = array( 'https://hubzilla.site', 'https://red.zottel.red', 'https://gravizot.de', - 'https://my.federated.social' + 'https://my.federated.social', + 'https://hubzilla.nl' ); From 8a9d743f6f518d3af35014130dcef8f148148113 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 4 Dec 2015 10:17:13 +0100 Subject: [PATCH 6/7] fix rendering of unseen forum posts count --- include/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/widgets.php b/include/widgets.php index d4f3d32e1..89836f90c 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1148,7 +1148,7 @@ function widget_forums($arr) { foreach($r1 as $rr) { if($unseen && (! intval($rr['unseen']))) continue; - $o .= '
  • ' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . ' ' . $rr['xchan_name'] . '
  • '; + $o .= '
  • ' . ((intval($rr['unseen'])) ? intval($rr['unseen']) : '') . ' ' . $rr['xchan_name'] . '
  • '; } $o .= ''; } From 0bb75894183d56e0e5f9c8249cf3a3bbb69c0926 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Fri, 4 Dec 2015 15:29:57 -0500 Subject: [PATCH 7/7] Enlarge the default mail composition text area. --- view/css/mod_mail.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/view/css/mod_mail.css b/view/css/mod_mail.css index 1346eecd5..843d1274c 100644 --- a/view/css/mod_mail.css +++ b/view/css/mod_mail.css @@ -25,6 +25,10 @@ margin: 15px; } +#prvmail-text { + height: 20.0em; +} + .mail-conv-outside-wrapper { margin-bottom: 20px; }