Changes between Version 5 and Version 6 of AddStaticResourcesPlugin
- Timestamp:
- Nov 26, 2015, 12:57:54 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AddStaticResourcesPlugin
v5 v6 14 14 There is also a patch listed below to provide case sensitivity. 15 15 16 '''Note''': This plugin is trying to accomplish much of what TracTweakUiPlugin is, however with the following additional goals: 17 * Simple, I want to simply map a url to a javascript/stylesheet that should be included. 18 * Affect all tracs at once 19 * I have many tracs so specifying this once in the shared conf file is much nicer than once in each database 20 * Deployment of files should be simple and preferably in the egg we are already installing, rather than in a static location I need to keep track of and separately manage for each trac. 21 16 22 == Bugs/Feature Requests 17 23 … … 22 28 [/newticket?component=AddStaticResourcesPlugin new ticket]. 23 29 30 '''Note:''' The Trac 0.11 branch seems to work fine in Trac 0.12. If you experience any issues, then please [/newticket?component=AddStaticResourcesPlugin report them]. 31 24 32 [[TicketQuery(component=AddStaticResourcesPlugin&group=type,format=progress)]] 25 33 26 == Download & Source34 == Download 27 35 28 '''Note:''' The Trac 0.11 branch seems to work fine in Trac 0.12. If you experience any issues, then please [http://trac-hacks.org/newticket?component=AddStaticResourcesPlugin&owner=bobbysmith007 report them].36 Download the zipped source from [export:addstaticresourcesplugin here]. 29 37 30 Download the zipped source: 31 * [download:addstaticresourcesplugin ZIP]. 32 SVN: 33 * [http://trac-hacks.org/svn/addstaticresourcesplugin SVN] 38 == Source 34 39 35 or [source:addstaticresourcesplugin browse the source] with Trac.40 You can check out AddStaticResourcesPlugin from [/svn/addstaticresourcesplugin here] using Subversion, or [source:addstaticresourcesplugin browse the source] with Trac. 36 41 37 === Patches 38 39 * [http://trac-hacks.org/ticket/7334 Case Sensitive Regex] 42 Also note that there are [#7334 case sensitive regex patches]. 40 43 41 44 == Installation 42 45 43 1. Insert your static files into the 'addstaticresourcesplugin/htdocs' folder of the plugin before install 44 1. Install the plugin either for a single project or globally. See the details on how to install a trac plugin at: [trac:TracPlugins]. 45 1. Be sure that the plugin is enabled. Add "addstaticresourcesplugin.* = enabled" to your `trac.ini` file in the [components] subheading. 46 * Alternatively, this can be enabled in the Web Admin section of the website as well. 46 1. Insert your static files into the 'addstaticresourcesplugin/htdocs' folder of the plugin before installation. 47 1. Install the plugin either for a single project or globally. See the details on how to install a trac plugin at [trac:TracPlugins]. 48 1. Enable the plugin. Add "addstaticresourcesplugin.* = enabled" to your `trac.ini` file in the [components] subheading. Alternatively, this can be enabled in the Web Admin section of the website as well. 47 49 1. Reload/restart your HTTPD / other webserver / Tracd. 48 49 == Related Plugins50 51 === TracTweakUiPlugin52 53 This plugin is trying to accomplish much of what TracTweakUiPlugin is, however I had some goals that were not being met by TracTweakUiPlugin.54 * Simple, I want to simply map a url to a javascript/stylesheet that should be included.55 * Affect all tracs at once56 * I have many tracs so specifying this once in the shared conf file is much nicer than once in each database57 * Deployment of files should be simple and preferably in the egg we are already installing, rather than in a static location I need to keep track of and separately manage for each trac.58 50 59 51 == Example