From 478e7c4479f0c994fb9119d5b44032cc072b7c0a Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 19 Oct 2014 15:54:51 -0700 Subject: doc updates --- doc/html/classRedMatrix_1_1RedDAV_1_1RedBrowser.html | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'doc/html/classRedMatrix_1_1RedDAV_1_1RedBrowser.html') diff --git a/doc/html/classRedMatrix_1_1RedDAV_1_1RedBrowser.html b/doc/html/classRedMatrix_1_1RedDAV_1_1RedBrowser.html index 5f0a97269..bebe6019d 100644 --- a/doc/html/classRedMatrix_1_1RedDAV_1_1RedBrowser.html +++ b/doc/html/classRedMatrix_1_1RedDAV_1_1RedBrowser.html @@ -137,6 +137,7 @@ Public Member Functions  Creates the directory listing for the given path. More...
   userReadableSize ($size) + Returns a human readable formatted string for filesizes. More...
   htmlActionsPanel (DAV\INode $node, &$output)  Creates a form to add new folders and upload files. More...
@@ -161,6 +162,7 @@ Private Attributes

Detailed Description

Provides a DAV frontend for the webbrowser.

RedBrowser is a SabreDAV server-plugin to provide a view to the DAV storage for the webbrowser.

+

http://opensource.org/licenses/mit-license.php The MIT License (MIT)

Constructor & Destructor Documentation

@@ -177,11 +179,12 @@ Private Attributes

Constructor for RedBrowser class.

-

$enablePost will be activated through set_writeable() in a later stage. At the moment the write_storage permission is only valid for the whole folder. No file specific permissions yet.

+

$enablePost will be activated through set_writeable() in a later stage. At the moment the write_storage permission is only valid for the whole folder. No file specific permissions yet.

+
Todo:
disable enablePost by default and only activate if permissions grant edit rights.

Disable assets with $enableAssets = false. Should get some thumbnail views anyway.

Parameters
- +
RedBasicAuth&$auth
RedBasicAuth&$auth
@@ -385,7 +388,8 @@ Private Attributes

The DAV browser is instantiated after the auth module and directory classes but before we know the current directory and who the owner and observer are. So we add a pointer to the browser into the auth module and vice versa. Then when we've figured out what directory is actually being accessed, we call the following function to decide whether or not to show web elements which include writeable objects.

-
Todo:
Maybe this can be solved with some $server->subscribeEvent()?
+

It only disable/enable the visible parts. Not the POST handler which handels the actual requests when uploading files or creating folders.

+
Todo:
Maybe this whole way of doing this can be solved with some $server->subscribeEvent().
@@ -403,6 +407,16 @@ Private Attributes
+

Returns a human readable formatted string for filesizes.

+

Don't we need such a functionality in other places, too?

+
Parameters
+ + +
int$sizefilesize in bytes
+
+
+
Returns
string
+

Referenced by RedMatrix\RedDAV\RedBrowser\generateDirectoryIndex().

-- cgit v1.2.3