diff --git a/CHANGELOG b/CHANGELOG index 96638b7e05..41929396c3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ Version 2022.05 (unreleased) Friendica Core + Breaking: The distribution of _private forums_ was moved to ActivityPub, making them incompatible with older versions of Friendica [annando] Friendica Addons diff --git a/mod/settings.php b/mod/settings.php index c18a36704c..2c9dcac126 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -31,6 +31,7 @@ use Friendica\Core\Worker; use Friendica\Database\DBA; use Friendica\DI; use Friendica\Model\Group; +use Friendica\Model\Item; use Friendica\Model\Notification; use Friendica\Model\Profile; use Friendica\Model\User; @@ -574,7 +575,17 @@ function settings_content(App $a) '$ostat_enabled' => $ostat_enabled, '$general_settings' => DI::l10n()->t('General Social Media Settings'), - '$accept_only_sharer' => ['accept_only_sharer', DI::l10n()->t('Accept only top level posts by contacts you follow'), $accept_only_sharer, DI::l10n()->t('The system does an auto completion of threads when a comment arrives. This has got the side effect that you can receive posts that had been started by a non-follower but had been commented by someone you follow. This setting deactivates this behaviour. When activated, you strictly only will receive posts from people you really do follow.')], + '$accept_only_sharer' => [ + 'accept_only_sharer', + DI::l10n()->t('Followed content scope'), + $accept_only_sharer, + DI::l10n()->t('By default, conversations in which your follows participated but didn\'t start will be shown in your timeline. You can turn this behavior off, or expand it to the conversations in which your follows liked a post.'), + [ + Item::COMPLETION_NONE => DI::l10n()->t('Only conversations my follows started'), + Item::COMPLETION_COMMENT => DI::l10n()->t('Conversations my follows started or commented on (default)'), + Item::COMPLETION_LIKE => DI::l10n()->t('Any conversation my follows interacted with, including likes'), + ] + ], '$enable_cw' => ['enable_cw', DI::l10n()->t('Enable Content Warning'), $enable_cw, DI::l10n()->t('Users on networks like Mastodon or Pleroma are able to set a content warning field which collapse their post by default. This enables the automatic collapsing instead of setting the content warning as the post title. Doesn\'t affect any other content filtering you eventually set up.')], '$enable_smart_shortening' => ['enable_smart_shortening', DI::l10n()->t('Enable intelligent shortening'), $enable_smart_shortening, DI::l10n()->t('Normally the system tries to find the best link to add to shortened posts. If disabled, every shortened post will always point to the original friendica post.')], '$simple_shortening' => ['simple_shortening', DI::l10n()->t('Enable simple text shortening'), $simple_shortening, DI::l10n()->t('Normally the system shortens posts at the next line feed. If this option is enabled then the system will shorten the text at the maximum character limit.')], diff --git a/src/Model/Item.php b/src/Model/Item.php index 318a8ab511..d099247211 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -74,6 +74,11 @@ class Item const PR_RELAY = 74; const PR_FETCHED = 75; + // system.accept_only_sharer setting values + const COMPLETION_NONE = 1; + const COMPLETION_COMMENT = 0; + const COMPLETION_LIKE = 2; + // Field list that is used to display the items const DISPLAY_FIELDLIST = [ 'uid', 'id', 'parent', 'guid', 'network', 'gravity', @@ -1403,7 +1408,7 @@ class Item $is_reshare = ($item['gravity'] == GRAVITY_ACTIVITY) && ($item['verb'] == Activity::ANNOUNCE); if ((($item['gravity'] == GRAVITY_PARENT) || $is_reshare) && - DI::pConfig()->get($uid, 'system', 'accept_only_sharer') && + DI::pConfig()->get($uid, 'system', 'accept_only_sharer') === self::COMPLETION_NONE && !Contact::isSharingByURL($item['author-link'], $uid) && !Contact::isSharingByURL($item['owner-link'], $uid)) { Logger::info('Contact is not a follower, thread will not be stored', ['author' => $item['author-link'], 'uid' => $uid]); diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index b7ddc09f61..f0d7251a90 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -647,7 +647,12 @@ class Processor Logger::info('Top level post via BCC from a non sharer, ignoring', ['uid' => $receiver, 'contact' => $item['contact-id']]); continue; } - if (!empty($activity['thread-children-type']) && in_array($activity['thread-children-type'], Receiver::ACTIVITY_TYPES)) { + + if ( + !empty($activity['thread-children-type']) + && in_array($activity['thread-children-type'], Receiver::ACTIVITY_TYPES) + && DI::pConfig()->get($receiver, 'system', 'accept_only_sharer', Item::COMPLETION_COMMENT) !== Item::COMPLETION_LIKE + ) { Logger::info('Top level post from thread completion from a non sharer had been initiated via an activity, ignoring', ['type' => $activity['thread-children-type'], 'user' => $item['uid'], 'causer' => $item['causer-link'], 'author' => $activity['author'], 'url' => $item['uri']]); continue; @@ -663,7 +668,7 @@ class Processor } } - if (!$is_forum && DI::pConfig()->get($receiver, 'system', 'accept_only_sharer', false) && ($receiver != 0) && ($item['gravity'] == GRAVITY_PARENT)) { + if (!$is_forum && DI::pConfig()->get($receiver, 'system', 'accept_only_sharer', Item::COMPLETION_COMMENT) === Item::COMPLETION_NONE && ($receiver != 0) && ($item['gravity'] == GRAVITY_PARENT)) { $skip = !Contact::isSharingByURL($activity['author'], $receiver); if ($skip && (($activity['type'] == 'as:Announce') || ($item['isForum'] ?? false))) { diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 86716e9937..2b3d7cb121 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -494,19 +494,22 @@ class OStatus if ($initialize && (count(self::$itemlist) > 0)) { if (self::$itemlist[0]['uri'] == self::$itemlist[0]['thr-parent']) { + $uid = self::$itemlist[0]['uid']; // We will import it everytime, when it is started by our contacts - $valid = Contact::isSharingByURL(self::$itemlist[0]['author-link'], self::$itemlist[0]['uid']); + $valid = Contact::isSharingByURL(self::$itemlist[0]['author-link'], $uid); if (!$valid) { // If not, then it depends on this setting - $valid = ((self::$itemlist[0]['uid'] == 0) || !DI::pConfig()->get(self::$itemlist[0]['uid'], 'system', 'accept_only_sharer', false)); + $valid = !$uid || DI::pConfig()->get($uid, 'system', 'accept_only_sharer', Item::COMPLETION_COMMENT) !== Item::COMPLETION_NONE; + if ($valid) { Logger::info("Item with uri ".self::$itemlist[0]['uri']." will be imported due to the system settings."); } } else { Logger::info("Item with uri ".self::$itemlist[0]['uri']." belongs to a contact (".self::$itemlist[0]['contact-id']."). It will be imported."); } - if ($valid) { + + if ($valid && DI::pConfig()->get($uid, 'system', 'accept_only_sharer', Item::COMPLETION_COMMENT) !== Item::COMPLETION_LIKE) { // Never post a thread when the only interaction by our contact was a like $valid = false; $verbs = [Activity::POST, Activity::SHARE]; diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index 5ff96a611d..b978082b70 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2022.05-dev\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-02-16 23:07+0000\n" +"POT-Creation-Date: 2022-02-17 07:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -121,7 +121,7 @@ msgstr "" #: mod/item.php:184 mod/item.php:189 mod/item.php:918 mod/message.php:69 #: mod/message.php:111 mod/notes.php:44 mod/ostatus_subscribe.php:32 #: mod/photos.php:160 mod/photos.php:897 mod/repair_ostatus.php:31 -#: mod/settings.php:46 mod/settings.php:56 mod/settings.php:416 +#: mod/settings.php:47 mod/settings.php:57 mod/settings.php:417 #: mod/suggest.php:34 mod/uimport.php:33 mod/unfollow.php:35 #: mod/unfollow.php:50 mod/unfollow.php:82 mod/wall_attach.php:68 #: mod/wall_attach.php:71 mod/wall_upload.php:90 mod/wall_upload.php:93 @@ -1079,7 +1079,7 @@ msgstr "" msgid "Select" msgstr "" -#: mod/photos.php:1431 mod/settings.php:600 src/Content/Conversation.php:616 +#: mod/photos.php:1431 mod/settings.php:611 src/Content/Conversation.php:616 #: src/Module/Admin/Users/Active.php:139 src/Module/Admin/Users/Blocked.php:140 #: src/Module/Admin/Users/Index.php:153 msgid "Delete" @@ -1183,67 +1183,67 @@ msgid_plural "Errors" msgstr[0] "" msgstr[1] "" -#: mod/settings.php:128 +#: mod/settings.php:129 msgid "Failed to connect with email account using the settings provided." msgstr "" -#: mod/settings.php:158 +#: mod/settings.php:159 msgid "Contact CSV file upload error" msgstr "" -#: mod/settings.php:177 +#: mod/settings.php:178 msgid "Importing Contacts done" msgstr "" -#: mod/settings.php:190 +#: mod/settings.php:191 msgid "Relocate message has been send to your contacts" msgstr "" -#: mod/settings.php:202 +#: mod/settings.php:203 msgid "Passwords do not match." msgstr "" -#: mod/settings.php:210 src/Console/User.php:210 +#: mod/settings.php:211 src/Console/User.php:210 msgid "Password update failed. Please try again." msgstr "" -#: mod/settings.php:213 src/Console/User.php:213 +#: mod/settings.php:214 src/Console/User.php:213 msgid "Password changed." msgstr "" -#: mod/settings.php:216 +#: mod/settings.php:217 msgid "Password unchanged." msgstr "" -#: mod/settings.php:303 +#: mod/settings.php:304 msgid "Please use a shorter name." msgstr "" -#: mod/settings.php:306 +#: mod/settings.php:307 msgid "Name too short." msgstr "" -#: mod/settings.php:315 +#: mod/settings.php:316 msgid "Wrong Password." msgstr "" -#: mod/settings.php:320 +#: mod/settings.php:321 msgid "Invalid email." msgstr "" -#: mod/settings.php:326 +#: mod/settings.php:327 msgid "Cannot change to that email." msgstr "" -#: mod/settings.php:394 +#: mod/settings.php:395 msgid "Settings were not updated." msgstr "" -#: mod/settings.php:435 +#: mod/settings.php:436 msgid "Connected Apps" msgstr "" -#: mod/settings.php:436 src/Module/Admin/Blocklist/Contact.php:106 +#: mod/settings.php:437 src/Module/Admin/Blocklist/Contact.php:106 #: src/Module/Admin/Users/Active.php:129 src/Module/Admin/Users/Blocked.php:130 #: src/Module/Admin/Users/Create.php:71 src/Module/Admin/Users/Deleted.php:88 #: src/Module/Admin/Users/Index.php:142 src/Module/Admin/Users/Index.php:162 @@ -1251,20 +1251,20 @@ msgstr "" msgid "Name" msgstr "" -#: mod/settings.php:437 src/Content/Nav.php:212 +#: mod/settings.php:438 src/Content/Nav.php:212 msgid "Home Page" msgstr "" -#: mod/settings.php:438 src/Module/Admin/Queue.php:78 +#: mod/settings.php:439 src/Module/Admin/Queue.php:78 msgid "Created" msgstr "" -#: mod/settings.php:439 +#: mod/settings.php:440 msgid "Remove authorization" msgstr "" -#: mod/settings.php:465 mod/settings.php:497 mod/settings.php:528 -#: mod/settings.php:602 mod/settings.php:739 +#: mod/settings.php:466 mod/settings.php:498 mod/settings.php:529 +#: mod/settings.php:613 mod/settings.php:750 #: src/Module/Admin/Addons/Index.php:69 src/Module/Admin/Features.php:87 #: src/Module/Admin/Logs/Settings.php:81 src/Module/Admin/Site.php:501 #: src/Module/Admin/Themes/Index.php:113 src/Module/Admin/Tos.php:83 @@ -1272,73 +1272,83 @@ msgstr "" msgid "Save Settings" msgstr "" -#: mod/settings.php:473 +#: mod/settings.php:474 msgid "Addon Settings" msgstr "" -#: mod/settings.php:474 +#: mod/settings.php:475 msgid "No Addon settings configured" msgstr "" -#: mod/settings.php:495 +#: mod/settings.php:496 msgid "Additional Features" msgstr "" -#: mod/settings.php:533 +#: mod/settings.php:534 msgid "Diaspora (Socialhome, Hubzilla)" msgstr "" -#: mod/settings.php:533 mod/settings.php:534 +#: mod/settings.php:534 mod/settings.php:535 msgid "enabled" msgstr "" -#: mod/settings.php:533 mod/settings.php:534 +#: mod/settings.php:534 mod/settings.php:535 msgid "disabled" msgstr "" -#: mod/settings.php:533 mod/settings.php:534 +#: mod/settings.php:534 mod/settings.php:535 #, php-format msgid "Built-in support for %s connectivity is %s" msgstr "" -#: mod/settings.php:534 +#: mod/settings.php:535 msgid "OStatus (GNU Social)" msgstr "" -#: mod/settings.php:560 +#: mod/settings.php:561 msgid "Email access is disabled on this site." msgstr "" -#: mod/settings.php:565 mod/settings.php:600 +#: mod/settings.php:566 mod/settings.php:611 msgid "None" msgstr "" -#: mod/settings.php:571 src/Module/BaseSettings.php:78 +#: mod/settings.php:572 src/Module/BaseSettings.php:78 msgid "Social Networks" msgstr "" -#: mod/settings.php:576 +#: mod/settings.php:577 msgid "General Social Media Settings" msgstr "" -#: mod/settings.php:577 -msgid "Accept only top level posts by contacts you follow" +#: mod/settings.php:580 +msgid "Followed content scope" msgstr "" -#: mod/settings.php:577 +#: mod/settings.php:582 msgid "" -"The system does an auto completion of threads when a comment arrives. This " -"has got the side effect that you can receive posts that had been started by " -"a non-follower but had been commented by someone you follow. This setting " -"deactivates this behaviour. When activated, you strictly only will receive " -"posts from people you really do follow." +"By default, conversations in which your follows participated but didn't " +"start will be shown in your timeline. You can turn this behavior off, or " +"expand it to the conversations in which your follows liked a post." msgstr "" -#: mod/settings.php:578 +#: mod/settings.php:584 +msgid "Only conversations my follows started" +msgstr "" + +#: mod/settings.php:585 +msgid "Conversations my follows started or commented on (default)" +msgstr "" + +#: mod/settings.php:586 +msgid "Any conversation my follows interacted with, including likes" +msgstr "" + +#: mod/settings.php:589 msgid "Enable Content Warning" msgstr "" -#: mod/settings.php:578 +#: mod/settings.php:589 msgid "" "Users on networks like Mastodon or Pleroma are able to set a content warning " "field which collapse their post by default. This enables the automatic " @@ -1346,222 +1356,222 @@ msgid "" "affect any other content filtering you eventually set up." msgstr "" -#: mod/settings.php:579 +#: mod/settings.php:590 msgid "Enable intelligent shortening" msgstr "" -#: mod/settings.php:579 +#: mod/settings.php:590 msgid "" "Normally the system tries to find the best link to add to shortened posts. " "If disabled, every shortened post will always point to the original " "friendica post." msgstr "" -#: mod/settings.php:580 +#: mod/settings.php:591 msgid "Enable simple text shortening" msgstr "" -#: mod/settings.php:580 +#: mod/settings.php:591 msgid "" "Normally the system shortens posts at the next line feed. If this option is " "enabled then the system will shorten the text at the maximum character limit." msgstr "" -#: mod/settings.php:581 +#: mod/settings.php:592 msgid "Attach the link title" msgstr "" -#: mod/settings.php:581 +#: mod/settings.php:592 msgid "" "When activated, the title of the attached link will be added as a title on " "posts to Diaspora. This is mostly helpful with \"remote-self\" contacts that " "share feed content." msgstr "" -#: mod/settings.php:582 +#: mod/settings.php:593 msgid "Your legacy ActivityPub/GNU Social account" msgstr "" -#: mod/settings.php:582 +#: mod/settings.php:593 msgid "" "If you enter your old account name from an ActivityPub based system or your " "GNU Social/Statusnet account name here (in the format user@domain.tld), your " "contacts will be added automatically. The field will be emptied when done." msgstr "" -#: mod/settings.php:585 +#: mod/settings.php:596 msgid "Repair OStatus subscriptions" msgstr "" -#: mod/settings.php:589 +#: mod/settings.php:600 msgid "Email/Mailbox Setup" msgstr "" -#: mod/settings.php:590 +#: mod/settings.php:601 msgid "" "If you wish to communicate with email contacts using this service " "(optional), please specify how to connect to your mailbox." msgstr "" -#: mod/settings.php:591 +#: mod/settings.php:602 msgid "Last successful email check:" msgstr "" -#: mod/settings.php:593 +#: mod/settings.php:604 msgid "IMAP server name:" msgstr "" -#: mod/settings.php:594 +#: mod/settings.php:605 msgid "IMAP port:" msgstr "" -#: mod/settings.php:595 +#: mod/settings.php:606 msgid "Security:" msgstr "" -#: mod/settings.php:596 +#: mod/settings.php:607 msgid "Email login name:" msgstr "" -#: mod/settings.php:597 +#: mod/settings.php:608 msgid "Email password:" msgstr "" -#: mod/settings.php:598 +#: mod/settings.php:609 msgid "Reply-to address:" msgstr "" -#: mod/settings.php:599 +#: mod/settings.php:610 msgid "Send public posts to all email contacts:" msgstr "" -#: mod/settings.php:600 +#: mod/settings.php:611 msgid "Action after import:" msgstr "" -#: mod/settings.php:600 src/Content/Nav.php:280 +#: mod/settings.php:611 src/Content/Nav.php:280 msgid "Mark as seen" msgstr "" -#: mod/settings.php:600 +#: mod/settings.php:611 msgid "Move to folder" msgstr "" -#: mod/settings.php:601 +#: mod/settings.php:612 msgid "Move to folder:" msgstr "" -#: mod/settings.php:615 +#: mod/settings.php:626 msgid "Unable to find your profile. Please contact your admin." msgstr "" -#: mod/settings.php:653 src/Content/Widget.php:526 +#: mod/settings.php:664 src/Content/Widget.php:526 msgid "Account Types" msgstr "" -#: mod/settings.php:654 +#: mod/settings.php:665 msgid "Personal Page Subtypes" msgstr "" -#: mod/settings.php:655 +#: mod/settings.php:666 msgid "Community Forum Subtypes" msgstr "" -#: mod/settings.php:662 src/Module/Admin/BaseUsers.php:107 +#: mod/settings.php:673 src/Module/Admin/BaseUsers.php:107 msgid "Personal Page" msgstr "" -#: mod/settings.php:663 +#: mod/settings.php:674 msgid "Account for a personal profile." msgstr "" -#: mod/settings.php:666 src/Module/Admin/BaseUsers.php:108 +#: mod/settings.php:677 src/Module/Admin/BaseUsers.php:108 msgid "Organisation Page" msgstr "" -#: mod/settings.php:667 +#: mod/settings.php:678 msgid "" "Account for an organisation that automatically approves contact requests as " "\"Followers\"." msgstr "" -#: mod/settings.php:670 src/Module/Admin/BaseUsers.php:109 +#: mod/settings.php:681 src/Module/Admin/BaseUsers.php:109 msgid "News Page" msgstr "" -#: mod/settings.php:671 +#: mod/settings.php:682 msgid "" "Account for a news reflector that automatically approves contact requests as " "\"Followers\"." msgstr "" -#: mod/settings.php:674 src/Module/Admin/BaseUsers.php:110 +#: mod/settings.php:685 src/Module/Admin/BaseUsers.php:110 msgid "Community Forum" msgstr "" -#: mod/settings.php:675 +#: mod/settings.php:686 msgid "Account for community discussions." msgstr "" -#: mod/settings.php:678 src/Module/Admin/BaseUsers.php:100 +#: mod/settings.php:689 src/Module/Admin/BaseUsers.php:100 msgid "Normal Account Page" msgstr "" -#: mod/settings.php:679 +#: mod/settings.php:690 msgid "" "Account for a regular personal profile that requires manual approval of " "\"Friends\" and \"Followers\"." msgstr "" -#: mod/settings.php:682 src/Module/Admin/BaseUsers.php:101 +#: mod/settings.php:693 src/Module/Admin/BaseUsers.php:101 msgid "Soapbox Page" msgstr "" -#: mod/settings.php:683 +#: mod/settings.php:694 msgid "" "Account for a public profile that automatically approves contact requests as " "\"Followers\"." msgstr "" -#: mod/settings.php:686 src/Module/Admin/BaseUsers.php:102 +#: mod/settings.php:697 src/Module/Admin/BaseUsers.php:102 msgid "Public Forum" msgstr "" -#: mod/settings.php:687 +#: mod/settings.php:698 msgid "Automatically approves all contact requests." msgstr "" -#: mod/settings.php:690 src/Module/Admin/BaseUsers.php:103 +#: mod/settings.php:701 src/Module/Admin/BaseUsers.php:103 msgid "Automatic Friend Page" msgstr "" -#: mod/settings.php:691 +#: mod/settings.php:702 msgid "" "Account for a popular profile that automatically approves contact requests " "as \"Friends\"." msgstr "" -#: mod/settings.php:694 +#: mod/settings.php:705 msgid "Private Forum [Experimental]" msgstr "" -#: mod/settings.php:695 +#: mod/settings.php:706 msgid "Requires manual approval of contact requests." msgstr "" -#: mod/settings.php:706 +#: mod/settings.php:717 msgid "OpenID:" msgstr "" -#: mod/settings.php:706 +#: mod/settings.php:717 msgid "(Optional) Allow this OpenID to login to this account." msgstr "" -#: mod/settings.php:714 +#: mod/settings.php:725 msgid "Publish your profile in your local site directory?" msgstr "" -#: mod/settings.php:714 +#: mod/settings.php:725 #, php-format msgid "" "Your profile will be published in this node's local " @@ -1569,115 +1579,115 @@ msgid "" "system settings." msgstr "" -#: mod/settings.php:720 +#: mod/settings.php:731 #, php-format msgid "" "Your profile will also be published in the global friendica directories (e." "g. %s)." msgstr "" -#: mod/settings.php:726 +#: mod/settings.php:737 #, php-format msgid "Your Identity Address is '%s' or '%s'." msgstr "" -#: mod/settings.php:737 +#: mod/settings.php:748 msgid "Account Settings" msgstr "" -#: mod/settings.php:745 +#: mod/settings.php:756 msgid "Password Settings" msgstr "" -#: mod/settings.php:746 src/Module/Register.php:162 +#: mod/settings.php:757 src/Module/Register.php:162 msgid "New Password:" msgstr "" -#: mod/settings.php:746 +#: mod/settings.php:757 msgid "" "Allowed characters are a-z, A-Z, 0-9 and special characters except white " "spaces, accentuated letters and colon (:)." msgstr "" -#: mod/settings.php:747 src/Module/Register.php:163 +#: mod/settings.php:758 src/Module/Register.php:163 msgid "Confirm:" msgstr "" -#: mod/settings.php:747 +#: mod/settings.php:758 msgid "Leave password fields blank unless changing" msgstr "" -#: mod/settings.php:748 +#: mod/settings.php:759 msgid "Current Password:" msgstr "" -#: mod/settings.php:748 +#: mod/settings.php:759 msgid "Your current password to confirm the changes" msgstr "" -#: mod/settings.php:749 +#: mod/settings.php:760 msgid "Password:" msgstr "" -#: mod/settings.php:749 +#: mod/settings.php:760 msgid "Your current password to confirm the changes of the email address" msgstr "" -#: mod/settings.php:752 +#: mod/settings.php:763 msgid "Delete OpenID URL" msgstr "" -#: mod/settings.php:754 +#: mod/settings.php:765 msgid "Basic Settings" msgstr "" -#: mod/settings.php:755 src/Module/Profile/Profile.php:144 +#: mod/settings.php:766 src/Module/Profile/Profile.php:144 msgid "Full Name:" msgstr "" -#: mod/settings.php:756 +#: mod/settings.php:767 msgid "Email Address:" msgstr "" -#: mod/settings.php:757 +#: mod/settings.php:768 msgid "Your Timezone:" msgstr "" -#: mod/settings.php:758 +#: mod/settings.php:769 msgid "Your Language:" msgstr "" -#: mod/settings.php:758 +#: mod/settings.php:769 msgid "" "Set the language we use to show you friendica interface and to send you " "emails" msgstr "" -#: mod/settings.php:759 +#: mod/settings.php:770 msgid "Default Post Location:" msgstr "" -#: mod/settings.php:760 +#: mod/settings.php:771 msgid "Use Browser Location:" msgstr "" -#: mod/settings.php:762 +#: mod/settings.php:773 msgid "Security and Privacy Settings" msgstr "" -#: mod/settings.php:764 +#: mod/settings.php:775 msgid "Maximum Friend Requests/Day:" msgstr "" -#: mod/settings.php:764 mod/settings.php:774 +#: mod/settings.php:775 mod/settings.php:785 msgid "(to prevent spam abuse)" msgstr "" -#: mod/settings.php:766 +#: mod/settings.php:777 msgid "Allow your profile to be searchable globally?" msgstr "" -#: mod/settings.php:766 +#: mod/settings.php:777 msgid "" "Activate this setting if you want others to easily find and follow you. Your " "profile will be searchable on remote systems. This setting also determines " @@ -1685,43 +1695,43 @@ msgid "" "indexed or not." msgstr "" -#: mod/settings.php:767 +#: mod/settings.php:778 msgid "Hide your contact/friend list from viewers of your profile?" msgstr "" -#: mod/settings.php:767 +#: mod/settings.php:778 msgid "" "A list of your contacts is displayed on your profile page. Activate this " "option to disable the display of your contact list." msgstr "" -#: mod/settings.php:768 +#: mod/settings.php:779 msgid "Hide your profile details from anonymous viewers?" msgstr "" -#: mod/settings.php:768 +#: mod/settings.php:779 msgid "" "Anonymous visitors will only see your profile picture, your display name and " "the nickname you are using on your profile page. Your public posts and " "replies will still be accessible by other means." msgstr "" -#: mod/settings.php:769 +#: mod/settings.php:780 msgid "Make public posts unlisted" msgstr "" -#: mod/settings.php:769 +#: mod/settings.php:780 msgid "" "Your public posts will not appear on the community pages or in search " "results, nor be sent to relay servers. However they can still appear on " "public feeds on remote servers." msgstr "" -#: mod/settings.php:770 +#: mod/settings.php:781 msgid "Make all posted pictures accessible" msgstr "" -#: mod/settings.php:770 +#: mod/settings.php:781 msgid "" "This option makes every posted picture accessible via the direct link. This " "is a workaround for the problem that most other networks can't handle " @@ -1729,221 +1739,221 @@ msgid "" "public on your photo albums though." msgstr "" -#: mod/settings.php:771 +#: mod/settings.php:782 msgid "Allow friends to post to your profile page?" msgstr "" -#: mod/settings.php:771 +#: mod/settings.php:782 msgid "" "Your contacts may write posts on your profile wall. These posts will be " "distributed to your contacts" msgstr "" -#: mod/settings.php:772 +#: mod/settings.php:783 msgid "Allow friends to tag your posts?" msgstr "" -#: mod/settings.php:772 +#: mod/settings.php:783 msgid "Your contacts can add additional tags to your posts." msgstr "" -#: mod/settings.php:773 +#: mod/settings.php:784 msgid "Permit unknown people to send you private mail?" msgstr "" -#: mod/settings.php:773 +#: mod/settings.php:784 msgid "" "Friendica network users may send you private messages even if they are not " "in your contact list." msgstr "" -#: mod/settings.php:774 +#: mod/settings.php:785 msgid "Maximum private messages per day from unknown people:" msgstr "" -#: mod/settings.php:776 +#: mod/settings.php:787 msgid "Default Post Permissions" msgstr "" -#: mod/settings.php:780 +#: mod/settings.php:791 msgid "Expiration settings" msgstr "" -#: mod/settings.php:781 +#: mod/settings.php:792 msgid "Automatically expire posts after this many days:" msgstr "" -#: mod/settings.php:781 +#: mod/settings.php:792 msgid "If empty, posts will not expire. Expired posts will be deleted" msgstr "" -#: mod/settings.php:782 +#: mod/settings.php:793 msgid "Expire posts" msgstr "" -#: mod/settings.php:782 +#: mod/settings.php:793 msgid "When activated, posts and comments will be expired." msgstr "" -#: mod/settings.php:783 +#: mod/settings.php:794 msgid "Expire personal notes" msgstr "" -#: mod/settings.php:783 +#: mod/settings.php:794 msgid "" "When activated, the personal notes on your profile page will be expired." msgstr "" -#: mod/settings.php:784 +#: mod/settings.php:795 msgid "Expire starred posts" msgstr "" -#: mod/settings.php:784 +#: mod/settings.php:795 msgid "" "Starring posts keeps them from being expired. That behaviour is overwritten " "by this setting." msgstr "" -#: mod/settings.php:785 +#: mod/settings.php:796 msgid "Expire photos" msgstr "" -#: mod/settings.php:785 +#: mod/settings.php:796 msgid "When activated, photos will be expired." msgstr "" -#: mod/settings.php:786 +#: mod/settings.php:797 msgid "Only expire posts by others" msgstr "" -#: mod/settings.php:786 +#: mod/settings.php:797 msgid "" "When activated, your own posts never expire. Then the settings above are " "only valid for posts you received." msgstr "" -#: mod/settings.php:789 +#: mod/settings.php:800 msgid "Notification Settings" msgstr "" -#: mod/settings.php:790 +#: mod/settings.php:801 msgid "Send a notification email when:" msgstr "" -#: mod/settings.php:791 +#: mod/settings.php:802 msgid "You receive an introduction" msgstr "" -#: mod/settings.php:792 +#: mod/settings.php:803 msgid "Your introductions are confirmed" msgstr "" -#: mod/settings.php:793 +#: mod/settings.php:804 msgid "Someone writes on your profile wall" msgstr "" -#: mod/settings.php:794 +#: mod/settings.php:805 msgid "Someone writes a followup comment" msgstr "" -#: mod/settings.php:795 +#: mod/settings.php:806 msgid "You receive a private message" msgstr "" -#: mod/settings.php:796 +#: mod/settings.php:807 msgid "You receive a friend suggestion" msgstr "" -#: mod/settings.php:797 +#: mod/settings.php:808 msgid "You are tagged in a post" msgstr "" -#: mod/settings.php:798 +#: mod/settings.php:809 msgid "You are poked/prodded/etc. in a post" msgstr "" -#: mod/settings.php:800 +#: mod/settings.php:811 msgid "Create a desktop notification when:" msgstr "" -#: mod/settings.php:801 +#: mod/settings.php:812 msgid "Someone liked your content" msgstr "" -#: mod/settings.php:802 +#: mod/settings.php:813 msgid "Someone shared your content" msgstr "" -#: mod/settings.php:804 +#: mod/settings.php:815 msgid "Activate desktop notifications" msgstr "" -#: mod/settings.php:804 +#: mod/settings.php:815 msgid "Show desktop popup on new notifications" msgstr "" -#: mod/settings.php:806 +#: mod/settings.php:817 msgid "Text-only notification emails" msgstr "" -#: mod/settings.php:808 +#: mod/settings.php:819 msgid "Send text only notification emails, without the html part" msgstr "" -#: mod/settings.php:810 +#: mod/settings.php:821 msgid "Show detailled notifications" msgstr "" -#: mod/settings.php:812 +#: mod/settings.php:823 msgid "" "Per default, notifications are condensed to a single notification per item. " "When enabled every notification is displayed." msgstr "" -#: mod/settings.php:814 +#: mod/settings.php:825 msgid "Show notifications of ignored contacts" msgstr "" -#: mod/settings.php:816 +#: mod/settings.php:827 msgid "" "You don't see posts from ignored contacts. But you still see their comments. " "This setting controls if you want to still receive regular notifications " "that are caused by ignored contacts or not." msgstr "" -#: mod/settings.php:818 +#: mod/settings.php:829 msgid "Advanced Account/Page Type Settings" msgstr "" -#: mod/settings.php:819 +#: mod/settings.php:830 msgid "Change the behaviour of this account for special situations" msgstr "" -#: mod/settings.php:822 +#: mod/settings.php:833 msgid "Import Contacts" msgstr "" -#: mod/settings.php:823 +#: mod/settings.php:834 msgid "" "Upload a CSV file that contains the handle of your followed accounts in the " "first column you exported from the old account." msgstr "" -#: mod/settings.php:824 +#: mod/settings.php:835 msgid "Upload File" msgstr "" -#: mod/settings.php:826 +#: mod/settings.php:837 msgid "Relocate" msgstr "" -#: mod/settings.php:827 +#: mod/settings.php:838 msgid "" "If you have moved this profile from another server, and some of your " "contacts don't receive your updates, try pushing this button." msgstr "" -#: mod/settings.php:828 +#: mod/settings.php:839 msgid "Resend relocate message to contacts" msgstr "" @@ -1957,7 +1967,7 @@ msgstr "" msgid "Friend Suggestions" msgstr "" -#: mod/tagger.php:78 src/Content/Item.php:335 src/Model/Item.php:2665 +#: mod/tagger.php:78 src/Content/Item.php:335 src/Model/Item.php:2670 msgid "photo" msgstr "" @@ -2711,7 +2721,7 @@ msgstr "" msgid "%1$s poked %2$s" msgstr "" -#: src/Content/Item.php:327 src/Model/Item.php:2663 +#: src/Content/Item.php:327 src/Model/Item.php:2668 msgid "event" msgstr "" @@ -3062,8 +3072,8 @@ msgid "" "%2$s %3$s" msgstr "" -#: src/Content/Text/BBCode.php:1185 src/Model/Item.php:3194 -#: src/Model/Item.php:3200 src/Model/Item.php:3201 +#: src/Content/Text/BBCode.php:1185 src/Model/Item.php:3199 +#: src/Model/Item.php:3205 src/Model/Item.php:3206 msgid "Link to source" msgstr "" @@ -4235,33 +4245,33 @@ msgstr "" msgid "Edit groups" msgstr "" -#: src/Model/Item.php:1756 +#: src/Model/Item.php:1761 #, php-format msgid "Detected languages in this post:\\n%s" msgstr "" -#: src/Model/Item.php:2667 +#: src/Model/Item.php:2672 msgid "activity" msgstr "" -#: src/Model/Item.php:2669 +#: src/Model/Item.php:2674 msgid "comment" msgstr "" -#: src/Model/Item.php:2672 +#: src/Model/Item.php:2677 msgid "post" msgstr "" -#: src/Model/Item.php:2809 +#: src/Model/Item.php:2814 #, php-format msgid "Content warning: %s" msgstr "" -#: src/Model/Item.php:3159 +#: src/Model/Item.php:3164 msgid "bytes" msgstr "" -#: src/Model/Item.php:3188 src/Model/Item.php:3189 +#: src/Model/Item.php:3193 src/Model/Item.php:3194 msgid "View on separate page" msgstr "" @@ -8643,19 +8653,19 @@ msgstr "" #: src/Module/Profile/Profile.php:326 src/Module/Profile/Profile.php:329 #: src/Module/Profile/Status.php:65 src/Module/Profile/Status.php:68 -#: src/Protocol/Feed.php:990 src/Protocol/OStatus.php:1242 +#: src/Protocol/Feed.php:990 src/Protocol/OStatus.php:1245 #, php-format msgid "%s's timeline" msgstr "" #: src/Module/Profile/Profile.php:327 src/Module/Profile/Status.php:66 -#: src/Protocol/Feed.php:994 src/Protocol/OStatus.php:1246 +#: src/Protocol/Feed.php:994 src/Protocol/OStatus.php:1249 #, php-format msgid "%s's posts" msgstr "" #: src/Module/Profile/Profile.php:328 src/Module/Profile/Status.php:67 -#: src/Protocol/Feed.php:997 src/Protocol/OStatus.php:1249 +#: src/Protocol/Feed.php:997 src/Protocol/OStatus.php:1252 #, php-format msgid "%s's comments" msgstr "" @@ -10585,21 +10595,21 @@ msgstr "" msgid "Show fewer" msgstr "" -#: src/Protocol/OStatus.php:1645 +#: src/Protocol/OStatus.php:1648 #, php-format msgid "%s is now following %s." msgstr "" -#: src/Protocol/OStatus.php:1646 +#: src/Protocol/OStatus.php:1649 msgid "following" msgstr "" -#: src/Protocol/OStatus.php:1649 +#: src/Protocol/OStatus.php:1652 #, php-format msgid "%s stopped following %s." msgstr "" -#: src/Protocol/OStatus.php:1650 +#: src/Protocol/OStatus.php:1653 msgid "stopped following" msgstr "" diff --git a/view/templates/settings/connectors.tpl b/view/templates/settings/connectors.tpl index 0479e99d90..8010cc982d 100644 --- a/view/templates/settings/connectors.tpl +++ b/view/templates/settings/connectors.tpl @@ -11,7 +11,7 @@
- {{include file="field_checkbox.tpl" field=$accept_only_sharer}} + {{include file="field_select.tpl" field=$accept_only_sharer}} {{include file="field_checkbox.tpl" field=$enable_cw}}