# HG changeset patch # User Goffi # Date 1448281182 -3600 # Node ID 31b96ac3eec293d982abc2d9fc575d18d13ae3e0 # Parent 7f0c8856e4e1d2509576964e7765804204a7c97a core (param), plugin file: set security_limit for acount changes, backend (dis)connection, and put a higher one for file send diff -r 7f0c8856e4e1 -r 31b96ac3eec2 src/memory/params.py --- a/src/memory/params.py Sun Nov 22 21:25:09 2015 +0100 +++ b/src/memory/params.py Mon Nov 23 13:19:42 2015 +0100 @@ -53,14 +53,14 @@ - - - - - + + + + + - - + + @@ -458,7 +458,8 @@ @param profile: owner of the param (@ALL@ for everyone) @return: attribute """ - #FIXME: looks really dirty and buggy, need to be reviewed/refactored + # FIXME: looks really dirty and buggy, need to be reviewed/refactored + # FIXME: security_limit is not managed here ! node = self._getParamNode(name, category) if not node: log.error(_(u"Requested param [%(name)s] in category [%(category)s] doesn't exist !") % {'name': name, 'category': category}) diff -r 7f0c8856e4e1 -r 31b96ac3eec2 src/plugins/plugin_misc_file.py --- a/src/plugins/plugin_misc_file.py Sun Nov 22 21:25:09 2015 +0100 +++ b/src/plugins/plugin_misc_file.py Mon Nov 23 13:19:42 2015 +0100 @@ -47,7 +47,7 @@ CONFIRM_TITLE = D_(u'Confirm file transfer') CONFIRM_OVERWRITE = D_(u'File {} already exists, are you sure you want to overwrite ?') CONFIRM_OVERWRITE_TITLE = D_(u'File exists') -SECURITY_LIMIT = 10 +SECURITY_LIMIT = 30 PROGRESS_ID_KEY = 'progress_id'