Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
This commit is contained in:
commit
894f5bc79a
@ -1,4 +1,7 @@
|
|||||||
Hubzilla 3.4 (????-??-??)
|
Hubzilla 3.4 (2018-05-04)
|
||||||
|
- Provide warnings about profile photo and cover photo permissions
|
||||||
|
- Don't duplicate addressbook entries on repeated channel imports
|
||||||
|
- Where possible strip zid parameter from links that get pasted into posts so that they will get a correct zid when rendered
|
||||||
- Rename boxy schema to Focus-Boxy
|
- Rename boxy schema to Focus-Boxy
|
||||||
- Rename BS-Default schema to Focus-Light
|
- Rename BS-Default schema to Focus-Light
|
||||||
- Mark simple_* schemas unmaintained and deprecated - they will be removed in next release if nobody steps up to maintain them.
|
- Mark simple_* schemas unmaintained and deprecated - they will be removed in next release if nobody steps up to maintain them.
|
||||||
@ -54,6 +57,7 @@ Hubzilla 3.4 (????-??-??)
|
|||||||
- Fix pending registrations visible in admin accounts
|
- Fix pending registrations visible in admin accounts
|
||||||
|
|
||||||
Addons
|
Addons
|
||||||
|
Pubcrawl: fix issues with "private" messages
|
||||||
Pubcrawl: fix issues with postgresql
|
Pubcrawl: fix issues with postgresql
|
||||||
Fuzzloc: new addon to blur your browser location
|
Fuzzloc: new addon to blur your browser location
|
||||||
Pubcrawl: implement follow by webfinger
|
Pubcrawl: implement follow by webfinger
|
||||||
|
@ -95,7 +95,7 @@ class Wiki extends \Zotlabs\Web\Controller {
|
|||||||
$owner['channel_deny_gid'])
|
$owner['channel_deny_gid'])
|
||||||
? 'lock' : 'unlock'
|
? 'lock' : 'unlock'
|
||||||
),
|
),
|
||||||
'acl' => populate_acl($owner_acl),
|
'acl' => populate_acl($owner_acl, false, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_wiki')),
|
||||||
'allow_cid' => acl2json($owner_acl['allow_cid']),
|
'allow_cid' => acl2json($owner_acl['allow_cid']),
|
||||||
'allow_gid' => acl2json($owner_acl['allow_gid']),
|
'allow_gid' => acl2json($owner_acl['allow_gid']),
|
||||||
'deny_cid' => acl2json($owner_acl['deny_cid']),
|
'deny_cid' => acl2json($owner_acl['deny_cid']),
|
||||||
|
4
boot.php
4
boot.php
@ -50,7 +50,7 @@ require_once('include/attach.php');
|
|||||||
require_once('include/bbcode.php');
|
require_once('include/bbcode.php');
|
||||||
|
|
||||||
define ( 'PLATFORM_NAME', 'hubzilla' );
|
define ( 'PLATFORM_NAME', 'hubzilla' );
|
||||||
define ( 'STD_VERSION', '3.5.2' );
|
define ( 'STD_VERSION', '3.5.3' );
|
||||||
define ( 'ZOT_REVISION', '6.0a' );
|
define ( 'ZOT_REVISION', '6.0a' );
|
||||||
|
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ define ( 'DIRECTORY_MODE_STANDALONE', 0x0100); // A detached (off the grid) hub
|
|||||||
// point to go out and find the rest of the world.
|
// point to go out and find the rest of the world.
|
||||||
|
|
||||||
define ( 'DIRECTORY_REALM', 'RED_GLOBAL');
|
define ( 'DIRECTORY_REALM', 'RED_GLOBAL');
|
||||||
define ( 'DIRECTORY_FALLBACK_MASTER', 'https://gravizot.de');
|
define ( 'DIRECTORY_FALLBACK_MASTER', 'https://zotadel.net');
|
||||||
|
|
||||||
$DIRECTORY_FALLBACK_SERVERS = array(
|
$DIRECTORY_FALLBACK_SERVERS = array(
|
||||||
'https://hubzilla.zottel.net',
|
'https://hubzilla.zottel.net',
|
||||||
|
@ -2559,6 +2559,8 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
|
|||||||
$basetag = substr($tag,7);
|
$basetag = substr($tag,7);
|
||||||
$basetag = substr($basetag,0,-6);
|
$basetag = substr($basetag,0,-6);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
$basetag = substr($tag,1);
|
||||||
|
|
||||||
//create text for link
|
//create text for link
|
||||||
|
|
||||||
@ -2587,6 +2589,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
|
|||||||
'url' => $url,
|
'url' => $url,
|
||||||
'contact' => $r[0]
|
'contact' => $r[0]
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//is it a person tag?
|
//is it a person tag?
|
||||||
|
@ -73,29 +73,32 @@ server {
|
|||||||
client_max_body_size 20m;
|
client_max_body_size 20m;
|
||||||
client_body_buffer_size 128k;
|
client_body_buffer_size 128k;
|
||||||
|
|
||||||
|
include mime.types;
|
||||||
|
|
||||||
# rewrite to front controller as default rule
|
# rewrite to front controller as default rule
|
||||||
location / {
|
location / {
|
||||||
if ($is_args != "") {
|
if (!-e $request_filename) {
|
||||||
rewrite ^/(.*) /index.php?q=$uri&$args last;
|
rewrite ^(.*)$ /index.php?q=$1;
|
||||||
}
|
}
|
||||||
rewrite ^/(.*) /index.php?q=$uri last;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# make sure webfinger and other well known services aren't blocked
|
# make sure webfinger and other well known services aren't blocked
|
||||||
# by denying dot files and rewrite request to the front controller
|
# by denying dot files and rewrite request to the front controller
|
||||||
location ^~ /.well-known/ {
|
location ^~ /.well-known/ {
|
||||||
allow all;
|
allow all;
|
||||||
rewrite ^/(.*) /index.php?q=$uri&$args last;
|
if (!-e $request_filename) {
|
||||||
|
rewrite ^(.*)$ /index.php?q=$1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# statically serve these file types when possible
|
# statically serve these file types when possible
|
||||||
# otherwise fall back to front controller
|
# otherwise fall back to front controller
|
||||||
# allow browser to cache them
|
# allow browser to cache them
|
||||||
# added .htm for advanced source code editor library
|
# added .htm for advanced source code editor library
|
||||||
location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|map|ttf|woff|woff2|svg)$ {
|
# location ~* \.(jpg|jpeg|gif|png|ico|css|js|htm|html|map|ttf|woff|woff2|svg)$ {
|
||||||
expires 30d;
|
# expires 30d;
|
||||||
try_files $uri /index.php?q=$uri&$args;
|
# try_files $uri /index.php?q=$uri&$args;
|
||||||
}
|
# }
|
||||||
|
|
||||||
# block these file types
|
# block these file types
|
||||||
location ~* \.(tpl|md|tgz|log|out)$ {
|
location ~* \.(tpl|md|tgz|log|out)$ {
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
td i {
|
td > i {
|
||||||
padding: 7px 5px;
|
padding: 7px 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$item.id}}">
|
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$item.id}}">
|
||||||
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-toggle="dropdown" />
|
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-toggle="dropdown" />
|
||||||
{{if $item.thread_author_menu}}
|
{{if $item.thread_author_menu}}
|
||||||
<i class="fa fa-caret-down wall-item-photo-caret" data-toggle="dropdown"></i>
|
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-toggle="dropdown"></i>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
{{foreach $item.thread_author_menu as $mitem}}
|
{{foreach $item.thread_author_menu as $mitem}}
|
||||||
<a class="dropdown-item" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a>
|
<a class="dropdown-item" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$item.id}}">
|
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$item.id}}">
|
||||||
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-toggle="dropdown" /></a>
|
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-toggle="dropdown" /></a>
|
||||||
{{if $item.thread_author_menu}}
|
{{if $item.thread_author_menu}}
|
||||||
<i class="fa fa-caret-down wall-item-photo-caret"></i>
|
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-toggle="dropdown"></i>
|
||||||
<div class="dropdown-menu">
|
<div class="dropdown-menu">
|
||||||
{{foreach $item.thread_author_menu as $mitem}}
|
{{foreach $item.thread_author_menu as $mitem}}
|
||||||
<a class="dropdown-item" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a>
|
<a class="dropdown-item" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a>
|
||||||
|
Reference in New Issue
Block a user