From d609d2d2ade122aacac6f0dd48249888cb76522a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 27 Feb 2017 14:53:00 -0800 Subject: document the filesize limitations on uploading via /cloud, fix non-functional anchor --- doc/member/member_guide.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/member/member_guide.bb b/doc/member/member_guide.bb index c0fdcbb50..2edaa321b 100644 --- a/doc/member/member_guide.bb +++ b/doc/member/member_guide.bb @@ -816,16 +816,20 @@ To delete attachments or change the permissions on the stored files, visit [obse [h4]Web Access[/h4] -Your files are visible on the web at the location [observer=1][baseurl]/cloud/[observer.webname][/observer][observer=0][baseurl]/cloud/username[/observer] to anybody who is allowed to view them. If the viewer has sufficient privileges, they may also have the ability to create new files and folders/directories. +Your files are visible on the web at the location [observer=1][baseurl]/cloud/[observer.webname][/observer][observer=0][baseurl]/cloud/username[/observer] to anybody who is allowed to view them. If the viewer has sufficient privileges, they may also have the ability to create new files and folders/directories. This should only be used for smaller files and photos (up to a few megabytes) as it uses internal memory. For larger files (videos, music, etc.), please upload using WebDAV. These files may still be retrieved via web access. [h4]WebDAV access[/h4] -See: [zrl=[baseurl]/help/member/member_guide#Cloud_Desktop_Clients]Cloud Desktop Clients[/zrl] +WebDAV provides a way to copy files directly to or from your computer's operating system, where your cloud files appear as a virtual disk drive. This should be used to upload large files such as video and audio; as it is not limited to available memory. See [zrl=help/member/member_guide#Cloud_Desktop_Clients]Cloud Desktop Clients[/zrl] below. + [h4]Permissions[/h4] When using WebDAV, the file is created with your channel's default file permissions and this cannot be changed from within the operating system. It also may not be as restrictive as you would like. What we've found is that the preferred method of making files private is to first create folders or directories; then visit [observer=1][baseurl]/cloud/[observer.webname][/observer][observer=0][baseurl]/cloud/username[/observer] select the directory and change the permissions. Do this before you put anything into the directory. The directory permissions take precedence so you can then put files or other folders into that container and they will be protected from unwanted viewers by the directory permissions. It is common for folks to create a "personal" or "private" folder which is restricted to themselves. You can use this as a personal cloud to store anything from anywhere on the web or any computer and it is protected from others. You might also create folders for "family" and "friends" with permission granted to appropriate privacy groups. +[h3]Cloud Desktop Clients[/h3] + + [h4]Cloud Desktop Clients - Windows[/h4] WebDAV using Windows 7 graphical user interface wizard: -- cgit v1.2.3 From b5481edfd7de5010d4daf94e0162dd7cf65ec3cf Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 27 Feb 2017 15:19:50 -0800 Subject: a bit more DAV doco improvement --- doc/member/member_guide.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/member/member_guide.bb b/doc/member/member_guide.bb index 2edaa321b..50f0b581b 100644 --- a/doc/member/member_guide.bb +++ b/doc/member/member_guide.bb @@ -836,7 +836,7 @@ WebDAV using Windows 7 graphical user interface wizard: 1. Left-click the Start-button to open the start menu. 2. Right-click the My computer icon to access its menu. 3. Left-click Map network drive... to open the connection dialog wizard. -4. Type #^[url=https://example.net/dav/your_channel_name]https://example.net/dav/your_channel_name[/url] in the textbox and click the Complete button where "example.net" is the URL of your hub. +4. Type '[baseurl]/dav/nickname' in the textbox (replace nickname with your channel nickname) and click the Complete button. 5. Type your $Projectname channel nickname. IMPORTANT - NO at-sign or domain name. 6. Type your $Projectname password -- cgit v1.2.3 From 70ca4a7fea3847ea0f2022a7425fd1b0a40e43c3 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 2 Mar 2017 17:39:57 -0800 Subject: document the activity widget --- doc/Widgets.md | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/Widgets.md b/doc/Widgets.md index 8442bf687..4ad899a0f 100644 --- a/doc/Widgets.md +++ b/doc/Widgets.md @@ -117,6 +117,7 @@ Some/many of these widgets have restrictions which may restrict the type of page * forums - provide a list of connected public forums with unseen counts for the current logged-in channel.
 
+* activity - provide a list of authors of unread network content for the current logged-in channel. * album - provides a widget containing a complete photo album from albums belonging to the page owner; this may be too large to present in a sidebar region as is best implemented as a content region widget. * args: -- cgit v1.2.3 From 4f5e9d77b24be8adeefa7823f52a2277808ec11a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 5 Mar 2017 20:45:21 -0800 Subject: remove include/probe.php which has never completed development and has never been used --- doc/hook/probe_well_known.bb | 3 --- doc/hooklist.bb | 3 --- 2 files changed, 6 deletions(-) delete mode 100644 doc/hook/probe_well_known.bb (limited to 'doc') diff --git a/doc/hook/probe_well_known.bb b/doc/hook/probe_well_known.bb deleted file mode 100644 index 62898c536..000000000 --- a/doc/hook/probe_well_known.bb +++ /dev/null @@ -1,3 +0,0 @@ -[h2]probe_well_known[/h2] - -This hook is under construction and not currently used - see include/probe.php \ No newline at end of file diff --git a/doc/hooklist.bb b/doc/hooklist.bb index fcd0e2aff..137bc1b38 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -491,9 +491,6 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/prepare_body_init]prepare_body_init[/zrl] Called before generating the HTML for a displayed conversation item -[zrl=[baseurl]/help/hook/probe_well_known]probe_well_known[/zrl] - under construction - [zrl=[baseurl]/help/hook/proc_run]proc_run[/zrl] Called when invoking PHP sub processes -- cgit v1.2.3 From 61257094b7befe12dadbd3593fcfa70d09da2fbb Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 12 Mar 2017 22:21:49 +0100 Subject: fix help menu --- doc/toc.html | 70 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'doc') diff --git a/doc/toc.html b/doc/toc.html index 3c9c5c299..11635930e 100644 --- a/doc/toc.html +++ b/doc/toc.html @@ -1,30 +1,30 @@
-
+

About

- -
+

Members

-
@@ -33,12 +33,12 @@ Administrators
-
@@ -47,14 +47,14 @@ Developers
-
@@ -63,10 +63,10 @@ Tutorials
-
@@ -74,16 +74,16 @@ toc = {}; // Generate the table of contents in the side nav menu (see view/tpl/help.tpl) $(document).ready(function () { - $(".panel-collapse.in").find('a').each(function(){ + $(".doco-section").find('a').each(function(){ var url = document.createElement('a'); url.href = window.location; var pageName = url.href.split('/').pop().split('#').shift().split('?').shift(); var linkName = $(this).attr('href').split('/').pop(); if(pageName === linkName) { - var tocUl = $(this).closest('li').append('
    ').find('ul'); + var tocUl = $(this).closest('a').append('
      ').find('ul'); tocUl.removeClass(); // Classes are automatically added to
        elements by something else tocUl.toc({content: "#doco-content", headings: "h3"}); - tocUl.addClass('toc-content sub-menu'); + tocUl.addClass('toc-content'); tocUl.attr('id', 'doco-side-toc'); } -- cgit v1.2.3 From 0f7832dc30fb4d8aedd24b6ad8a9e48876a77dd0 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 13 Mar 2017 16:19:47 -0700 Subject: code_allowed is a real mess. Start the cleanup by remving the account level code allow and limiting to specific channels only. This reduces the possibility of cross channel security issues coming into play. Then provide a single function for checking the code permission. This is only partially done as we often need to check against the observer or logged in channel as well as the resource owner to ensure that this only returns true for local channels which also own the requested resource. --- doc/database/db_account.bb | 1 - 1 file changed, 1 deletion(-) (limited to 'doc') diff --git a/doc/database/db_account.bb b/doc/database/db_account.bb index 354f2d3a8..35d7a9eb3 100644 --- a/doc/database/db_account.bb +++ b/doc/database/db_account.bb @@ -58,7 +58,6 @@ define ( 'ACCOUNT_PENDING', 0x0010 ); * Account roles */ -define ( 'ACCOUNT_ROLE_ALLOWCODE', 0x0001 ); // 1 - this account can create content with PHP/Javascript define ( 'ACCOUNT_ROLE_SYSTEM', 0x0002 ); // 2 - this is the special system account define ( 'ACCOUNT_ROLE_DEVELOPER', 0x0004 ); define ( 'ACCOUNT_ROLE_ADMIN', 0x1000 ); // 4096 - this account is an administrator -- cgit v1.2.3 From b2a51db14e61e3f742b4a0e11bcb22e5c6e12800 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Mon, 27 Mar 2017 15:49:48 -0700 Subject: add 'author_is_pmable()' function with plugin hooks to control whether or not to display a 'send mail' link in the thread author menu. --- doc/hook/author_is_pmable.bb | 14 ++++++++++++++ doc/hooklist.bb | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 doc/hook/author_is_pmable.bb (limited to 'doc') diff --git a/doc/hook/author_is_pmable.bb b/doc/hook/author_is_pmable.bb new file mode 100644 index 000000000..708350673 --- /dev/null +++ b/doc/hook/author_is_pmable.bb @@ -0,0 +1,14 @@ +[h2]author_is_pmable[/h2] + +Called from thread action menu before returning a 'send mail' link for the post author. Not all authors will be able to receive private mail, for instance those on other networks with incompatible mail systems. + +By default author_is_pmable() returns true for 'zot' xchans, and false for all others. + +The plugin is passed an array + + [ 'xchan' => $author_xchan, 'result' => 'unset' ] + +A plugin which sets the 'result' to something besides 'unset' will over-ride the default behaviour. A value of true will enable the 'send mail' link and the private mail recipient will be set to the author's xchan_hash. A value of false will disable the 'send mail' link. + + + diff --git a/doc/hooklist.bb b/doc/hooklist.bb index 137bc1b38..6933edad2 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -28,7 +28,7 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/account_settings]account_settings[/zrl] Called when generating the account settings form -[zrl=[baseurl]/help/hook/settings_account]account_settings_post[/zrl] +[zrl=[baseurl]/help/hook/account_settings_post]account_settings_post[/zrl] Called when posting from the account settings form [zrl=[baseurl]/help/hook/activity_received]activity_received[/zrl] @@ -64,6 +64,9 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/authenticate]authenticate[/zrl] Can provide alternate authentication mechanisms +[zrl=[baseurl]/help/hook/author_is_pmable]author_is_pmable[/zrl] + Called from the thread action menu to determine if we can send private mail to the post author + [zrl=[baseurl]/help/hook/bb2diaspora]bb2diaspora[/zrl] called when converting bbcode to markdown -- cgit v1.2.3 From c20aa6062c38d81d19d53bad3a65f78e95b126c9 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 28 Mar 2017 16:02:47 -0700 Subject: get rid of get_app() --- doc/dev-function-overview.md | 4 ---- 1 file changed, 4 deletions(-) (limited to 'doc') diff --git a/doc/dev-function-overview.md b/doc/dev-function-overview.md index fa8a98ff3..cd2526ead 100644 --- a/doc/dev-function-overview.md +++ b/doc/dev-function-overview.md @@ -15,10 +15,6 @@ Returns authenticated numeric channel_id if authenticated and connected to a cha Returns authenticated string hash of Red global identifier, if authenticated via remote auth, or an empty string. -* get_app() - -Returns the global app structure ($a). No longer used as App is a static class - * App::get_observer() returns an xchan structure representing the current viewer if authenticated (locally or remotely). -- cgit v1.2.3 From 635b8ff73aca5d1a8ba6ea5bb575f3f2838d41a0 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sat, 29 Apr 2017 12:42:46 -0400 Subject: Update api_zot.bb Fix incorrect parameter name --- doc/developer/api_zot.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/developer/api_zot.bb b/doc/developer/api_zot.bb index 1314f90b5..ddca65b4d 100644 --- a/doc/developer/api_zot.bb +++ b/doc/developer/api_zot.bb @@ -28,7 +28,7 @@ GET /api/z/1.0/files Options: - - hash + - filehash return only entries matching hash (exactly) - filename -- cgit v1.2.3 From 153ffbe55865c10a5cf54aef1f9893a6f2942f46 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Wed, 3 May 2017 20:56:14 -0400 Subject: Add contributor to credits --- doc/about/hubzilla_project.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/about/hubzilla_project.bb b/doc/about/hubzilla_project.bb index 7a584687d..f9bc920f8 100644 --- a/doc/about/hubzilla_project.bb +++ b/doc/about/hubzilla_project.bb @@ -182,4 +182,5 @@ even if we have had our occasional disagreements. [li]Simó Albert i Beltran[/li] [li]Manuel Reva[/li] [li]Manuel Jiménez Friaza[/li] -[/list] \ No newline at end of file +[li]Gustav Wall aka "neue medienordnung plus"[/li] +[/list] -- cgit v1.2.3