Merge branch 'master' of https://github.com/friendica/red
This commit is contained in:
commit
5a1c388d4a
@ -578,18 +578,18 @@ function get_role_perms($role) {
|
|||||||
$ret['channel_r_profile'] = PERMS_PUBLIC;
|
$ret['channel_r_profile'] = PERMS_PUBLIC;
|
||||||
$ret['channel_r_photos'] = PERMS_PUBLIC;
|
$ret['channel_r_photos'] = PERMS_PUBLIC;
|
||||||
$ret['channel_r_abook'] = PERMS_PUBLIC;
|
$ret['channel_r_abook'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_stream'] = 0;
|
$ret['channel_w_stream'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
|
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_photos'] = 0;
|
$ret['channel_w_photos'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_delegate'] = 0;
|
$ret['channel_a_delegate'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_storage'] = 0;
|
$ret['channel_w_storage'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_pages'] = 0;
|
$ret['channel_w_pages'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_like'] = PERMS_NETWORK;
|
$ret['channel_w_like'] = PERMS_NETWORK;
|
||||||
|
|
||||||
@ -610,18 +610,18 @@ function get_role_perms($role) {
|
|||||||
$ret['channel_r_profile'] = PERMS_PUBLIC;
|
$ret['channel_r_profile'] = PERMS_PUBLIC;
|
||||||
$ret['channel_r_photos'] = PERMS_PUBLIC;
|
$ret['channel_r_photos'] = PERMS_PUBLIC;
|
||||||
$ret['channel_r_abook'] = PERMS_PUBLIC;
|
$ret['channel_r_abook'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_stream'] = 0;
|
$ret['channel_w_stream'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
|
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_photos'] = 0;
|
$ret['channel_w_photos'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_delegate'] = 0;
|
$ret['channel_a_delegate'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_storage'] = 0;
|
$ret['channel_w_storage'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_pages'] = 0;
|
$ret['channel_w_pages'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_like'] = PERMS_SPECIFIC;
|
$ret['channel_w_like'] = PERMS_SPECIFIC;
|
||||||
|
|
||||||
@ -642,18 +642,18 @@ function get_role_perms($role) {
|
|||||||
$ret['channel_r_profile'] = PERMS_SPECIFIC;
|
$ret['channel_r_profile'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_photos'] = PERMS_SPECIFIC;
|
$ret['channel_r_photos'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_abook'] = PERMS_SPECIFIC;
|
$ret['channel_r_abook'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_stream'] = 0;
|
$ret['channel_w_stream'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_tagwall'] = 0;
|
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_photos'] = 0;
|
$ret['channel_w_photos'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_delegate'] = 0;
|
$ret['channel_a_delegate'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_storage'] = PERMS_SPECIFIC;
|
$ret['channel_r_storage'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_storage'] = 0;
|
$ret['channel_w_storage'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_pages'] = PERMS_SPECIFIC;
|
$ret['channel_r_pages'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_pages'] = 0;
|
$ret['channel_w_pages'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_like'] = PERMS_SPECIFIC;
|
$ret['channel_w_like'] = PERMS_SPECIFIC;
|
||||||
|
|
||||||
@ -736,18 +736,18 @@ function get_role_perms($role) {
|
|||||||
$ret['channel_r_profile'] = PERMS_PUBLIC;
|
$ret['channel_r_profile'] = PERMS_PUBLIC;
|
||||||
$ret['channel_r_photos'] = PERMS_PUBLIC;
|
$ret['channel_r_photos'] = PERMS_PUBLIC;
|
||||||
$ret['channel_r_abook'] = PERMS_PUBLIC;
|
$ret['channel_r_abook'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_stream'] = 0;
|
$ret['channel_w_stream'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_wall'] = 0;
|
$ret['channel_w_wall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_tagwall'] = 0;
|
$ret['channel_w_tagwall'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_comment'] = 0;
|
$ret['channel_w_comment'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_mail'] = 0;
|
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_photos'] = 0;
|
$ret['channel_w_photos'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_chat'] = 0;
|
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_delegate'] = 0;
|
$ret['channel_a_delegate'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_storage'] = 0;
|
$ret['channel_w_storage'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_pages'] = 0;
|
$ret['channel_w_pages'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
$ret['channel_a_republish'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_like'] = PERMS_NETWORK;
|
$ret['channel_w_like'] = PERMS_NETWORK;
|
||||||
|
|
||||||
@ -775,7 +775,7 @@ function get_role_perms($role) {
|
|||||||
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
$ret['channel_w_mail'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_photos'] = PERMS_SPECIFIC;
|
$ret['channel_w_photos'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
$ret['channel_w_chat'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_a_delegate'] = 0;
|
$ret['channel_a_delegate'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
$ret['channel_r_storage'] = PERMS_PUBLIC;
|
||||||
$ret['channel_w_storage'] = PERMS_SPECIFIC;
|
$ret['channel_w_storage'] = PERMS_SPECIFIC;
|
||||||
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
$ret['channel_r_pages'] = PERMS_PUBLIC;
|
||||||
|
@ -17,6 +17,7 @@ require_once('include/zot.php');
|
|||||||
* f= placeholder, often required
|
* f= placeholder, often required
|
||||||
* title= Title of post
|
* title= Title of post
|
||||||
* body= Body of post
|
* body= Body of post
|
||||||
|
* url= URL which will be parsed and the results appended to the body
|
||||||
* source= Source application
|
* source= Source application
|
||||||
* remote_return= absolute URL to return after posting is finished
|
* remote_return= absolute URL to return after posting is finished
|
||||||
* type= choices are 'html' or 'bbcode', default is 'bbcode'
|
* type= choices are 'html' or 'bbcode', default is 'bbcode'
|
||||||
@ -97,16 +98,6 @@ function rpost_content(&$a) {
|
|||||||
'$title' => t('Edit post')
|
'$title' => t('Edit post')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
// $a->page['htmlhead'] .= replace_macros(get_markup_template('jot-header.tpl'), array(
|
|
||||||
// '$baseurl' => $a->get_baseurl(),
|
|
||||||
// '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
|
|
||||||
// '$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'),
|
|
||||||
// '$geotag' => $geotag,
|
|
||||||
// '$nickname' => $channel['channel_address']
|
|
||||||
// ));
|
|
||||||
|
|
||||||
|
|
||||||
if($_REQUEST['url']) {
|
if($_REQUEST['url']) {
|
||||||
$x = z_fetch_url(z_root() . '/parse_url?f=&url=' . urlencode($_REQUEST['url']));
|
$x = z_fetch_url(z_root() . '/parse_url?f=&url=' . urlencode($_REQUEST['url']));
|
||||||
if($x['success'])
|
if($x['success'])
|
||||||
@ -122,7 +113,6 @@ function rpost_content(&$a) {
|
|||||||
|| $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
|
|| $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
|
||||||
'acl' => populate_acl($channel),
|
'acl' => populate_acl($channel),
|
||||||
'bang' => '',
|
'bang' => '',
|
||||||
// 'channel_select' => true,
|
|
||||||
'visitor' => true,
|
'visitor' => true,
|
||||||
'profile_uid' => local_channel(),
|
'profile_uid' => local_channel(),
|
||||||
'title' => $_REQUEST['title'],
|
'title' => $_REQUEST['title'],
|
||||||
|
@ -54,7 +54,10 @@ function siteinfo_init(&$a) {
|
|||||||
$version = RED_VERSION;
|
$version = RED_VERSION;
|
||||||
if(@is_dir('.git') && function_exists('shell_exec')) {
|
if(@is_dir('.git') && function_exists('shell_exec')) {
|
||||||
$commit = trim( @shell_exec('git log -1 --format="%h"'));
|
$commit = trim( @shell_exec('git log -1 --format="%h"'));
|
||||||
$tag = trim( @shell_exec('git describe --tags --abbrev=0'));
|
if(! get_config('system','hidden_tag_siteinfo'))
|
||||||
|
$tag = trim( @shell_exec('git describe --tags --abbrev=0'));
|
||||||
|
else
|
||||||
|
$tag = '';
|
||||||
}
|
}
|
||||||
if(! isset($commit) || strlen($commit) > 16)
|
if(! isset($commit) || strlen($commit) > 16)
|
||||||
$commit = '';
|
$commit = '';
|
||||||
|
@ -16,4 +16,5 @@ USE_MDFILE_AS_MAINPAGE = README
|
|||||||
REFERENCED_BY_RELATION = YES
|
REFERENCED_BY_RELATION = YES
|
||||||
GENERATE_TREEVIEW = YES
|
GENERATE_TREEVIEW = YES
|
||||||
HTML_FOOTER = util/Doxygen.footer
|
HTML_FOOTER = util/Doxygen.footer
|
||||||
|
ALIASES += "license=@par License:\n"
|
||||||
|
ALIASES += "fixme=\xrefitem fixme \"Fixme\" \"Fixme List\""
|
||||||
|
757
util/messages.po
757
util/messages.po
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
|||||||
2015-03-19.976
|
2015-03-20.977
|
||||||
|
Reference in New Issue
Block a user