Compare commits
18 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
d11d36040d | ||
|
46daaa11fd | ||
|
cca2b1621f | ||
|
807776cb15 | ||
|
235ba81f25 | ||
|
d5bd5cda97 | ||
|
d77872de50 | ||
|
91ed3b357d | ||
|
1305584d77 | ||
|
03b31932d1 | ||
|
0ee2378cec | ||
|
f3c0db0f39 | ||
|
3a52af6327 | ||
|
f9dd4188b4 | ||
|
557aa18526 | ||
|
2a2abf14bb | ||
|
b553ecbb18 | ||
|
3443416540 |
21
CHANGELOG
21
CHANGELOG
@@ -1,3 +1,24 @@
|
|||||||
|
Hubzilla 2.6.3 (2017-09-18)
|
||||||
|
- Fix anonymous comments/likes on photos - this is not yet implemented
|
||||||
|
- Fix favicon not displayed on certain pages
|
||||||
|
- Fix hubzilla logo icon for favicon and email notifications
|
||||||
|
- Fix an issue with displaying selected theme in settings/display
|
||||||
|
- [SECURITY] Restrict the input characters we accept in token verification strings to hex digits
|
||||||
|
- Remove hubzilla.nl from fallback directory servers
|
||||||
|
|
||||||
|
Hubzilla 2.6.2 (2017-08-31)
|
||||||
|
- Fix webfinger returns invalid XML (github issue #851)
|
||||||
|
|
||||||
|
|
||||||
|
Hubzilla 2.6.1 (2017-08-18)
|
||||||
|
- Fix a regression with dav clients
|
||||||
|
- Raise install requirements
|
||||||
|
|
||||||
|
Plugins/Addon
|
||||||
|
- Diaspora: fix PHP warning
|
||||||
|
- GNU-Social: fix PHP warning
|
||||||
|
|
||||||
|
|
||||||
Hubzilla 2.6 (2017-08-16)
|
Hubzilla 2.6 (2017-08-16)
|
||||||
- Upgrade to bootstrap-4 beta
|
- Upgrade to bootstrap-4 beta
|
||||||
- Consolidate disable_discover_tab config
|
- Consolidate disable_discover_tab config
|
||||||
|
@@ -1036,7 +1036,7 @@ class Photos extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
$likebuttons = '';
|
$likebuttons = '';
|
||||||
|
|
||||||
if($can_post || $can_comment) {
|
if($observer && ($can_post || $can_comment)) {
|
||||||
$likebuttons = [
|
$likebuttons = [
|
||||||
'id' => $link_item['id'],
|
'id' => $link_item['id'],
|
||||||
'likethis' => t("I like this \x28toggle\x29"),
|
'likethis' => t("I like this \x28toggle\x29"),
|
||||||
@@ -1048,7 +1048,7 @@ class Photos extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
$comments = '';
|
$comments = '';
|
||||||
if(! count($r)) {
|
if(! count($r)) {
|
||||||
if($can_post || $can_comment) {
|
if($observer && ($can_post || $can_comment)) {
|
||||||
$commentbox = replace_macros($cmnt_tpl,array(
|
$commentbox = replace_macros($cmnt_tpl,array(
|
||||||
'$return_path' => '',
|
'$return_path' => '',
|
||||||
'$mode' => 'photos',
|
'$mode' => 'photos',
|
||||||
@@ -1167,7 +1167,7 @@ class Photos extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if($can_post || $can_comment) {
|
if($observer && ($can_post || $can_comment)) {
|
||||||
$commentbox = replace_macros($cmnt_tpl,array(
|
$commentbox = replace_macros($cmnt_tpl,array(
|
||||||
'$return_path' => '',
|
'$return_path' => '',
|
||||||
'$jsreload' => $return_url,
|
'$jsreload' => $return_url,
|
||||||
|
@@ -160,6 +160,10 @@ class Display {
|
|||||||
|
|
||||||
$theme_selected = ((array_key_exists('theme',$_SESSION) && $_SESSION['theme']) ? $_SESSION['theme'] : $theme);
|
$theme_selected = ((array_key_exists('theme',$_SESSION) && $_SESSION['theme']) ? $_SESSION['theme'] : $theme);
|
||||||
|
|
||||||
|
if (strpos($theme_selected, ':')) {
|
||||||
|
$theme_selected = explode(':', $theme_selected)[0];
|
||||||
|
}
|
||||||
|
|
||||||
$mobile_theme_selected = (!x($_SESSION,'mobile_theme')? $default_mobile_theme : $_SESSION['mobile_theme']);
|
$mobile_theme_selected = (!x($_SESSION,'mobile_theme')? $default_mobile_theme : $_SESSION['mobile_theme']);
|
||||||
|
|
||||||
$preload_images = get_pconfig(local_channel(),'system','preload_images');
|
$preload_images = get_pconfig(local_channel(),'system','preload_images');
|
||||||
|
@@ -57,7 +57,7 @@ class Xrd extends \Zotlabs\Web\Controller {
|
|||||||
'$poco_url' => z_root() . '/poco/' . $r[0]['channel_address'],
|
'$poco_url' => z_root() . '/poco/' . $r[0]['channel_address'],
|
||||||
'$photo' => z_root() . '/photo/profile/l/' . $r[0]['channel_id'],
|
'$photo' => z_root() . '/photo/profile/l/' . $r[0]['channel_id'],
|
||||||
'$modexp' => 'data:application/magic-public-key,' . $salmon_key,
|
'$modexp' => 'data:application/magic-public-key,' . $salmon_key,
|
||||||
'$subscribe' => z_root() . '/follow?f=&url={uri}',
|
'$subscribe' => z_root() . '/follow?f=&url={uri}',
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
|
@@ -187,7 +187,7 @@ class BasicAuth extends DAV\Auth\Backend\AbstractBasic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function check_module_access($channel_id) {
|
protected function check_module_access($channel_id) {
|
||||||
if($channel_id && \App::$module === 'cdav') {
|
if($channel_id && in_array(\App::$module,[ 'dav', 'cdav', 'snap'] )) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$this->module_disabled = true;
|
$this->module_disabled = true;
|
||||||
|
13
boot.php
13
boot.php
@@ -49,7 +49,7 @@ require_once('include/hubloc.php');
|
|||||||
require_once('include/attach.php');
|
require_once('include/attach.php');
|
||||||
|
|
||||||
define ( 'PLATFORM_NAME', 'hubzilla' );
|
define ( 'PLATFORM_NAME', 'hubzilla' );
|
||||||
define ( 'STD_VERSION', '2.6' );
|
define ( 'STD_VERSION', '2.6.3' );
|
||||||
define ( 'ZOT_REVISION', '1.2' );
|
define ( 'ZOT_REVISION', '1.2' );
|
||||||
|
|
||||||
define ( 'DB_UPDATE_VERSION', 1193 );
|
define ( 'DB_UPDATE_VERSION', 1193 );
|
||||||
@@ -83,7 +83,7 @@ define ( 'DIRECTORY_FALLBACK_MASTER', 'https://gravizot.de');
|
|||||||
$DIRECTORY_FALLBACK_SERVERS = array(
|
$DIRECTORY_FALLBACK_SERVERS = array(
|
||||||
'https://hubzilla.zottel.net',
|
'https://hubzilla.zottel.net',
|
||||||
'https://my.federated.social',
|
'https://my.federated.social',
|
||||||
'https://hubzilla.nl',
|
//'https://hubzilla.nl',
|
||||||
'https://gravizot.de'
|
'https://gravizot.de'
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -599,13 +599,15 @@ function sys_boot() {
|
|||||||
|
|
||||||
|
|
||||||
if(! defined('DEFAULT_PLATFORM_ICON')) {
|
if(! defined('DEFAULT_PLATFORM_ICON')) {
|
||||||
define( 'DEFAULT_PLATFORM_ICON', '/images/rm-32.png' );
|
define( 'DEFAULT_PLATFORM_ICON', '/images/hz-32.png' );
|
||||||
}
|
}
|
||||||
|
|
||||||
if(! defined('DEFAULT_NOTIFY_ICON')) {
|
if(! defined('DEFAULT_NOTIFY_ICON')) {
|
||||||
define( 'DEFAULT_NOTIFY_ICON', '/images/rm-32.png' );
|
define( 'DEFAULT_NOTIFY_ICON', '/images/hz-white-64.png' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
App::head_set_icon(DEFAULT_PLATFORM_ICON);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Try to open the database;
|
* Try to open the database;
|
||||||
*/
|
*/
|
||||||
@@ -936,8 +938,6 @@ class App {
|
|||||||
self::$is_mobile = $mobile_detect->isMobile();
|
self::$is_mobile = $mobile_detect->isMobile();
|
||||||
self::$is_tablet = $mobile_detect->isTablet();
|
self::$is_tablet = $mobile_detect->isTablet();
|
||||||
|
|
||||||
self::head_set_icon(DEFAULT_PLATFORM_ICON);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* register template engines
|
* register template engines
|
||||||
*/
|
*/
|
||||||
@@ -2439,4 +2439,3 @@ function observer_prohibited($allow_account = false) {
|
|||||||
return (((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
|
return (((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) ? true : false );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -133,7 +133,7 @@ function zot_build_packet($channel, $type = 'notify', $recipients = null, $remot
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($secret) {
|
if ($secret) {
|
||||||
$data['secret'] = $secret;
|
$data['secret'] = preg_replace('/[^0-9a-fA-F]/','',$secret);
|
||||||
$data['secret_sig'] = base64url_encode(rsa_sign($secret,$channel['channel_prvkey']));
|
$data['secret_sig'] = base64url_encode(rsa_sign($secret,$channel['channel_prvkey']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -104,7 +104,7 @@ technical abilities.
|
|||||||
Example config scripts are available for these platforms in the install
|
Example config scripts are available for these platforms in the install
|
||||||
directory. Apache and nginx have the most support.
|
directory. Apache and nginx have the most support.
|
||||||
|
|
||||||
- PHP 5.5 or later.
|
- PHP 5.6 or later.
|
||||||
|
|
||||||
- PHP *command line* access with register_argc_argv set to true in the
|
- PHP *command line* access with register_argc_argv set to true in the
|
||||||
php.ini file - and with no hosting provider restrictions on the use of
|
php.ini file - and with no hosting provider restrictions on the use of
|
||||||
@@ -116,7 +116,7 @@ technical abilities.
|
|||||||
|
|
||||||
- some form of email server or email gateway such that PHP mail() works.
|
- some form of email server or email gateway such that PHP mail() works.
|
||||||
|
|
||||||
- Mysql 5.x or MariaDB or postgres database server.
|
- Mysql 5.5.3 or later or MariaDB or postgres database server.
|
||||||
|
|
||||||
- ability to schedule jobs with cron.
|
- ability to schedule jobs with cron.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user