37 | | Second and maybe better way is to download and unpack somewhere source zip package and then just run "setup.py install". Setup should take care of all dependences (PyCaptcha and PIL) and prepaire plugin to be turned on in WebAdmin/plugins. Then you must assign some permissions of downloader to someone and you can start trying Downloader plug-in... |
| 38 | '''SOURCE''' |
| 39 | Second and maybe better way is to download and unpack somewhere source zip package and then just run "setup.py install". Setup should take care of all dependences (PyCaptcha and PIL) and prepare plugin to be turned on in WebAdmin/plugins. Then you must assign some permissions of downloader to someone and you can start trying Downloader plug-in... |
| 40 | |
| 41 | == Permissions == |
| 42 | |
| 43 | '''Downloader plug-in defines three permissions:[[BR]] |
| 44 | DOWNLOADER_DOWNLOAD''' - lets user to download things from main part of plug-in, if you like to let all users download from donwloader, just get this permission to user anonymous.[[BR]] |
| 45 | '''DOWNLOADER_STATS''' - lets user to browse part of statistics in the main part of Downloader (user will be able to see links to statistics in the right top corner of the page).[[BR]] |
| 46 | '''DOWNLOADER_ADMIN''' - lets user to upload files, manage files, releases and categories, browse fill up's of questionnaire, delete fill up's of questionnaire and manage settings of Downloader plug-in. Note that this permission should never be given to user anonymous! |
| 47 | |
| 48 | == Special features == |
| 49 | |
| 50 | This features are availible only if you have Downloader installed in unzipped form (doesn't work in egg or zip file). |
| 51 | |
| 52 | '''MIME list''' |
| 53 | In tracdownloader directroy there is a file mime_list.txt which contains list of known MIME types for downloader, you can easily add new ones or delete unneeded, if there is no record found for particular file extension in this list, Downloader uses MIME of application/octet-stream. |
| 54 | |
| 55 | '''EDIT QUESTIONNAIRE''' |
| 56 | The file form_data.py contains structure used to generate questionnaire before download of file. You can easily edit this to get from users the data you exactly want. There is big decription inside of this file. |