Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge

This commit is contained in:
zotlabs 2017-07-13 19:59:30 -07:00
commit 88bb61018d
5 changed files with 449 additions and 440 deletions

View File

@ -48,9 +48,8 @@ require_once('include/xchan.php');
require_once('include/hubloc.php'); require_once('include/hubloc.php');
require_once('include/attach.php'); require_once('include/attach.php');
define ( 'PLATFORM_NAME', 'red' ); define ( 'PLATFORM_NAME', 'hubzilla' );
define ( 'STD_VERSION', '5.3.1' ); define ( 'STD_VERSION', '2.5.8' );
define ( 'ZOT_REVISION', '1.2' ); define ( 'ZOT_REVISION', '1.2' );
define ( 'DB_UPDATE_VERSION', 1192 ); define ( 'DB_UPDATE_VERSION', 1192 );

View File

@ -2548,6 +2548,13 @@ function update_r1190() {
} }
function update_r1191() { function update_r1191() {
$r = q("SELECT 1 FROM principals LIMIT 1");
if($r !== false) {
return UPDATE_SUCCESS;
}
else {
if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) { if(ACTIVE_DBTYPE == DBTYPE_POSTGRES) {
$r1 = q("CREATE TABLE addressbooks ( $r1 = q("CREATE TABLE addressbooks (
id SERIAL NOT NULL, id SERIAL NOT NULL,
@ -2956,3 +2963,6 @@ function update_r1191() {
return UPDATE_FAILED; return UPDATE_FAILED;
} }
} }
}

View File

@ -1,14 +1,14 @@
# red # hubzilla
# Copyright (C) 2012-2016 red # Copyright (C) 2012-2016 hubzilla
# This file is distributed under the same license as the red package. # This file is distributed under the same license as the hubzilla package.
# Mike Macgirvin, 2012 # Mike Macgirvin, 2012
# #
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 5.3.1\n" "Project-Id-Version: 2.5.8\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-05 20:52-0700\n" "POT-Creation-Date: 2017-07-05 21:45-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -583,7 +583,7 @@ msgid "Membership on this site is by invitation only."
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Register.php:268 ../../include/nav.php:147 #: ../../Zotlabs/Module/Register.php:268 ../../include/nav.php:147
#: ../../boot.php:1573 #: ../../boot.php:1572
msgid "Register" msgid "Register"
msgstr "" msgstr ""
@ -880,7 +880,7 @@ msgstr ""
#: ../../extend/addon/addon/gitwiki/Mod_Gitwiki.php:166 #: ../../extend/addon/addon/gitwiki/Mod_Gitwiki.php:166
#: ../../include/dir_fns.php:143 ../../include/dir_fns.php:144 #: ../../include/dir_fns.php:143 ../../include/dir_fns.php:144
#: ../../include/dir_fns.php:145 ../../view/theme/redbasic/php/config.php:100 #: ../../include/dir_fns.php:145 ../../view/theme/redbasic/php/config.php:100
#: ../../view/theme/redbasic/php/config.php:115 ../../boot.php:1596 #: ../../view/theme/redbasic/php/config.php:115 ../../boot.php:1595
msgid "No" msgid "No"
msgstr "" msgstr ""
@ -943,7 +943,7 @@ msgstr ""
#: ../../extend/addon/addon/gitwiki/Mod_Gitwiki.php:166 #: ../../extend/addon/addon/gitwiki/Mod_Gitwiki.php:166
#: ../../include/dir_fns.php:143 ../../include/dir_fns.php:144 #: ../../include/dir_fns.php:143 ../../include/dir_fns.php:144
#: ../../include/dir_fns.php:145 ../../view/theme/redbasic/php/config.php:100 #: ../../include/dir_fns.php:145 ../../view/theme/redbasic/php/config.php:100
#: ../../view/theme/redbasic/php/config.php:115 ../../boot.php:1596 #: ../../view/theme/redbasic/php/config.php:115 ../../boot.php:1595
msgid "Yes" msgid "Yes"
msgstr "" msgstr ""
@ -978,8 +978,8 @@ msgstr ""
#: ../../Zotlabs/Module/Settings/Oauth.php:87 #: ../../Zotlabs/Module/Settings/Oauth.php:87
#: ../../Zotlabs/Module/Settings/Account.php:118 #: ../../Zotlabs/Module/Settings/Account.php:118
#: ../../Zotlabs/Module/Settings/Channel.php:476 #: ../../Zotlabs/Module/Settings/Channel.php:476
#: ../../Zotlabs/Module/Settings/Featured.php:50
#: ../../Zotlabs/Module/Settings/Display.php:203 #: ../../Zotlabs/Module/Settings/Display.php:203
#: ../../Zotlabs/Module/Settings/Featured.php:52
#: ../../Zotlabs/Module/Settings/Tokens.php:168 #: ../../Zotlabs/Module/Settings/Tokens.php:168
#: ../../Zotlabs/Module/Settings/Permcats.php:110 #: ../../Zotlabs/Module/Settings/Permcats.php:110
#: ../../Zotlabs/Module/Thing.php:320 ../../Zotlabs/Module/Thing.php:370 #: ../../Zotlabs/Module/Thing.php:320 ../../Zotlabs/Module/Thing.php:370
@ -5443,7 +5443,7 @@ msgid ""
"Password reset failed." "Password reset failed."
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Lostpass.php:91 ../../boot.php:1600 #: ../../Zotlabs/Module/Lostpass.php:91 ../../boot.php:1599
msgid "Password Reset" msgid "Password Reset"
msgstr "" msgstr ""
@ -6590,6 +6590,30 @@ msgstr ""
msgid "Start calendar week on Monday" msgid "Start calendar week on Monday"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:20
msgid "Affinity Slider settings updated."
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:34
msgid "No feature settings configured"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:41
msgid "Default maximum affinity level"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:46
msgid "Default minimum affinity level"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:50
msgid "Affinity Slider Settings"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:60
msgid "Feature/Addon Settings"
msgstr ""
#: ../../Zotlabs/Module/Settings/Display.php:145 #: ../../Zotlabs/Module/Settings/Display.php:145
msgid "No special theme for mobile devices" msgid "No special theme for mobile devices"
msgstr "" msgstr ""
@ -6703,30 +6727,6 @@ msgstr ""
msgid "Grid page max height of content (in pixels)" msgid "Grid page max height of content (in pixels)"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:21
msgid "Affinity Slider settings updated."
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:36
msgid "No feature settings configured"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:43
msgid "Default maximum affinity level"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:48
msgid "Default minimum affinity level"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:52
msgid "Affinity Slider Settings"
msgstr ""
#: ../../Zotlabs/Module/Settings/Featured.php:62
msgid "Feature/Addon Settings"
msgstr ""
#: ../../Zotlabs/Module/Settings/Tokens.php:31 #: ../../Zotlabs/Module/Settings/Tokens.php:31
#, php-format #, php-format
msgid "This channel is limited to %d tokens" msgid "This channel is limited to %d tokens"
@ -7894,7 +7894,7 @@ msgid "Suggest Channels"
msgstr "" msgstr ""
#: ../../Zotlabs/Lib/Apps.php:221 ../../include/nav.php:115 #: ../../Zotlabs/Lib/Apps.php:221 ../../include/nav.php:115
#: ../../boot.php:1592 #: ../../boot.php:1591
msgid "Login" msgid "Login"
msgstr "" msgstr ""
@ -11251,7 +11251,7 @@ msgstr ""
msgid "YYYY-MM-DD or MM-DD" msgid "YYYY-MM-DD or MM-DD"
msgstr "" msgstr ""
#: ../../include/datetime.php:286 ../../boot.php:2420 #: ../../include/datetime.php:286 ../../boot.php:2419
msgid "never" msgid "never"
msgstr "" msgstr ""
@ -11683,7 +11683,7 @@ msgstr ""
msgid "Click to authenticate to your home hub" msgid "Click to authenticate to your home hub"
msgstr "" msgstr ""
#: ../../include/nav.php:101 ../../include/nav.php:125 ../../boot.php:1591 #: ../../include/nav.php:101 ../../include/nav.php:125 ../../boot.php:1590
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
@ -13350,44 +13350,44 @@ msgstr ""
msgid "Set size of followup author photos" msgid "Set size of followup author photos"
msgstr "" msgstr ""
#: ../../boot.php:1572 #: ../../boot.php:1571
msgid "Create an account to access services and applications" msgid "Create an account to access services and applications"
msgstr "" msgstr ""
#: ../../boot.php:1594 #: ../../boot.php:1593
msgid "Login/Email" msgid "Login/Email"
msgstr "" msgstr ""
#: ../../boot.php:1595 #: ../../boot.php:1594
msgid "Password" msgid "Password"
msgstr "" msgstr ""
#: ../../boot.php:1596 #: ../../boot.php:1595
msgid "Remember me" msgid "Remember me"
msgstr "" msgstr ""
#: ../../boot.php:1599 #: ../../boot.php:1598
msgid "Forgot your password?" msgid "Forgot your password?"
msgstr "" msgstr ""
#: ../../boot.php:2137 #: ../../boot.php:2136
msgid "toggle mobile" msgid "toggle mobile"
msgstr "" msgstr ""
#: ../../boot.php:2290 #: ../../boot.php:2289
#, php-format #, php-format
msgid "[$Projectname] Website SSL error for %s" msgid "[$Projectname] Website SSL error for %s"
msgstr "" msgstr ""
#: ../../boot.php:2295 #: ../../boot.php:2294
msgid "Website SSL certificate is not valid. Please correct." msgid "Website SSL certificate is not valid. Please correct."
msgstr "" msgstr ""
#: ../../boot.php:2414 #: ../../boot.php:2413
#, php-format #, php-format
msgid "[$Projectname] Cron tasks not running on %s" msgid "[$Projectname] Cron tasks not running on %s"
msgstr "" msgstr ""
#: ../../boot.php:2419 #: ../../boot.php:2418
msgid "Cron/Scheduled tasks not running." msgid "Cron/Scheduled tasks not running."
msgstr "" msgstr ""

View File

@ -77,7 +77,7 @@
/* conv_item */ /* conv_item */
.wall-item-head-new { .wall-item-head-new {
border-top: 0.2rem solid #0275d8; border-top: 0.2rem solid #007bff;
} }
.wall-item-info { .wall-item-info {
@ -168,11 +168,11 @@ a.wall-item-name-link {
} }
.ivoted { .ivoted {
color: #0275d8; color: #007bff;
} }
.item-highlight { .item-highlight {
border-left: 0.2rem solid #0275d8; border-left: 0.2rem solid #007bff;
} }
.item-highlight .wall-item-head, .item-highlight .wall-item-head,

View File

@ -80,7 +80,7 @@ if (! $nav_icon_colour)
if (! $nav_active_icon_colour) if (! $nav_active_icon_colour)
$nav_active_icon_colour = 'rgba(255, 255, 255, 0.75)'; $nav_active_icon_colour = 'rgba(255, 255, 255, 0.75)';
if (! $link_colour) if (! $link_colour)
$link_colour = '#0275d8'; $link_colour = '#007bff';
if (! $banner_colour) if (! $banner_colour)
$banner_colour = '#fff'; $banner_colour = '#fff';
if (! $bgcolour) if (! $bgcolour)