On Oct 3, 11:54 pm, David Struck <[EMAIL PROTECTED]> wrote:
> * How do I view a list of current users (other than viewing > /trac/projectname/conf/htpasswd)? Authentication of users happens at the web server, and gets passed to Trac. Trac will use username of the authenticated user, but does not keep a record of this apart from storing it in the session tables in the database (which is just history and preferences, and not related to management). The user can be assigned permissions in Trac (or belong to 'anonymous' or 'authenticated' default groups) that will then be applied on login to Trac. So, basically it is disconnected from user management, and in like in your common case the htpasswd file is the only place to view users that are currently allowed to login. That also means you can use any of a large variety of authentication mechanisms supported by your web server - Trac has no knowledge or preference as long as the web server approves the user. > * How do I view a list of current plugins? If I go to the WebAdmin > page and click Plugins, it looks like some are missing. (I installed > CtxtnavAdd without error. It should be in that list, right?) Yes it should if installed correctly, and the plugin is enabled and working. Your trac.ini needs 'ctxtnavadd.* = enabled' (or whatever the namespace of the plugin is called) to be active. If it still does not work, you need to enable Trac logging, restart server, make a request to the server, and read the logs to see what plugins load - and what plugins give some sort of error. > *http://trac.edgewall.org/wiki/TracPluginsdescribes the process for > installing a plugin for a single project and for all projects. For the > former, I know the EGG file winds up in /trac/projectname/plugins. Where > does the EGG go for the latter? They are regular Python modules, and when doing easy_install or python setup.py install, they should go into your Python lib/site-packages directory - wherever that is on your distribution. A tip for finding out is to run this on the command line: python -c "import cxtnavadd; print ctxtnavadd.__file__" (or whatever the module namespace is) That should give you a path inside the .egg file (zipped source) or .egg folder (unzipped). > * How do I uninstall a plugin? (In the WebAdmin page, the uninstall > button is disabled for all plugins.) Python distutils / setuptools does not have working uninstall support. However, the .egg file/folder is self-contained, so just removing the egg + remove the reference in the site-packages/easy-install.pth or setuptools.pth + restarting, is just like it never existed. :::simon http://www.coderesort.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
