~ubuntu-branches/ubuntu/oneiric/moin/oneiric-security

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/filemanager/connectors/lasso/config.lasso

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-30 12:55:34 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100330125534-4c2ufc1rok24447l
Tags: 1.9.2-2ubuntu1
* Merge from Debian testing (LP: #521834). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason for us
   to pull this in by default currently. Note: This isn't necessary anymore
   but needs a MIR for fckeditor, so postpone dropping this change until
   lucid+1
* debian/rules:
  - Replace hardcoded python2.5 with python* and hardcore python2.6 for ln
* debian/control.in: drop versioned depends on cdbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[//lasso
2
 
/*
3
 
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5
 
 *
6
 
 * == BEGIN LICENSE ==
7
 
 *
8
 
 * Licensed under the terms of any of the following licenses at your
9
 
 * choice:
10
 
 *
11
 
 *  - GNU General Public License Version 2 or later (the "GPL")
12
 
 *    http://www.gnu.org/licenses/gpl.html
13
 
 *
14
 
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
 
 *    http://www.gnu.org/licenses/lgpl.html
16
 
 *
17
 
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18
 
 *    http://www.mozilla.org/MPL/MPL-1.1.html
19
 
 *
20
 
 * == END LICENSE ==
21
 
 *
22
 
 * Configuration file for the File Manager Connector for Lasso.
23
 
 */
24
 
 
25
 
    /*.....................................................................
26
 
    The connector uses the file tags, which require authentication. Enter a
27
 
    valid username and password from Lasso admin for a group with file tags
28
 
    permissions for uploads and the path you define in UserFilesPath below.
29
 
    */
30
 
 
31
 
        var('connection') = array(
32
 
                -username='xxxxxxxx',
33
 
                -password='xxxxxxxx'
34
 
        );
35
 
 
36
 
 
37
 
    /*.....................................................................
38
 
    Set the base path for files that users can upload and browse (relative
39
 
    to server root).
40
 
 
41
 
    Set which file extensions are allowed and/or denied for each file type.
42
 
    */
43
 
        var('config') = map(
44
 
                'Enabled' = false,
45
 
                'UserFilesPath' = '/userfiles/',
46
 
                'Subdirectories' = map(
47
 
                        'File' = 'File/',
48
 
                        'Image' = 'Image/',
49
 
                        'Flash' = 'Flash/',
50
 
                        'Media' = 'Media/'
51
 
                ),
52
 
                'AllowedExtensions' = map(
53
 
                        'File' = array('7z','aiff','asf','avi','bmp','csv','doc','fla','flv','gif','gz','gzip','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','ods','odt','pdf','png','ppt','pxd','qt','ram','rar','rm','rmi','rmvb','rtf','sdc','sitd','swf','sxc','sxw','tar','tgz','tif','tiff','txt','vsd','wav','wma','wmv','xls','xml','zip'),
54
 
                        'Image' = array('bmp','gif','jpeg','jpg','png'),
55
 
                        'Flash' = array('swf','flv'),
56
 
                        'Media' = array('aiff','asf','avi','bmp','fla','flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv')
57
 
                ),
58
 
                'DeniedExtensions' = map(
59
 
                        'File' = array(),
60
 
                        'Image' = array(),
61
 
                        'Flash' = array(),
62
 
                        'Media' = array()
63
 
                )
64
 
        );
65
 
]