]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #1888 from fabrixxm/changelog-3.4.2
authorMichael Vogel <icarus@dabo.de>
Thu, 17 Sep 2015 19:53:23 +0000 (21:53 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 17 Sep 2015 19:53:23 +0000 (21:53 +0200)
Update changelog

22 files changed:
doc/Settings.md
doc/de/Settings.md
htconfig.php
include/directory.php
include/dsprphotoq.php
include/nav.php
include/profile_update.php
include/socgraph.php
include/user.php
mod/admin.php
mod/directory.php
mod/dirfind.php
mod/invite.php
mod/match.php
mod/profile_photo.php
mod/profiles.php
mod/regmod.php
mod/settings.php
util/htconfig.vagrant.php
view/de/messages.po
view/de/strings.php
view/templates/htconfig.tpl

index fee8ec1c53c26ce653344239ca25e30da654dbc6..60fff847a0f69cf370b1005f5d74188bc0e2121b 100644 (file)
@@ -200,7 +200,7 @@ This configures the URL to update the global directory, and is supplied in the d
 The undocumented part is that if this is not set, the global directory is completely unavailable to the application.
 This allows a private community to be completely isolated from the global mistpark network. 
 
-       $a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+       $a->config['system']['directory'] = 'http://dir.friendi.ca';
 
 Developer Settings
 ---
index 6bc238e269cc82fb3abdc62e3678e870bda9c3f1..988b3657c0f944e8c16b08b6c36c0fb9d3fff772 100644 (file)
@@ -138,7 +138,7 @@ Dies erlaubt eine private Kommunikation, die komplett vom globalen Verzeichnis i
 
 Konfiguriere:
 ```
-$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory'] = 'http://dir.friendi.ca';
 ```
 
 
index 9b577144593feced5744e6b31e6f0ac354d3fe95..508de9a3234932503cd6a6ea0b0e74937d1bb9d5 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 
-// If automatic system installation fails: 
+// If automatic system installation fails:
 
 // Copy or rename this file to .htconfig.php
 
 // Why .htconfig.php? Because it contains sensitive information which could
-// give somebody complete control of your database. Apache's default 
-// configuration denies access to and refuses to serve any file beginning 
+// give somebody complete control of your database. Apache's default
+// configuration denies access to and refuses to serve any file beginning
 // with .ht
 
 // Then set the following for your MySQL installation
@@ -26,11 +26,11 @@ $default_timezone = 'America/Los_Angeles';
 $a->config['sitename'] = "Friendica Social Network";
 
 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
-// Be certain to create your own personal account before setting 
-// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// Be certain to create your own personal account before setting
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
 // to the email address of an already registered person who can authorise
-// and/or approve/deny the request. 
+// and/or approve/deny the request.
 
 // In order to perform system administration via the admin panel, admin_email
 // must precisely match the email address of the person logged in.
@@ -51,12 +51,6 @@ $a->config['system']['maximagesize'] = 800000;
 
 $a->config['php_path'] = 'php';
 
-// You shouldn't need to change anything else.
-// Location of global directory submission page. 
-
-$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
-$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
-
 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
 
 $a->config['system']['huburl'] = '[internal]';
@@ -74,17 +68,8 @@ $a->config['system']['theme'] = 'duepuntozero';
 
 $a->config['system']['no_regfullname'] = true;
 
-// If set to true the priority settings of ostatus contacts are used
-$a->config['system']['ostatus_use_priority'] = false;
-
-// If enabled, all items are cached in the given directory
-$a->config['system']['itemcache'] = "";
-
-// If enabled, the lockpath is used for a lockfile to check if the poller is running
-$a->config['system']['lockpath'] = "";
-
 //Deny public access to the local directory
 //$a->config['system']['block_local_dir'] = false;
 
-// Global directory
+// Location of the global directory
 $a->config['system']['directory'] = 'http://dir.friendi.ca';
index aed700fa8ac2ac593ad9f10a1e0b506bdf6865e5..85476bd5fdf498eaed07787c6c8e695732c2bd1f 100644 (file)
@@ -7,7 +7,7 @@ function directory_run(&$argv, &$argc){
        if(is_null($a)) {
                $a = new App;
        }
-  
+
        if(is_null($db)) {
                @include(".htconfig.php");
                require_once("include/dba.php");
@@ -29,11 +29,13 @@ function directory_run(&$argv, &$argc){
 
        $a->set_baseurl(get_config('system','url'));
 
-       $dir = get_config('system','directory_submit_url');
+       $dir = get_config('system','directory');
 
        if(! strlen($dir))
                return;
 
+       $dir .= "/submit";
+
        $arr = array('url' => $argv[1]);
 
        call_hooks('globaldir_update', $arr);
index 7e252cd8433d8a609de29c70f3ccca514e3e8ee2..0d8088d4bd8637c0a9c00787c1518aa04ed065c7 100644 (file)
@@ -28,9 +28,14 @@ function dsprphotoq_run($argv, $argc){
 
        foreach($dphotos as $dphoto) {
 
-               $r = q("SELECT * FROM user WHERE uid = %d",
-                       intval($dphoto['uid'])
-               );
+               $r = array();
+
+               if ($dphoto['uid'] == 0)
+                       $r[0] = array("uid" => 0, "page-flags" => PAGE_FREELOVE);
+               else
+                       $r = q("SELECT * FROM user WHERE uid = %d",
+                               intval($dphoto['uid']));
+
                if(!$r) {
                        logger("diaspora photo queue: user " . $dphoto['uid'] . " not found");
                        return;
index e7f51cc0c055b08c56ded311e5a27a7a7a4766a9..935d08f524536b6272951cf643842415f071e4b5 100644 (file)
@@ -129,7 +129,7 @@ function nav_info(&$a) {
        $gdirpath = 'directory';
 
        if(strlen(get_config('system','singleuser'))) {
-               $gdir = dirname(get_config('system','directory_submit_url'));
+               $gdir = get_config('system','directory');
                if(strlen($gdir))
                        $gdirpath = $gdir;
        }
index 9da96442cb1930058cdaa9b67f5fa1fa599c0b85..0fcf3617fbeb0d80c5923b4485c589ab0e27cefa 100644 (file)
@@ -12,7 +12,7 @@ function profile_change() {
                return;
 
 //   $url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
-//   if($url && strlen(get_config('system','directory_submit_url')))
+//   if($url && strlen(get_config('system','directory')))
 //      proc_run('php',"include/directory.php","$url");
 
        $recips = q("SELECT `id`,`name`,`network`,`pubkey`,`notify` FROM `contact` WHERE `network` = '%s'
index 1a92a7256684761358582d7a7677d11df686527e..d380af4344e504bce6bba8d4f2dd07903f884a3b 100644 (file)
@@ -1224,7 +1224,7 @@ function update_suggestions() {
 
        $done[] = $a->get_baseurl() . '/poco';
 
-       if(strlen(get_config('system','directory_submit_url'))) {
+       if(strlen(get_config('system','directory'))) {
                $x = fetch_url(get_server()."/pubsites");
                if($x) {
                        $j = json_decode($x);
index 33ff46ee643b3a25bd8ab5707fccf40bf6a11f90..d989664acd72999f16ec1432765124cd23c39f01 100644 (file)
@@ -33,7 +33,7 @@ function create_user($arr) {
        $verified   = ((x($arr,'verified'))   ? intval($arr['verified']) : 0);
 
        $publish    = ((x($arr,'profile_publish_reg') && intval($arr['profile_publish_reg'])) ? 1 : 0);
-       $netpublish = ((strlen(get_config('system','directory_submit_url'))) ? $publish : 0);
+       $netpublish = ((strlen(get_config('system','directory'))) ? $publish : 0);
 
        if ($password1 != $confirm) {
                $result['message'] .= t('Passwords do not match. Password unchanged.') . EOL;
index d54d25a51235aa2dea8610275b1b68b62fbdfe60..002d332cb6ad62bc345a4d158a1a6faa88319a51 100644 (file)
@@ -363,7 +363,7 @@ function admin_page_site_post(&$a){
        $allowed_email          =       ((x($_POST,'allowed_email'))            ? notags(trim($_POST['allowed_email']))         : '');
        $block_public           =       ((x($_POST,'block_public'))             ? True                                          : False);
        $force_publish          =       ((x($_POST,'publish_all'))              ? True                                          : False);
-       $global_directory       =       ((x($_POST,'directory_submit_url'))     ? notags(trim($_POST['directory_submit_url']))  : '');
+       $global_directory       =       ((x($_POST,'directory'))                ? notags(trim($_POST['directory']))     : '');
        $thread_allow           =       ((x($_POST,'thread_allow'))             ? True                                          : False);
        $newuser_private                =       ((x($_POST,'newuser_private'))          ? True                                          : False);
        $enotify_no_content             =       ((x($_POST,'enotify_no_content'))       ? True                                          : False);
@@ -514,15 +514,7 @@ function admin_page_site_post(&$a){
        set_config('system','allowed_email', $allowed_email);
        set_config('system','block_public', $block_public);
        set_config('system','publish_all', $force_publish);
-       if ($global_directory==""){
-               // don't know why, but del_config doesn't work...
-               q("DELETE FROM `config` WHERE `cat` = '%s' AND `k` = '%s' LIMIT 1",
-                       dbesc("system"),
-                       dbesc("directory_submit_url")
-               );
-       } else {
-               set_config('system','directory_submit_url', $global_directory);
-       }
+       set_config('system','directory', $global_directory);
        set_config('system','thread_allow', $thread_allow);
        set_config('system','newuser_private', $newuser_private);
        set_config('system','enotify_no_content', $enotify_no_content);
@@ -578,7 +570,7 @@ function admin_page_site(&$a) {
 
        /* Installed langs */
        $lang_choices = array();
-       $langs = glob('view/*/strings.php');
+       $langs = glob('view/*/strings.php'); /**/
 
        if(is_array($langs) && count($langs)) {
                if(! in_array('view/en/strings.php',$langs))
@@ -590,6 +582,12 @@ function admin_page_site(&$a) {
                }
        }
 
+       if (strlen(get_config('system','directory_submit_url')) AND
+               !strlen(get_config('system','directory'))) {
+               set_config('system','directory', dirname(get_config('system','directory_submit_url')));
+               del_config('system','directory_submit_url');
+       }
+
        /* Installed themes */
        $theme_choices = array();
        $theme_choices_mobile = array();
@@ -719,7 +717,7 @@ function admin_page_site(&$a) {
                '$allowed_email'        => array('allowed_email', t("Allowed email domains"), get_config('system','allowed_email'), t("Comma separated list of domains which are allowed in email addresses for registrations to this site. Wildcards are accepted. Empty to allow any domains")),
                '$block_public'         => array('block_public', t("Block public"), get_config('system','block_public'), t("Check to block public access to all otherwise public personal pages on this site unless you are currently logged in.")),
                '$force_publish'        => array('publish_all', t("Force publish"), get_config('system','publish_all'), t("Check to force all profiles on this site to be listed in the site directory.")),
-               '$global_directory'     => array('directory_submit_url', t("Global directory update URL"), get_config('system','directory_submit_url'), t("URL to update the global directory. If this is not set, the global directory is completely unavailable to the application.")),
+               '$global_directory'     => array('directory', t("Global directory URL"), get_config('system','directory'), t("URL to the global directory. If this is not set, the global directory is completely unavailable to the application.")),
                '$thread_allow'         => array('thread_allow', t("Allow threaded items"), get_config('system','thread_allow'), t("Allow infinite level threading for items on this site.")),
                '$newuser_private'      => array('newuser_private', t("Private posts by default for new users"), get_config('system','newuser_private'), t("Set default post permissions for all new members to the default privacy group rather than public.")),
                '$enotify_no_content'   => array('enotify_no_content', t("Don't include post content in email notifications"), get_config('system','enotify_no_content'), t("Don't include the content of a post/comment/private message/etc. in the email notifications that are sent out from this site, as a privacy measure.")),
index cce281881850849a7e0abbc6730627f8ac0572ed..fa3a89e45a7dac0e810f9236bddc6d18f1726117 100644 (file)
@@ -47,7 +47,7 @@ function directory_content(&$a) {
        $tpl = get_markup_template('directory_header.tpl');
 
        $globaldir = '';
-       $gdirpath = dirname(get_config('system','directory_submit_url'));
+       $gdirpath = get_config('system','directory');
        if(strlen($gdirpath)) {
                $globaldir = '<ul><li><div id="global-directory-link"><a href="'
                . zrl($gdirpath,true) . '">' . t('Global Directory') . '</a></div></li></ul>';
index 2295b3772fb68cc634f8782f9e22d5bb6afe3deb..b0d578a3c63fe0ff5ba918894c8f859c4c12bd70 100644 (file)
@@ -100,7 +100,7 @@ function dirfind_content(&$a, $prefix = "") {
 
                        $p = (($a->pager['page'] != 1) ? '&p=' . $a->pager['page'] : '');
 
-                       if(strlen(get_config('system','directory_submit_url')))
+                       if(strlen(get_config('system','directory')))
                                $x = fetch_url(get_server().'/lsearch?f=' . $p .  '&search=' . urlencode($search));
 
                        $j = json_decode($x);
@@ -125,6 +125,8 @@ function dirfind_content(&$a, $prefix = "") {
                                        $conntxt = t('Connect');
                                }
 
+                               $jj->photo = str_replace("http:///photo/", get_server()."/photo/", $jj->photo);
+
                                $o .= replace_macros($tpl,array(
                                        '$url' => zrl($jj->url),
                                        '$name' => $jj->name,
index aea92a663a01f53d37e1b50b3747740d07f5aa8c..ccf876c7c0d1cfb400f40daa52aa2c563a32482b 100644 (file)
@@ -112,15 +112,15 @@ function invite_content(&$a) {
                        notice( t('You have no more invitations available') . EOL);
                        return '';
                }
-       }                       
+       }
 
-       $dirloc = get_config('system','directory_submit_url');
+       $dirloc = get_config('system','directory');
        if(strlen($dirloc)) {
                if($a->config['register_policy'] == REGISTER_CLOSED)
-                       $linktxt = sprintf( t('Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks.'), dirname($dirloc) . '/siteinfo');
+                       $linktxt = sprintf( t('Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks.'), $dirloc . '/siteinfo');
                elseif($a->config['register_policy'] != REGISTER_CLOSED)
                        $linktxt = sprintf( t('To accept this invitation, please visit and register at %s or any other public Friendica website.'), $a->get_baseurl())
-                       . "\r\n" . "\r\n" . sprintf( t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join.'),dirname($dirloc) . '/siteinfo');
+                       . "\r\n" . "\r\n" . sprintf( t('Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join.'),$dirloc . '/siteinfo');
        }
        else {
                $o = t('Our apologies. This system is not currently configured to connect with other public sites or invite members.');
@@ -141,4 +141,4 @@ function invite_content(&$a) {
        ));
 
        return $o;
-}
\ No newline at end of file
+}
index 199ad9ed769df981116a42dee157822046208c77..74f83a6cc9494b76ce1fac8b7d902f400e9a5aae 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 include_once('include/text.php');
+require_once('include/socgraph.php');
+require_once('include/contact_widgets.php');
 
 function match_content(&$a) {
 
@@ -7,6 +9,9 @@ function match_content(&$a) {
        if(! local_user())
                return;
 
+       $a->page['aside'] .= follow_widget();
+       $a->page['aside'] .= findpeople_widget();
+
        $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd;
 
        $o .= replace_macros(get_markup_template("section_title.tpl"),array(
@@ -17,7 +22,7 @@ function match_content(&$a) {
                intval(local_user())
        );
        if(! count($r))
-               return; 
+               return;
        if(! $r[0]['pub_keywords'] && (! $r[0]['prv_keywords'])) {
                notice( t('No keywords to match. Please add keywords to your default profile.') . EOL);
                return;
@@ -32,7 +37,7 @@ function match_content(&$a) {
                if($a->pager['page'] != 1)
                        $params['p'] = $a->pager['page'];
 
-               if(strlen(get_config('system','directory_submit_url')))
+               if(strlen(get_config('system','directory')))
                        $x = post_url(get_server().'/msearch', $params);
                else
                        $x = post_url($a->get_baseurl() . '/msearch', $params);
@@ -47,31 +52,30 @@ function match_content(&$a) {
                if(count($j->results)) {
 
 
-                       
+
                        $tpl = get_markup_template('match.tpl');
                        foreach($j->results as $jj) {
-                           $match_nurl = normalise_link($jj->url);
-                           $match = q("SELECT `nurl` FROM `contact` WHERE `uid` = '%d' AND nurl='%s' LIMIT 1",
-                               intval(local_user()),
-                               dbesc($match_nurl));
-                           if (!count($match)) {
-                               
-                               $connlnk = $a->get_baseurl() . '/follow/?url=' . $jj->url;
-                               $o .= replace_macros($tpl,array(
-                                       '$url' => zrl($jj->url),
-                                       '$name' => $jj->name,
-                                       '$photo' => proxy_url($jj->photo),
-                                       '$inttxt' => ' ' . t('is interested in:'),
-                                       '$conntxt' => t('Connect'),
-                                       '$connlnk' => $connlnk,
-                                       '$tags' => $jj->tags
-                               ));
-                           }
+                               $match_nurl = normalise_link($jj->url);
+                               $match = q("SELECT `nurl` FROM `contact` WHERE `uid` = '%d' AND nurl='%s' LIMIT 1",
+                                       intval(local_user()),
+                                       dbesc($match_nurl));
+                               if (!count($match)) {
+                                       $jj->photo = str_replace("http:///photo/", get_server()."/photo/", $jj->photo);
+                                       $connlnk = $a->get_baseurl() . '/follow/?url=' . $jj->url;
+                                       $o .= replace_macros($tpl,array(
+                                               '$url' => zrl($jj->url),
+                                               '$name' => $jj->name,
+                                               '$photo' => proxy_url($jj->photo),
+                                               '$inttxt' => ' ' . t('is interested in:'),
+                                               '$conntxt' => t('Connect'),
+                                               '$connlnk' => $connlnk,
+                                               '$tags' => $jj->tags
+                                       ));
+                               }
                        }
-               }
-               else {
+               } else {
                        info( t('No matches') . EOL);
-               }               
+               }
 
        }
 
index 6607eebd0c1e1685f8d312b37c3adf7d65278760..aa880905976f4e5ecf2ee12ce2d2c82be2e27343 100644 (file)
@@ -118,7 +118,7 @@ function profile_photo_post(&$a) {
                                info( t('Shift-reload the page or clear browser cache if the new photo does not display immediately.') . EOL);
                                // Update global directory in background
                                $url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
-                               if($url && strlen(get_config('system','directory_submit_url')))
+                               if($url && strlen(get_config('system','directory')))
                                        proc_run('php',"include/directory.php","$url");
 
                                require_once('include/profile_update.php');
@@ -217,7 +217,7 @@ function profile_photo_content(&$a) {
 
                        // Update global directory in background
                        $url = $_SESSION['my_url'];
-                       if($url && strlen(get_config('system','directory_submit_url')))
+                       if($url && strlen(get_config('system','directory')))
                                proc_run('php',"include/directory.php","$url");
 
                        goaway($a->get_baseurl() . '/profiles');
index 993504a712425b780ed0a571d9c00009317b8f2c..6c1a82c7bbfb91dff327bdbfcdd84de5619af004 100644 (file)
@@ -508,7 +508,7 @@ function profiles_post(&$a) {
 
                        // Update global directory in background
                        $url = $_SESSION['my_url'];
-                       if($url && strlen(get_config('system','directory_submit_url')))
+                       if($url && strlen(get_config('system','directory')))
                                proc_run('php',"include/directory.php","$url");
 
                        require_once('include/profile_update.php');
index 3ab43b105cae67cf37b1d0667faf3683c9be0dba..5a90db1f902d0b0265d26c1da3104bb1b5ce3e70 100644 (file)
@@ -36,7 +36,7 @@ function user_allow($hash) {
        );
        if(count($r) && $r[0]['net-publish']) {
                $url = $a->get_baseurl() . '/profile/' . $user[0]['nickname'];
-               if($url && strlen(get_config('system','directory_submit_url')))
+               if($url && strlen(get_config('system','directory')))
                        proc_run('php',"include/directory.php","$url");
        }
 
index a985985c7b8cb430136b86ba1406ec7861f016cc..556fb63e8ad294c35dae29fe6131cdf7971afba3 100644 (file)
@@ -582,7 +582,7 @@ function settings_post(&$a) {
        if(($old_visibility != $net_publish) || ($page_flags != $old_page_flags)) {
                // Update global directory in background
                $url = $_SESSION['my_url'];
-               if($url && strlen(get_config('system','directory_submit_url')))
+               if($url && strlen(get_config('system','directory')))
                        proc_run('php',"include/directory.php","$url");
 
        }
@@ -1069,7 +1069,7 @@ function settings_content(&$a) {
                ));
        }
 
-       if(strlen(get_config('system','directory_submit_url'))) {
+       if(strlen(get_config('system','directory'))) {
                $profile_in_net_dir = replace_macros($opt_tpl,array(
                        '$field'        => array('profile_in_netdirectory', t('Publish your default profile in the global social directory?'), $profile['net-publish'], '', array(t('No'),t('Yes'))),
                ));
index 36fd4b9c91518d93cdc4993e928e59c67df0fcb4..4665e68c0a0bc17a16590da7ca406992b548a241 100644 (file)
@@ -11,10 +11,10 @@ $db_data = 'friendica';
 // If you are using a subdirectory of your domain you will need to put the
 // relative path (from the root of your domain) here.
 // For instance if your URL is 'http://example.com/directory/subdirectory',
-// set path to 'directory/subdirectory'. 
+// set path to 'directory/subdirectory'.
 
 $a->path = '';
+
 // Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
 // It can be changed later and only applies to timestamps for anonymous viewers.
 
@@ -25,8 +25,8 @@ $default_timezone = 'Europe/Berlin';
 $a->config['sitename'] = "My Friend Network";
 
 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
-// Be certain to create your own personal account before setting 
-// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// Be certain to create your own personal account before setting
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
 // to the email address of an already registered person who can authorise
 // and/or approve/deny the request.
@@ -47,18 +47,13 @@ $a->config['system']['maximagesize'] = 800000;
 
 $a->config['php_path'] = '/usr/bin/php';
 
-// Location of global directory submission page.
-
-$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
-$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
-
 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
 
 $a->config['system']['huburl'] = '[internal]';
 
-// Server-to-server private message encryption (RINO) is allowed by default. 
+// Server-to-server private message encryption (RINO) is allowed by default.
 // Encryption will only be provided if this setting is true and the
-// PHP mcrypt extension is installed on both systems 
+// PHP mcrypt extension is installed on both systems
 
 $a->config['system']['rino_encrypt'] = true;
 
@@ -69,3 +64,9 @@ $a->config['system']['theme'] = 'duepuntozero';
 // By default allow pseudonyms
 
 $a->config['system']['no_regfullname'] = true;
+
+//Deny public access to the local directory
+//$a->config['system']['block_local_dir'] = false;
+
+// Location of the global directory
+$a->config['system']['directory'] = 'http://dir.friendi.ca';
index 51682d23d4b53646d8a9d8df8a119d41ab8b916b..e1d3d54f811a48232f8b4499e345ab1dcc6ad66c 100644 (file)
@@ -32,8 +32,8 @@ msgstr ""
 "Project-Id-Version: friendica\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2015-09-01 07:09+0200\n"
-"PO-Revision-Date: 2015-09-01 12:54+0000\n"
-"Last-Translator: bavatar <tobias.diekershoff@gmx.net>\n"
+"PO-Revision-Date: 2015-09-16 17:08+0000\n"
+"Last-Translator: Abrax <webmaster@a-zwenkau.de>\n"
 "Language-Team: German (http://www.transifex.com/Friendica/friendica/language/de/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -2723,7 +2723,7 @@ msgstr "Bilder Proxy deaktivieren"
 msgid ""
 "The picture proxy increases performance and privacy. It shouldn't be used on"
 " systems with very low bandwith."
-msgstr "Der Proxy für Bilder verbessert die Leitung und Privatsphäre der Nutzer. Er sollte nicht auf Systemen verwendet werden, die nur über begrenzte Bandbreite verfügen."
+msgstr "Der Proxy für Bilder verbessert die Leistung und Privatsphäre der Nutzer. Er sollte nicht auf Systemen verwendet werden, die nur über begrenzte Bandbreite verfügen."
 
 #: mod/admin.php:763
 msgid "Enable old style pager"
index b5d19b92efa4eb43993c3b67d6f3ec83d4a2d971..a800561db6cb9328399f35eef1f8862c96f3c8d1 100644 (file)
@@ -589,7 +589,7 @@ $a->strings["If you have a restricted system where the webserver can't access th
 $a->strings["Base path to installation"] = "Basis-Pfad zur Installation";
 $a->strings["If the system cannot detect the correct path to your installation, enter the correct path here. This setting should only be set if you are using a restricted system and symbolic links to your webroot."] = "Falls das System nicht den korrekten Pfad zu deiner Installation gefunden hat, gib den richtigen Pfad bitte hier ein. Du solltest hier den Pfad nur auf einem eingeschränkten System angeben müssen, bei dem du mit symbolischen Links auf dein Webverzeichnis verweist.";
 $a->strings["Disable picture proxy"] = "Bilder Proxy deaktivieren";
-$a->strings["The picture proxy increases performance and privacy. It shouldn't be used on systems with very low bandwith."] = "Der Proxy für Bilder verbessert die Leitung und Privatsphäre der Nutzer. Er sollte nicht auf Systemen verwendet werden, die nur über begrenzte Bandbreite verfügen.";
+$a->strings["The picture proxy increases performance and privacy. It shouldn't be used on systems with very low bandwith."] = "Der Proxy für Bilder verbessert die Leistung und Privatsphäre der Nutzer. Er sollte nicht auf Systemen verwendet werden, die nur über begrenzte Bandbreite verfügen.";
 $a->strings["Enable old style pager"] = "Den Old-Style Pager aktiviren";
 $a->strings["The old style pager has page numbers but slows down massively the page speed."] = "Der Old-Style Pager zeigt Seitennummern an, verlangsamt aber auch drastisch das Laden einer Seite.";
 $a->strings["Only search in tags"] = "Nur in Tags suchen";
index 7c71623dda898a4baf5cb48dd957a7b4deeb8525..6b3bda617366366ef9c52d0a928d23db48e917fe 100644 (file)
@@ -11,7 +11,7 @@ $db_data = '{{$dbdata}}';
 // If you are using a subdirectory of your domain you will need to put the
 // relative path (from the root of your domain) here.
 // For instance if your URL is 'http://example.com/directory/subdirectory',
-// set path to 'directory/subdirectory'. 
+// set path to 'directory/subdirectory'.
 
 $a->path = '{{$urlpath}}';
  
@@ -25,8 +25,8 @@ $default_timezone = '{{$timezone}}';
 $a->config['sitename'] = "My Friend Network";
 
 // Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
-// Be certain to create your own personal account before setting 
-// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// Be certain to create your own personal account before setting
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
 // the registration page. REGISTER_APPROVE requires you set 'admin_email'
 // to the email address of an already registered person who can authorise
 // and/or approve/deny the request.
@@ -47,18 +47,13 @@ $a->config['system']['maximagesize'] = 800000;
 
 $a->config['php_path'] = '{{$phpath}}';
 
-// Location of global directory submission page.
-
-$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
-$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
-
 // PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
 
 $a->config['system']['huburl'] = '[internal]';
 
-// Server-to-server private message encryption (RINO) is allowed by default. 
+// Server-to-server private message encryption (RINO) is allowed by default.
 // Encryption will only be provided if this setting is true and the
-// PHP mcrypt extension is installed on both systems 
+// PHP mcrypt extension is installed on both systems
 
 $a->config['system']['rino_encrypt'] = true;
 
@@ -69,3 +64,9 @@ $a->config['system']['theme'] = 'duepuntozero';
 // By default allow pseudonyms
 
 $a->config['system']['no_regfullname'] = true;
+
+//Deny public access to the local directory
+//$a->config['system']['block_local_dir'] = false;
+
+// Location of the global directory
+$a->config['system']['directory'] = 'http://dir.friendi.ca';