Changes between Version 16 and Version 17 of TracDownloaderPlugin


Ignore:
Timestamp:
Dec 12, 2007 2:22:34 PM (7 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracDownloaderPlugin

    v16 v17  
    3131You can check out TracDownloaderPlugin from [http://trac-hacks.org/svn/tracdownloaderplugin here] using Subversion, or [source:tracdownloaderplugin browse the source] with Trac. 
    3232 
    33 == Example == 
     33== How to start == 
    3434 
     35'''EGG''' 
    3536The easiest way to start using Downloader plug-in is to get downloaded python egg into plugin directory of project environment (egg is most probably python version independent, just rename it, but who knows, there's still source package...), after that you must turn both modules of Downloader on in WebAdmin/plugins (Downloader is dependent on WebAdmin plug-in). And finally there is need to get some permissions of Downloader to some users... In this case if you like to use PyCaptcha, you must take care of installing it by yourself, PyCaptcha is dependent on PIL so you must download it too. 
    3637 
    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''' 
     39Second 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]] 
     44DOWNLOADER_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 
     50This features are availible only if you have Downloader installed in unzipped form (doesn't work in egg or zip file). 
     51 
     52'''MIME list''' 
     53In 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''' 
     56The 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. 
    3857 
    3958== Recent Changes ==