Changes between Version 1 and Version 2 of TracIni


Ignore:
Timestamp:
2015-01-17 17:25:10 (9 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v1 v2  
    11= The Trac Configuration File = 
     2 
    23[[TracGuideToc]] 
     4[[PageOutline]] 
    35 
    46Trac configuration is done by editing the '''`trac.ini`''' config file, located in `<projectenv>/conf/trac.ini`.  Changes to the configuration are usually reflected immediately, though changes to the `[components]` or `[logging]` sections will require restarting the web server. You may also need to restart the web server after creating a global configuration file when none was previously present. 
    57 
    6 The `trac.ini` configuration file should be writable by the web server, as Trac currently relies on the possibility to trigger a complete environment reload to flush its caches. 
     8The `trac.ini` configuration file and its parent directory should be writable by the web server, as Trac currently relies on the possibility to trigger a complete environment reload to flush its caches. 
    79 
    810== Global Configuration == 
     
    2123There are two more entries in the [[#inherit-section| [inherit] ]] section, `templates_dir` for sharing global templates and `plugins_dir`, for sharing plugins. Those entries can themselves be specified in the shared configuration file, and in fact, configuration files can even be chained if you specify another `[inherit] file` there. 
    2224 
     25Note that the templates found in the `templates/` directory of the TracEnvironment have precedence over those found in `[inherit] templates_dir`. In turn, the latter have precedence over the installed templates, so be careful about what you put there, notably if you override a default template be sure to refresh your modifications when you upgrade to a new version of Trac (the preferred way to perform TracInterfaceCustomization being still to write a custom plugin doing an appropriate `ITemplateStreamFilter` transformation). 
     26 
    2327== Reference for settings 
    2428 
    25 This is a brief reference of available configuration options. 
     29This is a brief reference of available configuration options, and their default settings. 
    2630 
    2731[[TracIni]] 
     
    4852See also: TracPlugins 
    4953 
     54=== [extra-permissions] === #extra-permissions-section 
     55''(since 0.12)'' 
     56 
     57Custom additional permissions can be defined in this section when [wiki:ExtraPermissionsProvider] is enabled. 
     58 
    5059=== [milestone-groups] === #milestone-groups-section 
    5160''(since 0.11)'' 
     
    6372# optional extra param for the query (two additional columns: created and modified and sort on created) 
    6473closed.query_args = group=resolution,order=time,col=id,col=summary,col=owner,col=type,col=priority,col=component,col=severity,col=time,col=changetime 
    65 # indicates groups that count for overall completion  
    66 closed.overall_completion = truepercentage 
     74# indicates groups that count for overall completion percentage 
     75closed.overall_completion = true 
    6776 
    6877new = new 
     
    134143See TracWorkflow for more details. 
    135144 
    136  
    137145---- 
    138146See also: TracGuide, TracAdmin, TracEnvironment