Simple View Extensions

How to

Supported Extensions

AFSACLManager

Web interface AFS ACL manager
# SETUP:
# allow_afsaclchanges - (dis)allows AFS ACL changes
# template - default template
# disable_fileactionpopup - disables popup menu entry
# disable_apps - disables apps entry
# ptscmd - path to the pts command (default: /usr/bin/pts)

AFSGroupManager

Web interface afs group manager
# SETUP:
# disallow_afsgroupchanges - disallows afs group changes 
# ptscmd - sets the AFS pts command (default: /usr/bin/pts)
# disable_fileactionpopup - disables file action entry in popup menu
# disable_apps - disables sidebar menu entry
# template - sets the template (default: afsgroupmanager)

Diff

Web interface compare dialog
# SETUP:
# diff - sets the path to GNU diff (default: /usr/bin/diff)
# disable_fileactionpopup - disables file action entry in popup menu
# enable_apps - enables sidebar menu entry
# files_only - disables folder comparison (recommended for SMB, DBB) 

DiskUsage

Web interface disk usage dialog
# SETUP:
# enable_fileaction - enables file action entry
# disable_fileactionpopup - disables file action entry in popup menu
# disable_apps - disables sidebar menu entry
# timeout - timeout in seconds (default: 60)
# filelimit - limits file count for treemap (default: 50)
# folderlimit - limits folder count for details and treemap (default: 50)
# template - dialog template (default: diskusage)
# followsymlinks - follows symbolic links (default: 1 (on))

Download

Web interface
# SETUP:
# disable_fileaction - disables file action entry
# disable_fileactionpopup - disables file action entry in popup menu
# enable_apps - enables sidebar menu entry
# disable_binarydownload - sets the right MIME type 

Feedback

Web interface Feedback
# SETUP:
# contact - TO recipient address[es] (default: d.rohde@cms.hu-berlin.de)
# contact_cc - CC recipient address[es] (default: undef)
# contact_bcc - BCC recipient address[es] (default: undef)
# emailallowed - enables email field in feedback form 
#                (default: 0 [disabled])
# domain - mail domain for 'from' address (only used if a REMOTE_USER 
#          doesn't contain a domain)
# subject - email subject (default: "WebDAV CGI")
# body - email body 
#     (default: "\$msg\n\n%s\n" [%s - client info data, \$msg - message])
# clientinfo - if enabled add client info to feedback mail 
#              (default: 1 [enabled])
# mailrelay - sets the host(name|ip) of the mail relay 
#             (default: localhost)
# timeout - mail relay timeout in seconds (default: 2)
# sizelimit - defines the mail size limit excepted by your mail relay 
#             (default: 20971520 [=20MB])

GPX Viewer

Web interface GPX Viewer

HexDump

Web interface Hex Dump dialog
# SETUP:
# sizelimit - file size limit (default: 2097152 (=2MB)) 
# chunksize - chunk size (bytes in a row, default: 16) 

Highlighter

Web interface
# SETUP:
# namespace - XML namespace for attributes (default:
# {https://DanRohde.github.io/webdavcgi/extension/Highlighter/$REMOTE_USER})
# attributes - CSS attributes to change for a file list entry
# maxpresetentries - number of entries in the preset entry menu (default: 5)
# disable_popup - disables Highlighter menu in context menu
# disable_filelistaction - disables Highlighter menu button on toolbar

History

Web interface

ImageInfo

Web interface Image Information
# SETUP:
#   hidegroups - sets a list of groups to hide (default: ['ExifTool'])

Localizer

Web interface Localizer
# SETUP:

MotD

Web interface Image Information
# motd - message file (HTML is allowed) and it can handle filenames with
#        '_$LANG' suffixes (e.g /etc/motd_de)
# motdmessage - motd as text; if exists motd parameter will be ignored
# motdtitle - motd dialog title (default: from locale files: motd.title)
# session - 1: (default) show MOTD every session, 0: otherwise
# pullinterval - 0 (default - no pilling) in seconds
#               (Web browser pulls every 'pollinterval' seconds for motd changes)

ODFConverter

Web interface
# SETUP:
# ooffice - path to ooffice (default: /usr/bin/soffice)

Permissions

Web interface permissions dialog
# SETUP:
# disable_fileactionpopup - disables popup menu entry
# disable_apps - disables apps entry

PosixAclManager

Web interface POSIX ACL manager dialog
# SETUP:
# getfacl - getfacl path (default: /usr/bin/getfacl)
# setfacl - setfacl path (default: /usr/bin/setfacl)

PublicUri

Go to the PublicUri page.

QuickToggle

Web interface
# toggles - template file
# disable_filterbox - disables filterbox entry
# enable_apps - enables sidebar menu entry 
# enable_pref - enables sidebar menu entry (after preferences)
Web interface search dialog
# disable_fileactionpopup - disables file action entry in popup menu
# disable_apps - disables sidebar menu entry
# allow_contentsearch - allows file content search
# resultlimit - sets result limit (default: 1000)
# searchtimeout - sets a timeout in seconds (default: 30 seconds) 
# sizelimit - sets size limit for content search (default: 2097152 (=2MB))
# disable_dupseaerch - disables duplicate file search
# maxdepth - maximum search level (default: 100)
# duplicate_sample_size - sample size for doublet search (default: 1024 (=1KB))

Redirect

Web interface redirect link
# SETUP:
# redirect - sets folder/files for a redirect
#             format: { '/full/file/path' => 'url' , ... }
# enable_directredirect - enables redirects of direct calls to 
#                         redirected paths (default: off)

SaveSettings

Web interface
# SETUP:
# settings.savesettings - default behavior
#     (one of savesettings.dontsave, savesettings.saveall, 
#      savesettings.savesettingsonly, savesettings.savebookmarksonly)

SendByMail

Web interface send by mail dialog
# SETUP:
# mailrelay - sets the host(name|ip) of the mail relay  (default: localhost)
# login - sets the login for the mail relay (default: not used)
# password - sets the password for the login (default: not used)
# sizelimit - sets the mail size limit
#             (depends on your SMTP setup, default: 20971520 bytes)
# defaultfrom - sets default sender mail address (default: REMOTE_USER)
# defaultto - sets default recipient (default: empty string)
# defaultsubject - sets default subject (default: empty string)
# defaultmessage - sets default message (default: empty string)
# faultzipfilename - sets a default filename for ZIP files
# enable_savemailasfile - allows to save a mail as a eml file
# disable_fileactionpopup - disables entry in popup menu
# disable_fileaction - disables entry in toolbar
# enable_apps - enables sidebar menu entry
# addressboook - Perl module name with a address book implementation
#                LDAP: 'WebInterface::Extension::SendByMail::LdapAddressbook'
#   ldap.server - sets the LDAP server name (IP or hostname)
#   ldap.basedn - sets base DN for entry search 
#   ldap.filter - sets search filter (default: '(|(mail=*%s*)(cn=*%s*))' )
#   ldap.scope - sets search scope (default: 'sub')
#   ldap.timelimit - sets search time limit in seconds (default: 5)
#   ldap.sizelimit - sets number of search results (default: 5)
#   ldap.cn - sets CN attribute name (default: 'cn')
#   ldap.mail - sets mail attribute name (default: 'mail')
#   ldap.debug - sets debug level (default: 0) 
#                (see man Net::LDAP  3 - in/out hexdump, 12 - in/out dump)
#   ldap.starttls - enables TLS support (default: 0 (off))
#   ldap.verify - enables certificate verification for TLS (default: 'required')
#   ldap.sslversion - sets SSL version (default: 'tlsv1')
#   ldap.binddn - sets DN for LDAP login (default: 0 (off))
#   ldap.password - sets password for LDAP login 

SourceCodeViewer

Web interface Source Code Viewer dialog
# SETUP:
# supportedsuffixes - list of supported file suffixes (without a dot)
# sizelimit - file size limit (default:  2097152 (=2MB))

TextEditor

Web interface text editor dialog
# SETUP:
# editablefiles - list of regular expressions to identify text files
# editablecategories - regular expression of categories (default: (text|soruce|shell|config|markup))
# disableckeditor - disables CKEditor for HTML editing
# sizelimit - size limit for text files in bytes (default: 2097152 (=2MB))
# template - template file (default: editform)

VideoJS

Web interface VideoJS dialog
# SETUP:
# disable_fileactionpopup - disables file action entry in popup menu
# disable_fileaction - disables file action
# template - viewerjs template filename 

ViewerJS

Web interface ViewerJS dialog
# SETUP:
# disable_fileactionpopup - disables file action entry in popup menu
# disable_fileaction - disables file action 

Zip

Web interface
# SETUP:
# disable_fileaction - disables fileaction entry
# disable_filelistaction - disables fileaction entry
# disable_fileactionpopup - disables fileaction entry in popup menu
# disable_new - disables new menu entry
# enable_apps - enables sidebar menu entry
© ZE CMS, Humboldt-Universität zu Berlin | Written 2011-2015 by Daniel Rohde