Mercurial > libervia-backend
comparison src/plugins/plugin_misc_file.py @ 1647:31b96ac3eec2
core (param), plugin file: set security_limit for acount changes, backend (dis)connection, and put a higher one for file send
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 23 Nov 2015 13:19:42 +0100 |
parents | 7f0c8856e4e1 |
children | 518a42587600 |
comparison
equal
deleted
inserted
replaced
1646:7f0c8856e4e1 | 1647:31b96ac3eec2 |
---|---|
45 SENDING_TITLE = D_(u'File sending') | 45 SENDING_TITLE = D_(u'File sending') |
46 CONFIRM = D_(u'{peer} wants to send the file "{name}" to you:\n{desc}\n\nThe file has a size of {size_human}\n\nDo you accept ?') | 46 CONFIRM = D_(u'{peer} wants to send the file "{name}" to you:\n{desc}\n\nThe file has a size of {size_human}\n\nDo you accept ?') |
47 CONFIRM_TITLE = D_(u'Confirm file transfer') | 47 CONFIRM_TITLE = D_(u'Confirm file transfer') |
48 CONFIRM_OVERWRITE = D_(u'File {} already exists, are you sure you want to overwrite ?') | 48 CONFIRM_OVERWRITE = D_(u'File {} already exists, are you sure you want to overwrite ?') |
49 CONFIRM_OVERWRITE_TITLE = D_(u'File exists') | 49 CONFIRM_OVERWRITE_TITLE = D_(u'File exists') |
50 SECURITY_LIMIT = 10 | 50 SECURITY_LIMIT = 30 |
51 | 51 |
52 PROGRESS_ID_KEY = 'progress_id' | 52 PROGRESS_ID_KEY = 'progress_id' |
53 | 53 |
54 | 54 |
55 class SatFile(object): | 55 class SatFile(object): |